From 1548a47e093f5ad29cd06f8d8f49effccd709b2d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 31 Mar 2023 00:34:56 +0000 Subject: [PATCH 01/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.2 --- customer_portal/RELEASES.md | 6 ++++++ customer_portal/gen.yaml | 4 ++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 4 ++-- .../src/epilot/models/operations/__init__.py | 2 +- .../src/epilot/models/operations/getcontact.py | 16 ++++++++++++++-- .../src/epilot/models/operations/getcontract.py | 3 +++ .../epilot/models/operations/getopportunity.py | 3 +++ .../src/epilot/models/operations/getorder.py | 4 ++++ customer_portal/src/epilot/sdk.py | 2 +- 10 files changed, 37 insertions(+), 9 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 619074bfc..5eac3da92 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -34,4 +34,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy + +## 2023-03-31 00:34:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 20e406b96..540f9521a 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: aebbe5e41777158f7dace2edf678a45a + docChecksum: 1da31f11b2da7378466dc5ef3e06250e docVersion: 1.0.0 speakeasyVersion: 1.19.2 generationVersion: 2.16.5 @@ -10,7 +10,7 @@ generation: sdkFlattening: true singleTagPerOp: false python: - version: 1.2.2 + version: 1.2.3 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index cf4e5535e..ad3225b96 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.2.2", + version="1.2.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index f1e63f04a..09f61a37c 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -183,8 +183,8 @@ def get_contact(self, security: operations.GetContactSecurity) -> 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]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[operations.GetContact200ApplicationJSON]) + res.get_contact_200_application_json_object = out elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index f01626339..192f7c2d7 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -43,4 +43,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index 3035ec9fa..05eb0bef2 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -4,6 +4,8 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -13,14 +15,24 @@ class GetContactSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class GetContact200ApplicationJSON: + r"""The returned contact""" + + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + @dataclasses.dataclass class GetContactResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" + get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) + r"""The returned contact""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index 857c9c8d1..8a859c468 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -27,7 +27,10 @@ class GetContract200ApplicationJSON: r"""The returned contract""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index 14806a59f..7bfaa8a34 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -27,7 +27,10 @@ class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index 4ccf478d5..4e40351ee 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -26,8 +26,12 @@ class GetOrderRequest: class GetOrder200ApplicationJSON: r"""The returned order""" + cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 5b7e98f49..dedd031df 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,7 +25,7 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.2" + _sdk_version: str = "1.2.3" _gen_version: str = "2.16.5" def __init__(self, From 0e8da6e3cf7d1ca308f139e162107f0c9da5ffca Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Apr 2023 00:35:23 +0000 Subject: [PATCH 02/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.3 --- customer_portal/README.md | 4 +-- customer_portal/RELEASES.md | 8 ++++- customer_portal/USAGE.md | 2 +- customer_portal/gen.yaml | 6 ++-- customer_portal/pylintrc | 12 +++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 34 +++++++++---------- customer_portal/src/epilot/ecp_admin.py | 14 ++++---- .../src/epilot/models/operations/__init__.py | 2 +- .../models/operations/deleteportaluser.py | 6 ---- .../operations/extrapermissionattributes.py | 6 ---- .../models/operations/getallcontracts.py | 6 ---- .../models/operations/getallopportunities.py | 6 ---- .../epilot/models/operations/getallorders.py | 6 ---- .../models/operations/getallportalconfigs.py | 6 ---- .../epilot/models/operations/getcontact.py | 6 ---- .../operations/getorganizationsettings.py | 6 ---- .../epilot/models/operations/getportaluser.py | 6 ---- .../epilot/models/operations/getschemas.py | 6 ---- .../operations/getvalidsecondaryattributes.py | 6 ---- .../src/epilot/models/shared/grant.py | 4 +-- .../src/epilot/models/shared/origin_enum.py | 4 +-- .../epilot/models/shared/saveentityfile.py | 4 +-- customer_portal/src/epilot/public.py | 2 -- customer_portal/src/epilot/sdk.py | 4 +-- 25 files changed, 50 insertions(+), 118 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index fa610bd9b..d73245e04 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -18,7 +18,7 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="unde", + id="corrupti", slug="contact", ) @@ -32,7 +32,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No -## SDK Available Operations +## Available Resources and Operations ### ecp diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 5eac3da92..6f17d27cd 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -40,4 +40,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 6cfb22873..b8e995142 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -7,7 +7,7 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="unde", + id="corrupti", slug="contact", ) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 540f9521a..6619eaa1e 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1da31f11b2da7378466dc5ef3e06250e 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.3 + version: 1.2.4 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/pylintrc b/customer_portal/pylintrc index 4b8a37281..2a4ecd5c1 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/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 @@ -441,7 +436,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/customer_portal/setup.py b/customer_portal/setup.py index ad3225b96..2abc4fc8d 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.2.3", + version="1.2.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 09f61a37c..5dab7d839 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -74,7 +74,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati return res - def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> operations.DeletePortalUserResponse: + def delete_portal_user(self) -> operations.DeletePortalUserResponse: r"""deletePortalUser TODO """ @@ -83,7 +83,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o url = base_url.removesuffix('/') + '/v2/portal/user' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('DELETE', url) content_type = http_res.headers.get('Content-Type') @@ -96,7 +96,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o return res - def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> operations.GetAllContractsResponse: + def get_all_contracts(self) -> operations.GetAllContractsResponse: r"""getAllContracts TODO """ @@ -105,7 +105,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope url = base_url.removesuffix('/') + '/v2/portal/contract' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -119,7 +119,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope return res - def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: + def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities TODO """ @@ -128,7 +128,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity url = base_url.removesuffix('/') + '/v2/portal/opportunity' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -142,7 +142,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity return res - def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operations.GetAllOrdersResponse: + def get_all_orders(self) -> operations.GetAllOrdersResponse: r"""getAllOrders TODO """ @@ -151,7 +151,7 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation url = base_url.removesuffix('/') + '/v2/portal/order' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -165,7 +165,7 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation return res - def get_contact(self, security: operations.GetContactSecurity) -> operations.GetContactResponse: + def get_contact(self) -> operations.GetContactResponse: r"""getContact Get the Contact by id """ @@ -174,7 +174,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get url = base_url.removesuffix('/') + '/v2/portal/contact' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -290,7 +290,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge return res - def get_organization_settings(self, security: operations.GetOrganizationSettingsSecurity) -> operations.GetOrganizationSettingsResponse: + def get_organization_settings(self) -> operations.GetOrganizationSettingsResponse: r"""getOrganizationSettings get organization settings """ @@ -299,7 +299,7 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings url = base_url.removesuffix('/') + '/v2/portal/org/settings' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -361,7 +361,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai return res - def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operations.GetPortalUserResponse: + def get_portal_user(self) -> operations.GetPortalUserResponse: r"""getPortalUser TODO """ @@ -370,7 +370,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati url = base_url.removesuffix('/') + '/v2/portal/user' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -384,7 +384,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati return res - def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.GetSchemasResponse: + def get_schemas(self) -> operations.GetSchemasResponse: r"""getSchemas TODO """ @@ -393,7 +393,7 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get url = base_url.removesuffix('/') + '/v2/portal/schemas' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -452,8 +452,6 @@ def test_auth(self) -> operations.TestAuthResponse: res = operations.TestAuthResponse(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/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index ef0f3f399..186bd40d9 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -63,12 +63,10 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera res = operations.DeletePortalResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code in [204, 403]: - pass return res - def extra_permission_attributes(self, security: operations.ExtraPermissionAttributesSecurity) -> operations.ExtraPermissionAttributesResponse: + def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesResponse: r"""extraPermissionAttributes TODO """ @@ -77,7 +75,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -91,7 +89,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib return res - def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurity) -> operations.GetAllPortalConfigsResponse: + def get_all_portal_configs(self) -> operations.GetAllPortalConfigsResponse: r"""getAllPortalConfigs TODO """ @@ -100,7 +98,7 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit url = base_url.removesuffix('/') + '/v2/portal/configs' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -261,7 +259,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ return res - def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryAttributesSecurity) -> operations.GetValidSecondaryAttributesResponse: + def get_valid_secondary_attributes(self) -> operations.GetValidSecondaryAttributesResponse: r"""getValidSecondaryAttributes Get Valid Secondary Attributes """ @@ -270,7 +268,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' - client = utils.configure_security_client(self._client, security) + client = self._security_client http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 192f7c2d7..87df0f66f 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -43,4 +43,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index 9f45f6042..c1c99d1a3 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -6,12 +6,6 @@ from typing import Optional -@dataclasses.dataclass -class DeletePortalUserSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclasses.dataclass class DeletePortalUserResponse: diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 06f1ae873..dbe9813c1 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -9,12 +9,6 @@ from typing import Optional -@dataclasses.dataclass -class ExtraPermissionAttributesSecurity: - - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSONData: diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 142130cf0..d3b3444d7 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -8,12 +8,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetAllContractsSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllContracts200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 2b8f2b255..a406ab8d1 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -8,12 +8,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetAllOpportunitiesSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOpportunities200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index bb6bcfd1d..80fd6b5fb 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -8,12 +8,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetAllOrdersSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOrders200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index 4e566050b..437291bcb 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -9,12 +9,6 @@ from typing import Optional -@dataclasses.dataclass -class GetAllPortalConfigsSecurity: - - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllPortalConfigs200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index 05eb0bef2..88357f422 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -9,12 +9,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetContactSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetContact200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index ed1b1968d..7aaac0c58 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -7,12 +7,6 @@ from typing import Optional -@dataclasses.dataclass -class GetOrganizationSettingsSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclasses.dataclass class GetOrganizationSettingsResponse: diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index cba5b7335..8c056898f 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -6,12 +6,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetPortalUserSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclasses.dataclass class GetPortalUserResponse: diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index a041beb91..e288b676e 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -8,12 +8,6 @@ from typing import Any, Optional -@dataclasses.dataclass -class GetSchemasSecurity: - - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetSchemas200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index e2eac41d2..5cbcc31be 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -8,12 +8,6 @@ from typing import Optional -@dataclasses.dataclass -class GetValidSecondaryAttributesSecurity: - - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSONData: diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index 68bd62897..c577cd5cd 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -8,8 +8,8 @@ from typing import Optional class GrantEffectEnum(str, Enum): - ALLOW = "allow" - DENY = "deny" + ALLOW = 'allow' + DENY = 'deny' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/models/shared/origin_enum.py b/customer_portal/src/epilot/models/shared/origin_enum.py index 4e14b8035..304635082 100755 --- a/customer_portal/src/epilot/models/shared/origin_enum.py +++ b/customer_portal/src/epilot/models/shared/origin_enum.py @@ -5,5 +5,5 @@ class OriginEnum(str, Enum): r"""Origin of the portal""" - END_CUSTOMER_PORTAL = "END_CUSTOMER_PORTAL" - INSTALLER_PORTAL = "INSTALLER_PORTAL" + END_CUSTOMER_PORTAL = 'END_CUSTOMER_PORTAL' + INSTALLER_PORTAL = 'INSTALLER_PORTAL' diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index f9bfd50ed..7b43accd5 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -8,8 +8,8 @@ from typing import Optional class SaveEntityFileFilesAccessControlEnum(str, Enum): - PRIVATE = "private" - PUBLIC_READ = "public-read" + PRIVATE = 'private' + PUBLIC_READ = 'public-read' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 62698c049..1691c94eb 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -43,8 +43,6 @@ def activate_user(self, request: operations.ActivateUserRequest) -> operations.A res = operations.ActivateUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code in [200, 404]: - pass return res diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index dedd031df..3f63b930a 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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.5" + _sdk_version: str = "1.2.4" + _gen_version: str = "2.16.7" def __init__(self, security: shared.Security = None, From 28fc7ba5677c75ec8e2bd91efaa456c4987df1ed Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Apr 2023 00:31:31 +0000 Subject: [PATCH 03/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.6 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 6f17d27cd..03d79cdae 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -46,4 +46,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:19 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 6619eaa1e..cbde0a9e9 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,16 +1,16 @@ configVersion: 1.0.0 management: - docChecksum: 1da31f11b2da7378466dc5ef3e06250e + docChecksum: 299931842c5ce9b95e634ba126e336b0 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.4 + version: 1.3.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 2abc4fc8d..2af0632b3 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.2.4", + version="1.3.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 3f63b930a..b287fc3fa 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.4" - _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 dbb8cee57619c1e6fb79d6bb17630928877a177d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Apr 2023 00:30:30 +0000 Subject: [PATCH 04/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.6 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 6 +++ customer_portal/files.gen | 1 + customer_portal/gen.yaml | 4 +- customer_portal/setup.py | 2 +- .../src/epilot/models/operations/__init__.py | 3 +- .../epilot/models/operations/createssouser.py | 51 +++++++++++++++++++ customer_portal/src/epilot/public.py | 34 +++++++++++++ customer_portal/src/epilot/sdk.py | 2 +- 9 files changed, 99 insertions(+), 5 deletions(-) create mode 100755 customer_portal/src/epilot/models/operations/createssouser.py diff --git a/customer_portal/README.md b/customer_portal/README.md index d73245e04..b15d4c356 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -83,6 +83,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * `activate_user` - activateUser * `confirm_user` - confirmUser +* `create_sso_user` - creates a sso user * `create_user` - creates a user * `get_count_by_email` - getCountByEmail * `user_exists` - userExists diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 03d79cdae..ff07b9465 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -52,4 +52,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy + +## 2023-04-08 00:30:17 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index b9236bc27..b7629a2fc 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -48,6 +48,7 @@ src/epilot/models/operations/upsertemailtemplates.py src/epilot/models/operations/upsertportal.py src/epilot/models/operations/activateuser.py src/epilot/models/operations/confirmuser.py +src/epilot/models/operations/createssouser.py src/epilot/models/operations/createuser.py src/epilot/models/operations/getcountbyemail.py src/epilot/models/operations/userexists.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index cbde0a9e9..a3cf7c4dd 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 299931842c5ce9b95e634ba126e336b0 + docChecksum: 900a8ea1c5b7ddb580155c479815b29e docVersion: 1.0.0 speakeasyVersion: 1.19.6 generationVersion: 2.17.8 @@ -10,7 +10,7 @@ generation: sdkFlattening: true singleTagPerOp: false python: - version: 1.3.0 + version: 1.3.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 2af0632b3..99f916ead 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.3.0", + version="1.3.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 87df0f66f..73a70fc3a 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -4,6 +4,7 @@ from .addendcustomerrelationtoentity import * from .configuredistribution import * from .confirmuser import * +from .createssouser import * from .createuser import * from .deleteentityfile import * from .deleteportal import * @@ -43,4 +44,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py new file mode 100755 index 000000000..b25ec6391 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -0,0 +1,51 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from ..shared import origin_enum as shared_origin_enum +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class CreateSSOUserRequestBody: + r"""Portal payload""" + + email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) + first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) + last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) + + +@dataclasses.dataclass +class CreateSSOUserRequest: + + origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" + request_body: CreateSSOUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + r"""Portal payload""" + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class CreateSSOUser201ApplicationJSON: + r"""Success - SSO User created with success.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + +@dataclasses.dataclass +class CreateSSOUserResponse: + + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) + r"""Success - SSO User created with success.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 1691c94eb..8e0c6b92f 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -70,6 +70,40 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con return res + def create_sso_user(self, request: operations.CreateSSOUserRequest) -> operations.CreateSSOUserResponse: + r"""creates a sso user + Creates a sso user as portal user + """ + base_url = self._server_url + + url = base_url.removesuffix('/') + '/v2/portal/sso/user' + + 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 + if data is None and form is None: + raise Exception('request body is required') + query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) + + client = self._security_client + + http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.CreateSSOUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 201: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSSOUser201ApplicationJSON]) + res.create_sso_user_201_application_json_object = out + elif http_res.status_code in [400, 401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + + return res + def create_user(self, request: operations.CreateUserRequest) -> operations.CreateUserResponse: r"""creates a user Creates a user in cognito pool and db item diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index b287fc3fa..5f67010d9 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,7 +25,7 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.0" + _sdk_version: str = "1.3.1" _gen_version: str = "2.17.8" def __init__(self, From 13d6b31b8fb82c12c1b42df23d6c7556bdc67b6a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Apr 2023 00:32:21 +0000 Subject: [PATCH 05/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.7 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ff07b9465..11816bc67 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -58,4 +58,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index a3cf7c4dd..2951e2db5 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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.1 + version: 1.3.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 99f916ead..332185548 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.3.1", + version="1.3.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 5f67010d9..ab701053e 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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.8" + _sdk_version: str = "1.3.2" + _gen_version: str = "2.17.9" def __init__(self, security: shared.Security = None, From a8aecad6fee5e81468117385a90a507310a4fc6b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Apr 2023 00:31:39 +0000 Subject: [PATCH 06/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.0 --- customer_portal/README.md | 2 +- customer_portal/RELEASES.md | 8 +- customer_portal/USAGE.md | 2 +- customer_portal/gen.yaml | 6 +- customer_portal/pylintrc | 1 + customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 +- customer_portal/src/epilot/utils/utils.py | 127 ++++++++++++---------- 8 files changed, 86 insertions(+), 66 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index b15d4c356..d15835b1e 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -18,7 +18,7 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="corrupti", + id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", slug="contact", ) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 11816bc67..0c3208a72 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -64,4 +64,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:27 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index b8e995142..aea9e7421 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -7,7 +7,7 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="corrupti", + id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", slug="contact", ) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 2951e2db5..a442ffff2 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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.2 + version: 1.4.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/pylintrc b/customer_portal/pylintrc index 2a4ecd5c1..a5f5e1332 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/pylintrc @@ -440,6 +440,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/customer_portal/setup.py b/customer_portal/setup.py index 332185548..7d4c11bc9 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.3.2", + version="1.4.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index ab701053e..4c569e8bc 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.2" - _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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 9d4fba324..986a86937 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 1943d1407ff9ef08ec466769646017ac6e427367 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Apr 2023 00:31:37 +0000 Subject: [PATCH 07/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 7 +++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 0c3208a72..d4c637972 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -70,4 +70,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index a442ffff2..bd120b1c9 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,15 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 7d4c11bc9..16493fb2f 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.4.0", + version="1.4.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 4c569e8bc..c94a31c7b 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 78336486fa16be8e469264ef26941fcf0fada471 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Apr 2023 00:34:15 +0000 Subject: [PATCH 08/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d4c637972..14afb5862 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -76,4 +76,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:00 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index bd120b1c9..83c9df187 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 16493fb2f..8d913e38a 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.4.1", + version="1.4.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index c94a31c7b..5e8adf6c9 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 94c887c1ad3abec84d88273f6a13ac157cdb5344 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 21 Apr 2023 00:32:05 +0000 Subject: [PATCH 09/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.21.4 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 14afb5862..8aa554c16 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -82,4 +82,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 83c9df187..858fba668 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 8d913e38a..94ff4ee9e 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.4.2", + version="1.5.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 5e8adf6c9..ddc21d2c8 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 95619d1334a0513e3e2f80d082d00dc71659105a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Apr 2023 00:32:14 +0000 Subject: [PATCH 10/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.22.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 8aa554c16..ec53d0e0d 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -88,4 +88,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:03 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 858fba668..0002fa86d 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 94ff4ee9e..280254ae2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.5.0", + version="1.6.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index ddc21d2c8..33712790e 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 7f1a8c243285878520ba0980cb2d3a1290a3354d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Apr 2023 00:33:41 +0000 Subject: [PATCH 11/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.23.1 --- customer_portal/README.md | 108 ++-- customer_portal/RELEASES.md | 8 +- customer_portal/USAGE.md | 4 +- customer_portal/docs/ecp/README.md | 653 ++++++++++++++++++++++++ customer_portal/docs/ecpadmin/README.md | 544 ++++++++++++++++++++ customer_portal/docs/epilot/README.md | 8 + customer_portal/docs/public/README.md | 197 +++++++ customer_portal/files.gen | 4 + customer_portal/gen.yaml | 6 +- customer_portal/setup.py | 4 +- customer_portal/src/epilot/sdk.py | 4 +- 11 files changed, 1476 insertions(+), 64 deletions(-) create mode 100755 customer_portal/docs/ecp/README.md create mode 100755 customer_portal/docs/ecpadmin/README.md create mode 100755 customer_portal/docs/epilot/README.md create mode 100755 customer_portal/docs/public/README.md diff --git a/customer_portal/README.md b/customer_portal/README.md index d15835b1e..075bd6a85 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -12,7 +12,7 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot() @@ -21,7 +21,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", slug="contact", ) - + res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", )) @@ -35,58 +35,58 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ## Available Resources and Operations -### ecp - -* `add_end_customer_relation_to_entity` - addEndCustomerRelationToEntity -* `delete_entity_file` - Delete files from an entity -* `delete_portal_user` - deletePortalUser -* `get_all_contracts` - getAllContracts -* `get_all_opportunities` - getAllOpportunities -* `get_all_orders` - getAllOrders -* `get_contact` - getContact -* `get_contract` - get contract based on id -* `get_entities_by_identifiers` - getEntitiesByIdentifiers -* `get_opportunity` - getOpportunity -* `get_order` - getOrder -* `get_organization_settings` - getOrganizationSettings -* `get_portal_config` - getPortalConfig -* `get_portal_config_by_domain` - getPortalConfigByDomain -* `get_portal_user` - getPortalUser -* `get_schemas` - getSchemas -* `save_entity_file` - Add files to an entity -* `test_auth` - testAuth -* `update_contact` - updateContact -* `update_contract` - Update contract based on id -* `update_opportunity` - Update an opportunity based on id -* `update_order` - updateOrder -* `update_portal_user` - updatePortalUser - -### ecp_admin - -* `configure_distribution` - configureDistribution -* `delete_portal` - deletePortal -* `extra_permission_attributes` - extraPermissionAttributes -* `get_all_portal_configs` - getAllPortalConfigs -* `get_ecp_contact` - getECPContact -* `get_email_templates` - getEmailTemplates -* `get_entity_identifiers` - getEntityIdentifiers -* `get_org_portal_config` - getOrgPortalConfig -* `get_portal_config` - getPortalConfig -* `get_public_portal_config` - getPublicPortalConfig -* `get_valid_secondary_attributes` - getValidSecondaryAttributes -* `replace_ecp_template_variables` - replaceECPTemplateVariables -* `save_portal_files` - Add files to portal -* `upsert_email_templates` - upsertEmailTemplates -* `upsert_portal` - upserts a portal - -### public - -* `activate_user` - activateUser -* `confirm_user` - confirmUser -* `create_sso_user` - creates a sso user -* `create_user` - creates a user -* `get_count_by_email` - getCountByEmail -* `user_exists` - userExists +### [ecp](docs/ecp/README.md) + +* [add_end_customer_relation_to_entity](docs/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [delete_entity_file](docs/ecp/README.md#delete_entity_file) - Delete files from an entity +* [delete_portal_user](docs/ecp/README.md#delete_portal_user) - deletePortalUser +* [get_all_contracts](docs/ecp/README.md#get_all_contracts) - getAllContracts +* [get_all_opportunities](docs/ecp/README.md#get_all_opportunities) - getAllOpportunities +* [get_all_orders](docs/ecp/README.md#get_all_orders) - getAllOrders +* [get_contact](docs/ecp/README.md#get_contact) - getContact +* [get_contract](docs/ecp/README.md#get_contract) - get contract based on id +* [get_entities_by_identifiers](docs/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_opportunity](docs/ecp/README.md#get_opportunity) - getOpportunity +* [get_order](docs/ecp/README.md#get_order) - getOrder +* [get_organization_settings](docs/ecp/README.md#get_organization_settings) - getOrganizationSettings +* [get_portal_config](docs/ecp/README.md#get_portal_config) - getPortalConfig +* [get_portal_config_by_domain](docs/ecp/README.md#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_portal_user](docs/ecp/README.md#get_portal_user) - getPortalUser +* [get_schemas](docs/ecp/README.md#get_schemas) - getSchemas +* [save_entity_file](docs/ecp/README.md#save_entity_file) - Add files to an entity +* [test_auth](docs/ecp/README.md#test_auth) - testAuth +* [update_contact](docs/ecp/README.md#update_contact) - updateContact +* [update_contract](docs/ecp/README.md#update_contract) - Update contract based on id +* [update_opportunity](docs/ecp/README.md#update_opportunity) - Update an opportunity based on id +* [update_order](docs/ecp/README.md#update_order) - updateOrder +* [update_portal_user](docs/ecp/README.md#update_portal_user) - updatePortalUser + +### [ecp_admin](docs/ecpadmin/README.md) + +* [configure_distribution](docs/ecpadmin/README.md#configure_distribution) - configureDistribution +* [delete_portal](docs/ecpadmin/README.md#delete_portal) - deletePortal +* [extra_permission_attributes](docs/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes +* [get_all_portal_configs](docs/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs +* [get_ecp_contact](docs/ecpadmin/README.md#get_ecp_contact) - getECPContact +* [get_email_templates](docs/ecpadmin/README.md#get_email_templates) - getEmailTemplates +* [get_entity_identifiers](docs/ecpadmin/README.md#get_entity_identifiers) - getEntityIdentifiers +* [get_org_portal_config](docs/ecpadmin/README.md#get_org_portal_config) - getOrgPortalConfig +* [get_portal_config](docs/ecpadmin/README.md#get_portal_config) - getPortalConfig +* [get_public_portal_config](docs/ecpadmin/README.md#get_public_portal_config) - getPublicPortalConfig +* [get_valid_secondary_attributes](docs/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [replace_ecp_template_variables](docs/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables +* [save_portal_files](docs/ecpadmin/README.md#save_portal_files) - Add files to portal +* [upsert_email_templates](docs/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates +* [upsert_portal](docs/ecpadmin/README.md#upsert_portal) - upserts a portal + +### [public](docs/public/README.md) + +* [activate_user](docs/public/README.md#activate_user) - activateUser +* [confirm_user](docs/public/README.md#confirm_user) - confirmUser +* [create_sso_user](docs/public/README.md#create_sso_user) - creates a sso user +* [create_user](docs/public/README.md#create_user) - creates a user +* [get_count_by_email](docs/public/README.md#get_count_by_email) - getCountByEmail +* [user_exists](docs/public/README.md#user_exists) - userExists ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ec53d0e0d..245726066 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -94,4 +94,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:33:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index aea9e7421..9dfa91af2 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -1,7 +1,7 @@ ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot() @@ -10,7 +10,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", slug="contact", ) - + res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", )) diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md new file mode 100755 index 000000000..386dfd34f --- /dev/null +++ b/customer_portal/docs/ecp/README.md @@ -0,0 +1,653 @@ +# ecp + +## Overview + +ECP + +### Available Operations + +* [add_end_customer_relation_to_entity](#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [delete_entity_file](#delete_entity_file) - Delete files from an entity +* [delete_portal_user](#delete_portal_user) - deletePortalUser +* [get_all_contracts](#get_all_contracts) - getAllContracts +* [get_all_opportunities](#get_all_opportunities) - getAllOpportunities +* [get_all_orders](#get_all_orders) - getAllOrders +* [get_contact](#get_contact) - getContact +* [get_contract](#get_contract) - get contract based on id +* [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_opportunity](#get_opportunity) - getOpportunity +* [get_order](#get_order) - getOrder +* [get_organization_settings](#get_organization_settings) - getOrganizationSettings +* [get_portal_config](#get_portal_config) - getPortalConfig +* [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_portal_user](#get_portal_user) - getPortalUser +* [get_schemas](#get_schemas) - getSchemas +* [save_entity_file](#save_entity_file) - Add files to an entity +* [test_auth](#test_auth) - testAuth +* [update_contact](#update_contact) - updateContact +* [update_contract](#update_contract) - Update contract based on id +* [update_opportunity](#update_opportunity) - Update an opportunity based on id +* [update_order](#update_order) - updateOrder +* [update_portal_user](#update_portal_user) - updatePortalUser + +## add_end_customer_relation_to_entity + +Add EndCustomer Relation To an Entity + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.AddEndCustomerRelationToEntityRequest( + id="a05dfc2d-df7c-4c78-8a1b-a928fc816742", + slug="contact", +) + +res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.add_end_customer_relation_to_entity_200_application_json_object is not None: + # handle response +``` + +## delete_entity_file + +Delete files from an entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = shared.DeleteEntityFile( + entity_id="123456", + entity_type="order", + file_entity_ids=[ + "12345", + "12345", + "12345", + "12345", + ], +) + +res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.delete_entity_file_200_application_json_object is not None: + # handle response +``` + +## delete_portal_user + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.delete_portal_user() + +if res.delete_portal_user_200_application_json_string is not None: + # handle response +``` + +## get_all_contracts + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_all_contracts() + +if res.get_all_contracts_200_application_json_object is not None: + # handle response +``` + +## get_all_opportunities + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_all_opportunities() + +if res.get_all_opportunities_200_application_json_object is not None: + # handle response +``` + +## get_all_orders + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_all_orders() + +if res.get_all_orders_200_application_json_object is not None: + # handle response +``` + +## get_contact + +Get the Contact by id + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_contact() + +if res.get_contact_200_application_json_object is not None: + # handle response +``` + +## get_contract + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetContractRequest( + id="b7392059-2939-46fe-a759-6eb10faaa235", +) + +res = s.ecp.get_contract(req, operations.GetContractSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.get_contract_200_application_json_object is not None: + # handle response +``` + +## get_entities_by_identifiers + +Get Entities By Identifiers + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetEntitiesByIdentifiersRequest( + request_body={ + "nobis": "enim", + }, + slug="contact", +) + +res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.get_entities_by_identifiers_200_application_json_object is not None: + # handle response +``` + +## get_opportunity + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetOpportunityRequest( + id="955907af-f1a3-4a2f-a946-7739251aa52c", +) + +res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.get_opportunity_200_application_json_object is not None: + # handle response +``` + +## get_order + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetOrderRequest( + id="3f5ad019-da1f-4fe7-8f09-7b0074f15471", +) + +res = s.ecp.get_order(req, operations.GetOrderSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.get_order_200_application_json_object is not None: + # handle response +``` + +## get_organization_settings + +get organization settings + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_organization_settings() + +if res.organization_settings is not None: + # handle response +``` + +## get_portal_config + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.GetPortalConfigRequest( + origin="INSTALLER_PORTAL", +) + +res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.portal_config is not None: + # handle response +``` + +## get_portal_config_by_domain + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.GetPortalConfigByDomainRequest( + domain="example.com", +) + +res = s.ecp.get_portal_config_by_domain(req) + +if res.portal_config is not None: + # handle response +``` + +## get_portal_user + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_portal_user() + +if res.entity_item is not None: + # handle response +``` + +## get_schemas + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.get_schemas() + +if res.get_schemas_200_application_json_object is not None: + # handle response +``` + +## save_entity_file + +Add files to an entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = shared.SaveEntityFile( + entity_id="123456", + entity_type="order", + files=[ + shared.SaveEntityFileFiles( + tags=[ + "12345", + "12345", + "12345", + "12345", + ], + access_control="private", + document_type="12345", + file_entity_id="12345", + filename="12345", + s3ref=shared.SaveEntityFileFilesS3ref( + bucket="12345", + key="12345", + ), + ), + shared.SaveEntityFileFiles( + tags=[ + "12345", + "12345", + "12345", + "12345", + ], + access_control="private", + document_type="12345", + file_entity_id="12345", + filename="12345", + s3ref=shared.SaveEntityFileFilesS3ref( + bucket="12345", + key="12345", + ), + ), + ], +) + +res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.save_entity_file_200_application_json_object is not None: + # handle response +``` + +## test_auth + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp.test_auth() + +if res.status_code == 200: + # handle response +``` + +## update_contact + +Update the contact details + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = { + "quidem": "molestias", +} + +res = s.ecp.update_contact(req, operations.UpdateContactSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.entity_item is not None: + # handle response +``` + +## update_contract + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.UpdateContractRequest( + request_body={ + "pariatur": "modi", + "praesentium": "rem", + "voluptates": "quasi", + }, + id="e91e450a-d2ab-4d44-a698-02d502a94bb4", +) + +res = s.ecp.update_contract(req, operations.UpdateContractSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.update_contract_200_application_json_object is not None: + # handle response +``` + +## update_opportunity + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.UpdateOpportunityRequest( + request_body={ + "eum": "non", + "eligendi": "sint", + "aliquid": "provident", + "necessitatibus": "sint", + }, + id="a3efa77d-fb14-4cd6-aae3-95efb9ba88f3", +) + +res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.update_opportunity_200_application_json_object is not None: + # handle response +``` + +## update_order + +Update the order details + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.UpdateOrderRequest( + request_body={ + "nisi": "vel", + "natus": "omnis", + "molestiae": "perferendis", + }, + id="74ba4469-b6e2-4141-9598-90afa563e251", +) + +res = s.ecp.update_order(req, operations.UpdateOrderSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.entity_item is not None: + # handle response +``` + +## update_portal_user + +Update the portal user details + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = { + "doloribus": "debitis", + "eius": "maxime", +} + +res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.entity_item is not None: + # handle response +``` diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md new file mode 100755 index 000000000..f1a1cc62a --- /dev/null +++ b/customer_portal/docs/ecpadmin/README.md @@ -0,0 +1,544 @@ +# ecp_admin + +## Overview + +ECP Admin + +### Available Operations + +* [configure_distribution](#configure_distribution) - configureDistribution +* [delete_portal](#delete_portal) - deletePortal +* [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes +* [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs +* [get_ecp_contact](#get_ecp_contact) - getECPContact +* [get_email_templates](#get_email_templates) - getEmailTemplates +* [get_entity_identifiers](#get_entity_identifiers) - getEntityIdentifiers +* [get_org_portal_config](#get_org_portal_config) - getOrgPortalConfig +* [get_portal_config](#get_portal_config) - getPortalConfig +* [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig +* [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables +* [save_portal_files](#save_portal_files) - Add files to portal +* [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates +* [upsert_portal](#upsert_portal) - upserts a portal + +## configure_distribution + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.ConfigureDistributionRequest( + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.configure_distribution_200_application_json_object is not None: + # handle response +``` + +## delete_portal + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.DeletePortalRequest( + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.status_code == 200: + # handle response +``` + +## extra_permission_attributes + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp_admin.extra_permission_attributes() + +if res.extra_permission_attributes_200_application_json_object is not None: + # handle response +``` + +## get_all_portal_configs + +TODO + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp_admin.get_all_portal_configs() + +if res.get_all_portal_configs_200_application_json_object is not None: + # handle response +``` + +## get_ecp_contact + +Get the Contact by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetECPContactRequest( + id="1234", +) + +res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.entity_item is not None: + # handle response +``` + +## get_email_templates + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.GetEmailTemplatesRequest( + origin="END_CUSTOMER_PORTAL", +) + +res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.email_templates is not None: + # handle response +``` + +## get_entity_identifiers + +Get Entity's Identifiers + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +req = operations.GetEntityIdentifiersRequest( + slug="contact", +) + +res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.get_entity_identifiers_200_application_json_object is not None: + # handle response +``` + +## get_org_portal_config + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.GetOrgPortalConfigRequest( + origin="END_CUSTOMER_PORTAL", +) + +res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.portal_config is not None: + # handle response +``` + +## get_portal_config + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.GetPortalConfigRequest( + origin="END_CUSTOMER_PORTAL", +) + +res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.portal_config is not None: + # handle response +``` + +## get_public_portal_config + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.GetPublicPortalConfigRequest( + org_id="12324", + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.get_public_portal_config(req) + +if res.portal_config is not None: + # handle response +``` + +## get_valid_secondary_attributes + +Get Valid Secondary Attributes + +### Example Usage + +```python +import epilot + + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +res = s.ecp_admin.get_valid_secondary_attributes() + +if res.get_valid_secondary_attributes_200_application_json_object is not None: + # handle response +``` + +## replace_ecp_template_variables + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.ReplaceECPTemplateVariablesRequest( + request_body=operations.ReplaceECPTemplateVariablesRequestBody( + contact_id="7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51", + ), + origin="END_CUSTOMER_PORTAL", +) + +res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.replace_ecp_template_variables_200_application_json_object is not None: + # handle response +``` + +## save_portal_files + +Add files to portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = shared.SavePortalFile( + files=[ + shared.SavePortalFileFiles( + tags=[ + "12345", + "12345", + ], + file_type="orderRightTeaser", + filename="12345", + s3ref=shared.SavePortalFileFilesS3ref( + bucket="12345", + key="12345", + ), + ), + shared.SavePortalFileFiles( + tags=[ + "12345", + "12345", + "12345", + "12345", + ], + file_type="orderRightTeaser", + filename="12345", + s3ref=shared.SavePortalFileFilesS3ref( + bucket="12345", + key="12345", + ), + ), + shared.SavePortalFileFiles( + tags=[ + "12345", + "12345", + "12345", + "12345", + ], + file_type="orderRightTeaser", + filename="12345", + s3ref=shared.SavePortalFileFilesS3ref( + bucket="12345", + key="12345", + ), + ), + ], + origin="END_CUSTOMER_PORTAL", +) + +res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.entity_item is not None: + # handle response +``` + +## upsert_email_templates + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.UpsertEmailTemplatesRequest( + email_templates=shared.EmailTemplates( + confirm_account="saepe", + forgot_password="pariatur", + invitation="accusantium", + on_map_a_pending_user="consequuntur", + on_new_quote="praesentium", + ), + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.upsert_email_templates_200_application_json_object is not None: + # handle response +``` + +## upsert_portal + +upserts a portal and db item + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.UpsertPortalRequest( + upsert_portal_config=shared.UpsertPortalConfig( + cognito_details=shared.UpsertPortalConfigCognitoDetails( + cognito_user_pool_arn="arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341", + cognito_user_pool_client_id="6bsd0jkgoie74k2i8mrhc1vest", + cognito_user_pool_id="eu-central-1_CUEQRNbUb", + ), + config="magni", + contact_secondary_identifier="full_name", + default_user_to_notify={ + "quo": "illum", + }, + design_id="3134", + email_templates=shared.UpsertPortalConfigEmailTemplates( + confirm_account="701f089d-6953-48b5-ac35-442de7c59cd3", + forgot_password="6538fddb-f0e9-4f0f-af51-6e57891ff20a", + invitation="14ae65fb-0dc1-4863-8743-6bc01da469f6", + ), + enabled=True, + entity_actions=[ + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de="maxime", + en="ea", + ), + journey_id="excepturi", + slug="contact", + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de="odit", + en="ea", + ), + journey_id="accusantium", + slug="contact", + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de="ab", + en="maiores", + ), + journey_id="quidem", + slug="contact", + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de="ipsam", + en="voluptate", + ), + journey_id="autem", + slug="contact", + ), + ], + entity_identifiers={ + "eaque": shared.UpsertPortalConfigEntityIdentifiers( + attributes=[ + "contract_number", + "contract_number", + "contract_number", + "contract_number", + ], + is_enabled=False, + ), + "nemo": shared.UpsertPortalConfigEntityIdentifiers( + attributes=[ + "contract_number", + "contract_number", + "contract_number", + "contract_number", + ], + is_enabled=False, + ), + "perferendis": shared.UpsertPortalConfigEntityIdentifiers( + attributes=[ + "contract_number", + "contract_number", + "contract_number", + "contract_number", + ], + is_enabled=False, + ), + }, + grants=[ + shared.Grant( + action="entity-read", + effect="allow", + resource="entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947", + ), + ], + images=shared.UpsertPortalConfigImages( + order_left_teaser="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg", + order_right_teaser="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg", + welcome_banner="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg", + ), + is_epilot_domain=True, + name="My Portal", + self_registration=False, + ), + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.add_portal_resp is not None: + # handle response +``` diff --git a/customer_portal/docs/epilot/README.md b/customer_portal/docs/epilot/README.md new file mode 100755 index 000000000..adf434204 --- /dev/null +++ b/customer_portal/docs/epilot/README.md @@ -0,0 +1,8 @@ +# Epilot SDK + +## Overview + +Backend for epilot end customer portals + +### Available Operations + diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md new file mode 100755 index 000000000..2dc44e077 --- /dev/null +++ b/customer_portal/docs/public/README.md @@ -0,0 +1,197 @@ +# public + +## Overview + +Public + +### Available Operations + +* [activate_user](#activate_user) - activateUser +* [confirm_user](#confirm_user) - confirmUser +* [create_sso_user](#create_sso_user) - creates a sso user +* [create_user](#create_user) - creates a user +* [get_count_by_email](#get_count_by_email) - getCountByEmail +* [user_exists](#user_exists) - userExists + +## activate_user + +Activates the user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.ActivateUserRequest( + user_activation_payload=shared.UserActivationPayload( + display_name="Example User", + password="AKjhdakjsdh@!34", + ), + token="corporis", +) + +res = s.public.activate_user(req) + +if res.status_code == 200: + # handle response +``` + +## confirm_user + +TODO + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.ConfirmUserRequest( + id="fbb25870-5320-42c7-bd5f-e9b90c28909b", + org_id="123", + origin="END_CUSTOMER_PORTAL", +) + +res = s.public.confirm_user(req) + +if res.entity_item is not None: + # handle response +``` + +## create_sso_user + +Creates a sso user as portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.CreateSSOUserRequest( + request_body=operations.CreateSSOUserRequestBody( + email="testemail921@yopmail.com", + first_name="John", + last_name="Doe", + org_id="728", + ), + origin="INSTALLER_PORTAL", +) + +res = s.public.create_sso_user(req) + +if res.create_sso_user_201_application_json_object is not None: + # handle response +``` + +## create_user + +Creates a user in cognito pool and db item + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.CreateUserRequest( + request_body=operations.CreateUserRequestBody( + contact_id="123456", + email="testemail921@yopmail.com", + org_id="728", + password="Pass1234!", + secondary_identifier="123456", + ), + origin="INSTALLER_PORTAL", +) + +res = s.public.create_user(req) + +if res.add_portal_resp is not None: + # handle response +``` + +## get_count_by_email + +Check Contact by email + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.GetCountByEmailRequest( + email="test@test.com", + org_id="123", +) + +res = s.public.get_count_by_email(req) + +if res.get_count_by_email_200_application_json_object is not None: + # handle response +``` + +## user_exists + +Checks whether a user exists in the customer portal + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + as_customer="YOUR_API_KEY_HERE", + ), +) + + +req = operations.UserExistsRequest( + email="user@example.com", + org_id="123", +) + +res = s.public.user_exists(req) + +if res.user_exists_200_application_json_object is not None: + # handle response +``` diff --git a/customer_portal/files.gen b/customer_portal/files.gen index b7629a2fc..e5e9d6c30 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -68,4 +68,8 @@ src/epilot/models/shared/upsertportalconfig.py src/epilot/models/shared/useractivationpayload.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py +docs/epilot/README.md +docs/ecp/README.md +docs/ecpadmin/README.md +docs/public/README.md USAGE.md \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 0002fa86d..cbb43f4cc 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 900a8ea1c5b7ddb580155c479815b29e 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 280254ae2..30b3b6c3c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,14 +10,14 @@ setuptools.setup( name="epilot-customer-portal", - 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/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 33712790e..1e34606e2 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 df4cf260ec949d895ad73c6893dbec34272c8288 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Apr 2023 00:35:21 +0000 Subject: [PATCH 12/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.25.1 --- customer_portal/README.md | 2 +- customer_portal/RELEASES.md | 8 ++- customer_portal/docs/ecpadmin/README.md | 51 +++++++++++++------ customer_portal/docs/public/README.md | 34 ------------- customer_portal/files.gen | 2 +- customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp_admin.py | 34 +++++++++++++ .../src/epilot/models/operations/__init__.py | 2 +- .../epilot/models/operations/createssouser.py | 7 ++- customer_portal/src/epilot/public.py | 34 ------------- customer_portal/src/epilot/sdk.py | 4 +- 12 files changed, 92 insertions(+), 96 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 075bd6a85..0bde8540e 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -64,6 +64,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ### [ecp_admin](docs/ecpadmin/README.md) * [configure_distribution](docs/ecpadmin/README.md#configure_distribution) - configureDistribution +* [create_sso_user](docs/ecpadmin/README.md#create_sso_user) - creates a sso user * [delete_portal](docs/ecpadmin/README.md#delete_portal) - deletePortal * [extra_permission_attributes](docs/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes * [get_all_portal_configs](docs/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs @@ -83,7 +84,6 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [activate_user](docs/public/README.md#activate_user) - activateUser * [confirm_user](docs/public/README.md#confirm_user) - confirmUser -* [create_sso_user](docs/public/README.md#create_sso_user) - creates a sso user * [create_user](docs/public/README.md#create_user) - creates a user * [get_count_by_email](docs/public/README.md#get_count_by_email) - getCountByEmail * [user_exists](docs/public/README.md#user_exists) - userExists diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 245726066..78d1b9894 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -100,4 +100,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:09 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index f1a1cc62a..18cae1e98 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -7,6 +7,7 @@ ECP Admin ### Available Operations * [configure_distribution](#configure_distribution) - configureDistribution +* [create_sso_user](#create_sso_user) - creates a sso user * [delete_portal](#delete_portal) - deletePortal * [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes * [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs @@ -47,6 +48,36 @@ if res.configure_distribution_200_application_json_object is not None: # handle response ``` +## create_sso_user + +Creates a sso user as portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + + +req = operations.CreateSSOUserRequest( + request_body=operations.CreateSSOUserRequestBody( + email="testemail921@yopmail.com", + first_name="John", + last_name="Doe", + ), + origin="INSTALLER_PORTAL", +) + +res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) + +if res.create_sso_user_201_application_json_object is not None: + # handle response +``` + ## delete_portal TODO @@ -61,7 +92,7 @@ s = epilot.Epilot() req = operations.DeletePortalRequest( - origin="INSTALLER_PORTAL", + origin="END_CUSTOMER_PORTAL", ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -232,7 +263,7 @@ s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin="END_CUSTOMER_PORTAL", + origin="INSTALLER_PORTAL", ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -262,7 +293,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id="12324", - origin="INSTALLER_PORTAL", + origin="END_CUSTOMER_PORTAL", ) res = s.ecp_admin.get_public_portal_config(req) @@ -311,7 +342,7 @@ req = operations.ReplaceECPTemplateVariablesRequest( request_body=operations.ReplaceECPTemplateVariablesRequestBody( contact_id="7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51", ), - origin="END_CUSTOMER_PORTAL", + origin="INSTALLER_PORTAL", ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( @@ -337,18 +368,6 @@ s = epilot.Epilot() req = shared.SavePortalFile( files=[ - shared.SavePortalFileFiles( - tags=[ - "12345", - "12345", - ], - file_type="orderRightTeaser", - filename="12345", - s3ref=shared.SavePortalFileFilesS3ref( - bucket="12345", - key="12345", - ), - ), shared.SavePortalFileFiles( tags=[ "12345", diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index 2dc44e077..b56d1c649 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -8,7 +8,6 @@ Public * [activate_user](#activate_user) - activateUser * [confirm_user](#confirm_user) - confirmUser -* [create_sso_user](#create_sso_user) - creates a sso user * [create_user](#create_user) - creates a user * [get_count_by_email](#get_count_by_email) - getCountByEmail * [user_exists](#user_exists) - userExists @@ -73,39 +72,6 @@ if res.entity_item is not None: # handle response ``` -## create_sso_user - -Creates a sso user as portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) - - -req = operations.CreateSSOUserRequest( - request_body=operations.CreateSSOUserRequestBody( - email="testemail921@yopmail.com", - first_name="John", - last_name="Doe", - org_id="728", - ), - origin="INSTALLER_PORTAL", -) - -res = s.public.create_sso_user(req) - -if res.create_sso_user_201_application_json_object is not None: - # handle response -``` - ## create_user Creates a user in cognito pool and db item diff --git a/customer_portal/files.gen b/customer_portal/files.gen index e5e9d6c30..728aa4e79 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -33,6 +33,7 @@ src/epilot/models/operations/updateopportunity.py src/epilot/models/operations/updateorder.py src/epilot/models/operations/updateportaluser.py src/epilot/models/operations/configuredistribution.py +src/epilot/models/operations/createssouser.py src/epilot/models/operations/deleteportal.py src/epilot/models/operations/extrapermissionattributes.py src/epilot/models/operations/getallportalconfigs.py @@ -48,7 +49,6 @@ src/epilot/models/operations/upsertemailtemplates.py src/epilot/models/operations/upsertportal.py src/epilot/models/operations/activateuser.py src/epilot/models/operations/confirmuser.py -src/epilot/models/operations/createssouser.py src/epilot/models/operations/createuser.py src/epilot/models/operations/getcountbyemail.py src/epilot/models/operations/userexists.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index cbb43f4cc..094b98933 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: 900a8ea1c5b7ddb580155c479815b29e + docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 30b3b6c3c..a699fc25c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.7.0", + version="1.8.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 186bd40d9..cf0191842 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -46,6 +46,40 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques return res + def create_sso_user(self, request: operations.CreateSSOUserRequest, security: operations.CreateSSOUserSecurity) -> operations.CreateSSOUserResponse: + r"""creates a sso user + Creates a sso user as portal user + """ + base_url = self._server_url + + url = base_url.removesuffix('/') + '/v2/portal/sso/user' + + 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 + if data is None and form is None: + raise Exception('request body is required') + query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) + + client = utils.configure_security_client(self._client, security) + + http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.CreateSSOUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 201: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSSOUser201ApplicationJSON]) + res.create_sso_user_201_application_json_object = out + elif http_res.status_code in [400, 401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + + return res + def delete_portal(self, request: operations.DeletePortalRequest, security: operations.DeletePortalSecurity) -> operations.DeletePortalResponse: r"""deletePortal TODO diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 73a70fc3a..5d1096bdc 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -44,4 +44,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index b25ec6391..07d32a7b8 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -10,13 +10,18 @@ from typing import Any, Optional +@dataclasses.dataclass +class CreateSSOUserSecurity: + + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class CreateSSOUserRequestBody: r"""Portal payload""" email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) - org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 8e0c6b92f..1691c94eb 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -70,40 +70,6 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con return res - def create_sso_user(self, request: operations.CreateSSOUserRequest) -> operations.CreateSSOUserResponse: - r"""creates a sso user - Creates a sso user as portal user - """ - base_url = self._server_url - - url = base_url.removesuffix('/') + '/v2/portal/sso/user' - - 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 - if data is None and form is None: - raise Exception('request body is required') - query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) - - client = self._security_client - - http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) - content_type = http_res.headers.get('Content-Type') - - res = operations.CreateSSOUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - - if http_res.status_code == 201: - if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSSOUser201ApplicationJSON]) - res.create_sso_user_201_application_json_object = out - elif http_res.status_code in [400, 401, 500]: - if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) - res.error_resp = out - - return res - def create_user(self, request: operations.CreateUserRequest) -> operations.CreateUserResponse: r"""creates a user Creates a user in cognito pool and db item diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 1e34606e2..8d53af2b3 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 eace6bb127abb48809d81382c2cbb504dee56175 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Apr 2023 00:34:02 +0000 Subject: [PATCH 13/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.2 --- customer_portal/RELEASES.md | 8 +- customer_portal/gen.yaml | 6 +- customer_portal/setup.py | 2 +- .../epilot/models/operations/activateuser.py | 15 ++- .../addendcustomerrelationtoentity.py | 27 +++-- .../operations/configuredistribution.py | 21 ++-- .../epilot/models/operations/confirmuser.py | 21 ++-- .../epilot/models/operations/createssouser.py | 36 ++++-- .../epilot/models/operations/createuser.py | 36 ++++-- .../models/operations/deleteentityfile.py | 18 ++- .../epilot/models/operations/deleteportal.py | 15 ++- .../models/operations/deleteportaluser.py | 12 +- .../operations/extrapermissionattributes.py | 27 +++-- .../models/operations/getallcontracts.py | 15 ++- .../models/operations/getallopportunities.py | 15 ++- .../epilot/models/operations/getallorders.py | 15 ++- .../models/operations/getallportalconfigs.py | 15 ++- .../epilot/models/operations/getcontact.py | 24 ++-- .../epilot/models/operations/getcontract.py | 33 ++++-- .../models/operations/getcountbyemail.py | 21 ++-- .../epilot/models/operations/getecpcontact.py | 21 ++-- .../models/operations/getemailtemplates.py | 18 ++- .../operations/getentitiesbyidentifiers.py | 24 ++-- .../models/operations/getentityidentifiers.py | 27 +++-- .../models/operations/getopportunity.py | 33 ++++-- .../src/epilot/models/operations/getorder.py | 36 ++++-- .../operations/getorganizationsettings.py | 12 +- .../models/operations/getorgportalconfig.py | 18 ++- .../models/operations/getportalconfig.py | 21 ++-- .../operations/getportalconfigbydomain.py | 15 ++- .../epilot/models/operations/getportaluser.py | 12 +- .../operations/getpublicportalconfig.py | 18 ++- .../epilot/models/operations/getschemas.py | 15 ++- .../operations/getvalidsecondaryattributes.py | 21 ++-- .../operations/replaceecptemplatevariables.py | 30 +++-- .../models/operations/saveentityfile.py | 18 ++- .../models/operations/saveportalfiles.py | 15 ++- .../src/epilot/models/operations/testauth.py | 9 +- .../epilot/models/operations/updatecontact.py | 15 ++- .../models/operations/updatecontract.py | 24 ++-- .../models/operations/updateopportunity.py | 24 ++-- .../epilot/models/operations/updateorder.py | 21 ++-- .../models/operations/updateportaluser.py | 15 ++- .../models/operations/upsertemailtemplates.py | 27 +++-- .../epilot/models/operations/upsertportal.py | 24 ++-- .../epilot/models/operations/userexists.py | 30 +++-- .../src/epilot/models/shared/addportalresp.py | 3 +- .../epilot/models/shared/deleteentityfile.py | 9 +- .../epilot/models/shared/emailtemplates.py | 15 ++- .../src/epilot/models/shared/errorresp.py | 3 +- .../models/shared/extraschemaattributes.py | 9 +- .../src/epilot/models/shared/grant.py | 9 +- .../models/shared/organizationsettings.py | 108 ++++++++++++------ .../src/epilot/models/shared/portalconfig.py | 99 ++++++++++------ .../epilot/models/shared/saveentityfile.py | 33 ++++-- .../epilot/models/shared/saveportalfile.py | 24 ++-- .../src/epilot/models/shared/security.py | 9 +- .../models/shared/upsertportalconfig.py | 90 ++++++++++----- .../models/shared/useractivationpayload.py | 6 +- customer_portal/src/epilot/sdk.py | 4 +- 60 files changed, 897 insertions(+), 449 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 78d1b9894..6c72273f9 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -106,4 +106,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:33:46 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 094b98933..95d3da447 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index a699fc25c..677ee48f3 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.8.0", + version="1.9.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/activateuser.py b/customer_portal/src/epilot/models/operations/activateuser.py index 313eca4ba..4c1d4fc16 100755 --- a/customer_portal/src/epilot/models/operations/activateuser.py +++ b/customer_portal/src/epilot/models/operations/activateuser.py @@ -11,14 +11,19 @@ class ActivateUserRequest: token: str = dataclasses.field(metadata={'query_param': { 'field_name': 'token', 'style': 'form', 'explode': True }}) - r"""Invite Token""" - user_activation_payload: Optional[shared_useractivationpayload.UserActivationPayload] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + + r"""Invite Token""" + user_activation_payload: Optional[shared_useractivationpayload.UserActivationPayload] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + @dataclasses.dataclass class ActivateUserResponse: - 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/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index e3c81a30b..f696eb1cd 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -11,16 +11,19 @@ @dataclasses.dataclass class AddEndCustomerRelationToEntitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class AddEndCustomerRelationToEntityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the Entity""" + + r"""The Id of the Entity""" slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" + + r"""The slug of an entity""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,16 +31,22 @@ class AddEndCustomerRelationToEntityRequest: class AddEndCustomerRelationToEntity200ApplicationJSON: r"""The returned Entity""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class AddEndCustomerRelationToEntityResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + add_end_customer_relation_to_entity_200_application_json_object: Optional[AddEndCustomerRelationToEntity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned Entity""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned Entity""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 87199d901..97255e5f0 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -12,14 +12,16 @@ @dataclasses.dataclass class ConfigureDistributionSecurity: - 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' }}) + @dataclasses.dataclass class ConfigureDistributionRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -27,15 +29,20 @@ class ConfigureDistributionRequest: class ConfigureDistribution200ApplicationJSON: r"""The returned configured distribution id""" - domain_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domainName'), 'exclude': lambda f: f is None }}) + domain_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domainName'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class ConfigureDistributionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + configure_distribution_200_application_json_object: Optional[ConfigureDistribution200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned configured distribution id""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned configured distribution id""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index de1f8bacd..02eae479b 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -11,18 +11,25 @@ class ConfirmUserRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of portal user id""" - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + + r"""The Id of portal user id""" + org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class ConfirmUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned portal user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 07d32a7b8..2a9a902aa 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -13,7 +13,8 @@ @dataclasses.dataclass class CreateSSOUserSecurity: - 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' }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -21,18 +22,23 @@ class CreateSSOUserSecurity: class CreateSSOUserRequestBody: r"""Portal payload""" - email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) - first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) - last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) + email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + + first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) + + last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class CreateSSOUserRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" request_body: CreateSSOUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + + r"""Portal payload""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -40,17 +46,23 @@ class CreateSSOUserRequest: class CreateSSOUser201ApplicationJSON: r"""Success - SSO User created with success.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class CreateSSOUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) - r"""Success - SSO User created with success.""" + + r"""Success - SSO User created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index 6e7894159..02600a841 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -16,30 +16,42 @@ class CreateUserRequestBody: r"""Portal payload""" - contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), '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 }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) + contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), '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 }}) + + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + + password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) + + secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class CreateUserRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" request_body: CreateUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + + r"""Portal payload""" @dataclasses.dataclass class CreateUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - user created with success.""" + + r"""Success - user created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index 11854a68c..d2bbabd75 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -11,7 +11,8 @@ @dataclasses.dataclass class DeleteEntityFileSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -19,15 +20,20 @@ class DeleteEntityFileSecurity: class DeleteEntityFile200ApplicationJSON: r"""The returned File Entities""" - deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) + deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class DeleteEntityFileResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + delete_entity_file_200_application_json_object: Optional[DeleteEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned File Entities""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index e45379c67..e7e4d0a6d 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -10,20 +10,25 @@ @dataclasses.dataclass class DeletePortalSecurity: - 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' }}) + @dataclasses.dataclass class DeletePortalRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class DeletePortalResponse: - 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/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index c1c99d1a3..cd6d4f915 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -9,9 +9,13 @@ @dataclasses.dataclass class DeletePortalUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + delete_portal_user_200_application_json_string: Optional[str] = dataclasses.field(default=None) - r"""The returned portal user id""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned portal user id""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index dbe9813c1..5fc721059 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -13,10 +13,14 @@ @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSONData: - contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) - contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) - opportunity: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) - order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) + contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) + + contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) + + opportunity: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) + + order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -24,15 +28,20 @@ class ExtraPermissionAttributes200ApplicationJSONData: class ExtraPermissionAttributes200ApplicationJSON: r"""Success""" - data: Optional[ExtraPermissionAttributes200ApplicationJSONData] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[ExtraPermissionAttributes200ApplicationJSONData] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class ExtraPermissionAttributesResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + extra_permission_attributes_200_application_json_object: Optional[ExtraPermissionAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Success""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index d3b3444d7..9c56066af 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -13,15 +13,20 @@ class GetAllContracts200ApplicationJSON: r"""The returned contracts""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetAllContractsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_all_contracts_200_application_json_object: Optional[GetAllContracts200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contracts""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned contracts""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index a406ab8d1..8bbf5e104 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -13,15 +13,20 @@ class GetAllOpportunities200ApplicationJSON: r"""The returned opportunities""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetAllOpportunitiesResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_all_opportunities_200_application_json_object: Optional[GetAllOpportunities200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunities""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned opportunities""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index 80fd6b5fb..4cd94335f 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -13,15 +13,20 @@ class GetAllOrders200ApplicationJSON: r"""The returned orders""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetAllOrdersResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_all_orders_200_application_json_object: Optional[GetAllOrders200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned orders""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned orders""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index 437291bcb..b8afd4756 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -14,15 +14,20 @@ class GetAllPortalConfigs200ApplicationJSON: r"""ok""" - data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetAllPortalConfigsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_all_portal_configs_200_application_json_object: Optional[GetAllPortalConfigs200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index 88357f422..b2f0bdf74 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -14,19 +14,27 @@ class GetContact200ApplicationJSON: r"""The returned contact""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetContactResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" + + r"""Other errors""" get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contact""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned contact""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index 8a859c468..1850f32f7 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -11,14 +11,16 @@ @dataclasses.dataclass class GetContractSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class GetContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" + + r"""The Id of the contract""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -26,19 +28,28 @@ class GetContractRequest: class GetContract200ApplicationJSON: r"""The returned contract""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + + orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetContractResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_contract_200_application_json_object: Optional[GetContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contract""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned contract""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index babc7c205..7ac025500 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -11,8 +11,10 @@ @dataclasses.dataclass class GetCountByEmailRequest: - email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) + + org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -20,15 +22,20 @@ class GetCountByEmailRequest: class GetCountByEmail200ApplicationJSON: r"""The returned count of contact""" - count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) + count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetCountByEmailResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_count_by_email_200_application_json_object: Optional[GetCountByEmail200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned count of contact""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index 41bb4917e..c20f50f4d 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -10,23 +10,30 @@ @dataclasses.dataclass class GetECPContactSecurity: - 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' }}) + @dataclasses.dataclass class GetECPContactRequest: - id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) + id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) + @dataclasses.dataclass class GetECPContactResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" + + r"""The returned contact""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Other errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index 33f27b987..4631f5a1d 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -11,22 +11,28 @@ @dataclasses.dataclass class GetEmailTemplatesSecurity: - 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' }}) + @dataclasses.dataclass class GetEmailTemplatesRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class GetEmailTemplatesResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 2ba90e9c1..2f09e7e80 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -11,16 +11,19 @@ @dataclasses.dataclass class GetEntitiesByIdentifiersSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class GetEntitiesByIdentifiersRequest: request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Entity Identifiers""" + + r"""Entity Identifiers""" slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" + + r"""The slug of an entity""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,15 +31,20 @@ class GetEntitiesByIdentifiersRequest: class GetEntitiesByIdentifiers200ApplicationJSON: r"""The returned Entities""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetEntitiesByIdentifiersResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_entities_by_identifiers_200_application_json_object: Optional[GetEntitiesByIdentifiers200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned Entities""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned Entities""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index 0a3535512..9d30fcc91 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -11,22 +11,26 @@ @dataclasses.dataclass class GetEntityIdentifiersSecurity: - 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' }}) + @dataclasses.dataclass class GetEntityIdentifiersRequest: slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" + + r"""The slug of an entity""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSONData: - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), '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 }}) + + type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -34,15 +38,20 @@ class GetEntityIdentifiers200ApplicationJSONData: class GetEntityIdentifiers200ApplicationJSON: r"""The returned identifiers of an entity""" - data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetEntityIdentifiersResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_entity_identifiers_200_application_json_object: Optional[GetEntityIdentifiers200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned identifiers of an entity""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned identifiers of an entity""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index 7bfaa8a34..af0d91b2c 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -11,14 +11,16 @@ @dataclasses.dataclass class GetOpportunitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class GetOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" + + r"""The Id of opportunities""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -26,19 +28,28 @@ class GetOpportunityRequest: class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + + orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetOpportunityResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_opportunity_200_application_json_object: Optional[GetOpportunity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunities""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned opportunities""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index 4e40351ee..8a4c52385 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -11,14 +11,16 @@ @dataclasses.dataclass class GetOrderSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class GetOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" + + r"""The Id of order""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -26,20 +28,30 @@ class GetOrderRequest: class GetOrder200ApplicationJSON: r"""The returned order""" - cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) + + entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + + products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) + + relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetOrderResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_order_200_application_json_object: Optional[GetOrder200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned order""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned order""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 7aaac0c58..5d3b5105a 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -10,9 +10,13 @@ @dataclasses.dataclass class GetOrganizationSettingsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + organization_settings: Optional[shared_organizationsettings.OrganizationSettings] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index 0848ae9e3..4115e211d 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -11,22 +11,28 @@ @dataclasses.dataclass class GetOrgPortalConfigSecurity: - 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' }}) + @dataclasses.dataclass class GetOrgPortalConfigRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class GetOrgPortalConfigResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index 54c5b55fe..e5d1a6690 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -11,23 +11,30 @@ @dataclasses.dataclass class GetPortalConfigSecurity: - epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class GetPortalConfigRequest: origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class GetPortalConfigResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index dbe80e05c..8d3058a1c 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -10,15 +10,20 @@ @dataclasses.dataclass class GetPortalConfigByDomainRequest: - domain: str = dataclasses.field(metadata={'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': True }}) + domain: str = dataclasses.field(metadata={'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': True }}) + @dataclasses.dataclass class GetPortalConfigByDomainResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index 8c056898f..9c9e9a6b9 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -9,9 +9,13 @@ @dataclasses.dataclass class GetPortalUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned portal user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index f5cabb312..09b0bb15f 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -11,17 +11,23 @@ @dataclasses.dataclass class GetPublicPortalConfigRequest: - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class GetPublicPortalConfigResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""ok""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index e288b676e..a13d84946 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -13,15 +13,20 @@ class GetSchemas200ApplicationJSON: r"""Success""" - schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) + schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetSchemasResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_schemas_200_application_json_object: Optional[GetSchemas200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Success""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index 5cbcc31be..43ace8b81 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -12,8 +12,10 @@ @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSONData: - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), '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 }}) + + type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -21,15 +23,20 @@ class GetValidSecondaryAttributes200ApplicationJSONData: class GetValidSecondaryAttributes200ApplicationJSON: r"""The returned count of contact""" - data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class GetValidSecondaryAttributesResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + get_valid_secondary_attributes_200_application_json_object: Optional[GetValidSecondaryAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned count of contact""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 9134fd33f..29e94f268 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -12,7 +12,8 @@ @dataclasses.dataclass class ReplaceECPTemplateVariablesSecurity: - 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' }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -20,23 +21,27 @@ class ReplaceECPTemplateVariablesSecurity: class ReplaceECPTemplateVariablesRequestBody: r"""ECPVariables payload""" - contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) + contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class ReplaceECPTemplateVariablesRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" request_body: ReplaceECPTemplateVariablesRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""ECPVariables payload""" + + r"""ECPVariables payload""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: - invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) + invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -44,15 +49,20 @@ class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: class ReplaceECPTemplateVariables200ApplicationJSON: r"""ok""" - portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) + portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class ReplaceECPTemplateVariablesResponse: - 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) + replace_ecp_template_variables_200_application_json_object: Optional[ReplaceECPTemplateVariables200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" + + r"""ok""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index 59d96e6c1..2e7a7e6e1 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -11,7 +11,8 @@ @dataclasses.dataclass class SaveEntityFileSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -19,15 +20,20 @@ class SaveEntityFileSecurity: class SaveEntityFile200ApplicationJSON: r"""The returned File Entities""" - created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class SaveEntityFileResponse: - 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) + save_entity_file_200_application_json_object: Optional[SaveEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" + + r"""The returned File Entities""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index bfff6ce4c..1da0a2acd 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -9,15 +9,20 @@ @dataclasses.dataclass class SavePortalFilesSecurity: - 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' }}) + @dataclasses.dataclass class SavePortalFilesResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal files""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned portal files""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/testauth.py b/customer_portal/src/epilot/models/operations/testauth.py index f42275986..023aac11a 100755 --- a/customer_portal/src/epilot/models/operations/testauth.py +++ b/customer_portal/src/epilot/models/operations/testauth.py @@ -9,7 +9,10 @@ @dataclasses.dataclass class TestAuthResponse: - 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/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index ef158bb7e..c78da0e4b 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -9,15 +9,20 @@ @dataclasses.dataclass class UpdateContactSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class UpdateContactResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned contact""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index 221db1885..0053ac9aa 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -11,16 +11,19 @@ @dataclasses.dataclass class UpdateContractSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class UpdateContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" + + r"""The Id of the contract""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated Contract body""" + + r"""Updated Contract body""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,15 +31,20 @@ class UpdateContractRequest: class UpdateContract200ApplicationJSON: r"""The returned updated contract""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class UpdateContractResponse: - 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) + update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned updated contract""" + + r"""The returned updated contract""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 6d332f19f..81b5f0694 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -11,16 +11,19 @@ @dataclasses.dataclass class UpdateOpportunitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class UpdateOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" + + r"""The Id of opportunities""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated opportunity body""" + + r"""Updated opportunity body""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,15 +31,20 @@ class UpdateOpportunityRequest: class UpdateOpportunity200ApplicationJSON: r"""The returned opportunity""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class UpdateOpportunityResponse: - 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) + update_opportunity_200_application_json_object: Optional[UpdateOpportunity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunity""" + + r"""The returned opportunity""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index 37689d9c3..81fb2bf5c 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -9,23 +9,30 @@ @dataclasses.dataclass class UpdateOrderSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class UpdateOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" - request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + + r"""The Id of order""" + request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + @dataclasses.dataclass class UpdateOrderResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned order""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned order""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index b97cbb758..e1e888768 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -9,15 +9,20 @@ @dataclasses.dataclass class UpdatePortalUserSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + @dataclasses.dataclass class UpdatePortalUserResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned portal user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 2c024c279..5c3a7e538 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -13,16 +13,19 @@ @dataclasses.dataclass class UpsertEmailTemplatesSecurity: - 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' }}) + @dataclasses.dataclass class UpsertEmailTemplatesRequest: email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + + r"""Portal payload""" origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -30,16 +33,22 @@ class UpsertEmailTemplatesRequest: class UpsertEmailTemplates200ApplicationJSON: r"""ok""" - email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates'), 'exclude': lambda f: f is None }}) - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates'), 'exclude': lambda f: f is None }}) + + message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class UpsertEmailTemplatesResponse: - 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) + upsert_email_templates_200_application_json_object: Optional[UpsertEmailTemplates200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" + + r"""ok""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index 11e14465d..e1a9a8c3f 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -13,26 +13,34 @@ @dataclasses.dataclass class UpsertPortalSecurity: - 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' }}) + @dataclasses.dataclass class UpsertPortalRequest: upsert_portal_config: shared_upsertportalconfig.UpsertPortalConfig = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + + r"""Portal payload""" origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" @dataclasses.dataclass class UpsertPortalResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - portal created with success.""" + + r"""Success - portal created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index 340e593b4..82e9b58b0 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -11,8 +11,10 @@ @dataclasses.dataclass class UserExistsRequest: - email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) + + org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -20,7 +22,8 @@ class UserExistsRequest: class UserExists404ApplicationJSON: r"""User does not exist in the portal""" - exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) + exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,18 +31,25 @@ class UserExists404ApplicationJSON: class UserExists200ApplicationJSON: r"""User exists in the portal""" - exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) - user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) + exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) + + user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class UserExistsResponse: - 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) + user_exists_200_application_json_object: Optional[UserExists200ApplicationJSON] = dataclasses.field(default=None) - r"""User exists in the portal""" + + r"""User exists in the portal""" user_exists_404_application_json_object: Optional[UserExists404ApplicationJSON] = dataclasses.field(default=None) - r"""User does not exist in the portal""" + + r"""User does not exist in the portal""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/addportalresp.py b/customer_portal/src/epilot/models/shared/addportalresp.py index 3e6eec8d7..fb64915e0 100755 --- a/customer_portal/src/epilot/models/shared/addportalresp.py +++ b/customer_portal/src/epilot/models/shared/addportalresp.py @@ -12,5 +12,6 @@ class AddPortalResp: r"""Success - portal created with success.""" - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index 5eba301bd..0968bdd5c 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -11,7 +11,10 @@ class DeleteEntityFile: r"""Delete file""" - entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) - entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) - file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) + entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) + + entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) + + file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py index 1f8d9b4b0..9df614047 100755 --- a/customer_portal/src/epilot/models/shared/emailtemplates.py +++ b/customer_portal/src/epilot/models/shared/emailtemplates.py @@ -12,9 +12,14 @@ class EmailTemplates: r"""ok""" - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) - on_map_a_pending_user: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onMapAPendingUser'), 'exclude': lambda f: f is None }}) - on_new_quote: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onNewQuote'), 'exclude': lambda f: f is None }}) + confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) + + forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) + + invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + + on_map_a_pending_user: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onMapAPendingUser'), 'exclude': lambda f: f is None }}) + + on_new_quote: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onNewQuote'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index 1adc87498..9beeb3061 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -12,5 +12,6 @@ class ErrorResp: r"""Other errors""" - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py index 8a6a8b9dd..1a539b954 100755 --- a/customer_portal/src/epilot/models/shared/extraschemaattributes.py +++ b/customer_portal/src/epilot/models/shared/extraschemaattributes.py @@ -11,7 +11,10 @@ @dataclasses.dataclass class ExtraSchemaAttributes: - group: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group'), 'exclude': lambda f: f is None }}) - label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), '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 }}) + group: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group'), 'exclude': lambda f: f is None }}) + + label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), '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 }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index c577cd5cd..a6137a9e7 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -16,7 +16,10 @@ class GrantEffectEnum(str, Enum): @dataclasses.dataclass class Grant: - action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) - effect: Optional[GrantEffectEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) - resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) + action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) + + effect: Optional[GrantEffectEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) + + resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index b62bc3d54..ab312d735 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -11,126 +11,144 @@ @dataclasses.dataclass class OrganizationSettingsAutomationEntityMapping: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsAutomationPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsCentralInboxPreviewSetting: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsContractsPreviewSetting: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsDisableIvy: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsDoubleOptIn: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsEcommerceCatalogPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsEcommerceOpportunitiesPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsEcommercePreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsEndCustomerPortal: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsEntitySchemaBuilder: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsLogicEditorPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsNewNavigation: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsPartnering: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsProductAvailability: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsSso: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsSubmissionPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettingsUserRolesPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -138,22 +156,40 @@ class OrganizationSettingsUserRolesPreview: class OrganizationSettings: r"""ok""" - automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) - automation_preview: Optional[OrganizationSettingsAutomationPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_preview'), 'exclude': lambda f: f is None }}) - central_inbox_preview_setting: Optional[OrganizationSettingsCentralInboxPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('central_inbox_preview_setting'), 'exclude': lambda f: f is None }}) - contracts_preview_setting: Optional[OrganizationSettingsContractsPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contracts_preview_setting'), 'exclude': lambda f: f is None }}) - disable_ivy: Optional[OrganizationSettingsDisableIvy] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_ivy'), 'exclude': lambda f: f is None }}) - double_opt_in: Optional[OrganizationSettingsDoubleOptIn] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('double_opt_in'), 'exclude': lambda f: f is None }}) - ecommerce_catalog_preview: Optional[OrganizationSettingsEcommerceCatalogPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_catalog_preview'), 'exclude': lambda f: f is None }}) - ecommerce_opportunities_preview: Optional[OrganizationSettingsEcommerceOpportunitiesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_opportunities_preview'), 'exclude': lambda f: f is None }}) - ecommerce_preview: Optional[OrganizationSettingsEcommercePreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_preview'), 'exclude': lambda f: f is None }}) - end_customer_portal: Optional[OrganizationSettingsEndCustomerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_portal'), 'exclude': lambda f: f is None }}) - entity_schema_builder: Optional[OrganizationSettingsEntitySchemaBuilder] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_schema_builder'), 'exclude': lambda f: f is None }}) - logic_editor_preview: Optional[OrganizationSettingsLogicEditorPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logic_editor_preview'), 'exclude': lambda f: f is None }}) - new_navigation: Optional[OrganizationSettingsNewNavigation] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('new_navigation'), 'exclude': lambda f: f is None }}) - partnering: Optional[OrganizationSettingsPartnering] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('partnering'), 'exclude': lambda f: f is None }}) - product_availability: Optional[OrganizationSettingsProductAvailability] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('product-availability'), 'exclude': lambda f: f is None }}) - sso: Optional[OrganizationSettingsSso] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sso'), 'exclude': lambda f: f is None }}) - submission_preview: Optional[OrganizationSettingsSubmissionPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('submission_preview'), 'exclude': lambda f: f is None }}) - user_roles_preview: Optional[OrganizationSettingsUserRolesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user_roles_preview'), 'exclude': lambda f: f is None }}) + automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) + + automation_preview: Optional[OrganizationSettingsAutomationPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_preview'), 'exclude': lambda f: f is None }}) + + central_inbox_preview_setting: Optional[OrganizationSettingsCentralInboxPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('central_inbox_preview_setting'), 'exclude': lambda f: f is None }}) + + contracts_preview_setting: Optional[OrganizationSettingsContractsPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contracts_preview_setting'), 'exclude': lambda f: f is None }}) + + disable_ivy: Optional[OrganizationSettingsDisableIvy] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_ivy'), 'exclude': lambda f: f is None }}) + + double_opt_in: Optional[OrganizationSettingsDoubleOptIn] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('double_opt_in'), 'exclude': lambda f: f is None }}) + + ecommerce_catalog_preview: Optional[OrganizationSettingsEcommerceCatalogPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_catalog_preview'), 'exclude': lambda f: f is None }}) + + ecommerce_opportunities_preview: Optional[OrganizationSettingsEcommerceOpportunitiesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_opportunities_preview'), 'exclude': lambda f: f is None }}) + + ecommerce_preview: Optional[OrganizationSettingsEcommercePreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_preview'), 'exclude': lambda f: f is None }}) + + end_customer_portal: Optional[OrganizationSettingsEndCustomerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_portal'), 'exclude': lambda f: f is None }}) + + entity_schema_builder: Optional[OrganizationSettingsEntitySchemaBuilder] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_schema_builder'), 'exclude': lambda f: f is None }}) + + logic_editor_preview: Optional[OrganizationSettingsLogicEditorPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logic_editor_preview'), 'exclude': lambda f: f is None }}) + + new_navigation: Optional[OrganizationSettingsNewNavigation] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('new_navigation'), 'exclude': lambda f: f is None }}) + + partnering: Optional[OrganizationSettingsPartnering] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('partnering'), 'exclude': lambda f: f is None }}) + + product_availability: Optional[OrganizationSettingsProductAvailability] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('product-availability'), 'exclude': lambda f: f is None }}) + + sso: Optional[OrganizationSettingsSso] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sso'), 'exclude': lambda f: f is None }}) + + submission_preview: Optional[OrganizationSettingsSubmissionPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('submission_preview'), 'exclude': lambda f: f is None }}) + + user_roles_preview: Optional[OrganizationSettingsUserRolesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user_roles_preview'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 642cfa60b..b74c8eaa8 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -13,53 +13,69 @@ @dataclasses.dataclass class PortalConfigCognitoDetails: - cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) - cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) - cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) + + cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) + + cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigEmailTemplates: - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) + + forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) + + invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigEntityActionsActionLabel: - de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) - en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigEntityActions: - action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) - journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) + action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) + + journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) + slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) - r"""URL-friendly identifier for the entity schema""" + + r"""URL-friendly identifier for the entity schema""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigEntityIdentifiers: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) - is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + + is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigImages: - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + + order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + + welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -67,24 +83,41 @@ class PortalConfigImages: class PortalConfig: r"""ok""" - cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) - config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) - contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[PortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, PortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) + + config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) + + contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) + + default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) + + design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) + + email_templates: Optional[PortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + + entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) + + entity_identifiers: Optional[dict[str, PortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + + grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), '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 }}) - r"""ID of the organization""" - images: Optional[PortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) - is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) - org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) + + r"""ID of the organization""" + images: Optional[PortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) + + is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) + + org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) + origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" + + r"""Whether portal user has self registration""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 7b43accd5..6645d9d50 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -16,20 +16,28 @@ class SaveEntityFileFilesAccessControlEnum(str, Enum): @dataclasses.dataclass class SaveEntityFileFilesS3ref: - bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) - key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) + + key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SaveEntityFileFiles: - filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) - s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) - access_control: Optional[SaveEntityFileFilesAccessControlEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) - document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) - file_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_id'), 'exclude': lambda f: f is None }}) + filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) + + s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) + + tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + + access_control: Optional[SaveEntityFileFilesAccessControlEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) + + document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) + + file_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_id'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -37,7 +45,10 @@ class SaveEntityFileFiles: class SaveEntityFile: r"""Save file""" - entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) - entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) - files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) + + entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) + + files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index e2e3bb31c..deecd57ff 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -12,18 +12,24 @@ @dataclasses.dataclass class SavePortalFileFilesS3ref: - bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) - key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) + + key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SavePortalFileFiles: - file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) - filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) - s3ref: Optional[SavePortalFileFilesS3ref] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref'), 'exclude': lambda f: f is None }}) + file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) + + tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + + filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) + + s3ref: Optional[SavePortalFileFilesS3ref] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -31,7 +37,9 @@ class SavePortalFileFiles: class SavePortalFile: r"""Save portal file""" - files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) - r"""Origin of the portal""" + + r"""Origin of the portal""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py index 600363405..5194725b8 100755 --- a/customer_portal/src/epilot/models/shared/security.py +++ b/customer_portal/src/epilot/models/shared/security.py @@ -8,7 +8,10 @@ @dataclasses.dataclass class Security: - as_customer: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-portal-id' }}) - as_organization: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-ivy-org-id' }}) - portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + as_customer: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-portal-id' }}) + + as_organization: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-ivy-org-id' }}) + + portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 505adc5a8..5f7e03c95 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -12,53 +12,69 @@ @dataclasses.dataclass class UpsertPortalConfigCognitoDetails: - cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) - cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) - cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) + + cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) + + cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigEmailTemplates: - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) + + forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) + + invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigEntityActionsActionLabel: - de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) - en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigEntityActions: - action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) - journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) + action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) + + journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) + slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) - r"""URL-friendly identifier for the entity schema""" + + r"""URL-friendly identifier for the entity schema""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigEntityIdentifiers: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) - is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + + is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigImages: - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + + order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + + welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -66,19 +82,33 @@ class UpsertPortalConfigImages: class UpsertPortalConfig: r"""Portal payload""" - cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) - config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) - contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[UpsertPortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, UpsertPortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) - images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) - is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) + cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) + + config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) + + contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) + + default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) + + design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) + + email_templates: Optional[UpsertPortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + + entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) + + entity_identifiers: Optional[dict[str, UpsertPortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + + grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + + images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) + + is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) + self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" + + r"""Whether portal user has self registration""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/useractivationpayload.py b/customer_portal/src/epilot/models/shared/useractivationpayload.py index e69cc5c11..fa4ce6b70 100755 --- a/customer_portal/src/epilot/models/shared/useractivationpayload.py +++ b/customer_portal/src/epilot/models/shared/useractivationpayload.py @@ -12,7 +12,9 @@ class UserActivationPayload: display_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name'), 'exclude': lambda f: f is None }}) - r"""User's display name (default: email address)""" + + r"""User's display name (default: email address)""" password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - r"""User's password""" + + r"""User's password""" \ No newline at end of file diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 8d53af2b3..6ec015c99 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 71d2f8fd92971b9a4a72261db1bb216da00e1a82 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 29 Apr 2023 00:32:00 +0000 Subject: [PATCH 14/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.4 --- customer_portal/RELEASES.md | 8 ++++- customer_portal/gen.yaml | 6 ++-- customer_portal/setup.py | 2 +- .../epilot/models/operations/activateuser.py | 5 --- .../addendcustomerrelationtoentity.py | 9 ----- .../operations/configuredistribution.py | 7 ---- .../epilot/models/operations/confirmuser.py | 7 ---- .../epilot/models/operations/createssouser.py | 12 ------- .../epilot/models/operations/createuser.py | 12 ------- .../models/operations/deleteentityfile.py | 6 ---- .../epilot/models/operations/deleteportal.py | 5 --- .../models/operations/deleteportaluser.py | 4 --- .../operations/extrapermissionattributes.py | 9 ----- .../models/operations/getallcontracts.py | 5 --- .../models/operations/getallopportunities.py | 5 --- .../epilot/models/operations/getallorders.py | 5 --- .../models/operations/getallportalconfigs.py | 5 --- .../epilot/models/operations/getcontact.py | 8 ----- .../epilot/models/operations/getcontract.py | 11 ------ .../models/operations/getcountbyemail.py | 7 ---- .../epilot/models/operations/getecpcontact.py | 7 ---- .../models/operations/getemailtemplates.py | 6 ---- .../operations/getentitiesbyidentifiers.py | 8 ----- .../models/operations/getentityidentifiers.py | 9 ----- .../models/operations/getopportunity.py | 11 ------ .../src/epilot/models/operations/getorder.py | 12 ------- .../operations/getorganizationsettings.py | 4 --- .../models/operations/getorgportalconfig.py | 6 ---- .../models/operations/getportalconfig.py | 7 ---- .../operations/getportalconfigbydomain.py | 5 --- .../epilot/models/operations/getportaluser.py | 4 --- .../operations/getpublicportalconfig.py | 6 ---- .../epilot/models/operations/getschemas.py | 5 --- .../operations/getvalidsecondaryattributes.py | 7 ---- .../operations/replaceecptemplatevariables.py | 10 ------ .../models/operations/saveentityfile.py | 6 ---- .../models/operations/saveportalfiles.py | 5 --- .../src/epilot/models/operations/testauth.py | 3 -- .../epilot/models/operations/updatecontact.py | 5 --- .../models/operations/updatecontract.py | 8 ----- .../models/operations/updateopportunity.py | 8 ----- .../epilot/models/operations/updateorder.py | 7 ---- .../models/operations/updateportaluser.py | 5 --- .../models/operations/upsertemailtemplates.py | 9 ----- .../epilot/models/operations/upsertportal.py | 8 ----- .../epilot/models/operations/userexists.py | 10 ------ .../src/epilot/models/shared/addportalresp.py | 1 - .../epilot/models/shared/deleteentityfile.py | 3 -- .../epilot/models/shared/emailtemplates.py | 5 --- .../src/epilot/models/shared/errorresp.py | 1 - .../models/shared/extraschemaattributes.py | 3 -- .../src/epilot/models/shared/grant.py | 3 -- .../models/shared/organizationsettings.py | 36 ------------------- .../src/epilot/models/shared/portalconfig.py | 33 ----------------- .../epilot/models/shared/saveentityfile.py | 11 ------ .../epilot/models/shared/saveportalfile.py | 8 ----- .../src/epilot/models/shared/security.py | 3 -- .../models/shared/upsertportalconfig.py | 30 ---------------- .../models/shared/useractivationpayload.py | 2 -- customer_portal/src/epilot/sdk.py | 4 +-- 60 files changed, 13 insertions(+), 449 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 6c72273f9..b89d1f63f 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -112,4 +112,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 95d3da447..4c920e5cb 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f docVersion: 1.0.0 - speakeasyVersion: 1.26.2 - generationVersion: 2.23.2 + speakeasyVersion: 1.26.4 + generationVersion: 2.23.4 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 677ee48f3..a97a68f88 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.9.0", + version="1.9.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/activateuser.py b/customer_portal/src/epilot/models/operations/activateuser.py index 4c1d4fc16..9aead7781 100755 --- a/customer_portal/src/epilot/models/operations/activateuser.py +++ b/customer_portal/src/epilot/models/operations/activateuser.py @@ -11,19 +11,14 @@ class ActivateUserRequest: token: str = dataclasses.field(metadata={'query_param': { 'field_name': 'token', 'style': 'form', 'explode': True }}) - r"""Invite Token""" user_activation_payload: Optional[shared_useractivationpayload.UserActivationPayload] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - @dataclasses.dataclass class ActivateUserResponse: 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/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index f696eb1cd..66166af1c 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -12,17 +12,14 @@ class AddEndCustomerRelationToEntitySecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class AddEndCustomerRelationToEntityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the Entity""" slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" @@ -32,21 +29,15 @@ class AddEndCustomerRelationToEntity200ApplicationJSON: r"""The returned Entity""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class AddEndCustomerRelationToEntityResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - add_end_customer_relation_to_entity_200_application_json_object: Optional[AddEndCustomerRelationToEntity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned Entity""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 97255e5f0..94c75d2a8 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -13,14 +13,12 @@ class ConfigureDistributionSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class ConfigureDistributionRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -30,19 +28,14 @@ class ConfigureDistribution200ApplicationJSON: r"""The returned configured distribution id""" domain_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domainName'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class ConfigureDistributionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - configure_distribution_200_application_json_object: Optional[ConfigureDistribution200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned configured distribution id""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index 02eae479b..e7fbe0fa8 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -11,12 +11,9 @@ class ConfirmUserRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of portal user id""" org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -24,12 +21,8 @@ class ConfirmUserRequest: class ConfirmUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 2a9a902aa..3ad16d623 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -14,7 +14,6 @@ class CreateSSOUserSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,21 +22,16 @@ class CreateSSOUserRequestBody: r"""Portal payload""" email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) - first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) - last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class CreateSSOUserRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" request_body: CreateSSOUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" @@ -47,22 +41,16 @@ class CreateSSOUser201ApplicationJSON: r"""Success - SSO User created with success.""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class CreateSSOUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) - r"""Success - SSO User created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index 02600a841..8b1b8baa7 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -17,25 +17,18 @@ class CreateUserRequestBody: r"""Portal payload""" contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), '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 }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class CreateUserRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" request_body: CreateUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" @@ -43,15 +36,10 @@ class CreateUserRequest: class CreateUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - user created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index d2bbabd75..72dbb7d5b 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -12,7 +12,6 @@ class DeleteEntityFileSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -21,19 +20,14 @@ class DeleteEntityFile200ApplicationJSON: r"""The returned File Entities""" deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class DeleteEntityFileResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - delete_entity_file_200_application_json_object: Optional[DeleteEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index e7e4d0a6d..46fe338f3 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -11,14 +11,12 @@ class DeletePortalSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class DeletePortalRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -26,9 +24,6 @@ class DeletePortalRequest: class DeletePortalResponse: 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/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index cd6d4f915..115c41adf 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -10,12 +10,8 @@ class DeletePortalUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - delete_portal_user_200_application_json_string: Optional[str] = dataclasses.field(default=None) - r"""The returned portal user id""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 5fc721059..6cd4ea53e 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -14,13 +14,9 @@ class ExtraPermissionAttributes200ApplicationJSONData: contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) - contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) - opportunity: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) - order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -29,19 +25,14 @@ class ExtraPermissionAttributes200ApplicationJSON: r"""Success""" data: Optional[ExtraPermissionAttributes200ApplicationJSONData] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class ExtraPermissionAttributesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - extra_permission_attributes_200_application_json_object: Optional[ExtraPermissionAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 9c56066af..f1cc04e47 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -14,19 +14,14 @@ class GetAllContracts200ApplicationJSON: r"""The returned contracts""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllContractsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_all_contracts_200_application_json_object: Optional[GetAllContracts200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contracts""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 8bbf5e104..f088f0f74 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -14,19 +14,14 @@ class GetAllOpportunities200ApplicationJSON: r"""The returned opportunities""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllOpportunitiesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_all_opportunities_200_application_json_object: Optional[GetAllOpportunities200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index 4cd94335f..cc3eb9b9e 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -14,19 +14,14 @@ class GetAllOrders200ApplicationJSON: r"""The returned orders""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllOrdersResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_all_orders_200_application_json_object: Optional[GetAllOrders200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned orders""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index b8afd4756..74e83c3ac 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -15,19 +15,14 @@ class GetAllPortalConfigs200ApplicationJSON: r"""ok""" data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllPortalConfigsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_all_portal_configs_200_application_json_object: Optional[GetAllPortalConfigs200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index b2f0bdf74..e04199b99 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -15,26 +15,18 @@ class GetContact200ApplicationJSON: r"""The returned contact""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetContactResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contact""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index 1850f32f7..7a86d5515 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -12,14 +12,12 @@ class GetContractSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" @@ -29,27 +27,18 @@ class GetContract200ApplicationJSON: r"""The returned contract""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetContractResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_contract_200_application_json_object: Optional[GetContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contract""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index 7ac025500..16442876e 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -12,9 +12,7 @@ class GetCountByEmailRequest: email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,19 +21,14 @@ class GetCountByEmail200ApplicationJSON: r"""The returned count of contact""" count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetCountByEmailResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_count_by_email_200_application_json_object: Optional[GetCountByEmail200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index c20f50f4d..9fb73390e 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -11,29 +11,22 @@ class GetECPContactSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetECPContactRequest: id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) - @dataclasses.dataclass class GetECPContactResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index 4631f5a1d..ce3f9d8e9 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -12,14 +12,12 @@ class GetEmailTemplatesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetEmailTemplatesRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -27,12 +25,8 @@ class GetEmailTemplatesRequest: class GetEmailTemplatesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 2f09e7e80..4cfc52054 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -12,17 +12,14 @@ class GetEntitiesByIdentifiersSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetEntitiesByIdentifiersRequest: request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Entity Identifiers""" slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" @@ -32,19 +29,14 @@ class GetEntitiesByIdentifiers200ApplicationJSON: r"""The returned Entities""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetEntitiesByIdentifiersResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_entities_by_identifiers_200_application_json_object: Optional[GetEntitiesByIdentifiers200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned Entities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index 9d30fcc91..f22aaafda 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -12,14 +12,12 @@ class GetEntityIdentifiersSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetEntityIdentifiersRequest: slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) - r"""The slug of an entity""" @@ -28,9 +26,7 @@ class GetEntityIdentifiersRequest: class GetEntityIdentifiers200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -39,19 +35,14 @@ class GetEntityIdentifiers200ApplicationJSON: r"""The returned identifiers of an entity""" data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetEntityIdentifiersResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_entity_identifiers_200_application_json_object: Optional[GetEntityIdentifiers200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned identifiers of an entity""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index af0d91b2c..3d33f08e2 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -12,14 +12,12 @@ class GetOpportunitySecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" @@ -29,27 +27,18 @@ class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetOpportunityResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_opportunity_200_application_json_object: Optional[GetOpportunity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index 8a4c52385..c40dfb56c 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -12,14 +12,12 @@ class GetOrderSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" @@ -29,29 +27,19 @@ class GetOrder200ApplicationJSON: r"""The returned order""" cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetOrderResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_order_200_application_json_object: Optional[GetOrder200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned order""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 5d3b5105a..69797b471 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -11,12 +11,8 @@ class GetOrganizationSettingsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - organization_settings: Optional[shared_organizationsettings.OrganizationSettings] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index 4115e211d..de7623682 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -12,14 +12,12 @@ class GetOrgPortalConfigSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetOrgPortalConfigRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -27,12 +25,8 @@ class GetOrgPortalConfigRequest: class GetOrgPortalConfigResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index e5d1a6690..481158b12 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -12,16 +12,13 @@ class GetPortalConfigSecurity: epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class GetPortalConfigRequest: origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -29,12 +26,8 @@ class GetPortalConfigRequest: class GetPortalConfigResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index 8d3058a1c..fabaaf201 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -11,19 +11,14 @@ class GetPortalConfigByDomainRequest: domain: str = dataclasses.field(metadata={'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': True }}) - @dataclasses.dataclass class GetPortalConfigByDomainResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index 9c9e9a6b9..dcdf8b764 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -10,12 +10,8 @@ class GetPortalUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 09b0bb15f..5078e513e 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -12,9 +12,7 @@ class GetPublicPortalConfigRequest: org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -22,12 +20,8 @@ class GetPublicPortalConfigRequest: class GetPublicPortalConfigResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index a13d84946..81c16ad00 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -14,19 +14,14 @@ class GetSchemas200ApplicationJSON: r"""Success""" schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetSchemasResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_schemas_200_application_json_object: Optional[GetSchemas200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index 43ace8b81..87addc4d7 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -13,9 +13,7 @@ class GetValidSecondaryAttributes200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -24,19 +22,14 @@ class GetValidSecondaryAttributes200ApplicationJSON: r"""The returned count of contact""" data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetValidSecondaryAttributesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - get_valid_secondary_attributes_200_application_json_object: Optional[GetValidSecondaryAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 29e94f268..e032f69e8 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -13,7 +13,6 @@ class ReplaceECPTemplateVariablesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -22,17 +21,14 @@ class ReplaceECPTemplateVariablesRequestBody: r"""ECPVariables payload""" contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class ReplaceECPTemplateVariablesRequest: origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" request_body: ReplaceECPTemplateVariablesRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""ECPVariables payload""" @@ -41,7 +37,6 @@ class ReplaceECPTemplateVariablesRequest: class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -50,19 +45,14 @@ class ReplaceECPTemplateVariables200ApplicationJSON: r"""ok""" portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class ReplaceECPTemplateVariablesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - replace_ecp_template_variables_200_application_json_object: Optional[ReplaceECPTemplateVariables200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index 2e7a7e6e1..81e3400cb 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -12,7 +12,6 @@ class SaveEntityFileSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -21,19 +20,14 @@ class SaveEntityFile200ApplicationJSON: r"""The returned File Entities""" created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class SaveEntityFileResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - save_entity_file_200_application_json_object: Optional[SaveEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index 1da0a2acd..337ca2333 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -10,19 +10,14 @@ class SavePortalFilesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class SavePortalFilesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal files""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/testauth.py b/customer_portal/src/epilot/models/operations/testauth.py index 023aac11a..b5087dacb 100755 --- a/customer_portal/src/epilot/models/operations/testauth.py +++ b/customer_portal/src/epilot/models/operations/testauth.py @@ -10,9 +10,6 @@ class TestAuthResponse: 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/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index c78da0e4b..df829f2d4 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -10,19 +10,14 @@ class UpdateContactSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpdateContactResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index 0053ac9aa..b95720314 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -12,17 +12,14 @@ class UpdateContractSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpdateContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated Contract body""" @@ -32,19 +29,14 @@ class UpdateContract200ApplicationJSON: r"""The returned updated contract""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class UpdateContractResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned updated contract""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 81b5f0694..3ed683b9a 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -12,17 +12,14 @@ class UpdateOpportunitySecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpdateOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated opportunity body""" @@ -32,19 +29,14 @@ class UpdateOpportunity200ApplicationJSON: r"""The returned opportunity""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class UpdateOpportunityResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - update_opportunity_200_application_json_object: Optional[UpdateOpportunity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunity""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index 81fb2bf5c..c7cdd1bb9 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -10,29 +10,22 @@ class UpdateOrderSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpdateOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - @dataclasses.dataclass class UpdateOrderResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned order""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index e1e888768..740f50e25 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -10,19 +10,14 @@ class UpdatePortalUserSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpdatePortalUserResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 5c3a7e538..edd526a4d 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -14,17 +14,14 @@ class UpsertEmailTemplatesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpsertEmailTemplatesRequest: email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -34,21 +31,15 @@ class UpsertEmailTemplates200ApplicationJSON: r"""ok""" email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates'), 'exclude': lambda f: f is None }}) - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class UpsertEmailTemplatesResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - upsert_email_templates_200_application_json_object: Optional[UpsertEmailTemplates200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index e1a9a8c3f..ee005fa7b 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -14,17 +14,14 @@ class UpsertPortalSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - @dataclasses.dataclass class UpsertPortalRequest: upsert_portal_config: shared_upsertportalconfig.UpsertPortalConfig = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @@ -32,15 +29,10 @@ class UpsertPortalRequest: class UpsertPortalResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - portal created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index 82e9b58b0..fbfd34e86 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -12,9 +12,7 @@ class UserExistsRequest: email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,7 +21,6 @@ class UserExists404ApplicationJSON: r"""User does not exist in the portal""" exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -32,24 +29,17 @@ class UserExists200ApplicationJSON: r"""User exists in the portal""" exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) - user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class UserExistsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - user_exists_200_application_json_object: Optional[UserExists200ApplicationJSON] = dataclasses.field(default=None) - r"""User exists in the portal""" user_exists_404_application_json_object: Optional[UserExists404ApplicationJSON] = dataclasses.field(default=None) - r"""User does not exist in the portal""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/addportalresp.py b/customer_portal/src/epilot/models/shared/addportalresp.py index fb64915e0..5f949e87d 100755 --- a/customer_portal/src/epilot/models/shared/addportalresp.py +++ b/customer_portal/src/epilot/models/shared/addportalresp.py @@ -13,5 +13,4 @@ class AddPortalResp: r"""Success - portal created with success.""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index 0968bdd5c..fd77d97eb 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -12,9 +12,6 @@ class DeleteEntityFile: r"""Delete file""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) - entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) - file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py index 9df614047..97b2ca42a 100755 --- a/customer_portal/src/epilot/models/shared/emailtemplates.py +++ b/customer_portal/src/epilot/models/shared/emailtemplates.py @@ -13,13 +13,8 @@ class EmailTemplates: r"""ok""" confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) - on_map_a_pending_user: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onMapAPendingUser'), 'exclude': lambda f: f is None }}) - on_new_quote: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onNewQuote'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index 9beeb3061..9e2f0caef 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -13,5 +13,4 @@ class ErrorResp: r"""Other errors""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py index 1a539b954..b185dbab7 100755 --- a/customer_portal/src/epilot/models/shared/extraschemaattributes.py +++ b/customer_portal/src/epilot/models/shared/extraschemaattributes.py @@ -12,9 +12,6 @@ class ExtraSchemaAttributes: group: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group'), 'exclude': lambda f: f is None }}) - label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), '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 }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index a6137a9e7..21a7ba2c6 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -17,9 +17,6 @@ class GrantEffectEnum(str, Enum): class Grant: action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) - effect: Optional[GrantEffectEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) - resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index ab312d735..2ae99f0d8 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -12,7 +12,6 @@ class OrganizationSettingsAutomationEntityMapping: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -20,7 +19,6 @@ class OrganizationSettingsAutomationEntityMapping: class OrganizationSettingsAutomationPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,7 +26,6 @@ class OrganizationSettingsAutomationPreview: class OrganizationSettingsCentralInboxPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -36,7 +33,6 @@ class OrganizationSettingsCentralInboxPreviewSetting: class OrganizationSettingsContractsPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -44,7 +40,6 @@ class OrganizationSettingsContractsPreviewSetting: class OrganizationSettingsDisableIvy: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -52,7 +47,6 @@ class OrganizationSettingsDisableIvy: class OrganizationSettingsDoubleOptIn: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -60,7 +54,6 @@ class OrganizationSettingsDoubleOptIn: class OrganizationSettingsEcommerceCatalogPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -68,7 +61,6 @@ class OrganizationSettingsEcommerceCatalogPreview: class OrganizationSettingsEcommerceOpportunitiesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -76,7 +68,6 @@ class OrganizationSettingsEcommerceOpportunitiesPreview: class OrganizationSettingsEcommercePreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -84,7 +75,6 @@ class OrganizationSettingsEcommercePreview: class OrganizationSettingsEndCustomerPortal: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -92,7 +82,6 @@ class OrganizationSettingsEndCustomerPortal: class OrganizationSettingsEntitySchemaBuilder: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -100,7 +89,6 @@ class OrganizationSettingsEntitySchemaBuilder: class OrganizationSettingsLogicEditorPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -108,7 +96,6 @@ class OrganizationSettingsLogicEditorPreview: class OrganizationSettingsNewNavigation: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -116,7 +103,6 @@ class OrganizationSettingsNewNavigation: class OrganizationSettingsPartnering: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -124,7 +110,6 @@ class OrganizationSettingsPartnering: class OrganizationSettingsProductAvailability: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -132,7 +117,6 @@ class OrganizationSettingsProductAvailability: class OrganizationSettingsSso: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -140,7 +124,6 @@ class OrganizationSettingsSso: class OrganizationSettingsSubmissionPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -148,7 +131,6 @@ class OrganizationSettingsSubmissionPreview: class OrganizationSettingsUserRolesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -157,39 +139,21 @@ class OrganizationSettings: r"""ok""" automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) - automation_preview: Optional[OrganizationSettingsAutomationPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_preview'), 'exclude': lambda f: f is None }}) - central_inbox_preview_setting: Optional[OrganizationSettingsCentralInboxPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('central_inbox_preview_setting'), 'exclude': lambda f: f is None }}) - contracts_preview_setting: Optional[OrganizationSettingsContractsPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contracts_preview_setting'), 'exclude': lambda f: f is None }}) - disable_ivy: Optional[OrganizationSettingsDisableIvy] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_ivy'), 'exclude': lambda f: f is None }}) - double_opt_in: Optional[OrganizationSettingsDoubleOptIn] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('double_opt_in'), 'exclude': lambda f: f is None }}) - ecommerce_catalog_preview: Optional[OrganizationSettingsEcommerceCatalogPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_catalog_preview'), 'exclude': lambda f: f is None }}) - ecommerce_opportunities_preview: Optional[OrganizationSettingsEcommerceOpportunitiesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_opportunities_preview'), 'exclude': lambda f: f is None }}) - ecommerce_preview: Optional[OrganizationSettingsEcommercePreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_preview'), 'exclude': lambda f: f is None }}) - end_customer_portal: Optional[OrganizationSettingsEndCustomerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_portal'), 'exclude': lambda f: f is None }}) - entity_schema_builder: Optional[OrganizationSettingsEntitySchemaBuilder] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_schema_builder'), 'exclude': lambda f: f is None }}) - logic_editor_preview: Optional[OrganizationSettingsLogicEditorPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logic_editor_preview'), 'exclude': lambda f: f is None }}) - new_navigation: Optional[OrganizationSettingsNewNavigation] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('new_navigation'), 'exclude': lambda f: f is None }}) - partnering: Optional[OrganizationSettingsPartnering] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('partnering'), 'exclude': lambda f: f is None }}) - product_availability: Optional[OrganizationSettingsProductAvailability] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('product-availability'), 'exclude': lambda f: f is None }}) - sso: Optional[OrganizationSettingsSso] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sso'), 'exclude': lambda f: f is None }}) - submission_preview: Optional[OrganizationSettingsSubmissionPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('submission_preview'), 'exclude': lambda f: f is None }}) - user_roles_preview: Optional[OrganizationSettingsUserRolesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user_roles_preview'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index b74c8eaa8..d63f5ea70 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -14,11 +14,8 @@ class PortalConfigCognitoDetails: cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) - cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) - cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -26,11 +23,8 @@ class PortalConfigCognitoDetails: class PortalConfigEmailTemplates: confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -38,9 +32,7 @@ class PortalConfigEmailTemplates: class PortalConfigEntityActionsActionLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) - en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -48,11 +40,8 @@ class PortalConfigEntityActionsActionLabel: class PortalConfigEntityActions: action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) - journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) - slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) - r"""URL-friendly identifier for the entity schema""" @@ -61,9 +50,7 @@ class PortalConfigEntityActions: class PortalConfigEntityIdentifiers: attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) - is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -71,11 +58,8 @@ class PortalConfigEntityIdentifiers: class PortalConfigImages: order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -84,40 +68,23 @@ class PortalConfig: r"""ok""" cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) - config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) - contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[PortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, PortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), '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 }}) - r"""ID of the organization""" images: Optional[PortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) - is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) - org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) - origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) - r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 6645d9d50..a210949e2 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -17,9 +17,7 @@ class SaveEntityFileFilesAccessControlEnum(str, Enum): class SaveEntityFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) - key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -27,17 +25,11 @@ class SaveEntityFileFilesS3ref: class SaveEntityFileFiles: filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) - s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) - access_control: Optional[SaveEntityFileFilesAccessControlEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) - document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) - file_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_id'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -46,9 +38,6 @@ class SaveEntityFile: r"""Save file""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) - entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) - files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index deecd57ff..7a35f7323 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -13,9 +13,7 @@ class SavePortalFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) - key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,13 +21,9 @@ class SavePortalFileFilesS3ref: class SavePortalFileFiles: file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) - filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) - s3ref: Optional[SavePortalFileFilesS3ref] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -38,8 +32,6 @@ class SavePortalFile: r"""Save portal file""" files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) - r"""Origin of the portal""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py index 5194725b8..5b0708791 100755 --- a/customer_portal/src/epilot/models/shared/security.py +++ b/customer_portal/src/epilot/models/shared/security.py @@ -9,9 +9,6 @@ class Security: as_customer: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-portal-id' }}) - as_organization: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-ivy-org-id' }}) - portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 5f7e03c95..8b680d21d 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -13,11 +13,8 @@ class UpsertPortalConfigCognitoDetails: cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) - cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) - cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -25,11 +22,8 @@ class UpsertPortalConfigCognitoDetails: class UpsertPortalConfigEmailTemplates: confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -37,9 +31,7 @@ class UpsertPortalConfigEmailTemplates: class UpsertPortalConfigEntityActionsActionLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) - en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -47,11 +39,8 @@ class UpsertPortalConfigEntityActionsActionLabel: class UpsertPortalConfigEntityActions: action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) - journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) - slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) - r"""URL-friendly identifier for the entity schema""" @@ -60,9 +49,7 @@ class UpsertPortalConfigEntityActions: class UpsertPortalConfigEntityIdentifiers: attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) - is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -70,11 +57,8 @@ class UpsertPortalConfigEntityIdentifiers: class UpsertPortalConfigImages: order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -83,32 +67,18 @@ class UpsertPortalConfig: r"""Portal payload""" cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) - config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) - contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[UpsertPortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, UpsertPortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) - images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) - is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) - self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/useractivationpayload.py b/customer_portal/src/epilot/models/shared/useractivationpayload.py index fa4ce6b70..5d8785223 100755 --- a/customer_portal/src/epilot/models/shared/useractivationpayload.py +++ b/customer_portal/src/epilot/models/shared/useractivationpayload.py @@ -12,9 +12,7 @@ class UserActivationPayload: display_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name'), 'exclude': lambda f: f is None }}) - r"""User's display name (default: email address)""" password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - r"""User's password""" \ No newline at end of file diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 6ec015c99..d78e38382 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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.4" def __init__(self, security: shared.Security = None, From 1e5a0909e6874d4a92834761400caf4ad37fafc9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 2 May 2023 00:32:47 +0000 Subject: [PATCH 15/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.5 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b89d1f63f..6b8277afc 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -118,4 +118,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:31 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 4c920e5cb..297c7c608 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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.1 + version: 1.9.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index a97a68f88..f1c0da075 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.9.1", + version="1.9.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index d78e38382..9b173d9d9 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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.4" + _sdk_version: str = "1.9.2" + _gen_version: str = "2.23.6" def __init__(self, security: shared.Security = None, From 4ec90678419b686990bba38ba0f259af611db8d1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 3 May 2023 00:32:14 +0000 Subject: [PATCH 16/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.27.0 --- customer_portal/README.md | 4 +- customer_portal/RELEASES.md | 8 +- customer_portal/USAGE.md | 4 +- customer_portal/docs/ecp/README.md | 106 +++++++------- customer_portal/docs/ecpadmin/README.md | 168 +++++++++++----------- customer_portal/docs/public/README.md | 32 ++--- customer_portal/gen.yaml | 6 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 +- customer_portal/src/epilot/utils/utils.py | 2 +- 10 files changed, 171 insertions(+), 165 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 0bde8540e..deb21ba7d 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -18,8 +18,8 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", - slug="contact", + id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', + slug='contact', ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 6b8277afc..068cdb167 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -124,4 +124,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:00 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 9dfa91af2..ea544df5a 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -7,8 +7,8 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="89bd9d8d-69a6-474e-8f46-7cc8796ed151", - slug="contact", + id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', + slug='contact', ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 386dfd34f..5dac9ee40 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -44,8 +44,8 @@ s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id="a05dfc2d-df7c-4c78-8a1b-a928fc816742", - slug="contact", + id='a05dfc2d-df7c-4c78-8a1b-a928fc816742', + slug='contact', ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( @@ -70,13 +70,13 @@ s = epilot.Epilot() req = shared.DeleteEntityFile( - entity_id="123456", - entity_type="order", + entity_id='123456', + entity_type='order', file_entity_ids=[ - "12345", - "12345", - "12345", - "12345", + '12345', + '12345', + '12345', + '12345', ], ) @@ -217,7 +217,7 @@ s = epilot.Epilot() req = operations.GetContractRequest( - id="b7392059-2939-46fe-a759-6eb10faaa235", + id='b7392059-2939-46fe-a759-6eb10faaa235', ) res = s.ecp.get_contract(req, operations.GetContractSecurity( @@ -243,9 +243,9 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "nobis": "enim", + "nobis": 'enim', }, - slug="contact", + slug='contact', ) res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( @@ -270,7 +270,7 @@ s = epilot.Epilot() req = operations.GetOpportunityRequest( - id="955907af-f1a3-4a2f-a946-7739251aa52c", + id='955907af-f1a3-4a2f-a946-7739251aa52c', ) res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( @@ -295,7 +295,7 @@ s = epilot.Epilot() req = operations.GetOrderRequest( - id="3f5ad019-da1f-4fe7-8f09-7b0074f15471", + id='3f5ad019-da1f-4fe7-8f09-7b0074f15471', ) res = s.ecp.get_order(req, operations.GetOrderSecurity( @@ -343,7 +343,7 @@ s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -372,7 +372,7 @@ s = epilot.Epilot( req = operations.GetPortalConfigByDomainRequest( - domain="example.com", + domain='example.com', ) res = s.ecp.get_portal_config_by_domain(req) @@ -441,39 +441,39 @@ s = epilot.Epilot() req = shared.SaveEntityFile( - entity_id="123456", - entity_type="order", + entity_id='123456', + entity_type='order', files=[ shared.SaveEntityFileFiles( tags=[ - "12345", - "12345", - "12345", - "12345", + '12345', + '12345', + '12345', + '12345', ], - access_control="private", - document_type="12345", - file_entity_id="12345", - filename="12345", + access_control=shared.SaveEntityFileFilesAccessControlEnum.PRIVATE, + document_type='12345', + file_entity_id='12345', + filename='12345', s3ref=shared.SaveEntityFileFilesS3ref( - bucket="12345", - key="12345", + bucket='12345', + key='12345', ), ), shared.SaveEntityFileFiles( tags=[ - "12345", - "12345", - "12345", - "12345", + '12345', + '12345', + '12345', + '12345', ], - access_control="private", - document_type="12345", - file_entity_id="12345", - filename="12345", + access_control=shared.SaveEntityFileFilesAccessControlEnum.PRIVATE, + document_type='12345', + file_entity_id='12345', + filename='12345', s3ref=shared.SaveEntityFileFilesS3ref( - bucket="12345", - key="12345", + bucket='12345', + key='12345', ), ), ], @@ -524,7 +524,7 @@ s = epilot.Epilot() req = { - "quidem": "molestias", + "quidem": 'molestias', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -550,11 +550,11 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "pariatur": "modi", - "praesentium": "rem", - "voluptates": "quasi", + "pariatur": 'modi', + "praesentium": 'rem', + "voluptates": 'quasi', }, - id="e91e450a-d2ab-4d44-a698-02d502a94bb4", + id='e91e450a-d2ab-4d44-a698-02d502a94bb4', ) res = s.ecp.update_contract(req, operations.UpdateContractSecurity( @@ -580,12 +580,12 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "eum": "non", - "eligendi": "sint", - "aliquid": "provident", - "necessitatibus": "sint", + "eum": 'non', + "eligendi": 'sint', + "aliquid": 'provident', + "necessitatibus": 'sint', }, - id="a3efa77d-fb14-4cd6-aae3-95efb9ba88f3", + id='a3efa77d-fb14-4cd6-aae3-95efb9ba88f3', ) res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( @@ -611,11 +611,11 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "nisi": "vel", - "natus": "omnis", - "molestiae": "perferendis", + "nisi": 'vel', + "natus": 'omnis', + "molestiae": 'perferendis', }, - id="74ba4469-b6e2-4141-9598-90afa563e251", + id='74ba4469-b6e2-4141-9598-90afa563e251', ) res = s.ecp.update_order(req, operations.UpdateOrderSecurity( @@ -640,8 +640,8 @@ s = epilot.Epilot() req = { - "doloribus": "debitis", - "eius": "maxime", + "doloribus": 'debitis', + "eius": 'maxime', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 18cae1e98..5211899bf 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -37,7 +37,7 @@ s = epilot.Epilot() req = operations.ConfigureDistributionRequest( - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( @@ -63,11 +63,11 @@ s = epilot.Epilot() req = operations.CreateSSOUserRequest( request_body=operations.CreateSSOUserRequestBody( - email="testemail921@yopmail.com", - first_name="John", - last_name="Doe", + email='testemail921@yopmail.com', + first_name='John', + last_name='Doe', ), - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( @@ -92,7 +92,7 @@ s = epilot.Epilot() req = operations.DeletePortalRequest( - origin="END_CUSTOMER_PORTAL", + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -163,7 +163,7 @@ s = epilot.Epilot() req = operations.GetECPContactRequest( - id="1234", + id='1234', ) res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( @@ -188,7 +188,7 @@ s = epilot.Epilot() req = operations.GetEmailTemplatesRequest( - origin="END_CUSTOMER_PORTAL", + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( @@ -213,7 +213,7 @@ s = epilot.Epilot() req = operations.GetEntityIdentifiersRequest( - slug="contact", + slug='contact', ) res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( @@ -238,7 +238,7 @@ s = epilot.Epilot() req = operations.GetOrgPortalConfigRequest( - origin="END_CUSTOMER_PORTAL", + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( @@ -263,7 +263,7 @@ s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -292,8 +292,8 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( - org_id="12324", - origin="END_CUSTOMER_PORTAL", + org_id='12324', + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_public_portal_config(req) @@ -340,9 +340,9 @@ s = epilot.Epilot() req = operations.ReplaceECPTemplateVariablesRequest( request_body=operations.ReplaceECPTemplateVariablesRequestBody( - contact_id="7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51", + contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', ), - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( @@ -370,34 +370,34 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - "12345", - "12345", - "12345", - "12345", + '12345', + '12345', + '12345', + '12345', ], - file_type="orderRightTeaser", - filename="12345", + file_type='orderRightTeaser', + filename='12345', s3ref=shared.SavePortalFileFilesS3ref( - bucket="12345", - key="12345", + bucket='12345', + key='12345', ), ), shared.SavePortalFileFiles( tags=[ - "12345", - "12345", - "12345", - "12345", + '12345', + '12345', + '12345', + '12345', ], - file_type="orderRightTeaser", - filename="12345", + file_type='orderRightTeaser', + filename='12345', s3ref=shared.SavePortalFileFilesS3ref( - bucket="12345", - key="12345", + bucket='12345', + key='12345', ), ), ], - origin="END_CUSTOMER_PORTAL", + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -423,13 +423,13 @@ s = epilot.Epilot() req = operations.UpsertEmailTemplatesRequest( email_templates=shared.EmailTemplates( - confirm_account="saepe", - forgot_password="pariatur", - invitation="accusantium", - on_map_a_pending_user="consequuntur", - on_new_quote="praesentium", + confirm_account='saepe', + forgot_password='pariatur', + invitation='accusantium', + on_map_a_pending_user='consequuntur', + on_new_quote='praesentium', ), - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -456,102 +456,102 @@ s = epilot.Epilot() req = operations.UpsertPortalRequest( upsert_portal_config=shared.UpsertPortalConfig( cognito_details=shared.UpsertPortalConfigCognitoDetails( - cognito_user_pool_arn="arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341", - cognito_user_pool_client_id="6bsd0jkgoie74k2i8mrhc1vest", - cognito_user_pool_id="eu-central-1_CUEQRNbUb", + cognito_user_pool_arn='arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341', + cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', + cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config="magni", - contact_secondary_identifier="full_name", + config='magni', + contact_secondary_identifier='full_name', default_user_to_notify={ - "quo": "illum", + "quo": 'illum', }, - design_id="3134", + design_id='3134', email_templates=shared.UpsertPortalConfigEmailTemplates( - confirm_account="701f089d-6953-48b5-ac35-442de7c59cd3", - forgot_password="6538fddb-f0e9-4f0f-af51-6e57891ff20a", - invitation="14ae65fb-0dc1-4863-8743-6bc01da469f6", + confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', + forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', + invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', ), enabled=True, entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de="maxime", - en="ea", + de='maxime', + en='ea', ), - journey_id="excepturi", - slug="contact", + journey_id='excepturi', + slug='contact', ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de="odit", - en="ea", + de='odit', + en='ea', ), - journey_id="accusantium", - slug="contact", + journey_id='accusantium', + slug='contact', ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de="ab", - en="maiores", + de='ab', + en='maiores', ), - journey_id="quidem", - slug="contact", + journey_id='quidem', + slug='contact', ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de="ipsam", - en="voluptate", + de='ipsam', + en='voluptate', ), - journey_id="autem", - slug="contact", + journey_id='autem', + slug='contact', ), ], entity_identifiers={ "eaque": shared.UpsertPortalConfigEntityIdentifiers( attributes=[ - "contract_number", - "contract_number", - "contract_number", - "contract_number", + 'contract_number', + 'contract_number', + 'contract_number', + 'contract_number', ], is_enabled=False, ), "nemo": shared.UpsertPortalConfigEntityIdentifiers( attributes=[ - "contract_number", - "contract_number", - "contract_number", - "contract_number", + 'contract_number', + 'contract_number', + 'contract_number', + 'contract_number', ], is_enabled=False, ), "perferendis": shared.UpsertPortalConfigEntityIdentifiers( attributes=[ - "contract_number", - "contract_number", - "contract_number", - "contract_number", + 'contract_number', + 'contract_number', + 'contract_number', + 'contract_number', ], is_enabled=False, ), }, grants=[ shared.Grant( - action="entity-read", - effect="allow", - resource="entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947", + action='entity-read', + effect=shared.GrantEffectEnum.ALLOW, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), ], images=shared.UpsertPortalConfigImages( - order_left_teaser="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg", - order_right_teaser="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg", - welcome_banner="https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg", + order_left_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg', + order_right_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg', + welcome_banner='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg', ), is_epilot_domain=True, - name="My Portal", + name='My Portal', self_registration=False, ), - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index b56d1c649..e51b679b6 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -31,10 +31,10 @@ s = epilot.Epilot( req = operations.ActivateUserRequest( user_activation_payload=shared.UserActivationPayload( - display_name="Example User", - password="AKjhdakjsdh@!34", + display_name='Example User', + password='AKjhdakjsdh@!34', ), - token="corporis", + token='corporis', ) res = s.public.activate_user(req) @@ -61,9 +61,9 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( - id="fbb25870-5320-42c7-bd5f-e9b90c28909b", - org_id="123", - origin="END_CUSTOMER_PORTAL", + id='fbb25870-5320-42c7-bd5f-e9b90c28909b', + org_id='123', + origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) @@ -91,13 +91,13 @@ s = epilot.Epilot( req = operations.CreateUserRequest( request_body=operations.CreateUserRequestBody( - contact_id="123456", - email="testemail921@yopmail.com", - org_id="728", - password="Pass1234!", - secondary_identifier="123456", + contact_id='123456', + email='testemail921@yopmail.com', + org_id='728', + password='Pass1234!', + secondary_identifier='123456', ), - origin="INSTALLER_PORTAL", + origin=shared.OriginEnum.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -124,8 +124,8 @@ s = epilot.Epilot( req = operations.GetCountByEmailRequest( - email="test@test.com", - org_id="123", + email='test@test.com', + org_id='123', ) res = s.public.get_count_by_email(req) @@ -152,8 +152,8 @@ s = epilot.Epilot( req = operations.UserExistsRequest( - email="user@example.com", - org_id="123", + email='user@example.com', + org_id='123', ) res = s.public.user_exists(req) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 297c7c608..f01d833a6 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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.2 + version: 1.10.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index f1c0da075..dc0d26519 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.9.2", + version="1.10.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 9b173d9d9..fedc053ec 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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.6" + _sdk_version: str = "1.10.0" + _gen_version: str = "2.24.0" def __init__(self, security: shared.Security = None, diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 986a86937..63dce946b 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 64901763a0ee962e4f64bf41f03ba9bfda39b3b3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 5 May 2023 00:30:46 +0000 Subject: [PATCH 17/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.0 --- customer_portal/README.md | 1 - customer_portal/RELEASES.md | 8 +++- customer_portal/USAGE.md | 1 - customer_portal/docs/ecp/README.md | 14 ------ customer_portal/docs/ecpadmin/README.md | 13 ------ customer_portal/docs/public/README.md | 5 --- customer_portal/gen.yaml | 7 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 23 ++++++++++ customer_portal/src/epilot/ecp_admin.py | 16 +++++++ customer_portal/src/epilot/public.py | 5 +++ customer_portal/src/epilot/sdk.py | 4 +- customer_portal/src/epilot/utils/utils.py | 53 ++++++++++++++--------- 13 files changed, 91 insertions(+), 61 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index deb21ba7d..7d6d7d5e3 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -16,7 +16,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.AddEndCustomerRelationToEntityRequest( id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', slug='contact', diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 068cdb167..f6ace3e70 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -130,4 +130,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:30:31 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index ea544df5a..ea1df854d 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -5,7 +5,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.AddEndCustomerRelationToEntityRequest( id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', slug='contact', diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 5dac9ee40..8b02a35a9 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -42,7 +42,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.AddEndCustomerRelationToEntityRequest( id='a05dfc2d-df7c-4c78-8a1b-a928fc816742', slug='contact', @@ -68,7 +67,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = shared.DeleteEntityFile( entity_id='123456', entity_type='order', @@ -215,7 +213,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetContractRequest( id='b7392059-2939-46fe-a759-6eb10faaa235', ) @@ -240,7 +237,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetEntitiesByIdentifiersRequest( request_body={ "nobis": 'enim', @@ -268,7 +264,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetOpportunityRequest( id='955907af-f1a3-4a2f-a946-7739251aa52c', ) @@ -293,7 +288,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetOrderRequest( id='3f5ad019-da1f-4fe7-8f09-7b0074f15471', ) @@ -341,7 +335,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.GetPortalConfigRequest( origin=shared.OriginEnum.INSTALLER_PORTAL, ) @@ -370,7 +363,6 @@ s = epilot.Epilot( ), ) - req = operations.GetPortalConfigByDomainRequest( domain='example.com', ) @@ -439,7 +431,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = shared.SaveEntityFile( entity_id='123456', entity_type='order', @@ -522,7 +513,6 @@ from epilot.models import operations s = epilot.Epilot() - req = { "quidem": 'molestias', } @@ -547,7 +537,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.UpdateContractRequest( request_body={ "pariatur": 'modi', @@ -577,7 +566,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.UpdateOpportunityRequest( request_body={ "eum": 'non', @@ -608,7 +596,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.UpdateOrderRequest( request_body={ "nisi": 'vel', @@ -638,7 +625,6 @@ from epilot.models import operations s = epilot.Epilot() - req = { "doloribus": 'debitis', "eius": 'maxime', diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 5211899bf..538df31aa 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -35,7 +35,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.ConfigureDistributionRequest( origin=shared.OriginEnum.INSTALLER_PORTAL, ) @@ -60,7 +59,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.CreateSSOUserRequest( request_body=operations.CreateSSOUserRequestBody( email='testemail921@yopmail.com', @@ -90,7 +88,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.DeletePortalRequest( origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) @@ -161,7 +158,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetECPContactRequest( id='1234', ) @@ -186,7 +182,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.GetEmailTemplatesRequest( origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) @@ -211,7 +206,6 @@ from epilot.models import operations s = epilot.Epilot() - req = operations.GetEntityIdentifiersRequest( slug='contact', ) @@ -236,7 +230,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.GetOrgPortalConfigRequest( origin=shared.OriginEnum.END_CUSTOMER_PORTAL, ) @@ -261,7 +254,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.GetPortalConfigRequest( origin=shared.OriginEnum.INSTALLER_PORTAL, ) @@ -290,7 +282,6 @@ s = epilot.Epilot( ), ) - req = operations.GetPublicPortalConfigRequest( org_id='12324', origin=shared.OriginEnum.END_CUSTOMER_PORTAL, @@ -337,7 +328,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.ReplaceECPTemplateVariablesRequest( request_body=operations.ReplaceECPTemplateVariablesRequestBody( contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', @@ -365,7 +355,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( @@ -420,7 +409,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.UpsertEmailTemplatesRequest( email_templates=shared.EmailTemplates( confirm_account='saepe', @@ -452,7 +440,6 @@ from epilot.models import operations, shared s = epilot.Epilot() - req = operations.UpsertPortalRequest( upsert_portal_config=shared.UpsertPortalConfig( cognito_details=shared.UpsertPortalConfigCognitoDetails( diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index e51b679b6..1476709bd 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -28,7 +28,6 @@ s = epilot.Epilot( ), ) - req = operations.ActivateUserRequest( user_activation_payload=shared.UserActivationPayload( display_name='Example User', @@ -59,7 +58,6 @@ s = epilot.Epilot( ), ) - req = operations.ConfirmUserRequest( id='fbb25870-5320-42c7-bd5f-e9b90c28909b', org_id='123', @@ -88,7 +86,6 @@ s = epilot.Epilot( ), ) - req = operations.CreateUserRequest( request_body=operations.CreateUserRequestBody( contact_id='123456', @@ -122,7 +119,6 @@ s = epilot.Epilot( ), ) - req = operations.GetCountByEmailRequest( email='test@test.com', org_id='123', @@ -150,7 +146,6 @@ s = epilot.Epilot( ), ) - req = operations.UserExistsRequest( email='user@example.com', org_id='123', diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index f01d833a6..062936a05 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,15 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index dc0d26519..399da4087 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.10.0", + version="1.11.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 5dab7d839..6a35e9b40 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.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 add_end_customer_relation_to_entity(self, request: operations.AddEndCustomerRelationToEntityRequest, security: operations.AddEndCustomerRelationToEntitySecurity) -> operations.AddEndCustomerRelationToEntityResponse: r"""addEndCustomerRelationToEntity Add EndCustomer Relation To an Entity @@ -45,6 +46,7 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer return res + def delete_entity_file(self, request: shared.DeleteEntityFile, security: operations.DeleteEntityFileSecurity) -> operations.DeleteEntityFileResponse: r"""Delete files from an entity Delete files from an entity @@ -74,6 +76,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati return res + def delete_portal_user(self) -> operations.DeletePortalUserResponse: r"""deletePortalUser TODO @@ -96,6 +99,7 @@ def delete_portal_user(self) -> operations.DeletePortalUserResponse: return res + def get_all_contracts(self) -> operations.GetAllContractsResponse: r"""getAllContracts TODO @@ -119,6 +123,7 @@ def get_all_contracts(self) -> operations.GetAllContractsResponse: return res + def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities TODO @@ -142,6 +147,7 @@ def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: return res + def get_all_orders(self) -> operations.GetAllOrdersResponse: r"""getAllOrders TODO @@ -165,6 +171,7 @@ def get_all_orders(self) -> operations.GetAllOrdersResponse: return res + def get_contact(self) -> operations.GetContactResponse: r"""getContact Get the Contact by id @@ -192,6 +199,7 @@ def get_contact(self) -> operations.GetContactResponse: return res + def get_contract(self, request: operations.GetContractRequest, security: operations.GetContractSecurity) -> operations.GetContractResponse: r"""get contract based on id TODO @@ -215,6 +223,7 @@ def get_contract(self, request: operations.GetContractRequest, security: operati return res + def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifiersRequest, security: operations.GetEntitiesByIdentifiersSecurity) -> operations.GetEntitiesByIdentifiersResponse: r"""getEntitiesByIdentifiers Get Entities By Identifiers @@ -244,6 +253,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie return res + def get_opportunity(self, request: operations.GetOpportunityRequest, security: operations.GetOpportunitySecurity) -> operations.GetOpportunityResponse: r"""getOpportunity TODO @@ -267,6 +277,7 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o return res + def get_order(self, request: operations.GetOrderRequest, security: operations.GetOrderSecurity) -> operations.GetOrderResponse: r"""getOrder TODO @@ -290,6 +301,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge return res + def get_organization_settings(self) -> operations.GetOrganizationSettingsResponse: r"""getOrganizationSettings get organization settings @@ -313,6 +325,7 @@ def get_organization_settings(self) -> operations.GetOrganizationSettingsRespons return res + def get_portal_config(self, request: operations.GetPortalConfigRequest, security: operations.GetPortalConfigSecurity) -> operations.GetPortalConfigResponse: r"""getPortalConfig TODO @@ -337,6 +350,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security return res + def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomainRequest) -> operations.GetPortalConfigByDomainResponse: r"""getPortalConfigByDomain TODO @@ -361,6 +375,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai return res + def get_portal_user(self) -> operations.GetPortalUserResponse: r"""getPortalUser TODO @@ -384,6 +399,7 @@ def get_portal_user(self) -> operations.GetPortalUserResponse: return res + def get_schemas(self) -> operations.GetSchemasResponse: r"""getSchemas TODO @@ -407,6 +423,7 @@ def get_schemas(self) -> operations.GetSchemasResponse: return res + def save_entity_file(self, request: shared.SaveEntityFile, security: operations.SaveEntityFileSecurity) -> operations.SaveEntityFileResponse: r"""Add files to an entity Add files to an entity @@ -436,6 +453,7 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. return res + def test_auth(self) -> operations.TestAuthResponse: r"""testAuth TODO @@ -455,6 +473,7 @@ def test_auth(self) -> operations.TestAuthResponse: return res + def update_contact(self, request: dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: r"""updateContact Update the contact details @@ -482,6 +501,7 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon return res + def update_contract(self, request: operations.UpdateContractRequest, security: operations.UpdateContractSecurity) -> operations.UpdateContractResponse: r"""Update contract based on id TODO @@ -511,6 +531,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o return res + def update_opportunity(self, request: operations.UpdateOpportunityRequest, security: operations.UpdateOpportunitySecurity) -> operations.UpdateOpportunityResponse: r"""Update an opportunity based on id TODO @@ -540,6 +561,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur return res + def update_order(self, request: operations.UpdateOrderRequest, security: operations.UpdateOrderSecurity) -> operations.UpdateOrderResponse: r"""updateOrder Update the order details @@ -567,6 +589,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati return res + def update_portal_user(self, request: dict[str, Any], security: operations.UpdatePortalUserSecurity) -> operations.UpdatePortalUserResponse: r"""updatePortalUser Update the portal user details diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index cf0191842..c449ad792 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.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 configure_distribution(self, request: operations.ConfigureDistributionRequest, security: operations.ConfigureDistributionSecurity) -> operations.ConfigureDistributionResponse: r"""configureDistribution TODO @@ -46,6 +47,7 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques return res + def create_sso_user(self, request: operations.CreateSSOUserRequest, security: operations.CreateSSOUserSecurity) -> operations.CreateSSOUserResponse: r"""creates a sso user Creates a sso user as portal user @@ -80,6 +82,7 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op return res + def delete_portal(self, request: operations.DeletePortalRequest, security: operations.DeletePortalSecurity) -> operations.DeletePortalResponse: r"""deletePortal TODO @@ -100,6 +103,7 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera return res + def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesResponse: r"""extraPermissionAttributes TODO @@ -123,6 +127,7 @@ def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesRes return res + def get_all_portal_configs(self) -> operations.GetAllPortalConfigsResponse: r"""getAllPortalConfigs TODO @@ -146,6 +151,7 @@ def get_all_portal_configs(self) -> operations.GetAllPortalConfigsResponse: return res + def get_ecp_contact(self, request: operations.GetECPContactRequest, security: operations.GetECPContactSecurity) -> operations.GetECPContactResponse: r"""getECPContact Get the Contact by id @@ -174,6 +180,7 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op return res + def get_email_templates(self, request: operations.GetEmailTemplatesRequest, security: operations.GetEmailTemplatesSecurity) -> operations.GetEmailTemplatesResponse: r"""getEmailTemplates TODO @@ -198,6 +205,7 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu return res + def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest, security: operations.GetEntityIdentifiersSecurity) -> operations.GetEntityIdentifiersResponse: r"""getEntityIdentifiers Get Entity's Identifiers @@ -221,6 +229,7 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest return res + def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, security: operations.GetOrgPortalConfigSecurity) -> operations.GetOrgPortalConfigResponse: r"""getOrgPortalConfig TODO @@ -245,6 +254,7 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s return res + def get_portal_config(self, request: operations.GetPortalConfigRequest, security: operations.GetPortalConfigSecurity) -> operations.GetPortalConfigResponse: r"""getPortalConfig TODO @@ -269,6 +279,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security return res + def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequest) -> operations.GetPublicPortalConfigResponse: r"""getPublicPortalConfig TODO @@ -293,6 +304,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ return res + def get_valid_secondary_attributes(self) -> operations.GetValidSecondaryAttributesResponse: r"""getValidSecondaryAttributes Get Valid Secondary Attributes @@ -316,6 +328,7 @@ def get_valid_secondary_attributes(self) -> operations.GetValidSecondaryAttribut return res + def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateVariablesRequest, security: operations.ReplaceECPTemplateVariablesSecurity) -> operations.ReplaceECPTemplateVariablesResponse: r"""replaceECPTemplateVariables TODO @@ -346,6 +359,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV return res + def save_portal_files(self, request: shared.SavePortalFile, security: operations.SavePortalFilesSecurity) -> operations.SavePortalFilesResponse: r"""Add files to portal Add files to portal @@ -375,6 +389,7 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations return res + def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest, security: operations.UpsertEmailTemplatesSecurity) -> operations.UpsertEmailTemplatesResponse: r"""upsertEmailTemplates TODO @@ -405,6 +420,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest return res + def upsert_portal(self, request: operations.UpsertPortalRequest, security: operations.UpsertPortalSecurity) -> operations.UpsertPortalResponse: r"""upserts a portal upserts a portal and db item diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 1691c94eb..8d2f0a40b 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.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 activate_user(self, request: operations.ActivateUserRequest) -> operations.ActivateUserResponse: r"""activateUser Activates the user @@ -46,6 +47,7 @@ def activate_user(self, request: operations.ActivateUserRequest) -> operations.A return res + def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.ConfirmUserResponse: r"""confirmUser TODO @@ -70,6 +72,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con return res + def create_user(self, request: operations.CreateUserRequest) -> operations.CreateUserResponse: r"""creates a user Creates a user in cognito pool and db item @@ -104,6 +107,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat return res + def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> operations.GetCountByEmailResponse: r"""getCountByEmail Check Contact by email @@ -128,6 +132,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper return res + def user_exists(self, request: operations.UserExistsRequest) -> operations.UserExistsResponse: r"""userExists Checks whether a user exists in the customer portal diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index fedc053ec..39aa6ec3d 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 63dce946b..a8b0d8f14 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 6c1c46246c7e60929be63702d02db8416b73548f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 6 May 2023 00:29:52 +0000 Subject: [PATCH 18/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.1 --- customer_portal/RELEASES.md | 8 +- customer_portal/docs/ecp/README.md | 96 ++++++++----------- customer_portal/docs/ecpadmin/README.md | 36 +++---- customer_portal/gen.yaml | 6 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 32 +++---- customer_portal/src/epilot/ecp_admin.py | 12 +-- .../src/epilot/models/operations/__init__.py | 2 +- .../models/operations/deleteportaluser.py | 6 ++ .../operations/extrapermissionattributes.py | 6 ++ .../models/operations/getallcontracts.py | 6 ++ .../models/operations/getallopportunities.py | 6 ++ .../epilot/models/operations/getallorders.py | 6 ++ .../models/operations/getallportalconfigs.py | 6 ++ .../epilot/models/operations/getcontact.py | 6 ++ .../operations/getorganizationsettings.py | 6 ++ .../epilot/models/operations/getportaluser.py | 6 ++ .../epilot/models/operations/getschemas.py | 6 ++ .../operations/getvalidsecondaryattributes.py | 6 ++ customer_portal/src/epilot/sdk.py | 4 +- 20 files changed, 157 insertions(+), 107 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index f6ace3e70..c3ab4b4fd 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -136,4 +136,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:29:40 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 8b02a35a9..30770c74b 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -94,16 +94,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.delete_portal_user() +res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.delete_portal_user_200_application_json_string is not None: # handle response @@ -117,16 +115,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_all_contracts() +res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_all_contracts_200_application_json_object is not None: # handle response @@ -140,16 +136,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_all_opportunities() +res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_all_opportunities_200_application_json_object is not None: # handle response @@ -163,16 +157,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_all_orders() +res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_all_orders_200_application_json_object is not None: # handle response @@ -186,16 +178,14 @@ Get the Contact by id ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_contact() +res = s.ecp.get_contact(operations.GetContactSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_contact_200_application_json_object is not None: # handle response @@ -308,16 +298,14 @@ get organization settings ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_organization_settings() +res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.organization_settings is not None: # handle response @@ -381,16 +369,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_portal_user() +res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.entity_item is not None: # handle response @@ -404,16 +390,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp.get_schemas() +res = s.ecp.get_schemas(operations.GetSchemasSecurity( + portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_schemas_200_application_json_object is not None: # handle response diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 538df31aa..f8a52a443 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -108,16 +108,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp_admin.extra_permission_attributes() +res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttributesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.extra_permission_attributes_200_application_json_object is not None: # handle response @@ -131,16 +129,14 @@ TODO ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp_admin.get_all_portal_configs() +res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_all_portal_configs_200_application_json_object is not None: # handle response @@ -301,16 +297,14 @@ Get Valid Secondary Attributes ```python import epilot +from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) +s = epilot.Epilot() -res = s.ecp_admin.get_valid_secondary_attributes() +res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAttributesSecurity( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", +)) if res.get_valid_secondary_attributes_200_application_json_object is not None: # handle response diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 062936a05..60bef916c 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 399da4087..2f16353b3 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.11.0", + version="1.11.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 6a35e9b40..89acdda3a 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -77,7 +77,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati return res - def delete_portal_user(self) -> operations.DeletePortalUserResponse: + def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> operations.DeletePortalUserResponse: r"""deletePortalUser TODO """ @@ -86,7 +86,7 @@ def delete_portal_user(self) -> operations.DeletePortalUserResponse: url = base_url.removesuffix('/') + '/v2/portal/user' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('DELETE', url) content_type = http_res.headers.get('Content-Type') @@ -100,7 +100,7 @@ def delete_portal_user(self) -> operations.DeletePortalUserResponse: return res - def get_all_contracts(self) -> operations.GetAllContractsResponse: + def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> operations.GetAllContractsResponse: r"""getAllContracts TODO """ @@ -109,7 +109,7 @@ def get_all_contracts(self) -> operations.GetAllContractsResponse: url = base_url.removesuffix('/') + '/v2/portal/contract' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -124,7 +124,7 @@ def get_all_contracts(self) -> operations.GetAllContractsResponse: return res - def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: + def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities TODO """ @@ -133,7 +133,7 @@ def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: url = base_url.removesuffix('/') + '/v2/portal/opportunity' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -148,7 +148,7 @@ def get_all_opportunities(self) -> operations.GetAllOpportunitiesResponse: return res - def get_all_orders(self) -> operations.GetAllOrdersResponse: + def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operations.GetAllOrdersResponse: r"""getAllOrders TODO """ @@ -157,7 +157,7 @@ def get_all_orders(self) -> operations.GetAllOrdersResponse: url = base_url.removesuffix('/') + '/v2/portal/order' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -172,7 +172,7 @@ def get_all_orders(self) -> operations.GetAllOrdersResponse: return res - def get_contact(self) -> operations.GetContactResponse: + def get_contact(self, security: operations.GetContactSecurity) -> operations.GetContactResponse: r"""getContact Get the Contact by id """ @@ -181,7 +181,7 @@ def get_contact(self) -> operations.GetContactResponse: url = base_url.removesuffix('/') + '/v2/portal/contact' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -302,7 +302,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge return res - def get_organization_settings(self) -> operations.GetOrganizationSettingsResponse: + def get_organization_settings(self, security: operations.GetOrganizationSettingsSecurity) -> operations.GetOrganizationSettingsResponse: r"""getOrganizationSettings get organization settings """ @@ -311,7 +311,7 @@ def get_organization_settings(self) -> operations.GetOrganizationSettingsRespons url = base_url.removesuffix('/') + '/v2/portal/org/settings' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -376,7 +376,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai return res - def get_portal_user(self) -> operations.GetPortalUserResponse: + def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operations.GetPortalUserResponse: r"""getPortalUser TODO """ @@ -385,7 +385,7 @@ def get_portal_user(self) -> operations.GetPortalUserResponse: url = base_url.removesuffix('/') + '/v2/portal/user' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -400,7 +400,7 @@ def get_portal_user(self) -> operations.GetPortalUserResponse: return res - def get_schemas(self) -> operations.GetSchemasResponse: + def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.GetSchemasResponse: r"""getSchemas TODO """ @@ -409,7 +409,7 @@ def get_schemas(self) -> operations.GetSchemasResponse: url = base_url.removesuffix('/') + '/v2/portal/schemas' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index c449ad792..adc2e9ac3 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -104,7 +104,7 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera return res - def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesResponse: + def extra_permission_attributes(self, security: operations.ExtraPermissionAttributesSecurity) -> operations.ExtraPermissionAttributesResponse: r"""extraPermissionAttributes TODO """ @@ -113,7 +113,7 @@ def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesRes url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -128,7 +128,7 @@ def extra_permission_attributes(self) -> operations.ExtraPermissionAttributesRes return res - def get_all_portal_configs(self) -> operations.GetAllPortalConfigsResponse: + def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurity) -> operations.GetAllPortalConfigsResponse: r"""getAllPortalConfigs TODO """ @@ -137,7 +137,7 @@ def get_all_portal_configs(self) -> operations.GetAllPortalConfigsResponse: url = base_url.removesuffix('/') + '/v2/portal/configs' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') @@ -305,7 +305,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ return res - def get_valid_secondary_attributes(self) -> operations.GetValidSecondaryAttributesResponse: + def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryAttributesSecurity) -> operations.GetValidSecondaryAttributesResponse: r"""getValidSecondaryAttributes Get Valid Secondary Attributes """ @@ -314,7 +314,7 @@ def get_valid_secondary_attributes(self) -> operations.GetValidSecondaryAttribut url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' - client = self._security_client + client = utils.configure_security_client(self._client, security) http_res = client.request('GET', url) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 5d1096bdc..63e298b0d 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -44,4 +44,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetContact200ApplicationJSON","GetContactResponse","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index 115c41adf..caf8ddffc 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -6,6 +6,12 @@ from typing import Optional +@dataclasses.dataclass +class DeletePortalUserSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclasses.dataclass class DeletePortalUserResponse: diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 6cd4ea53e..815fbe06f 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -9,6 +9,12 @@ from typing import Optional +@dataclasses.dataclass +class ExtraPermissionAttributesSecurity: + + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSONData: diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index f1cc04e47..bd56bf5cd 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -8,6 +8,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetAllContractsSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllContracts200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index f088f0f74..bacfb2705 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -8,6 +8,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetAllOpportunitiesSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOpportunities200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index cc3eb9b9e..8543e528a 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -8,6 +8,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetAllOrdersSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOrders200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index 74e83c3ac..c3839185d 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -9,6 +9,12 @@ from typing import Optional +@dataclasses.dataclass +class GetAllPortalConfigsSecurity: + + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllPortalConfigs200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index e04199b99..afca5ccef 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -9,6 +9,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetContactSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetContact200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 69797b471..aef5a1bda 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -7,6 +7,12 @@ from typing import Optional +@dataclasses.dataclass +class GetOrganizationSettingsSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclasses.dataclass class GetOrganizationSettingsResponse: diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index dcdf8b764..763f87545 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -6,6 +6,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetPortalUserSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclasses.dataclass class GetPortalUserResponse: diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index 81c16ad00..372936d11 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -8,6 +8,12 @@ from typing import Any, Optional +@dataclasses.dataclass +class GetSchemasSecurity: + + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetSchemas200ApplicationJSON: diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index 87addc4d7..f66d314f4 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -8,6 +8,12 @@ from typing import Optional +@dataclasses.dataclass +class GetValidSecondaryAttributesSecurity: + + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSONData: diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 39aa6ec3d..402dc2846 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 2a9df8afed4abf0f038c8366837de4cbd92e5f79 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 10 May 2023 00:31:54 +0000 Subject: [PATCH 19/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c3ab4b4fd..0635f0208 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -142,4 +142,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:31:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 60bef916c..34f19e6a2 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 2f16353b3..b95d75d90 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.11.1", + version="1.11.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 402dc2846..0da304e05 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 eb15a37b5d869fd4d30eb211b57551e48cf3abeb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 11 May 2023 00:32:23 +0000 Subject: [PATCH 20/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 0635f0208..035ac6617 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -148,4 +148,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 34f19e6a2..052fce5e4 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index b95d75d90..daf46eab1 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.11.2", + version="1.11.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 0da304e05..23f30c8a5 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 d4045463aa23d3ae4a48c4ab5bafb65e214958b6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 12 May 2023 00:32:14 +0000 Subject: [PATCH 21/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- customer_portal/src/epilot/utils/utils.py | 16 ++++++++-------- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 035ac6617..8b941a79c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -154,4 +154,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:02 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 052fce5e4..bb26e8c6a 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index daf46eab1..4c7b698c0 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.11.3", + version="1.11.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 23f30c8a5..3c0114b18 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index a8b0d8f14..98719fbf7 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 969129a0484f276d8676d2ca9674bddb8d777434 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 13 May 2023 00:30:34 +0000 Subject: [PATCH 22/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.31.1 --- customer_portal/README.md | 2 +- customer_portal/RELEASES.md | 8 ++++- customer_portal/USAGE.md | 2 +- customer_portal/docs/ecp/README.md | 42 +++++++++++------------ customer_portal/docs/ecpadmin/README.md | 30 ++++++++-------- customer_portal/gen.yaml | 6 ++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 +-- customer_portal/src/epilot/utils/utils.py | 2 +- 9 files changed, 52 insertions(+), 46 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 7d6d7d5e3..76f7579f1 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -22,7 +22,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 8b941a79c..99655a453 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -160,4 +160,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:30:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index ea1df854d..7f454c230 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -11,7 +11,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 30770c74b..0b621bb84 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -48,7 +48,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: @@ -79,7 +79,7 @@ req = shared.DeleteEntityFile( ) res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.delete_entity_file_200_application_json_object is not None: @@ -100,7 +100,7 @@ s = epilot.Epilot() res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.delete_portal_user_200_application_json_string is not None: @@ -121,7 +121,7 @@ s = epilot.Epilot() res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_all_contracts_200_application_json_object is not None: @@ -142,7 +142,7 @@ s = epilot.Epilot() res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_all_opportunities_200_application_json_object is not None: @@ -163,7 +163,7 @@ s = epilot.Epilot() res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_all_orders_200_application_json_object is not None: @@ -184,7 +184,7 @@ s = epilot.Epilot() res = s.ecp.get_contact(operations.GetContactSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_contact_200_application_json_object is not None: @@ -208,7 +208,7 @@ req = operations.GetContractRequest( ) res = s.ecp.get_contract(req, operations.GetContractSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_contract_200_application_json_object is not None: @@ -235,7 +235,7 @@ req = operations.GetEntitiesByIdentifiersRequest( ) res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_entities_by_identifiers_200_application_json_object is not None: @@ -259,7 +259,7 @@ req = operations.GetOpportunityRequest( ) res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_opportunity_200_application_json_object is not None: @@ -283,7 +283,7 @@ req = operations.GetOrderRequest( ) res = s.ecp.get_order(req, operations.GetOrderSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_order_200_application_json_object is not None: @@ -304,7 +304,7 @@ s = epilot.Epilot() res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.organization_settings is not None: @@ -328,7 +328,7 @@ req = operations.GetPortalConfigRequest( ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.portal_config is not None: @@ -375,7 +375,7 @@ s = epilot.Epilot() res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: @@ -396,7 +396,7 @@ s = epilot.Epilot() res = s.ecp.get_schemas(operations.GetSchemasSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_schemas_200_application_json_object is not None: @@ -455,7 +455,7 @@ req = shared.SaveEntityFile( ) res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.save_entity_file_200_application_json_object is not None: @@ -502,7 +502,7 @@ req = { } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: @@ -531,7 +531,7 @@ req = operations.UpdateContractRequest( ) res = s.ecp.update_contract(req, operations.UpdateContractSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.update_contract_200_application_json_object is not None: @@ -561,7 +561,7 @@ req = operations.UpdateOpportunityRequest( ) res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.update_opportunity_200_application_json_object is not None: @@ -590,7 +590,7 @@ req = operations.UpdateOrderRequest( ) res = s.ecp.update_order(req, operations.UpdateOrderSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: @@ -615,7 +615,7 @@ req = { } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( - portal_auth="Bearer YOUR_BEARER_TOKEN_HERE", + portal_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index f8a52a443..2fd0bb3d1 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -40,7 +40,7 @@ req = operations.ConfigureDistributionRequest( ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.configure_distribution_200_application_json_object is not None: @@ -69,7 +69,7 @@ req = operations.CreateSSOUserRequest( ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.create_sso_user_201_application_json_object is not None: @@ -93,7 +93,7 @@ req = operations.DeletePortalRequest( ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.status_code == 200: @@ -114,7 +114,7 @@ s = epilot.Epilot() res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttributesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.extra_permission_attributes_200_application_json_object is not None: @@ -135,7 +135,7 @@ s = epilot.Epilot() res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_all_portal_configs_200_application_json_object is not None: @@ -159,7 +159,7 @@ req = operations.GetECPContactRequest( ) res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: @@ -183,7 +183,7 @@ req = operations.GetEmailTemplatesRequest( ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.email_templates is not None: @@ -207,7 +207,7 @@ req = operations.GetEntityIdentifiersRequest( ) res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_entity_identifiers_200_application_json_object is not None: @@ -231,7 +231,7 @@ req = operations.GetOrgPortalConfigRequest( ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.portal_config is not None: @@ -255,7 +255,7 @@ req = operations.GetPortalConfigRequest( ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.portal_config is not None: @@ -303,7 +303,7 @@ s = epilot.Epilot() res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAttributesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.get_valid_secondary_attributes_200_application_json_object is not None: @@ -330,7 +330,7 @@ req = operations.ReplaceECPTemplateVariablesRequest( ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.replace_ecp_template_variables_200_application_json_object is not None: @@ -384,7 +384,7 @@ req = shared.SavePortalFile( ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.entity_item is not None: @@ -415,7 +415,7 @@ req = operations.UpsertEmailTemplatesRequest( ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.upsert_email_templates_200_application_json_object is not None: @@ -536,7 +536,7 @@ req = operations.UpsertPortalRequest( ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", )) if res.add_portal_resp is not None: diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index bb26e8c6a..2285f020b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 4c7b698c0..26648d73f 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.11.4", + version="1.12.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 3c0114b18..38032633d 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 98719fbf7..6b39ecf74 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 c352c28874cfe3cd70da827a4408d029f5649bd9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 16 May 2023 00:32:44 +0000 Subject: [PATCH 23/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.32.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 99655a453..2d7e4b35d 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -166,4 +166,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 2285f020b..ad6cceff0 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 26648d73f..044e4b88d 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.12.0", + version="1.13.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 38032633d..65d5eaee8 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 47ca75333b7af271da295490ed35eb139f6157ff Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 17 May 2023 00:36:04 +0000 Subject: [PATCH 24/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.33.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 2d7e4b35d..b7f6ad23e 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -172,4 +172,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:49 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index ad6cceff0..900749fc0 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 044e4b88d..51732dac0 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.13.0", + version="1.14.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 65d5eaee8..04e6b288d 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 85195daf7db6feef1dcfd7ab6895c035898c35db Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 18 May 2023 00:32:45 +0000 Subject: [PATCH 25/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.34.0 --- customer_portal/RELEASES.md | 8 ++- customer_portal/gen.yaml | 6 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 91 ++++++++++++++----------- customer_portal/src/epilot/ecp_admin.py | 65 ++++++++++-------- customer_portal/src/epilot/public.py | 19 +++--- customer_portal/src/epilot/sdk.py | 4 +- 7 files changed, 115 insertions(+), 80 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b7f6ad23e..0efe7a017 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -178,4 +178,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 900749fc0..55939db80 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 51732dac0..0b0c03803 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.14.0", + version="1.15.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 89acdda3a..17e762f72 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -30,11 +30,12 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer base_url = self._server_url url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('PUT', url) + http_res = client.request('PUT', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.AddEndCustomerRelationToEntityResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -54,13 +55,13 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/entity/file' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -84,11 +85,12 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/user' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('DELETE', url) + http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.DeletePortalUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -107,11 +109,12 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contract' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllContractsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -131,11 +134,12 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/opportunity' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllOpportunitiesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -155,11 +159,12 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/order' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllOrdersResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -179,11 +184,12 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contact' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetContactResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -207,11 +213,12 @@ def get_contract(self, request: operations.GetContractRequest, security: operati base_url = self._server_url url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetContractResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -231,13 +238,13 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie base_url = self._server_url url = utils.generate_url(operations.GetEntitiesByIdentifiersRequest, base_url, '/v2/portal/entity/by-identifiers/{slug}', 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 if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -261,11 +268,12 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o base_url = self._server_url url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetOpportunityResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -285,11 +293,12 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge base_url = self._server_url url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetOrderResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -309,11 +318,12 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/org/settings' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetOrganizationSettingsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -333,12 +343,13 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' - + headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -358,12 +369,13 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/config' - + headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetPortalConfigByDomainResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -383,11 +395,12 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/user' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetPortalUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -407,11 +420,12 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/schemas' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetSchemasResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -431,13 +445,13 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/entity/file' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -461,11 +475,12 @@ def test_auth(self) -> operations.TestAuthResponse: base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/auth' - + 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.TestAuthResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -481,11 +496,11 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contact' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", '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 = utils.configure_security_client(self._client, security) @@ -509,13 +524,13 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o base_url = self._server_url url = utils.generate_url(operations.UpdateContractRequest, base_url, '/v2/portal/contract/{id}', 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 if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -539,13 +554,13 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur base_url = self._server_url url = utils.generate_url(operations.UpdateOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', 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 if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -569,11 +584,11 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati base_url = self._server_url url = utils.generate_url(operations.UpdateOrderRequest, base_url, '/v2/portal/order/{id}', 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 = utils.configure_security_client(self._client, security) @@ -597,11 +612,11 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/user' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", '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 = utils.configure_security_client(self._client, security) diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index adc2e9ac3..dcebbe3cd 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -30,12 +30,13 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/configure-distribution' - + headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.ConfigureDistributionResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -55,7 +56,6 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/sso/user' - 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'): @@ -63,6 +63,7 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -90,12 +91,13 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' - + headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('DELETE', url, params=query_params) + http_res = client.request('DELETE', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.DeletePortalResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -111,11 +113,12 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.ExtraPermissionAttributesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -135,11 +138,12 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/configs' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllPortalConfigsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -159,12 +163,13 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/ecp/contact' - + headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetECPContactResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -188,12 +193,13 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/email-templates' - + headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetEmailTemplatesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -213,11 +219,12 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest base_url = self._server_url url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetEntityIdentifiersResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -237,12 +244,13 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/org/portal/config' - + headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetOrgPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -262,12 +270,13 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' - + headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -287,12 +296,13 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/portal/config' - + headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetPublicPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -312,11 +322,12 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetValidSecondaryAttributesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -336,7 +347,6 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/replace-ecp-template-variables' - 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'): @@ -344,6 +354,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -367,13 +378,13 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/portal/files' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -397,7 +408,6 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/email-templates' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "email_templates", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -405,6 +415,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -428,7 +439,6 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/portal' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_config", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -436,6 +446,7 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 8d2f0a40b..51463dded 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -30,12 +30,12 @@ def activate_user(self, request: operations.ActivateUserRequest) -> operations.A base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/activate' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "user_activation_payload", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type query_params = utils.get_query_params(operations.ActivateUserRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -55,12 +55,13 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con base_url = self._server_url url = utils.generate_url(operations.ConfirmUserRequest, base_url, '/v2/portal/user/confirm/{id}', request) - + headers = {} query_params = utils.get_query_params(operations.ConfirmUserRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.ConfirmUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -80,7 +81,6 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/user' - 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'): @@ -88,6 +88,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -115,12 +116,13 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contact/email/count' - + headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetCountByEmailResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -140,12 +142,13 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/user/exists' - + headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.UserExistsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 04e6b288d..86129ce7a 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 ab8992b972ebfc4e001f15ce0538b538bf28c768 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 19 May 2023 00:33:07 +0000 Subject: [PATCH 26/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.35.0 --- customer_portal/RELEASES.md | 8 ++++++- customer_portal/docs/ecp/README.md | 6 ++--- customer_portal/docs/ecpadmin/README.md | 24 +++++++++---------- customer_portal/docs/public/README.md | 4 ++-- customer_portal/files.gen | 2 +- customer_portal/gen.yaml | 6 ++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 23 ++++++++++++++++++ customer_portal/src/epilot/ecp_admin.py | 16 +++++++++++++ .../operations/configuredistribution.py | 4 ++-- .../epilot/models/operations/confirmuser.py | 4 ++-- .../epilot/models/operations/createssouser.py | 4 ++-- .../epilot/models/operations/createuser.py | 4 ++-- .../epilot/models/operations/deleteportal.py | 4 ++-- .../models/operations/getemailtemplates.py | 4 ++-- .../models/operations/getorgportalconfig.py | 4 ++-- .../models/operations/getportalconfig.py | 4 ++-- .../operations/getpublicportalconfig.py | 4 ++-- .../operations/replaceecptemplatevariables.py | 4 ++-- .../models/operations/upsertemailtemplates.py | 4 ++-- .../epilot/models/operations/upsertportal.py | 4 ++-- .../src/epilot/models/shared/__init__.py | 4 ++-- .../src/epilot/models/shared/grant.py | 4 ++-- .../shared/{origin_enum.py => origin.py} | 2 +- .../src/epilot/models/shared/portalconfig.py | 4 ++-- .../epilot/models/shared/saveentityfile.py | 4 ++-- .../epilot/models/shared/saveportalfile.py | 4 ++-- customer_portal/src/epilot/public.py | 5 ++++ customer_portal/src/epilot/sdk.py | 4 ++-- 29 files changed, 110 insertions(+), 60 deletions(-) rename customer_portal/src/epilot/models/shared/{origin_enum.py => origin.py} (89%) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 0efe7a017..9a9aefe8a 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -184,4 +184,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:32:54 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 0b621bb84..cfdced778 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -324,7 +324,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -426,7 +426,7 @@ req = shared.SaveEntityFile( '12345', '12345', ], - access_control=shared.SaveEntityFileFilesAccessControlEnum.PRIVATE, + access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', file_entity_id='12345', filename='12345', @@ -442,7 +442,7 @@ req = shared.SaveEntityFile( '12345', '12345', ], - access_control=shared.SaveEntityFileFilesAccessControlEnum.PRIVATE, + access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', file_entity_id='12345', filename='12345', diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 2fd0bb3d1..05cebf4f4 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -36,7 +36,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.ConfigureDistributionRequest( - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( @@ -65,7 +65,7 @@ req = operations.CreateSSOUserRequest( first_name='John', last_name='Doe', ), - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( @@ -89,7 +89,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.DeletePortalRequest( - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -179,7 +179,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetEmailTemplatesRequest( - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( @@ -227,7 +227,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetOrgPortalConfigRequest( - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( @@ -251,7 +251,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -280,7 +280,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_public_portal_config(req) @@ -326,7 +326,7 @@ req = operations.ReplaceECPTemplateVariablesRequest( request_body=operations.ReplaceECPTemplateVariablesRequestBody( contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', ), - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( @@ -380,7 +380,7 @@ req = shared.SavePortalFile( ), ), ], - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -411,7 +411,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='consequuntur', on_new_quote='praesentium', ), - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -519,7 +519,7 @@ req = operations.UpsertPortalRequest( grants=[ shared.Grant( action='entity-read', - effect=shared.GrantEffectEnum.ALLOW, + effect=shared.GrantEffect.ALLOW, resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), ], @@ -532,7 +532,7 @@ req = operations.UpsertPortalRequest( name='My Portal', self_registration=False, ), - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index 1476709bd..f07f0f2ea 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -61,7 +61,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='fbb25870-5320-42c7-bd5f-e9b90c28909b', org_id='123', - origin=shared.OriginEnum.END_CUSTOMER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) @@ -94,7 +94,7 @@ req = operations.CreateUserRequest( password='Pass1234!', secondary_identifier='123456', ), - origin=shared.OriginEnum.INSTALLER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 728aa4e79..1a411ef55 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -57,7 +57,7 @@ src/epilot/models/shared/deleteentityfile.py src/epilot/models/shared/errorresp.py src/epilot/models/shared/organizationsettings.py src/epilot/models/shared/portalconfig.py -src/epilot/models/shared/origin_enum.py +src/epilot/models/shared/origin.py src/epilot/models/shared/grant.py src/epilot/models/shared/saveentityfile.py src/epilot/models/shared/extraschemaattributes.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 55939db80..066457c0a 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 0b0c03803..b6f117491 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.15.0", + version="1.16.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 17e762f72..2c92ec6fd 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -31,6 +31,7 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -61,6 +62,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -86,6 +88,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o url = base_url.removesuffix('/') + '/v2/portal/user' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -110,6 +113,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope url = base_url.removesuffix('/') + '/v2/portal/contract' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -135,6 +139,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity url = base_url.removesuffix('/') + '/v2/portal/opportunity' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -160,6 +165,7 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation url = base_url.removesuffix('/') + '/v2/portal/order' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -185,6 +191,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get url = base_url.removesuffix('/') + '/v2/portal/contact' headers = {} + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -214,6 +221,7 @@ def get_contract(self, request: operations.GetContractRequest, security: operati url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -244,6 +252,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -269,6 +278,7 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -294,6 +304,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -319,6 +330,7 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings url = base_url.removesuffix('/') + '/v2/portal/org/settings' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -345,6 +357,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -371,6 +384,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai url = base_url.removesuffix('/') + '/v2/portal/public/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -396,6 +410,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati url = base_url.removesuffix('/') + '/v2/portal/user' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -421,6 +436,7 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get url = base_url.removesuffix('/') + '/v2/portal/schemas' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -451,6 +467,7 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -476,6 +493,7 @@ def test_auth(self) -> operations.TestAuthResponse: url = base_url.removesuffix('/') + '/v2/portal/auth' headers = {} + headers['Accept'] = '*/*' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -500,6 +518,7 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon req_content_type, data, form = utils.serialize_request_body(request, "request", '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 = utils.configure_security_client(self._client, security) @@ -530,6 +549,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -560,6 +580,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -588,6 +609,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati 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 = utils.configure_security_client(self._client, security) @@ -616,6 +638,7 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat req_content_type, data, form = utils.serialize_request_body(request, "request", '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 = utils.configure_security_client(self._client, security) diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index dcebbe3cd..344ce0234 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -32,6 +32,7 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques url = base_url.removesuffix('/') + '/v2/portal/configure-distribution' headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -63,6 +64,7 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -93,6 +95,7 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) + headers['Accept'] = '*/*' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -114,6 +117,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -139,6 +143,7 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit url = base_url.removesuffix('/') + '/v2/portal/configs' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -165,6 +170,7 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op url = base_url.removesuffix('/') + '/v2/portal/ecp/contact' headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -195,6 +201,7 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu url = base_url.removesuffix('/') + '/v2/portal/email-templates' headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -220,6 +227,7 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -246,6 +254,7 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s url = base_url.removesuffix('/') + '/v2/portal/org/portal/config' headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -272,6 +281,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -298,6 +308,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ url = base_url.removesuffix('/') + '/v2/portal/public/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -323,6 +334,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -354,6 +366,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -384,6 +397,7 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -415,6 +429,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -446,6 +461,7 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 94c75d2a8..5a55db94c 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -18,7 +18,7 @@ class ConfigureDistributionSecurity: @dataclasses.dataclass class ConfigureDistributionRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index e7fbe0fa8..d7bdef9a8 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from typing import Any, Optional @@ -13,7 +13,7 @@ class ConfirmUserRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The Id of portal user id""" org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 3ad16d623..7da3c3925 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -4,7 +4,7 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -29,7 +29,7 @@ class CreateSSOUserRequestBody: @dataclasses.dataclass class CreateSSOUserRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" request_body: CreateSSOUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index 8b1b8baa7..f47bd1b90 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -5,7 +5,7 @@ import requests as requests_http from ..shared import addportalresp as shared_addportalresp from ..shared import errorresp as shared_errorresp -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -26,7 +26,7 @@ class CreateUserRequestBody: @dataclasses.dataclass class CreateUserRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" request_body: CreateUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index 46fe338f3..9653b689a 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from typing import Optional @@ -16,7 +16,7 @@ class DeletePortalSecurity: @dataclasses.dataclass class DeletePortalRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index ce3f9d8e9..51e5eca94 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -4,7 +4,7 @@ import dataclasses import requests as requests_http from ..shared import emailtemplates as shared_emailtemplates -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from typing import Optional @@ -17,7 +17,7 @@ class GetEmailTemplatesSecurity: @dataclasses.dataclass class GetEmailTemplatesRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index de7623682..92a7ba07a 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -17,7 +17,7 @@ class GetOrgPortalConfigSecurity: @dataclasses.dataclass class GetOrgPortalConfigRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index 481158b12..dd14b275b 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -18,7 +18,7 @@ class GetPortalConfigSecurity: @dataclasses.dataclass class GetPortalConfigRequest: - origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 5078e513e..3edca0e49 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -12,7 +12,7 @@ class GetPublicPortalConfigRequest: org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index e032f69e8..84a9f06b4 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -26,7 +26,7 @@ class ReplaceECPTemplateVariablesRequestBody: @dataclasses.dataclass class ReplaceECPTemplateVariablesRequest: - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" request_body: ReplaceECPTemplateVariablesRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""ECPVariables payload""" diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index edd526a4d..bb67b29bf 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -4,7 +4,7 @@ import dataclasses import requests as requests_http from ..shared import emailtemplates as shared_emailtemplates -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -21,7 +21,7 @@ class UpsertEmailTemplatesRequest: email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index ee005fa7b..eef8bfe4f 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -5,7 +5,7 @@ import requests as requests_http from ..shared import addportalresp as shared_addportalresp from ..shared import errorresp as shared_errorresp -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from ..shared import upsertportalconfig as shared_upsertportalconfig from typing import Optional @@ -21,7 +21,7 @@ class UpsertPortalRequest: upsert_portal_config: shared_upsertportalconfig.UpsertPortalConfig = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" - origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 7f1a3c2d7..cc9ccefd8 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -7,7 +7,7 @@ from .extraschemaattributes import * from .grant import * from .organizationsettings import * -from .origin_enum import * +from .origin import * from .portalconfig import * from .saveentityfile import * from .saveportalfile import * @@ -15,4 +15,4 @@ from .upsertportalconfig import * from .useractivationpayload import * -__all__ = ["AddPortalResp","DeleteEntityFile","EmailTemplates","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffectEnum","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","OriginEnum","PortalConfig","PortalConfigCognitoDetails","PortalConfigEmailTemplates","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigImages","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControlEnum","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigEmailTemplates","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigImages","UserActivationPayload"] +__all__ = ["AddPortalResp","DeleteEntityFile","EmailTemplates","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigEmailTemplates","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigImages","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigEmailTemplates","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigImages","UserActivationPayload"] diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index 21a7ba2c6..c6e7a0be6 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -7,7 +7,7 @@ from epilot import utils from typing import Optional -class GrantEffectEnum(str, Enum): +class GrantEffect(str, Enum): ALLOW = 'allow' DENY = 'deny' @@ -17,6 +17,6 @@ class GrantEffectEnum(str, Enum): class Grant: action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) - effect: Optional[GrantEffectEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) + effect: Optional[GrantEffect] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/origin_enum.py b/customer_portal/src/epilot/models/shared/origin.py similarity index 89% rename from customer_portal/src/epilot/models/shared/origin_enum.py rename to customer_portal/src/epilot/models/shared/origin.py index 304635082..f393fb2fc 100755 --- a/customer_portal/src/epilot/models/shared/origin_enum.py +++ b/customer_portal/src/epilot/models/shared/origin.py @@ -3,7 +3,7 @@ from __future__ import annotations from enum import Enum -class OriginEnum(str, Enum): +class Origin(str, Enum): r"""Origin of the portal""" END_CUSTOMER_PORTAL = 'END_CUSTOMER_PORTAL' INSTALLER_PORTAL = 'INSTALLER_PORTAL' diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index d63f5ea70..0ac5ebe22 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses from ..shared import grant as shared_grant -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -83,7 +83,7 @@ class PortalConfig: is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), '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 }}) org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) - origin: Optional[shared_origin_enum.OriginEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Whether portal user has self registration""" diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index a210949e2..1497e6d55 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -7,7 +7,7 @@ from epilot import utils from typing import Optional -class SaveEntityFileFilesAccessControlEnum(str, Enum): +class SaveEntityFileFilesAccessControl(str, Enum): PRIVATE = 'private' PUBLIC_READ = 'public-read' @@ -27,7 +27,7 @@ class SaveEntityFileFiles: filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) - access_control: Optional[SaveEntityFileFilesAccessControlEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) + access_control: Optional[SaveEntityFileFilesAccessControl] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) file_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_id'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index 7a35f7323..fe5f5c25c 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from ..shared import origin_enum as shared_origin_enum +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -32,6 +32,6 @@ class SavePortalFile: r"""Save portal file""" files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) - origin: shared_origin_enum.OriginEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) r"""Origin of the portal""" \ No newline at end of file diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 51463dded..64fbcbc5f 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -35,6 +35,7 @@ def activate_user(self, request: operations.ActivateUserRequest) -> operations.A if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type query_params = utils.get_query_params(operations.ActivateUserRequest, request) + headers['Accept'] = '*/*' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -57,6 +58,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con url = utils.generate_url(operations.ConfirmUserRequest, base_url, '/v2/portal/user/confirm/{id}', request) headers = {} query_params = utils.get_query_params(operations.ConfirmUserRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -88,6 +90,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -118,6 +121,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper url = base_url.removesuffix('/') + '/v2/portal/contact/email/count' headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -144,6 +148,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE url = base_url.removesuffix('/') + '/v2/portal/public/user/exists' headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 86129ce7a..d9a8cf935 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 08f254b9ab85ac3d46868a69683e1554f0a2522b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 23 May 2023 00:34:21 +0000 Subject: [PATCH 27/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.37.5 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 9a9aefe8a..5ffcdf81e 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -190,4 +190,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 066457c0a..876ba82a0 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index b6f117491..2c4a9ca25 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.16.0", + version="1.17.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index d9a8cf935..69ee700f7 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 0b3509fb338e667aac95d12ab08db666d989d84f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 27 May 2023 00:34:52 +0000 Subject: [PATCH 28/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.39.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 5ffcdf81e..c0631d209 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -196,4 +196,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:31 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 876ba82a0..3e4e1b548 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 2c4a9ca25..301dc6376 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.17.0", + version="1.17.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 69ee700f7..68e103f16 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 4b8e9696e9bd2d45e154a3f052a356fb0adf194b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 1 Jun 2023 00:46:49 +0000 Subject: [PATCH 29/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.2 --- customer_portal/.gitignore | 5 +++++ customer_portal/RELEASES.md | 8 +++++++- customer_portal/files.gen | 1 + customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 7 +++++-- customer_portal/src/epilot/sdk.py | 4 ++-- 6 files changed, 23 insertions(+), 8 deletions(-) create mode 100755 customer_portal/.gitignore diff --git a/customer_portal/.gitignore b/customer_portal/.gitignore new file mode 100755 index 000000000..9072ad43b --- /dev/null +++ b/customer_portal/.gitignore @@ -0,0 +1,5 @@ +venv/ +src/*.egg-info/ +__pycache__/ +.pytest_cache/ +.python-version` \ No newline at end of file diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c0631d209..add88a619 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -202,4 +202,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:46:34 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 1a411ef55..5e45d4b90 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -2,6 +2,7 @@ src/epilot/ecp.py src/epilot/ecp_admin.py src/epilot/public.py src/epilot/sdk.py +.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 3e4e1b548..094e7a4d3 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a522cb739e2a8eaa5f99c3dde94f467f 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/customer_portal/setup.py b/customer_portal/setup.py index 301dc6376..1f913694a 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - 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/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 68e103f16..2765afb0e 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -25,8 +25,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 a9a93759350b0ca20a1b679c03b2dd198e41d2b1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 Jun 2023 00:37:57 +0000 Subject: [PATCH 30/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.3 --- customer_portal/README.md | 30 +-- customer_portal/RELEASES.md | 8 +- customer_portal/USAGE.md | 6 +- customer_portal/docs/ecp/README.md | 199 ++++++-------- customer_portal/docs/ecpadmin/README.md | 223 ++++++++-------- customer_portal/docs/public/README.md | 118 ++++---- customer_portal/files.gen | 15 +- customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 34 +-- customer_portal/src/epilot/ecp.py | 252 ++++++++++-------- customer_portal/src/epilot/ecp_admin.py | 155 ++++++----- .../src/epilot/models/operations/__init__.py | 4 +- .../epilot/models/operations/activateuser.py | 24 -- .../addendcustomerrelationtoentity.py | 12 +- .../operations/configuredistribution.py | 8 +- .../epilot/models/operations/confirmuser.py | 10 +- .../epilot/models/operations/createssouser.py | 22 +- .../epilot/models/operations/createuser.py | 38 +-- .../models/operations/deleteentityfile.py | 11 +- .../epilot/models/operations/deleteportal.py | 3 + .../models/operations/deleteportaluser.py | 23 +- .../operations/extrapermissionattributes.py | 9 +- .../models/operations/getallcontracts.py | 7 +- .../models/operations/getallopportunities.py | 7 +- .../epilot/models/operations/getallorders.py | 7 +- .../models/operations/getallportalconfigs.py | 7 +- .../epilot/models/operations/getcontact.py | 7 +- .../epilot/models/operations/getcontract.py | 13 +- .../models/operations/getcountbyemail.py | 8 +- .../epilot/models/operations/getecpcontact.py | 17 +- .../models/operations/getemailtemplates.py | 5 +- .../operations/getentitiesbyidentifiers.py | 8 +- .../models/operations/getentityidentifiers.py | 12 +- .../models/operations/getopportunity.py | 10 +- .../src/epilot/models/operations/getorder.py | 15 +- .../operations/getorganizationsettings.py | 17 +- .../models/operations/getorgportalconfig.py | 5 +- .../models/operations/getportalconfig.py | 5 +- .../operations/getportalconfigbydomain.py | 5 +- .../epilot/models/operations/getportaluser.py | 18 +- .../operations/getpublicportalconfig.py | 5 +- .../epilot/models/operations/getschemas.py | 7 +- .../operations/getvalidsecondaryattributes.py | 9 +- .../operations/replaceecptemplatevariables.py | 8 +- .../models/operations/saveentityfile.py | 11 +- .../models/operations/saveportalfiles.py | 17 +- .../src/epilot/models/operations/testauth.py | 15 -- .../epilot/models/operations/updatecontact.py | 18 +- .../models/operations/updatecontract.py | 12 +- .../models/operations/updateopportunity.py | 12 +- .../epilot/models/operations/updateorder.py | 20 +- .../models/operations/updateportaluser.py | 18 +- .../models/operations/upsertemailtemplates.py | 18 +- .../epilot/models/operations/upsertportal.py | 12 +- .../epilot/models/operations/userexists.py | 21 +- .../src/epilot/models/shared/__init__.py | 7 +- .../src/epilot/models/shared/addportalresp.py | 16 -- .../models/shared/createssouserrequest.py | 21 ++ .../epilot/models/shared/createuserrequest.py | 29 ++ .../epilot/models/shared/deleteentityfile.py | 3 + .../epilot/models/shared/emailtemplates.py | 7 +- .../src/epilot/models/shared/entityslug.py | 14 + .../src/epilot/models/shared/errorresp.py | 3 +- .../models/shared/extraschemaattributes.py | 10 +- .../src/epilot/models/shared/grant.py | 4 + .../models/shared/organizationsettings.py | 28 +- .../src/epilot/models/shared/portalconfig.py | 59 +++- .../epilot/models/shared/saveentityfile.py | 12 +- .../epilot/models/shared/saveportalfile.py | 7 +- .../src/epilot/models/shared/security.py | 3 +- .../models/shared/upsertportalconfig.py | 56 +++- .../models/shared/useractivationpayload.py | 18 -- customer_portal/src/epilot/public.py | 128 ++++++--- customer_portal/src/epilot/sdk.py | 10 +- 74 files changed, 1214 insertions(+), 809 deletions(-) delete mode 100755 customer_portal/src/epilot/models/operations/activateuser.py delete mode 100755 customer_portal/src/epilot/models/operations/testauth.py delete mode 100755 customer_portal/src/epilot/models/shared/addportalresp.py create mode 100755 customer_portal/src/epilot/models/shared/createssouserrequest.py create mode 100755 customer_portal/src/epilot/models/shared/createuserrequest.py create mode 100755 customer_portal/src/epilot/models/shared/entityslug.py delete mode 100755 customer_portal/src/epilot/models/shared/useractivationpayload.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 76f7579f1..fce0d34ef 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -12,13 +12,13 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', - slug='contact', + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( @@ -37,33 +37,31 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ### [ecp](docs/ecp/README.md) * [add_end_customer_relation_to_entity](docs/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity -* [delete_entity_file](docs/ecp/README.md#delete_entity_file) - Delete files from an entity +* [delete_entity_file](docs/ecp/README.md#delete_entity_file) - deleteEntityFile * [delete_portal_user](docs/ecp/README.md#delete_portal_user) - deletePortalUser * [get_all_contracts](docs/ecp/README.md#get_all_contracts) - getAllContracts * [get_all_opportunities](docs/ecp/README.md#get_all_opportunities) - getAllOpportunities * [get_all_orders](docs/ecp/README.md#get_all_orders) - getAllOrders * [get_contact](docs/ecp/README.md#get_contact) - getContact -* [get_contract](docs/ecp/README.md#get_contract) - get contract based on id +* [get_contract](docs/ecp/README.md#get_contract) - getContract * [get_entities_by_identifiers](docs/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers * [get_opportunity](docs/ecp/README.md#get_opportunity) - getOpportunity * [get_order](docs/ecp/README.md#get_order) - getOrder * [get_organization_settings](docs/ecp/README.md#get_organization_settings) - getOrganizationSettings * [get_portal_config](docs/ecp/README.md#get_portal_config) - getPortalConfig -* [get_portal_config_by_domain](docs/ecp/README.md#get_portal_config_by_domain) - getPortalConfigByDomain * [get_portal_user](docs/ecp/README.md#get_portal_user) - getPortalUser * [get_schemas](docs/ecp/README.md#get_schemas) - getSchemas -* [save_entity_file](docs/ecp/README.md#save_entity_file) - Add files to an entity -* [test_auth](docs/ecp/README.md#test_auth) - testAuth +* [save_entity_file](docs/ecp/README.md#save_entity_file) - saveEntityFile * [update_contact](docs/ecp/README.md#update_contact) - updateContact -* [update_contract](docs/ecp/README.md#update_contract) - Update contract based on id -* [update_opportunity](docs/ecp/README.md#update_opportunity) - Update an opportunity based on id +* [update_contract](docs/ecp/README.md#update_contract) - updateContract +* [update_opportunity](docs/ecp/README.md#update_opportunity) - updateOpportunity * [update_order](docs/ecp/README.md#update_order) - updateOrder * [update_portal_user](docs/ecp/README.md#update_portal_user) - updatePortalUser ### [ecp_admin](docs/ecpadmin/README.md) * [configure_distribution](docs/ecpadmin/README.md#configure_distribution) - configureDistribution -* [create_sso_user](docs/ecpadmin/README.md#create_sso_user) - creates a sso user +* [create_sso_user](docs/ecpadmin/README.md#create_sso_user) - createSSOUser * [delete_portal](docs/ecpadmin/README.md#delete_portal) - deletePortal * [extra_permission_attributes](docs/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes * [get_all_portal_configs](docs/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs @@ -72,19 +70,19 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_entity_identifiers](docs/ecpadmin/README.md#get_entity_identifiers) - getEntityIdentifiers * [get_org_portal_config](docs/ecpadmin/README.md#get_org_portal_config) - getOrgPortalConfig * [get_portal_config](docs/ecpadmin/README.md#get_portal_config) - getPortalConfig -* [get_public_portal_config](docs/ecpadmin/README.md#get_public_portal_config) - getPublicPortalConfig * [get_valid_secondary_attributes](docs/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes * [replace_ecp_template_variables](docs/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables -* [save_portal_files](docs/ecpadmin/README.md#save_portal_files) - Add files to portal +* [save_portal_files](docs/ecpadmin/README.md#save_portal_files) - savePortalFiles * [upsert_email_templates](docs/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates -* [upsert_portal](docs/ecpadmin/README.md#upsert_portal) - upserts a portal +* [upsert_portal](docs/ecpadmin/README.md#upsert_portal) - upsertPortal ### [public](docs/public/README.md) -* [activate_user](docs/public/README.md#activate_user) - activateUser * [confirm_user](docs/public/README.md#confirm_user) - confirmUser -* [create_user](docs/public/README.md#create_user) - creates a user +* [create_user](docs/public/README.md#create_user) - createUser * [get_count_by_email](docs/public/README.md#get_count_by_email) - getCountByEmail +* [get_portal_config_by_domain](docs/public/README.md#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_public_portal_config](docs/public/README.md#get_public_portal_config) - getPublicPortalConfig * [user_exists](docs/public/README.md#user_exists) - userExists diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index add88a619..2bdb76321 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -208,4 +208,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:37:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 7f454c230..9401549e6 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -1,13 +1,13 @@ ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id='89bd9d8d-69a6-474e-8f46-7cc8796ed151', - slug='contact', + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index cfdced778..26bd739f8 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -2,49 +2,47 @@ ## Overview -ECP +APIs defined for a portal user ### Available Operations * [add_end_customer_relation_to_entity](#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity -* [delete_entity_file](#delete_entity_file) - Delete files from an entity +* [delete_entity_file](#delete_entity_file) - deleteEntityFile * [delete_portal_user](#delete_portal_user) - deletePortalUser * [get_all_contracts](#get_all_contracts) - getAllContracts * [get_all_opportunities](#get_all_opportunities) - getAllOpportunities * [get_all_orders](#get_all_orders) - getAllOrders * [get_contact](#get_contact) - getContact -* [get_contract](#get_contract) - get contract based on id +* [get_contract](#get_contract) - getContract * [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers * [get_opportunity](#get_opportunity) - getOpportunity * [get_order](#get_order) - getOrder * [get_organization_settings](#get_organization_settings) - getOrganizationSettings * [get_portal_config](#get_portal_config) - getPortalConfig -* [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain * [get_portal_user](#get_portal_user) - getPortalUser * [get_schemas](#get_schemas) - getSchemas -* [save_entity_file](#save_entity_file) - Add files to an entity -* [test_auth](#test_auth) - testAuth +* [save_entity_file](#save_entity_file) - saveEntityFile * [update_contact](#update_contact) - updateContact -* [update_contract](#update_contract) - Update contract based on id -* [update_opportunity](#update_opportunity) - Update an opportunity based on id +* [update_contract](#update_contract) - updateContract +* [update_opportunity](#update_opportunity) - updateOpportunity * [update_order](#update_order) - updateOrder * [update_portal_user](#update_portal_user) - updatePortalUser ## add_end_customer_relation_to_entity -Add EndCustomer Relation To an Entity +Add portal user relation to an entity ### Example Usage ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot() req = operations.AddEndCustomerRelationToEntityRequest( - id='a05dfc2d-df7c-4c78-8a1b-a928fc816742', - slug='contact', + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( @@ -74,7 +72,6 @@ req = shared.DeleteEntityFile( '12345', '12345', '12345', - '12345', ], ) @@ -82,13 +79,13 @@ res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.delete_entity_file_200_application_json_object is not None: +if res.delete_entity_file_202_application_json_object is not None: # handle response ``` ## delete_portal_user -TODO +Delete the portal user ### Example Usage @@ -103,13 +100,13 @@ res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.delete_portal_user_200_application_json_string is not None: +if res.delete_portal_user_200_application_json_object is not None: # handle response ``` ## get_all_contracts -TODO +Get all contracts for a portal user ### Example Usage @@ -130,7 +127,7 @@ if res.get_all_contracts_200_application_json_object is not None: ## get_all_opportunities -TODO +Get all opportunities of a portal user ### Example Usage @@ -151,7 +148,7 @@ if res.get_all_opportunities_200_application_json_object is not None: ## get_all_orders -TODO +Get all orders for the portal user ### Example Usage @@ -172,7 +169,7 @@ if res.get_all_orders_200_application_json_object is not None: ## get_contact -Get the Contact by id +Retrieves the contact by ID. ### Example Usage @@ -193,7 +190,7 @@ if res.get_contact_200_application_json_object is not None: ## get_contract -TODO +Get a contract by id ### Example Usage @@ -204,7 +201,7 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetContractRequest( - id='b7392059-2939-46fe-a759-6eb10faaa235', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.get_contract(req, operations.GetContractSecurity( @@ -217,21 +214,23 @@ if res.get_contract_200_application_json_object is not None: ## get_entities_by_identifiers -Get Entities By Identifiers +Get entities by identifiers by portal user ### Example Usage ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "nobis": 'enim', + "distinctio": 'quibusdam', + "unde": 'nulla', + "corrupti": 'illum', }, - slug='contact', + slug=shared.EntitySlug.CONTACT, ) res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( @@ -244,7 +243,7 @@ if res.get_entities_by_identifiers_200_application_json_object is not None: ## get_opportunity -TODO +Get an opportunity by id ### Example Usage @@ -255,7 +254,7 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetOpportunityRequest( - id='955907af-f1a3-4a2f-a946-7739251aa52c', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( @@ -268,7 +267,7 @@ if res.get_opportunity_200_application_json_object is not None: ## get_order -TODO +Get an order by id ### Example Usage @@ -279,7 +278,7 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetOrderRequest( - id='3f5ad019-da1f-4fe7-8f09-7b0074f15471', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.get_order(req, operations.GetOrderSecurity( @@ -292,7 +291,7 @@ if res.get_order_200_application_json_object is not None: ## get_organization_settings -get organization settings +Retrieves the organization settings. ### Example Usage @@ -307,13 +306,13 @@ res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.organization_settings is not None: +if res.get_organization_settings_200_application_json_object is not None: # handle response ``` ## get_portal_config -TODO +Retrieves the portal configuration. ### Example Usage @@ -324,7 +323,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -335,35 +334,9 @@ if res.portal_config is not None: # handle response ``` -## get_portal_config_by_domain - -TODO - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) - -req = operations.GetPortalConfigByDomainRequest( - domain='example.com', -) - -res = s.ecp.get_portal_config_by_domain(req) - -if res.portal_config is not None: - # handle response -``` - ## get_portal_user -TODO +Get the portal user details ### Example Usage @@ -378,13 +351,13 @@ res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.get_portal_user_200_application_json_object is not None: # handle response ``` ## get_schemas -TODO +Retrieves the schemas. ### Example Usage @@ -421,12 +394,11 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - '12345', - '12345', - '12345', - '12345', + 'suscipit', + 'iure', + 'magnam', ], - access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, + access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, document_type='12345', file_entity_id='12345', filename='12345', @@ -437,10 +409,7 @@ req = shared.SaveEntityFile( ), shared.SaveEntityFileFiles( tags=[ - '12345', - '12345', - '12345', - '12345', + 'delectus', ], access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', @@ -451,6 +420,20 @@ req = shared.SaveEntityFile( key='12345', ), ), + shared.SaveEntityFileFiles( + tags=[ + 'molestiae', + 'minus', + ], + access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, + document_type='12345', + file_entity_id='12345', + filename='12345', + s3ref=shared.SaveEntityFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), ], ) @@ -458,36 +441,13 @@ res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.save_entity_file_200_application_json_object is not None: - # handle response -``` - -## test_auth - -TODO - -### Example Usage - -```python -import epilot - - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) - - -res = s.ecp.test_auth() - -if res.status_code == 200: +if res.save_entity_file_201_application_json_object is not None: # handle response ``` ## update_contact -Update the contact details +Updates the contact details. ### Example Usage @@ -498,20 +458,22 @@ from epilot.models import operations s = epilot.Epilot() req = { - "quidem": 'molestias', + "iusto": 'excepturi', + "nisi": 'recusandae', + "temporibus": 'ab', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.update_contact_200_application_json_object is not None: # handle response ``` ## update_contract -TODO +Update a contract by id ### Example Usage @@ -523,11 +485,10 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "pariatur": 'modi', - "praesentium": 'rem', - "voluptates": 'quasi', + "veritatis": 'deserunt', + "perferendis": 'ipsam', }, - id='e91e450a-d2ab-4d44-a698-02d502a94bb4', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.update_contract(req, operations.UpdateContractSecurity( @@ -540,7 +501,7 @@ if res.update_contract_200_application_json_object is not None: ## update_opportunity -TODO +Update an opportunity by id ### Example Usage @@ -552,12 +513,12 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "eum": 'non', - "eligendi": 'sint', - "aliquid": 'provident', - "necessitatibus": 'sint', + "sapiente": 'quo', + "odit": 'at', + "at": 'maiores', + "molestiae": 'quod', }, - id='a3efa77d-fb14-4cd6-aae3-95efb9ba88f3', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( @@ -570,7 +531,7 @@ if res.update_opportunity_200_application_json_object is not None: ## update_order -Update the order details +Update an order by id ### Example Usage @@ -582,18 +543,19 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "nisi": 'vel', - "natus": 'omnis', - "molestiae": 'perferendis', + "esse": 'totam', + "porro": 'dolorum', + "dicta": 'nam', + "officia": 'occaecati', }, - id='74ba4469-b6e2-4141-9598-90afa563e251', + id='5da0a718-c822-403d-9f5d-20d4584e0528', ) res = s.ecp.update_order(req, operations.UpdateOrderSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.update_order_200_application_json_object is not None: # handle response ``` @@ -610,14 +572,13 @@ from epilot.models import operations s = epilot.Epilot() req = { - "doloribus": 'debitis', - "eius": 'maxime', + "deleniti": 'hic', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( portal_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.update_portal_user_200_application_json_object is not None: # handle response ``` diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 05cebf4f4..77920ac09 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -2,12 +2,12 @@ ## Overview -ECP Admin +APIs defined for a ECP Admin ### Available Operations * [configure_distribution](#configure_distribution) - configureDistribution -* [create_sso_user](#create_sso_user) - creates a sso user +* [create_sso_user](#create_sso_user) - createSSOUser * [delete_portal](#delete_portal) - deletePortal * [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes * [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs @@ -16,16 +16,15 @@ ECP Admin * [get_entity_identifiers](#get_entity_identifiers) - getEntityIdentifiers * [get_org_portal_config](#get_org_portal_config) - getOrgPortalConfig * [get_portal_config](#get_portal_config) - getPortalConfig -* [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig * [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes * [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables -* [save_portal_files](#save_portal_files) - Add files to portal +* [save_portal_files](#save_portal_files) - savePortalFiles * [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates -* [upsert_portal](#upsert_portal) - upserts a portal +* [upsert_portal](#upsert_portal) - upsertPortal ## configure_distribution -TODO +Configure the distribution for the portal's custom domain ### Example Usage @@ -49,7 +48,7 @@ if res.configure_distribution_200_application_json_object is not None: ## create_sso_user -Creates a sso user as portal user +Creates a portal user as an SSO user. ### Example Usage @@ -60,7 +59,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.CreateSSOUserRequest( - request_body=operations.CreateSSOUserRequestBody( + create_sso_user_request=shared.CreateSSOUserRequest( email='testemail921@yopmail.com', first_name='John', last_name='Doe', @@ -78,7 +77,7 @@ if res.create_sso_user_201_application_json_object is not None: ## delete_portal -TODO +Deletes the portal. ### Example Usage @@ -102,7 +101,7 @@ if res.status_code == 200: ## extra_permission_attributes -TODO +Retrieves the extra permission attributes. ### Example Usage @@ -123,7 +122,7 @@ if res.extra_permission_attributes_200_application_json_object is not None: ## get_all_portal_configs -TODO +Retrieves all portal configurations. ### Example Usage @@ -162,13 +161,13 @@ res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( epilot_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.get_ecp_contact_200_application_json_object is not None: # handle response ``` ## get_email_templates -TODO +Retrieves the email templates of a portal ### Example Usage @@ -192,18 +191,18 @@ if res.email_templates is not None: ## get_entity_identifiers -Get Entity's Identifiers +Retrieve a list of entity identifiers used for entity search by portal users. ### Example Usage ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetEntityIdentifiersRequest( - slug='contact', + slug=shared.EntitySlug.CONTACT, ) res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( @@ -216,7 +215,7 @@ if res.get_entity_identifiers_200_application_json_object is not None: ## get_org_portal_config -TODO +Retrieves the portal configuration for the organization. ### Example Usage @@ -240,7 +239,7 @@ if res.portal_config is not None: ## get_portal_config -TODO +Retrieves the portal configuration. ### Example Usage @@ -251,7 +250,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -262,36 +261,9 @@ if res.portal_config is not None: # handle response ``` -## get_public_portal_config - -TODO - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) - -req = operations.GetPublicPortalConfigRequest( - org_id='12324', - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.get_public_portal_config(req) - -if res.portal_config is not None: - # handle response -``` - ## get_valid_secondary_attributes -Get Valid Secondary Attributes +Get valid secondary attributes that are used while mapping a contact on registration ### Example Usage @@ -312,7 +284,7 @@ if res.get_valid_secondary_attributes_200_application_json_object is not None: ## replace_ecp_template_variables -TODO +Replaces the template variables of a portal ### Example Usage @@ -326,7 +298,7 @@ req = operations.ReplaceECPTemplateVariablesRequest( request_body=operations.ReplaceECPTemplateVariablesRequestBody( contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( @@ -353,10 +325,9 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - '12345', - '12345', - '12345', - '12345', + 'esse', + 'ipsum', + 'excepturi', ], file_type='orderRightTeaser', filename='12345', @@ -367,10 +338,32 @@ req = shared.SavePortalFile( ), shared.SavePortalFileFiles( tags=[ - '12345', - '12345', - '12345', - '12345', + 'perferendis', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'natus', + 'sed', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'dolor', + 'natus', + 'laboriosam', ], file_type='orderRightTeaser', filename='12345', @@ -380,20 +373,20 @@ req = shared.SavePortalFile( ), ), ], - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( epilot_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.entity_item is not None: +if res.save_portal_files_201_application_json_object is not None: # handle response ``` ## upsert_email_templates -TODO +Upserts the email templates of a portal ### Example Usage @@ -405,11 +398,11 @@ s = epilot.Epilot() req = operations.UpsertEmailTemplatesRequest( email_templates=shared.EmailTemplates( - confirm_account='saepe', - forgot_password='pariatur', - invitation='accusantium', - on_map_a_pending_user='consequuntur', - on_new_quote='praesentium', + confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', + forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', + invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', + on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', + on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -424,7 +417,7 @@ if res.upsert_email_templates_200_application_json_object is not None: ## upsert_portal -upserts a portal and db item +Upserts the settings for a portal of an organization. ### Example Usage @@ -441,82 +434,74 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='magni', + config='fuga', contact_secondary_identifier='full_name', - default_user_to_notify={ - "quo": 'illum', - }, - design_id='3134', - email_templates=shared.UpsertPortalConfigEmailTemplates( + default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( + on_pending_user={ + "corporis": 'iste', + "iure": 'saepe', + }, + ), + design_id='9ba94f20-b872-4217-a259-2a90a8ee1a29', + domain='abc.com', + email_templates=shared.EmailTemplates( confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', + on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', + on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - enabled=True, + enabled=False, entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='maxime', - en='ea', + de='architecto', + en='ipsa', ), - journey_id='excepturi', - slug='contact', + journey_id='reiciendis', + slug=shared.EntitySlug.CONTACT, ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='odit', - en='ea', + de='est', + en='mollitia', ), - journey_id='accusantium', - slug='contact', + journey_id='laborum', + slug=shared.EntitySlug.CONTACT, ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='ab', - en='maiores', + de='dolores', + en='dolorem', ), - journey_id='quidem', - slug='contact', - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='ipsam', - en='voluptate', - ), - journey_id='autem', - slug='contact', + journey_id='corporis', + slug=shared.EntitySlug.CONTACT, ), ], - entity_identifiers={ - "eaque": shared.UpsertPortalConfigEntityIdentifiers( + entity_identifiers=shared.UpsertPortalConfigEntityIdentifiers( + type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ 'contract_number', - 'contract_number', - 'contract_number', - 'contract_number', ], is_enabled=False, ), - "nemo": shared.UpsertPortalConfigEntityIdentifiers( - attributes=[ - 'contract_number', - 'contract_number', - 'contract_number', - 'contract_number', - ], - is_enabled=False, + ), + grants=[ + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.ALLOW, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), - "perferendis": shared.UpsertPortalConfigEntityIdentifiers( - attributes=[ - 'contract_number', - 'contract_number', - 'contract_number', - 'contract_number', - ], - is_enabled=False, + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.DENY, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', + ), + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.ALLOW, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), - }, - grants=[ shared.Grant( action='entity-read', effect=shared.GrantEffect.ALLOW, @@ -528,8 +513,8 @@ req = operations.UpsertPortalRequest( order_right_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg', welcome_banner='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg', ), - is_epilot_domain=True, - name='My Portal', + is_epilot_domain=False, + name='Installer Portal', self_registration=False, ), origin=shared.Origin.INSTALLER_PORTAL, @@ -539,6 +524,6 @@ res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( epilot_auth="YOUR_BEARER_TOKEN_HERE", )) -if res.add_portal_resp is not None: +if res.portal_config is not None: # handle response ``` diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index f07f0f2ea..e732ffd4e 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -2,49 +2,20 @@ ## Overview -Public +Public APIs ### Available Operations -* [activate_user](#activate_user) - activateUser * [confirm_user](#confirm_user) - confirmUser -* [create_user](#create_user) - creates a user +* [create_user](#create_user) - createUser * [get_count_by_email](#get_count_by_email) - getCountByEmail +* [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig * [user_exists](#user_exists) - userExists -## activate_user - -Activates the user - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - as_customer="YOUR_API_KEY_HERE", - ), -) - -req = operations.ActivateUserRequest( - user_activation_payload=shared.UserActivationPayload( - display_name='Example User', - password='AKjhdakjsdh@!34', - ), - token='corporis', -) - -res = s.public.activate_user(req) - -if res.status_code == 200: - # handle response -``` - ## confirm_user -TODO +Confirm a portal user ### Example Usage @@ -54,25 +25,25 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - as_customer="YOUR_API_KEY_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) req = operations.ConfirmUserRequest( - id='fbb25870-5320-42c7-bd5f-e9b90c28909b', + id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) -if res.entity_item is not None: +if res.status_code == 200: # handle response ``` ## create_user -Creates a user in cognito pool and db item +Registers a portal user ### Example Usage @@ -82,24 +53,26 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - as_customer="YOUR_API_KEY_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) req = operations.CreateUserRequest( - request_body=operations.CreateUserRequestBody( + create_user_request=shared.CreateUserRequest( contact_id='123456', email='testemail921@yopmail.com', + first_name='John', + last_name='Doe', org_id='728', - password='Pass1234!', + password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) -if res.add_portal_resp is not None: +if res.create_user_201_application_json_object is not None: # handle response ``` @@ -115,7 +88,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - as_customer="YOUR_API_KEY_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -130,9 +103,62 @@ if res.get_count_by_email_200_application_json_object is not None: # handle response ``` +## get_portal_config_by_domain + +Retrieves the portal configuration by domain. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="YOUR_BEARER_TOKEN_HERE", + ), +) + +req = operations.GetPortalConfigByDomainRequest( + domain='example.com', +) + +res = s.public.get_portal_config_by_domain(req) + +if res.portal_config is not None: + # handle response +``` + +## get_public_portal_config + +Retrieves the public portal configuration. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="YOUR_BEARER_TOKEN_HERE", + ), +) + +req = operations.GetPublicPortalConfigRequest( + org_id='12324', + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.public.get_public_portal_config(req) + +if res.portal_config is not None: + # handle response +``` + ## user_exists -Checks whether a user exists in the customer portal +Checks whether a user exists in the portal ### Example Usage @@ -142,7 +168,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - as_customer="YOUR_API_KEY_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 5e45d4b90..5b0ae7ef9 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -23,11 +23,9 @@ src/epilot/models/operations/getopportunity.py src/epilot/models/operations/getorder.py src/epilot/models/operations/getorganizationsettings.py src/epilot/models/operations/getportalconfig.py -src/epilot/models/operations/getportalconfigbydomain.py src/epilot/models/operations/getportaluser.py src/epilot/models/operations/getschemas.py src/epilot/models/operations/saveentityfile.py -src/epilot/models/operations/testauth.py src/epilot/models/operations/updatecontact.py src/epilot/models/operations/updatecontract.py src/epilot/models/operations/updateopportunity.py @@ -42,31 +40,32 @@ src/epilot/models/operations/getecpcontact.py src/epilot/models/operations/getemailtemplates.py src/epilot/models/operations/getentityidentifiers.py src/epilot/models/operations/getorgportalconfig.py -src/epilot/models/operations/getpublicportalconfig.py src/epilot/models/operations/getvalidsecondaryattributes.py src/epilot/models/operations/replaceecptemplatevariables.py src/epilot/models/operations/saveportalfiles.py src/epilot/models/operations/upsertemailtemplates.py src/epilot/models/operations/upsertportal.py -src/epilot/models/operations/activateuser.py src/epilot/models/operations/confirmuser.py src/epilot/models/operations/createuser.py src/epilot/models/operations/getcountbyemail.py +src/epilot/models/operations/getportalconfigbydomain.py +src/epilot/models/operations/getpublicportalconfig.py src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py -src/epilot/models/shared/deleteentityfile.py src/epilot/models/shared/errorresp.py +src/epilot/models/shared/entityslug.py +src/epilot/models/shared/deleteentityfile.py src/epilot/models/shared/organizationsettings.py src/epilot/models/shared/portalconfig.py src/epilot/models/shared/origin.py src/epilot/models/shared/grant.py +src/epilot/models/shared/emailtemplates.py src/epilot/models/shared/saveentityfile.py +src/epilot/models/shared/createssouserrequest.py src/epilot/models/shared/extraschemaattributes.py -src/epilot/models/shared/emailtemplates.py src/epilot/models/shared/saveportalfile.py -src/epilot/models/shared/addportalresp.py src/epilot/models/shared/upsertportalconfig.py -src/epilot/models/shared/useractivationpayload.py +src/epilot/models/shared/createuserrequest.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py docs/epilot/README.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 094e7a4d3..f611dbe69 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: a522cb739e2a8eaa5f99c3dde94f467f + docChecksum: 6f02eaefe4fb335c3e99bd355579d7be 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/customer_portal/setup.py b/customer_portal/setup.py index 1f913694a..b19f2c386 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,29 +10,29 @@ setuptools.setup( name="epilot-customer-portal", - 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/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 2c92ec6fd..b4949520a 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -6,7 +6,7 @@ from typing import Any, Optional class Ecp: - r"""ECP""" + r"""APIs defined for a portal user""" _client: requests_http.Session _security_client: requests_http.Session _server_url: str @@ -25,13 +25,13 @@ def __init__(self, client: requests_http.Session, security_client: requests_http def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomerRelationToEntityRequest, security: operations.AddEndCustomerRelationToEntitySecurity) -> operations.AddEndCustomerRelationToEntityResponse: r"""addEndCustomerRelationToEntity - Add EndCustomer Relation To an Entity + Add portal user relation to an entity """ base_url = self._server_url url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -45,12 +45,16 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.AddEndCustomerRelationToEntity200ApplicationJSON]) res.add_end_customer_relation_to_entity_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def delete_entity_file(self, request: shared.DeleteEntityFile, security: operations.DeleteEntityFileSecurity) -> operations.DeleteEntityFileResponse: - r"""Delete files from an entity + r"""deleteEntityFile Delete files from an entity """ base_url = self._server_url @@ -62,7 +66,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -72,23 +76,27 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati res = operations.DeleteEntityFileResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code == 200: + if http_res.status_code == 202: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[operations.DeleteEntityFile200ApplicationJSON]) - res.delete_entity_file_200_application_json_object = out + out = utils.unmarshal_json(http_res.text, Optional[operations.DeleteEntityFile202ApplicationJSON]) + res.delete_entity_file_202_application_json_object = out + elif http_res.status_code in [400, 401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> operations.DeletePortalUserResponse: r"""deletePortalUser - TODO + Delete the portal user """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/user' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -100,20 +108,25 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - res.delete_portal_user_200_application_json_string = http_res.content + out = utils.unmarshal_json(http_res.text, Optional[operations.DeletePortalUser200ApplicationJSON]) + res.delete_portal_user_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> operations.GetAllContractsResponse: r"""getAllContracts - TODO + Get all contracts for a portal user """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contract' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -127,19 +140,23 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllContracts200ApplicationJSON]) res.get_all_contracts_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities - TODO + Get all opportunities of a portal user """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/opportunity' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -153,19 +170,23 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllOpportunities200ApplicationJSON]) res.get_all_opportunities_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operations.GetAllOrdersResponse: r"""getAllOrders - TODO + Get all orders for the portal user """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/order' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -179,13 +200,17 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllOrders200ApplicationJSON]) res.get_all_orders_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_contact(self, security: operations.GetContactSecurity) -> operations.GetContactResponse: r"""getContact - Get the Contact by id + Retrieves the contact by ID. """ base_url = self._server_url @@ -205,7 +230,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetContact200ApplicationJSON]) res.get_contact_200_application_json_object = out - elif http_res.status_code == 500: + elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out @@ -214,14 +239,14 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get def get_contract(self, request: operations.GetContractRequest, security: operations.GetContractSecurity) -> operations.GetContractResponse: - r"""get contract based on id - TODO + r"""getContract + Get a contract by id """ base_url = self._server_url url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -235,13 +260,17 @@ def get_contract(self, request: operations.GetContractRequest, security: operati if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetContract200ApplicationJSON]) res.get_contract_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifiersRequest, security: operations.GetEntitiesByIdentifiersSecurity) -> operations.GetEntitiesByIdentifiersResponse: r"""getEntitiesByIdentifiers - Get Entities By Identifiers + Get entities by identifiers by portal user """ base_url = self._server_url @@ -252,7 +281,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -266,19 +295,23 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetEntitiesByIdentifiers200ApplicationJSON]) res.get_entities_by_identifiers_200_application_json_object = out + elif http_res.status_code in [400, 401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_opportunity(self, request: operations.GetOpportunityRequest, security: operations.GetOpportunitySecurity) -> operations.GetOpportunityResponse: r"""getOpportunity - TODO + Get an opportunity by id """ base_url = self._server_url url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -292,19 +325,23 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetOpportunity200ApplicationJSON]) res.get_opportunity_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_order(self, request: operations.GetOrderRequest, security: operations.GetOrderSecurity) -> operations.GetOrderResponse: r"""getOrder - TODO + Get an order by id """ base_url = self._server_url url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -318,19 +355,23 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetOrder200ApplicationJSON]) res.get_order_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_organization_settings(self, security: operations.GetOrganizationSettingsSecurity) -> operations.GetOrganizationSettingsResponse: r"""getOrganizationSettings - get organization settings + Retrieves the organization settings. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/org/settings' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -342,22 +383,26 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.OrganizationSettings]) - res.organization_settings = out + out = utils.unmarshal_json(http_res.text, Optional[operations.GetOrganizationSettings200ApplicationJSON]) + res.get_organization_settings_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_portal_config(self, request: operations.GetPortalConfigRequest, security: operations.GetPortalConfigSecurity) -> operations.GetPortalConfigResponse: r"""getPortalConfig - TODO + Retrieves the portal configuration. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -371,46 +416,23 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out - - return res - - - def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomainRequest) -> operations.GetPortalConfigByDomainResponse: - r"""getPortalConfigByDomain - TODO - """ - base_url = self._server_url - - url = base_url.removesuffix('/') + '/v2/portal/public/config' - headers = {} - query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) - headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' - - client = self._security_client - - http_res = client.request('GET', url, params=query_params, headers=headers) - content_type = http_res.headers.get('Content-Type') - - res = operations.GetPortalConfigByDomainResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - - if http_res.status_code == 200: + elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) - res.portal_config = out + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operations.GetPortalUserResponse: r"""getPortalUser - TODO + Get the portal user details """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/user' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -422,21 +444,25 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati 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]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[operations.GetPortalUser200ApplicationJSON]) + res.get_portal_user_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.GetSchemasResponse: r"""getSchemas - TODO + Retrieves the schemas. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/schemas' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -450,12 +476,16 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetSchemas200ApplicationJSON]) res.get_schemas_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def save_entity_file(self, request: shared.SaveEntityFile, security: operations.SaveEntityFileSecurity) -> operations.SaveEntityFileResponse: - r"""Add files to an entity + r"""saveEntityFile Add files to an entity """ base_url = self._server_url @@ -467,7 +497,7 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -477,39 +507,21 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. res = operations.SaveEntityFileResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code == 200: + if http_res.status_code == 201: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[operations.SaveEntityFile200ApplicationJSON]) - res.save_entity_file_200_application_json_object = out - - return res - - - def test_auth(self) -> operations.TestAuthResponse: - r"""testAuth - TODO - """ - base_url = self._server_url - - url = base_url.removesuffix('/') + '/v2/portal/auth' - headers = {} - headers['Accept'] = '*/*' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' - - client = self._security_client - - http_res = client.request('GET', url, headers=headers) - content_type = http_res.headers.get('Content-Type') - - res = operations.TestAuthResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - + out = utils.unmarshal_json(http_res.text, Optional[operations.SaveEntityFile201ApplicationJSON]) + res.save_entity_file_201_application_json_object = out + elif http_res.status_code in [400, 401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def update_contact(self, request: dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: r"""updateContact - Update the contact details + Updates the contact details. """ base_url = self._server_url @@ -518,7 +530,7 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -530,15 +542,19 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon 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]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateContact200ApplicationJSON]) + res.update_contact_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def update_contract(self, request: operations.UpdateContractRequest, security: operations.UpdateContractSecurity) -> operations.UpdateContractResponse: - r"""Update contract based on id - TODO + r"""updateContract + Update a contract by id """ base_url = self._server_url @@ -549,7 +565,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -563,13 +579,17 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateContract200ApplicationJSON]) res.update_contract_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def update_opportunity(self, request: operations.UpdateOpportunityRequest, security: operations.UpdateOpportunitySecurity) -> operations.UpdateOpportunityResponse: - r"""Update an opportunity based on id - TODO + r"""updateOpportunity + Update an opportunity by id """ base_url = self._server_url @@ -580,7 +600,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -594,13 +614,17 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateOpportunity200ApplicationJSON]) res.update_opportunity_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def update_order(self, request: operations.UpdateOrderRequest, security: operations.UpdateOrderSecurity) -> operations.UpdateOrderResponse: r"""updateOrder - Update the order details + Update an order by id """ base_url = self._server_url @@ -609,7 +633,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati 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['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -621,8 +645,12 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati 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]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateOrder200ApplicationJSON]) + res.update_order_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res @@ -638,7 +666,7 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -650,8 +678,12 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat 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]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[operations.UpdatePortalUser200ApplicationJSON]) + res.update_portal_user_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 344ce0234..a4af76cd1 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -3,10 +3,10 @@ import requests as requests_http from . import utils from epilot.models import operations, shared -from typing import Any, Optional +from typing import Optional class ECPAdmin: - r"""ECP Admin""" + r"""APIs defined for a ECP Admin""" _client: requests_http.Session _security_client: requests_http.Session _server_url: str @@ -25,14 +25,14 @@ def __init__(self, client: requests_http.Session, security_client: requests_http def configure_distribution(self, request: operations.ConfigureDistributionRequest, security: operations.ConfigureDistributionSecurity) -> operations.ConfigureDistributionResponse: r"""configureDistribution - TODO + Configure the distribution for the portal's custom domain """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/configure-distribution' headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -46,19 +46,23 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ConfigureDistribution200ApplicationJSON]) res.configure_distribution_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def create_sso_user(self, request: operations.CreateSSOUserRequest, security: operations.CreateSSOUserSecurity) -> operations.CreateSSOUserResponse: - r"""creates a sso user - Creates a sso user as portal user + r"""createSSOUser + Creates a portal user as an SSO user. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/sso/user' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "create_sso_user_request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: @@ -88,14 +92,14 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op def delete_portal(self, request: operations.DeletePortalRequest, security: operations.DeletePortalSecurity) -> operations.DeletePortalResponse: r"""deletePortal - TODO + Deletes the portal. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) - headers['Accept'] = '*/*' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -105,19 +109,25 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera res = operations.DeletePortalResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + if http_res.status_code == 204: + pass + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def extra_permission_attributes(self, security: operations.ExtraPermissionAttributesSecurity) -> operations.ExtraPermissionAttributesResponse: r"""extraPermissionAttributes - TODO + Retrieves the extra permission attributes. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -131,19 +141,23 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ExtraPermissionAttributes200ApplicationJSON]) res.extra_permission_attributes_200_application_json_object = out + elif http_res.status_code == 500: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurity) -> operations.GetAllPortalConfigsResponse: r"""getAllPortalConfigs - TODO + Retrieves all portal configurations. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/configs' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -157,6 +171,10 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllPortalConfigs200ApplicationJSON]) res.get_all_portal_configs_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res @@ -182,9 +200,9 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op 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]]) - res.entity_item = out - elif http_res.status_code == 500: + out = utils.unmarshal_json(http_res.text, Optional[operations.GetECPContact200ApplicationJSON]) + res.get_ecp_contact_200_application_json_object = out + elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out @@ -194,14 +212,14 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op def get_email_templates(self, request: operations.GetEmailTemplatesRequest, security: operations.GetEmailTemplatesSecurity) -> operations.GetEmailTemplatesResponse: r"""getEmailTemplates - TODO + Retrieves the email templates of a portal """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/email-templates' headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -215,19 +233,23 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.EmailTemplates]) res.email_templates = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest, security: operations.GetEntityIdentifiersSecurity) -> operations.GetEntityIdentifiersResponse: r"""getEntityIdentifiers - Get Entity's Identifiers + Retrieve a list of entity identifiers used for entity search by portal users. """ base_url = self._server_url url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -241,20 +263,24 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetEntityIdentifiers200ApplicationJSON]) res.get_entity_identifiers_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, security: operations.GetOrgPortalConfigSecurity) -> operations.GetOrgPortalConfigResponse: r"""getOrgPortalConfig - TODO + Retrieves the portal configuration for the organization. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/org/portal/config' headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -268,20 +294,24 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_portal_config(self, request: operations.GetPortalConfigRequest, security: operations.GetPortalConfigSecurity) -> operations.GetPortalConfigResponse: r"""getPortalConfig - TODO + Retrieves the portal configuration. """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -295,46 +325,23 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out - - return res - - - def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequest) -> operations.GetPublicPortalConfigResponse: - r"""getPublicPortalConfig - TODO - """ - base_url = self._server_url - - url = base_url.removesuffix('/') + '/v2/portal/public/portal/config' - headers = {} - query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) - headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' - - client = self._security_client - - http_res = client.request('GET', url, params=query_params, headers=headers) - content_type = http_res.headers.get('Content-Type') - - res = operations.GetPublicPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - - if http_res.status_code == 200: + elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) - res.portal_config = out + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryAttributesSecurity) -> operations.GetValidSecondaryAttributesResponse: r"""getValidSecondaryAttributes - Get Valid Secondary Attributes + Get valid secondary attributes that are used while mapping a contact on registration """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' headers = {} - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -348,13 +355,17 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetValidSecondaryAttributes200ApplicationJSON]) res.get_valid_secondary_attributes_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateVariablesRequest, security: operations.ReplaceECPTemplateVariablesSecurity) -> operations.ReplaceECPTemplateVariablesResponse: r"""replaceECPTemplateVariables - TODO + Replaces the template variables of a portal """ base_url = self._server_url @@ -366,7 +377,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -380,12 +391,16 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ReplaceECPTemplateVariables200ApplicationJSON]) res.replace_ecp_template_variables_200_application_json_object = out + elif http_res.status_code in [401, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def save_portal_files(self, request: shared.SavePortalFile, security: operations.SavePortalFilesSecurity) -> operations.SavePortalFilesResponse: - r"""Add files to portal + r"""savePortalFiles Add files to portal """ base_url = self._server_url @@ -397,7 +412,7 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -407,17 +422,21 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations res = operations.SavePortalFilesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code == 200: + if http_res.status_code == 201: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.SavePortalFiles201ApplicationJSON]) + res.save_portal_files_201_application_json_object = out + elif http_res.status_code in [400, 401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[dict[str, Any]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest, security: operations.UpsertEmailTemplatesSecurity) -> operations.UpsertEmailTemplatesResponse: r"""upsertEmailTemplates - TODO + Upserts the email templates of a portal """ base_url = self._server_url @@ -429,7 +448,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = utils.configure_security_client(self._client, security) @@ -443,13 +462,17 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpsertEmailTemplates200ApplicationJSON]) res.upsert_email_templates_200_application_json_object = out + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def upsert_portal(self, request: operations.UpsertPortalRequest, security: operations.UpsertPortalSecurity) -> operations.UpsertPortalResponse: - r"""upserts a portal - upserts a portal and db item + r"""upsertPortal + Upserts the settings for a portal of an organization. """ base_url = self._server_url @@ -473,9 +496,9 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera if http_res.status_code == 201: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.AddPortalResp]) - res.add_portal_resp = out - elif http_res.status_code in [400, 401, 500]: + out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) + res.portal_config = out + elif http_res.status_code in [400, 401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 63e298b0d..036ca1e38 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -1,6 +1,5 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -from .activateuser import * from .addendcustomerrelationtoentity import * from .configuredistribution import * from .confirmuser import * @@ -34,7 +33,6 @@ from .replaceecptemplatevariables import * from .saveentityfile import * from .saveportalfiles import * -from .testauth import * from .updatecontact import * from .updatecontract import * from .updateopportunity import * @@ -44,4 +42,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["ActivateUserRequest","ActivateUserResponse","AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserRequestBody","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUserRequest","CreateUserRequestBody","CreateUserResponse","DeleteEntityFile200ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile200ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFilesResponse","SavePortalFilesSecurity","TestAuthResponse","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExists404ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/activateuser.py b/customer_portal/src/epilot/models/operations/activateuser.py deleted file mode 100755 index 9aead7781..000000000 --- a/customer_portal/src/epilot/models/operations/activateuser.py +++ /dev/null @@ -1,24 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -import requests as requests_http -from ..shared import useractivationpayload as shared_useractivationpayload -from typing import Optional - - -@dataclasses.dataclass -class ActivateUserRequest: - - token: str = dataclasses.field(metadata={'query_param': { 'field_name': 'token', 'style': 'form', 'explode': True }}) - r"""Invite Token""" - user_activation_payload: Optional[shared_useractivationpayload.UserActivationPayload] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - - -@dataclasses.dataclass -class ActivateUserResponse: - - 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/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index 66166af1c..34e1f84b0 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -3,6 +3,8 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityslug as shared_entityslug +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,15 +20,15 @@ class AddEndCustomerRelationToEntitySecurity: class AddEndCustomerRelationToEntityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the Entity""" - slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) + r"""The ID of the Entity""" + slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class AddEndCustomerRelationToEntity200ApplicationJSON: - r"""The returned Entity""" + r"""Portal user is added as a relation to the requested entity successfully.""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) @@ -38,6 +40,8 @@ class AddEndCustomerRelationToEntityResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() add_end_customer_relation_to_entity_200_application_json_object: Optional[AddEndCustomerRelationToEntity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned Entity""" + r"""Portal user is added as a relation to the requested entity successfully.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 5a55db94c..7fb9dc036 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -25,9 +26,10 @@ class ConfigureDistributionRequest: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ConfigureDistribution200ApplicationJSON: - r"""The returned configured distribution id""" + r"""The cloudfront distribution has been configure successfully for the custom domain.""" domain_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domainName'), 'exclude': lambda f: f is None }}) + r"""The domain name of the configured distribution""" @dataclasses.dataclass @@ -36,6 +38,8 @@ class ConfigureDistributionResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() configure_distribution_200_application_json_object: Optional[ConfigureDistribution200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned configured distribution id""" + r"""The cloudfront distribution has been configure successfully for the custom domain.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index d7bdef9a8..b71ca162e 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -3,16 +3,18 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin -from typing import Any, Optional +from typing import Optional @dataclasses.dataclass class ConfirmUserRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of portal user id""" + r"""The ID of portal user id""" org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + r"""Organization ID""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" @@ -22,7 +24,7 @@ class ConfirmUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 7da3c3925..54bfa7bd0 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import createssouserrequest as shared_createssouserrequest from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json @@ -16,31 +17,22 @@ class CreateSSOUserSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class CreateSSOUserRequestBody: - r"""Portal payload""" - - email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) - first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) - last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) - - @dataclasses.dataclass class CreateSSOUserRequest: + create_sso_user_request: shared_createssouserrequest.CreateSSOUserRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + r"""Portal user payload""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" - request_body: CreateSSOUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class CreateSSOUser201ApplicationJSON: - r"""Success - SSO User created with success.""" + r"""SSO User created successfully.""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The portal user entity""" @dataclasses.dataclass @@ -49,8 +41,8 @@ class CreateSSOUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) - r"""Success - SSO User created with success.""" + r"""SSO User created successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" + r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index f47bd1b90..61b880c92 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -3,33 +3,35 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import addportalresp as shared_addportalresp +from ..shared import createuserrequest as shared_createuserrequest from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils -from typing import Optional +from typing import Any, Optional -@dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class CreateUserRequestBody: - r"""Portal payload""" +class CreateUserRequest: - contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), '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 }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) + create_user_request: shared_createuserrequest.CreateUserRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + r"""Portal user payload""" + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" +class CreateUser201ApplicationJSONMessage(str, Enum): + USER_CREATED_SUCCESSFULLY = 'User created successfully' + +@dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class CreateUserRequest: +class CreateUser201ApplicationJSON: + r"""User created successfully.""" - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" - request_body: CreateUserRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + message: CreateUser201ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + response: dict[str, Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) + r"""The portal user entity""" @dataclasses.dataclass @@ -37,9 +39,9 @@ class CreateUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - user created with success.""" + create_user_201_application_json_object: Optional[CreateUser201ApplicationJSON] = dataclasses.field(default=None) + r"""User created successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" + r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index 72dbb7d5b..a199cec34 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -16,8 +17,8 @@ class DeleteEntityFileSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class DeleteEntityFile200ApplicationJSON: - r"""The returned File Entities""" +class DeleteEntityFile202ApplicationJSON: + r"""The files are removed from the requested entity successfully.""" deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class DeleteEntityFileResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - delete_entity_file_200_application_json_object: Optional[DeleteEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" + delete_entity_file_202_application_json_object: Optional[DeleteEntityFile202ApplicationJSON] = dataclasses.field(default=None) + r"""The files are removed from the requested entity successfully.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index 9653b689a..de6a58292 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from typing import Optional @@ -25,5 +26,7 @@ class DeletePortalResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index caf8ddffc..d914f13d8 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -3,6 +3,10 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils from typing import Optional @@ -11,13 +15,28 @@ class DeletePortalUserSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +class DeletePortalUser200ApplicationJSONMessage(str, Enum): + USER_SUCCESFULLY_DELETED = 'User Succesfully Deleted' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DeletePortalUser200ApplicationJSON: + r"""Portal user deleted successfully.""" + + data: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""Entity ID""" + message: Optional[DeletePortalUser200ApplicationJSONMessage] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + @dataclasses.dataclass class DeletePortalUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - delete_portal_user_200_application_json_string: Optional[str] = dataclasses.field(default=None) - r"""The returned portal user id""" + delete_portal_user_200_application_json_object: Optional[DeletePortalUser200ApplicationJSON] = dataclasses.field(default=None) + r"""Portal user deleted successfully.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 815fbe06f..3efbeeb01 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import extraschemaattributes as shared_extraschemaattributes from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -21,6 +22,8 @@ class ExtraPermissionAttributes200ApplicationJSONData: contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) + meter: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter'), 'exclude': lambda f: f is None }}) + meter_counter: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter_counter'), 'exclude': lambda f: f is None }}) opportunity: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) @@ -28,7 +31,7 @@ class ExtraPermissionAttributes200ApplicationJSONData: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSON: - r"""Success""" + r"""Retrieved extra permission attributes successfully.""" data: Optional[ExtraPermissionAttributes200ApplicationJSONData] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -38,7 +41,9 @@ class ExtraPermissionAttributesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" extra_permission_attributes_200_application_json_object: Optional[ExtraPermissionAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" + r"""Retrieved extra permission attributes successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index bd56bf5cd..87da0e0c9 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -17,7 +18,7 @@ class GetAllContractsSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllContracts200ApplicationJSON: - r"""The returned contracts""" + r"""Contracts have been retrieved successfully.""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class GetAllContractsResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_all_contracts_200_application_json_object: Optional[GetAllContracts200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contracts""" + r"""Contracts have been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index bacfb2705..7824bf42c 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -17,7 +18,7 @@ class GetAllOpportunitiesSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOpportunities200ApplicationJSON: - r"""The returned opportunities""" + r"""The opportunities is retrieved successfully for the portal user.""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class GetAllOpportunitiesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_all_opportunities_200_application_json_object: Optional[GetAllOpportunities200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunities""" + r"""The opportunities is retrieved successfully for the portal user.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index 8543e528a..bbdf45931 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -17,7 +18,7 @@ class GetAllOrdersSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllOrders200ApplicationJSON: - r"""The returned orders""" + r"""The orders for the portal user returned successfully.""" data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class GetAllOrdersResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_all_orders_200_application_json_object: Optional[GetAllOrders200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned orders""" + r"""The orders for the portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index c3839185d..021e9e2cd 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import portalconfig as shared_portalconfig from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -18,7 +19,7 @@ class GetAllPortalConfigsSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllPortalConfigs200ApplicationJSON: - r"""ok""" + r"""All portal configs retrieved successfully.""" data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -28,7 +29,9 @@ class GetAllPortalConfigsResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_all_portal_configs_200_application_json_object: Optional[GetAllPortalConfigs200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" + r"""All portal configs retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index afca5ccef..7566a2eef 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -18,9 +18,10 @@ class GetContactSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetContact200ApplicationJSON: - r"""The returned contact""" + r"""Retrieves the mapped contact of the logged in user successfully.""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + r"""The mapped contact of the portal user""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) @@ -31,8 +32,8 @@ class GetContactResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" + r"""Could not authenticate the user""" get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contact""" + r"""Retrieves the mapped contact of the logged in user successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index 7a86d5515..9d96c45e5 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,18 +19,22 @@ class GetContractSecurity: class GetContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" + r"""The ID of the contract""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetContract200ApplicationJSON: - r"""The returned contract""" + r"""The requested contract returned successfully.""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + r"""The contract entity""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + r"""The related files of the requested contract""" orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + r"""The related orders of the requested contract""" relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + r"""The related entities of the requested contract""" workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) @@ -38,7 +43,9 @@ class GetContractResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_contract_200_application_json_object: Optional[GetContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned contract""" + r"""The requested contract returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index 16442876e..9f9880b15 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -18,9 +19,10 @@ class GetCountByEmailRequest: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetCountByEmail200ApplicationJSON: - r"""The returned count of contact""" + r"""Contact count for the requested email successfully.""" count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) + r"""Count of Contact""" @dataclasses.dataclass @@ -28,7 +30,9 @@ class GetCountByEmailResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" get_count_by_email_200_application_json_object: Optional[GetCountByEmail200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" + r"""Contact count for the requested email successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index 9fb73390e..aaf6ca3d7 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -4,6 +4,8 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -19,14 +21,23 @@ class GetECPContactRequest: id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class GetECPContact200ApplicationJSON: + r"""The contact returned successfully.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The mapped contact of the portal user""" + + @dataclasses.dataclass class GetECPContactResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" + r"""Could not authenticate the user""" + get_ecp_contact_200_application_json_object: Optional[GetECPContact200ApplicationJSON] = dataclasses.field(default=None) + r"""The contact returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index 51e5eca94..2834b46fb 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -4,6 +4,7 @@ import dataclasses import requests as requests_http from ..shared import emailtemplates as shared_emailtemplates +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from typing import Optional @@ -27,6 +28,8 @@ class GetEmailTemplatesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None) - r"""ok""" + r"""Retrieved the email templates successfully.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 4cfc52054..234bea261 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -3,6 +3,8 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityslug as shared_entityslug +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,8 +20,8 @@ class GetEntitiesByIdentifiersSecurity: class GetEntitiesByIdentifiersRequest: request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Entity Identifiers""" - slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) + r"""The entities are retrieved successfully.""" + slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" @@ -36,6 +38,8 @@ class GetEntitiesByIdentifiersResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" get_entities_by_identifiers_200_application_json_object: Optional[GetEntitiesByIdentifiers200ApplicationJSON] = dataclasses.field(default=None) r"""The returned Entities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index f22aaafda..3f2148d26 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -3,6 +3,8 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityslug as shared_entityslug +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -17,7 +19,7 @@ class GetEntityIdentifiersSecurity: @dataclasses.dataclass class GetEntityIdentifiersRequest: - slug: str = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) + slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" @@ -26,13 +28,15 @@ class GetEntityIdentifiersRequest: class GetEntityIdentifiers200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + r"""The name of the identifier""" type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + r"""The type of the identifier""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSON: - r"""The returned identifiers of an entity""" + r"""The identifiers of the requested entity returned successfully.""" data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -42,7 +46,9 @@ class GetEntityIdentifiersResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_entity_identifiers_200_application_json_object: Optional[GetEntityIdentifiers200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned identifiers of an entity""" + r"""The identifiers of the requested entity returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index 3d33f08e2..1911a8848 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,7 +19,7 @@ class GetOpportunitySecurity: class GetOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" + r"""The ID of opportunity""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -27,10 +28,15 @@ class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + r"""The opportunity entity""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + r"""The related files of the requested opportunity""" orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + r"""The related orders of the requested opportunity""" relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + r"""The related entities of the requested opportunity""" workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + r"""The related workflows of the requested opportunity""" @dataclasses.dataclass @@ -38,6 +44,8 @@ class GetOpportunityResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_opportunity_200_application_json_object: Optional[GetOpportunity200ApplicationJSON] = dataclasses.field(default=None) r"""The returned opportunities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index c40dfb56c..0495709d2 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,20 +19,26 @@ class GetOrderSecurity: class GetOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" + r"""The ID of order""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetOrder200ApplicationJSON: - r"""The returned order""" + r"""The requested order has been retrieved successfully.""" cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) + r"""The related cross sellable products of the requested order""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + r"""The order entity""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + r"""The related files of the requested order""" products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) + r"""The related products of the requested order""" relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + r"""The related entities of the requested order""" workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + r"""The related workflows of the requested order""" @dataclasses.dataclass @@ -39,7 +46,9 @@ class GetOrderResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_order_200_application_json_object: Optional[GetOrder200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned order""" + r"""The requested order has been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index aef5a1bda..8e2a689d2 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -3,7 +3,10 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import organizationsettings as shared_organizationsettings +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Optional @@ -13,12 +16,22 @@ class GetOrganizationSettingsSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class GetOrganizationSettings200ApplicationJSON: + r"""Retrieved the settings for an organization successfully.""" + + data: Optional[shared_organizationsettings.OrganizationSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + @dataclasses.dataclass class GetOrganizationSettingsResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - organization_settings: Optional[shared_organizationsettings.OrganizationSettings] = dataclasses.field(default=None) - r"""ok""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + get_organization_settings_200_application_json_object: Optional[GetOrganizationSettings200ApplicationJSON] = dataclasses.field(default=None) + r"""Retrieved the settings for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index 92a7ba07a..14d4563f0 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -26,7 +27,9 @@ class GetOrgPortalConfigResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" + r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index dd14b275b..c06875e28 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -27,7 +28,9 @@ class GetPortalConfigResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" + r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index fabaaf201..f672945aa 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -18,7 +19,9 @@ class GetPortalConfigByDomainResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" + r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index 763f87545..e442140f5 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -3,6 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -12,12 +15,23 @@ class GetPortalUserSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class GetPortalUser200ApplicationJSON: + r"""Portal user returned successfully.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The portal user entity""" + + @dataclasses.dataclass class GetPortalUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + get_portal_user_200_application_json_object: Optional[GetPortalUser200ApplicationJSON] = dataclasses.field(default=None) + r"""Portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 3edca0e49..4cedda98b 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from ..shared import portalconfig as shared_portalconfig from typing import Optional @@ -21,7 +22,9 @@ class GetPublicPortalConfigResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) - r"""ok""" + r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index 372936d11..74c6532c8 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -17,7 +18,7 @@ class GetSchemasSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetSchemas200ApplicationJSON: - r"""Success""" + r"""Retrieved schemas for an organization successfully.""" schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class GetSchemasResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_schemas_200_application_json_object: Optional[GetSchemas200ApplicationJSON] = dataclasses.field(default=None) - r"""Success""" + r"""Retrieved schemas for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index f66d314f4..e65a4a9ed 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -19,13 +20,15 @@ class GetValidSecondaryAttributesSecurity: class GetValidSecondaryAttributes200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + r"""Name of the secondary attribute""" type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + r"""Type of the secondary attribute""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSON: - r"""The returned count of contact""" + r"""Valid secondary attributes for the contact entity are returned successfully.""" data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) @@ -35,7 +38,9 @@ class GetValidSecondaryAttributesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" get_valid_secondary_attributes_200_application_json_object: Optional[GetValidSecondaryAttributes200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned count of contact""" + r"""Valid secondary attributes for the contact entity are returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 84a9f06b4..ade4b17df 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -21,6 +22,7 @@ class ReplaceECPTemplateVariablesRequestBody: r"""ECPVariables payload""" contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) + r"""ID of the contact""" @dataclasses.dataclass @@ -42,7 +44,7 @@ class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSON: - r"""ok""" + r"""Replaced portal template variables successfully.""" portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) @@ -52,7 +54,9 @@ class ReplaceECPTemplateVariablesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) replace_ecp_template_variables_200_application_json_object: Optional[ReplaceECPTemplateVariables200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" + r"""Replaced portal template variables successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index 81e3400cb..0fc946bb7 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -16,8 +17,8 @@ class SaveEntityFileSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class SaveEntityFile200ApplicationJSON: - r"""The returned File Entities""" +class SaveEntityFile201ApplicationJSON: + r"""The files have been saved to the entitiy successfully.""" created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) @@ -27,7 +28,9 @@ class SaveEntityFileResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - save_entity_file_200_application_json_object: Optional[SaveEntityFile200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned File Entities""" + save_entity_file_201_application_json_object: Optional[SaveEntityFile201ApplicationJSON] = dataclasses.field(default=None) + r"""The files have been saved to the entitiy successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index 337ca2333..d21f7814b 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -3,6 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -12,12 +15,22 @@ class SavePortalFilesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SavePortalFiles201ApplicationJSON: + r"""The files have been saved to the portal successfully.""" + + created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + + @dataclasses.dataclass class SavePortalFilesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal files""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + save_portal_files_201_application_json_object: Optional[SavePortalFiles201ApplicationJSON] = dataclasses.field(default=None) + r"""The files have been saved to the portal successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/testauth.py b/customer_portal/src/epilot/models/operations/testauth.py deleted file mode 100755 index b5087dacb..000000000 --- a/customer_portal/src/epilot/models/operations/testauth.py +++ /dev/null @@ -1,15 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -import requests as requests_http -from typing import Optional - - -@dataclasses.dataclass -class TestAuthResponse: - - 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/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index df829f2d4..2a5cd5702 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -3,6 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -12,12 +15,23 @@ class UpdateContactSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class UpdateContact200ApplicationJSON: + r"""Updated the contact details successfully.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The mapped contact of the portal user""" + + @dataclasses.dataclass class UpdateContactResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned contact""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + update_contact_200_application_json_object: Optional[UpdateContact200ApplicationJSON] = dataclasses.field(default=None) + r"""Updated the contact details successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index b95720314..174a3b63b 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,17 +19,18 @@ class UpdateContractSecurity: class UpdateContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of the contract""" + r"""The ID of the contract""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated Contract body""" + r"""Requested contract body to update""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpdateContract200ApplicationJSON: - r"""The returned updated contract""" + r"""Updated the contract successfully.""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The contract entity""" @dataclasses.dataclass @@ -36,7 +38,9 @@ class UpdateContractResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned updated contract""" + r"""Updated the contract successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 3ed683b9a..5eda4c18b 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -18,17 +19,18 @@ class UpdateOpportunitySecurity: class UpdateOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of opportunities""" + r"""The ID of opportunity""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Updated opportunity body""" + r"""Requested opportunity body to update""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpdateOpportunity200ApplicationJSON: - r"""The returned opportunity""" + r"""Updated the opportunity successfully.""" data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The opportunity entity""" @dataclasses.dataclass @@ -36,7 +38,9 @@ class UpdateOpportunityResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_opportunity_200_application_json_object: Optional[UpdateOpportunity200ApplicationJSON] = dataclasses.field(default=None) - r"""The returned opportunity""" + r"""Updated the opportunity successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index c7cdd1bb9..bcb6c2a37 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -3,6 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -16,16 +19,27 @@ class UpdateOrderSecurity: class UpdateOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) - r"""The Id of order""" + r"""The ID of order""" request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class UpdateOrder200ApplicationJSON: + r"""Updated the order details successfully.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The order entity""" + + @dataclasses.dataclass class UpdateOrderResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned order""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + update_order_200_application_json_object: Optional[UpdateOrder200ApplicationJSON] = dataclasses.field(default=None) + r"""Updated the order details successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index 740f50e25..200bc9dd1 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -3,6 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils from typing import Any, Optional @@ -12,12 +15,23 @@ class UpdatePortalUserSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class UpdatePortalUser200ApplicationJSON: + r"""The portal user updated successfully.""" + + data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + r"""The portal user entity""" + + @dataclasses.dataclass class UpdatePortalUserResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - entity_item: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""The returned portal user""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + update_portal_user_200_application_json_object: Optional[UpdatePortalUser200ApplicationJSON] = dataclasses.field(default=None) + r"""The portal user updated successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index bb67b29bf..88dc9e90b 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -4,8 +4,10 @@ import dataclasses import requests as requests_http from ..shared import emailtemplates as shared_emailtemplates +from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils from typing import Optional @@ -20,18 +22,22 @@ class UpsertEmailTemplatesSecurity: class UpsertEmailTemplatesRequest: email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Portal payload""" + r"""Email templates payload""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" +class UpsertEmailTemplates200ApplicationJSONMessage(str, Enum): + EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY = 'Email Templates upserted successfully' + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertEmailTemplates200ApplicationJSON: - r"""ok""" + r"""Upserted email templates of the portal successfully.""" - email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates'), 'exclude': lambda f: f is None }}) - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates') }}) + r"""Email templates used for authentication and internal processes""" + message: UpsertEmailTemplates200ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) @dataclasses.dataclass @@ -39,7 +45,9 @@ class UpsertEmailTemplatesResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) upsert_email_templates_200_application_json_object: Optional[UpsertEmailTemplates200ApplicationJSON] = dataclasses.field(default=None) - r"""ok""" + r"""Upserted email templates of the portal successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index eef8bfe4f..eb5de9d48 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -3,9 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..shared import addportalresp as shared_addportalresp from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin +from ..shared import portalconfig as shared_portalconfig from ..shared import upsertportalconfig as shared_upsertportalconfig from typing import Optional @@ -19,10 +19,10 @@ class UpsertPortalSecurity: @dataclasses.dataclass class UpsertPortalRequest: + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" upsert_portal_config: shared_upsertportalconfig.UpsertPortalConfig = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" - origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" @dataclasses.dataclass @@ -30,9 +30,9 @@ class UpsertPortalResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() - add_portal_resp: Optional[shared_addportalresp.AddPortalResp] = dataclasses.field(default=None) - r"""Success - portal created with success.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" + r"""The request could not be validated""" + portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) + r"""Portal upserted successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index fbfd34e86..1e78a1af4 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -15,21 +16,15 @@ class UserExistsRequest: org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class UserExists404ApplicationJSON: - r"""User does not exist in the portal""" - - exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) - - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UserExists200ApplicationJSON: - r"""User exists in the portal""" + r"""Returned whether the user exists in the portal or not successfully.""" - exists: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists'), 'exclude': lambda f: f is None }}) + exists: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists') }}) + r"""Whether the user exists in the portal""" user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) + r"""The portal user entity""" @dataclasses.dataclass @@ -37,9 +32,9 @@ class UserExistsResponse: content_type: str = dataclasses.field() status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Internal Server Error""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) user_exists_200_application_json_object: Optional[UserExists200ApplicationJSON] = dataclasses.field(default=None) - r"""User exists in the portal""" - user_exists_404_application_json_object: Optional[UserExists404ApplicationJSON] = dataclasses.field(default=None) - r"""User does not exist in the portal""" + r"""Returned whether the user exists in the portal or not successfully.""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index cc9ccefd8..2cab2e346 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -from .addportalresp import * +from .createssouserrequest import * +from .createuserrequest import * from .deleteentityfile import * from .emailtemplates import * +from .entityslug import * from .errorresp import * from .extraschemaattributes import * from .grant import * @@ -13,6 +15,5 @@ from .saveportalfile import * from .security import * from .upsertportalconfig import * -from .useractivationpayload import * -__all__ = ["AddPortalResp","DeleteEntityFile","EmailTemplates","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigEmailTemplates","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigImages","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigEmailTemplates","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigImages","UserActivationPayload"] +__all__ = ["CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages"] diff --git a/customer_portal/src/epilot/models/shared/addportalresp.py b/customer_portal/src/epilot/models/shared/addportalresp.py deleted file mode 100755 index 5f949e87d..000000000 --- a/customer_portal/src/epilot/models/shared/addportalresp.py +++ /dev/null @@ -1,16 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -from dataclasses_json import Undefined, dataclass_json -from epilot import utils -from typing import Optional - - -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class AddPortalResp: - r"""Success - portal created with success.""" - - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py new file mode 100755 index 000000000..c8c3b0857 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/createssouserrequest.py @@ -0,0 +1,21 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class CreateSSOUserRequest: + r"""Portal user payload""" + + email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + r"""User's email address""" + first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) + r"""First Name of the portal user""" + last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) + r"""Last Name of the portal user""" + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py new file mode 100755 index 000000000..bce00463d --- /dev/null +++ b/customer_portal/src/epilot/models/shared/createuserrequest.py @@ -0,0 +1,29 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class CreateUserRequest: + r"""Portal user payload""" + + email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + r"""User's email address""" + org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) + r"""ID of the organization""" + password: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password') }}) + r"""User's password""" + contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) + r"""ID of the contact""" + first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) + r"""First Name of the portal user""" + last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) + r"""Last Name of the portal user""" + secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) + r"""Secondary identifier to identify a contact""" + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index fd77d97eb..0c95204d6 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -12,6 +12,9 @@ class DeleteEntityFile: r"""Delete file""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) + r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) + r"""Entity type""" file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) + r"""Array of file entity IDs""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py index 97b2ca42a..077edfca6 100755 --- a/customer_portal/src/epilot/models/shared/emailtemplates.py +++ b/customer_portal/src/epilot/models/shared/emailtemplates.py @@ -10,11 +10,16 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class EmailTemplates: - r"""ok""" + r"""Email templates used for authentication and internal processes""" confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) + r"""ID of the confirmation email template upon registration""" forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) + r"""ID of the email template for forgot password""" invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + r"""ID of the email template for invitation""" on_map_a_pending_user: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onMapAPendingUser'), 'exclude': lambda f: f is None }}) + r"""ID of the email template for mapping a pending portal user with a contact""" on_new_quote: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onNewQuote'), 'exclude': lambda f: f is None }}) + r"""ID of the email template for new quote""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/entityslug.py b/customer_portal/src/epilot/models/shared/entityslug.py new file mode 100755 index 000000000..3d93997ff --- /dev/null +++ b/customer_portal/src/epilot/models/shared/entityslug.py @@ -0,0 +1,14 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + +class EntitySlug(str, Enum): + r"""URL-friendly identifier for the entity schema""" + CONTACT = 'contact' + CONTRACT = 'contract' + FILE = 'file' + ORDER = 'order' + OPPORTUNITY = 'opportunity' + PRODUCT = 'product' + PRICE = 'price' diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index 9e2f0caef..e5af4855a 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -10,7 +10,8 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ErrorResp: - r"""Other errors""" + r"""Could not authenticate the user""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + r"""Error message""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py index b185dbab7..9cca5f060 100755 --- a/customer_portal/src/epilot/models/shared/extraschemaattributes.py +++ b/customer_portal/src/epilot/models/shared/extraschemaattributes.py @@ -4,14 +4,16 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class ExtraSchemaAttributes: - group: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group'), 'exclude': lambda f: f is None }}) - label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), '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 }}) + group: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group') }}) + r"""Attribute group""" + label: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) + r"""Attribute label""" + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + r"""Attribute name""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index c6e7a0be6..594308325 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -8,6 +8,7 @@ from typing import Optional class GrantEffect(str, Enum): + r"""Effect of the permission""" ALLOW = 'allow' DENY = 'deny' @@ -17,6 +18,9 @@ class GrantEffect(str, Enum): class Grant: action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) + r"""Action for granting permission""" effect: Optional[GrantEffect] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) + r"""Effect of the permission""" resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) + r"""Resource for granting permission""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index 2ae99f0d8..bc56cfacb 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -12,6 +12,7 @@ class OrganizationSettingsAutomationEntityMapping: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable automation entity mapping""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -19,6 +20,7 @@ class OrganizationSettingsAutomationEntityMapping: class OrganizationSettingsAutomationPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable automation preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -26,6 +28,7 @@ class OrganizationSettingsAutomationPreview: class OrganizationSettingsCentralInboxPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable central inbox preview setting""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -33,6 +36,7 @@ class OrganizationSettingsCentralInboxPreviewSetting: class OrganizationSettingsContractsPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable contracts preview setting""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -40,6 +44,7 @@ class OrganizationSettingsContractsPreviewSetting: class OrganizationSettingsDisableIvy: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable Ivy""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -47,6 +52,7 @@ class OrganizationSettingsDisableIvy: class OrganizationSettingsDoubleOptIn: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable double opt-in""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -54,6 +60,7 @@ class OrganizationSettingsDoubleOptIn: class OrganizationSettingsEcommerceCatalogPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable ecommerce catalog preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -61,6 +68,7 @@ class OrganizationSettingsEcommerceCatalogPreview: class OrganizationSettingsEcommerceOpportunitiesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable ecommerce opportunities preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -68,6 +76,7 @@ class OrganizationSettingsEcommerceOpportunitiesPreview: class OrganizationSettingsEcommercePreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable ecommerce preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -75,6 +84,7 @@ class OrganizationSettingsEcommercePreview: class OrganizationSettingsEndCustomerPortal: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable end customer portal""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -82,6 +92,15 @@ class OrganizationSettingsEndCustomerPortal: class OrganizationSettingsEntitySchemaBuilder: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable entity schema builder""" + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class OrganizationSettingsInstallerPortal: + + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable end customer portal""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -89,6 +108,7 @@ class OrganizationSettingsEntitySchemaBuilder: class OrganizationSettingsLogicEditorPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable logic editor preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -96,6 +116,7 @@ class OrganizationSettingsLogicEditorPreview: class OrganizationSettingsNewNavigation: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable new navigation""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -103,6 +124,7 @@ class OrganizationSettingsNewNavigation: class OrganizationSettingsPartnering: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable partnering""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -110,6 +132,7 @@ class OrganizationSettingsPartnering: class OrganizationSettingsProductAvailability: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable product availability""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -117,6 +140,7 @@ class OrganizationSettingsProductAvailability: class OrganizationSettingsSso: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable single sign-on (SSO)""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -124,6 +148,7 @@ class OrganizationSettingsSso: class OrganizationSettingsSubmissionPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable submission preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -131,12 +156,12 @@ class OrganizationSettingsSubmissionPreview: class OrganizationSettingsUserRolesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable user roles preview""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class OrganizationSettings: - r"""ok""" automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) automation_preview: Optional[OrganizationSettingsAutomationPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_preview'), 'exclude': lambda f: f is None }}) @@ -149,6 +174,7 @@ class OrganizationSettings: ecommerce_preview: Optional[OrganizationSettingsEcommercePreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecommerce_preview'), 'exclude': lambda f: f is None }}) end_customer_portal: Optional[OrganizationSettingsEndCustomerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('end_customer_portal'), 'exclude': lambda f: f is None }}) entity_schema_builder: Optional[OrganizationSettingsEntitySchemaBuilder] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_schema_builder'), 'exclude': lambda f: f is None }}) + installer_portal: Optional[OrganizationSettingsInstallerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installer_portal'), 'exclude': lambda f: f is None }}) logic_editor_preview: Optional[OrganizationSettingsLogicEditorPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logic_editor_preview'), 'exclude': lambda f: f is None }}) new_navigation: Optional[OrganizationSettingsNewNavigation] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('new_navigation'), 'exclude': lambda f: f is None }}) partnering: Optional[OrganizationSettingsPartnering] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('partnering'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 0ac5ebe22..b59f2fa2b 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -2,6 +2,8 @@ from __future__ import annotations import dataclasses +from ..shared import emailtemplates as shared_emailtemplates +from ..shared import entityslug as shared_entityslug from ..shared import grant as shared_grant from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json @@ -12,19 +14,22 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigCognitoDetails: + r"""AWS Cognito Pool details for the portal""" cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool ARN""" cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool client ID""" cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool ID""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class PortalConfigEmailTemplates: +class PortalConfigDefaultUserToNotify: + r"""Default 360 user to notify upon an internal notification""" - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + on_pending_user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @@ -41,50 +46,80 @@ class PortalConfigEntityActions: action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) - slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) + slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) r"""URL-friendly identifier for the entity schema""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class PortalConfigEntityIdentifiers: +class PortalConfigEntityIdentifiersType: attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the entity identifier""" + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class PortalConfigEntityIdentifiers: + r"""Identifiers used to identify an entity by a portal user""" + + type: Optional[PortalConfigEntityIdentifiersType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfigImages: + r"""Teaser & Banner Image web links""" order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + r"""URL of the order left teaser image""" order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + r"""URL of the order right teaser image""" welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + r"""URL of the welcome banner image""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class PortalConfig: - r"""ok""" + r"""Portal config retrieved successfully.""" + design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) + r"""ID of the design used to build the portal""" cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) + r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) + r"""Stringified object with configuration details""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[PortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + r"""Secondary identifier to identify a contact other than the email""" + default_user_to_notify: Optional[PortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) + r"""Default 360 user to notify upon an internal notification""" + domain: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domain'), 'exclude': lambda f: f is None }}) + r"""The URL on which the portal is accessible""" + email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + r"""Email templates used for authentication and internal processes""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the portal access""" entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, PortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + r"""Journey actions allowed on an entity by a portal user""" + entity_identifiers: Optional[PortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + r"""Identifiers used to identify an entity by a portal user""" grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + r"""Permissions granted to a portal user while accessing entities""" id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) r"""ID of the organization""" images: Optional[PortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) + r"""Teaser & Banner Image web links""" is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), 'exclude': lambda f: f is None }}) + r"""Mark true if the domain is an Epilot domain""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + r"""A short name to identify your portal""" org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) + r"""Name of the organization""" origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" + r"""Allow portal user self-registration without a mapped contact""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 1497e6d55..387e72fca 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -8,6 +8,7 @@ from typing import Optional class SaveEntityFileFilesAccessControl(str, Enum): + r"""Access control level for the file""" PRIVATE = 'private' PUBLIC_READ = 'public-read' @@ -17,7 +18,9 @@ class SaveEntityFileFilesAccessControl(str, Enum): class SaveEntityFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) + r"""S3 bucket name""" key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + r"""S3 key""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -25,19 +28,26 @@ class SaveEntityFileFilesS3ref: class SaveEntityFileFiles: filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) + r"""File name""" s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of file tags""" access_control: Optional[SaveEntityFileFilesAccessControl] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) + r"""Access control level for the file""" document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) + r"""Document type""" file_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_id'), 'exclude': lambda f: f is None }}) + r"""File entity ID""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SaveEntityFile: - r"""Save file""" + r"""The request of an file entity""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) + r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) + r"""Entity type""" files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index fe5f5c25c..7a4ecbe2e 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -13,7 +13,9 @@ class SavePortalFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) + r"""S3 bucket name""" key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + r"""S3 key""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -21,15 +23,18 @@ class SavePortalFileFilesS3ref: class SavePortalFileFiles: file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) + r"""File type""" tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of file tags""" filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) + r"""File name""" s3ref: Optional[SavePortalFileFilesS3ref] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SavePortalFile: - r"""Save portal file""" + r"""portal files request""" files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) origin: shared_origin.Origin = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py index 5b0708791..df324a87d 100755 --- a/customer_portal/src/epilot/models/shared/security.py +++ b/customer_portal/src/epilot/models/shared/security.py @@ -8,7 +8,6 @@ @dataclasses.dataclass class Security: - as_customer: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-portal-id' }}) - as_organization: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-ivy-org-id' }}) + epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 8b680d21d..2afe0a2b7 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -2,6 +2,8 @@ from __future__ import annotations import dataclasses +from ..shared import emailtemplates as shared_emailtemplates +from ..shared import entityslug as shared_entityslug from ..shared import grant as shared_grant from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -11,19 +13,22 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigCognitoDetails: + r"""AWS Cognito Pool details for the portal""" cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool ARN""" cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool client ID""" cognito_user_pool_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_id'), 'exclude': lambda f: f is None }}) + r"""Cognito user pool ID""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class UpsertPortalConfigEmailTemplates: +class UpsertPortalConfigDefaultUserToNotify: + r"""Default 360 user to notify upon an internal notification""" - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) - forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) - invitation: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitation'), 'exclude': lambda f: f is None }}) + on_pending_user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @@ -40,25 +45,39 @@ class UpsertPortalConfigEntityActions: action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) - slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) + slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) r"""URL-friendly identifier for the entity schema""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class UpsertPortalConfigEntityIdentifiers: +class UpsertPortalConfigEntityIdentifiersType: attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the entity identifier""" + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class UpsertPortalConfigEntityIdentifiers: + r"""Identifiers used to identify an entity by a portal user""" + + type: Optional[UpsertPortalConfigEntityIdentifiersType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalConfigImages: + r"""Teaser & Banner Image web links""" order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + r"""URL of the order left teaser image""" order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + r"""URL of the order right teaser image""" welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + r"""URL of the welcome banner image""" @dataclass_json(undefined=Undefined.EXCLUDE) @@ -66,19 +85,34 @@ class UpsertPortalConfigImages: class UpsertPortalConfig: r"""Portal payload""" + design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) + r"""ID of the design used to build the portal""" cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) + r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) + r"""Stringified object with configuration details""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - default_user_to_notify: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) - design_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id'), 'exclude': lambda f: f is None }}) - email_templates: Optional[UpsertPortalConfigEmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + r"""Secondary identifier to identify a contact other than the email""" + default_user_to_notify: Optional[UpsertPortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) + r"""Default 360 user to notify upon an internal notification""" + domain: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domain'), 'exclude': lambda f: f is None }}) + r"""The URL on which the portal is accessible""" + email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email_templates'), 'exclude': lambda f: f is None }}) + r"""Email templates used for authentication and internal processes""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the portal access""" entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) - entity_identifiers: Optional[dict[str, UpsertPortalConfigEntityIdentifiers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + r"""Journey actions allowed on an entity by a portal user""" + entity_identifiers: Optional[UpsertPortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) + r"""Identifiers used to identify an entity by a portal user""" grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + r"""Permissions granted to a portal user while accessing entities""" images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) + r"""Teaser & Banner Image web links""" is_epilot_domain: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_epilot_domain'), 'exclude': lambda f: f is None }}) + r"""Mark true if the domain is an Epilot domain""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + r"""A short name to identify your portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Whether portal user has self registration""" + r"""Allow portal user self-registration without a mapped contact""" \ No newline at end of file diff --git a/customer_portal/src/epilot/models/shared/useractivationpayload.py b/customer_portal/src/epilot/models/shared/useractivationpayload.py deleted file mode 100755 index 5d8785223..000000000 --- a/customer_portal/src/epilot/models/shared/useractivationpayload.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -from dataclasses_json import Undefined, dataclass_json -from epilot import utils -from typing import Optional - - -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class UserActivationPayload: - - display_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name'), 'exclude': lambda f: f is None }}) - r"""User's display name (default: email address)""" - password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - r"""User's password""" - \ No newline at end of file diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 64fbcbc5f..5c06e78d5 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -3,10 +3,10 @@ import requests as requests_http from . import utils from epilot.models import operations, shared -from typing import Any, Optional +from typing import Optional class Public: - r"""Public""" + r"""Public APIs""" _client: requests_http.Session _security_client: requests_http.Session _server_url: str @@ -23,35 +23,9 @@ def __init__(self, client: requests_http.Session, security_client: requests_http self._gen_version = gen_version - def activate_user(self, request: operations.ActivateUserRequest) -> operations.ActivateUserResponse: - r"""activateUser - Activates the user - """ - base_url = self._server_url - - url = base_url.removesuffix('/') + '/v2/portal/public/activate' - headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "user_activation_payload", 'json') - if req_content_type not in ('multipart/form-data', 'multipart/mixed'): - headers['content-type'] = req_content_type - query_params = utils.get_query_params(operations.ActivateUserRequest, request) - headers['Accept'] = '*/*' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' - - client = self._security_client - - http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) - content_type = http_res.headers.get('Content-Type') - - res = operations.ActivateUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - - - return res - - def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.ConfirmUserResponse: r"""confirmUser - TODO + Confirm a portal user """ base_url = self._server_url @@ -68,23 +42,25 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con res = operations.ConfirmUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code == 200: + if http_res.status_code == 301: + pass + elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[dict[str, Any]]) - res.entity_item = out + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def create_user(self, request: operations.CreateUserRequest) -> operations.CreateUserResponse: - r"""creates a user - Creates a user in cognito pool and db item + r"""createUser + Registers a portal user """ base_url = self._server_url url = base_url.removesuffix('/') + '/v2/portal/public/user' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "create_user_request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: @@ -102,9 +78,9 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat if http_res.status_code == 201: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[shared.AddPortalResp]) - res.add_portal_resp = out - elif http_res.status_code in [400, 401, 500]: + out = utils.unmarshal_json(http_res.text, Optional[operations.CreateUser201ApplicationJSON]) + res.create_user_201_application_json_object = out + elif http_res.status_code in [400, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out @@ -121,7 +97,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper url = base_url.removesuffix('/') + '/v2/portal/contact/email/count' headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) - headers['Accept'] = 'application/json' + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -135,13 +111,79 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetCountByEmail200ApplicationJSON]) res.get_count_by_email_200_application_json_object = out + elif http_res.status_code == 500: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + + return res + + + def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomainRequest) -> operations.GetPortalConfigByDomainResponse: + r"""getPortalConfigByDomain + Retrieves the portal configuration by domain. + """ + base_url = self._server_url + + url = base_url.removesuffix('/') + '/v2/portal/public/config' + headers = {} + query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + + client = self._security_client + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetPortalConfigByDomainResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) + res.portal_config = out + elif http_res.status_code == 500: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + + return res + + + def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequest) -> operations.GetPublicPortalConfigResponse: + r"""getPublicPortalConfig + Retrieves the public portal configuration. + """ + base_url = self._server_url + + url = base_url.removesuffix('/') + '/v2/portal/public/portal/config' + headers = {} + query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + + client = self._security_client + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetPublicPortalConfigResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) + res.portal_config = out + elif http_res.status_code == 500: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res def user_exists(self, request: operations.UserExistsRequest) -> operations.UserExistsResponse: r"""userExists - Checks whether a user exists in the customer portal + Checks whether a user exists in the portal """ base_url = self._server_url @@ -162,10 +204,10 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UserExists200ApplicationJSON]) res.user_exists_200_application_json_object = out - elif http_res.status_code == 404: + elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[operations.UserExists404ApplicationJSON]) - res.user_exists_404_application_json_object = out + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out return res diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 2765afb0e..768b2686d 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -15,18 +15,18 @@ class Epilot: r"""Backend for epilot end customer portals""" ecp: Ecp - r"""ECP""" + r"""APIs defined for a portal user""" ecp_admin: ECPAdmin - r"""ECP Admin""" + r"""APIs defined for a ECP Admin""" public: Public - r"""Public""" + r"""Public APIs""" _client: requests_http.Session _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 716dffcd6b5f8a5b778cd8890f04779a9142853b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 3 Jun 2023 00:36:43 +0000 Subject: [PATCH 31/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.43.0 --- customer_portal/RELEASES.md | 8 +- customer_portal/docs/epilot/README.md | 2 +- customer_portal/files.gen | 1 + customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/__init__.py | 1 + customer_portal/src/epilot/ecp.py | 174 +++++++++--------- customer_portal/src/epilot/ecp_admin.py | 140 +++++++------- .../models/shared/organizationsettings.py | 2 +- customer_portal/src/epilot/public.py | 68 +++---- customer_portal/src/epilot/sdk.py | 66 ++----- .../src/epilot/sdkconfiguration.py | 27 +++ 12 files changed, 235 insertions(+), 264 deletions(-) create mode 100755 customer_portal/src/epilot/sdkconfiguration.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 2bdb76321..6eadf6775 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -214,4 +214,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:36:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/epilot/README.md b/customer_portal/docs/epilot/README.md index adf434204..b63eccc28 100755 --- a/customer_portal/docs/epilot/README.md +++ b/customer_portal/docs/epilot/README.md @@ -2,7 +2,7 @@ ## Overview -Backend for epilot end customer portals +Backend for epilot portals - End Customer Portal & Installer Portal ### Available Operations diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 5b0ae7ef9..c0fa8d520 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -1,3 +1,4 @@ +src/epilot/sdkconfiguration.py src/epilot/ecp.py src/epilot/ecp_admin.py src/epilot/public.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index f611dbe69..67acaad63 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: 6f02eaefe4fb335c3e99bd355579d7be + docChecksum: d2f586f9a6f8ddc510d0ab10f513733c 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/customer_portal/setup.py b/customer_portal/setup.py index b19f2c386..f22c57f99 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.18.1", + version="1.19.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/__init__.py b/customer_portal/src/epilot/__init__.py index b9e232018..e6c0deeb6 100755 --- a/customer_portal/src/epilot/__init__.py +++ b/customer_portal/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/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index b4949520a..1b7c4d203 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.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, shared from typing import Any, Optional class Ecp: r"""APIs defined for a portal user""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str - - 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 + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomerRelationToEntityRequest, security: operations.AddEndCustomerRelationToEntitySecurity) -> operations.AddEndCustomerRelationToEntityResponse: r"""addEndCustomerRelationToEntity Add portal user relation to an entity """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PUT', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -57,9 +47,9 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati r"""deleteEntityFile Delete files from an entity """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/entity/file' + url = base_url + '/v2/portal/entity/file' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -67,9 +57,9 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('DELETE', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -92,14 +82,14 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o r"""deletePortalUser Delete the portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/user' + url = base_url + '/v2/portal/user' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -122,14 +112,14 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope r"""getAllContracts Get all contracts for a portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/contract' + url = base_url + '/v2/portal/contract' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -152,14 +142,14 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity r"""getAllOpportunities Get all opportunities of a portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/opportunity' + url = base_url + '/v2/portal/opportunity' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -182,14 +172,14 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation r"""getAllOrders Get all orders for the portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/order' + url = base_url + '/v2/portal/order' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -212,14 +202,14 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get r"""getContact Retrieves the contact by ID. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/contact' + url = base_url + '/v2/portal/contact' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -242,14 +232,14 @@ def get_contract(self, request: operations.GetContractRequest, security: operati r"""getContract Get a contract by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -272,7 +262,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie r"""getEntitiesByIdentifiers Get entities by identifiers by portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetEntitiesByIdentifiersRequest, base_url, '/v2/portal/entity/by-identifiers/{slug}', request) headers = {} @@ -282,9 +272,9 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -307,14 +297,14 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o r"""getOpportunity Get an opportunity by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -337,14 +327,14 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge r"""getOrder Get an order by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -367,14 +357,14 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings r"""getOrganizationSettings Retrieves the organization settings. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/org/settings' + url = base_url + '/v2/portal/org/settings' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -397,15 +387,15 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security r"""getPortalConfig Retrieves the portal configuration. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/config' + url = base_url + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -428,14 +418,14 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati r"""getPortalUser Get the portal user details """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/user' + url = base_url + '/v2/portal/user' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -458,14 +448,14 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get r"""getSchemas Retrieves the schemas. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/schemas' + url = base_url + '/v2/portal/schemas' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -488,9 +478,9 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. r"""saveEntityFile Add files to an entity """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/entity/file' + url = base_url + '/v2/portal/entity/file' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -498,9 +488,9 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -523,17 +513,17 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon r"""updateContact Updates the contact details. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/contact' + url = base_url + '/v2/portal/contact' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -556,7 +546,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o r"""updateContract Update a contract by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} @@ -566,9 +556,9 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -591,7 +581,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur r"""updateOpportunity Update an opportunity by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} @@ -601,9 +591,9 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -626,7 +616,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati r"""updateOrder Update an order by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} @@ -634,9 +624,9 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -659,17 +649,17 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat r"""updatePortalUser Update the portal user details """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/user' + url = base_url + '/v2/portal/user' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index a4af76cd1..5ab506b9a 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -1,41 +1,31 @@ """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 ECPAdmin: r"""APIs defined for a ECP Admin""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str - - 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 + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def configure_distribution(self, request: operations.ConfigureDistributionRequest, security: operations.ConfigureDistributionSecurity) -> operations.ConfigureDistributionResponse: r"""configureDistribution Configure the distribution for the portal's custom domain """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/configure-distribution' + url = base_url + '/v2/portal/configure-distribution' headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -58,9 +48,9 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op r"""createSSOUser Creates a portal user as an SSO user. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/sso/user' + url = base_url + '/v2/portal/sso/user' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "create_sso_user_request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -69,9 +59,9 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -94,15 +84,15 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera r"""deletePortal Deletes the portal. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/config' + url = base_url + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('DELETE', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -123,14 +113,14 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib r"""extraPermissionAttributes Retrieves the extra permission attributes. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/extra-permission-attributes' + url = base_url + '/v2/portal/extra-permission-attributes' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -153,14 +143,14 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit r"""getAllPortalConfigs Retrieves all portal configurations. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/configs' + url = base_url + '/v2/portal/configs' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -183,15 +173,15 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op r"""getECPContact Get the Contact by id """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/ecp/contact' + url = base_url + '/v2/portal/ecp/contact' headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -214,15 +204,15 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu r"""getEmailTemplates Retrieves the email templates of a portal """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/email-templates' + url = base_url + '/v2/portal/email-templates' headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -245,14 +235,14 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest r"""getEntityIdentifiers Retrieve a list of entity identifiers used for entity search by portal users. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -275,15 +265,15 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s r"""getOrgPortalConfig Retrieves the portal configuration for the organization. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/org/portal/config' + url = base_url + '/v2/portal/org/portal/config' headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -306,15 +296,15 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security r"""getPortalConfig Retrieves the portal configuration. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/config' + url = base_url + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -337,14 +327,14 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA r"""getValidSecondaryAttributes Get valid secondary attributes that are used while mapping a contact on registration """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/contact/valid/secondary/attributes' + url = base_url + '/v2/portal/contact/valid/secondary/attributes' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -367,9 +357,9 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV r"""replaceECPTemplateVariables Replaces the template variables of a portal """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/replace-ecp-template-variables' + url = base_url + '/v2/portal/replace-ecp-template-variables' 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'): @@ -378,9 +368,9 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV raise Exception('request body is required') query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -403,9 +393,9 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations r"""savePortalFiles Add files to portal """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/portal/files' + url = base_url + '/v2/portal/portal/files' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -413,9 +403,9 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -438,9 +428,9 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest r"""upsertEmailTemplates Upserts the email templates of a portal """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/email-templates' + url = base_url + '/v2/portal/email-templates' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "email_templates", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -449,9 +439,9 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -474,9 +464,9 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera r"""upsertPortal Upserts the settings for a portal of an organization. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/portal' + url = base_url + '/v2/portal/portal' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_config", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -485,9 +475,9 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self._client, security) + client = utils.configure_security_client(self.sdk_configuration.client, security) http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index bc56cfacb..666418b97 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -100,7 +100,7 @@ class OrganizationSettingsEntitySchemaBuilder: class OrganizationSettingsInstallerPortal: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - r"""Enable/Disable end customer portal""" + r"""Enable/Disable installer portal""" @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 5c06e78d5..a79c096dc 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -1,41 +1,31 @@ """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 Public: r"""Public APIs""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str - - 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 + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.ConfirmUserResponse: r"""confirmUser Confirm a portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.ConfirmUserRequest, base_url, '/v2/portal/user/confirm/{id}', request) headers = {} query_params = utils.get_query_params(operations.ConfirmUserRequest, request) 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, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -56,9 +46,9 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat r"""createUser Registers a portal user """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/public/user' + url = base_url + '/v2/portal/public/user' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "create_user_request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -67,9 +57,9 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -92,15 +82,15 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper r"""getCountByEmail Check Contact by email """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/contact/email/count' + url = base_url + '/v2/portal/contact/email/count' headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -123,15 +113,15 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai r"""getPortalConfigByDomain Retrieves the portal configuration by domain. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/public/config' + url = base_url + '/v2/portal/public/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -154,15 +144,15 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ r"""getPublicPortalConfig Retrieves the public portal configuration. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/public/portal/config' + url = base_url + '/v2/portal/public/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -185,15 +175,15 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE r"""userExists Checks whether a user exists in the portal """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v2/portal/public/user/exists' + url = base_url + '/v2/portal/public/user/exists' headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 768b2686d..d5523d864 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -1,19 +1,15 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests as requests_http -from . import utils from .ecp import Ecp from .ecp_admin import ECPAdmin from .public import Public +from .sdkconfiguration import SDKConfiguration +from epilot import utils from epilot.models import shared -SERVERS = [ - "https://customer-portal-api.sls.epilot.io", -] -"""Contains the list of servers available to the SDK""" - class Epilot: - r"""Backend for epilot end customer portals""" + r"""Backend for epilot portals - End Customer Portal & Installer Portal""" ecp: Ecp r"""APIs defined for a portal user""" ecp_admin: ECPAdmin @@ -21,15 +17,11 @@ class Epilot: public: Public r"""Public APIs""" - _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 @@ -38,6 +30,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 @@ -45,49 +39,21 @@ 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.ecp = Ecp( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - - self.ecp_admin = ECPAdmin( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - - self.public = Public( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - + self.ecp = Ecp(self.sdk_configuration) + self.ecp_admin = ECPAdmin(self.sdk_configuration) + self.public = Public(self.sdk_configuration) \ No newline at end of file diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py new file mode 100755 index 000000000..efd36a5db --- /dev/null +++ b/customer_portal/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://customer-portal-api.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 fe484c65245a17613da44812c7335ad75b85340f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 6 Jun 2023 00:38:58 +0000 Subject: [PATCH 32/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.44.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 6eadf6775..ade776ce5 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -220,4 +220,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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-06 00:38:43 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.44.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 67acaad63..e50e3d0f9 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: d2f586f9a6f8ddc510d0ab10f513733c + docChecksum: d86c2b55df6749a6dac703cb9fc40724 docVersion: 1.0.0 - speakeasyVersion: 1.43.0 + speakeasyVersion: 1.44.0 generationVersion: 2.35.3 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/customer_portal/setup.py b/customer_portal/setup.py index f22c57f99..731b37625 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.19.0", + version="1.19.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index efd36a5db..0262732ae 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -15,7 +15,7 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.0' + sdk_version: str = '1.19.1' gen_version: str = '2.35.3' def get_server_details(self) -> tuple[str, dict[str, str]]: From a6dd3e82aa485bf9079d57d0b1c9465697aa6206 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 7 Jun 2023 00:39:53 +0000 Subject: [PATCH 33/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.44.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/docs/epilot/README.md | 2 +- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 5 +++-- 6 files changed, 17 insertions(+), 10 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ade776ce5..c3142540b 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -226,4 +226,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml -- Speakeasy CLI 1.44.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.44.0 (2.35.3) https://github.com/speakeasy-api/speakeasy + +## 2023-06-07 00:39:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/epilot/README.md b/customer_portal/docs/epilot/README.md index b63eccc28..e45d182d2 100755 --- a/customer_portal/docs/epilot/README.md +++ b/customer_portal/docs/epilot/README.md @@ -2,7 +2,7 @@ ## Overview -Backend for epilot portals - End Customer Portal & Installer Portal +Portal API: Backend for epilot portals - End Customer Portal & Installer Portal ### Available Operations diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index e50e3d0f9..6a40abd81 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: d86c2b55df6749a6dac703cb9fc40724 + docChecksum: c6474777dbc729a0e552e3f8681bfeef docVersion: 1.0.0 - speakeasyVersion: 1.44.0 - generationVersion: 2.35.3 + speakeasyVersion: 1.44.2 + generationVersion: 2.35.9 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.19.1 + version: 1.19.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 731b37625..cd87cde59 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.19.1", + version="1.19.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index d5523d864..e90004d72 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -9,7 +9,7 @@ from epilot.models import shared class Epilot: - r"""Backend for epilot portals - End Customer Portal & Installer Portal""" + r"""Portal API: Backend for epilot portals - End Customer Portal & Installer Portal""" ecp: Ecp r"""APIs defined for a portal user""" ecp_admin: ECPAdmin diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 0262732ae..592dfbc4e 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -3,6 +3,7 @@ import requests from dataclasses import dataclass + SERVERS = [ 'https://customer-portal-api.sls.epilot.io', ] @@ -15,8 +16,8 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.1' - gen_version: str = '2.35.3' + sdk_version: str = '1.19.2' + gen_version: str = '2.35.9' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From b1ae80cde36e1fa6ba3e532b60b89dc9858c8d6a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 8 Jun 2023 00:38:11 +0000 Subject: [PATCH 34/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.0 --- customer_portal/README.md | 2 +- customer_portal/RELEASES.md | 8 +++- customer_portal/USAGE.md | 2 +- customer_portal/docs/ecp/README.md | 42 +++++++++---------- customer_portal/docs/ecpadmin/README.md | 30 ++++++------- customer_portal/docs/public/README.md | 12 +++--- customer_portal/gen.yaml | 6 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 42 +++++++++---------- customer_portal/src/epilot/ecp_admin.py | 30 ++++++------- customer_portal/src/epilot/public.py | 12 +++--- .../src/epilot/sdkconfiguration.py | 5 ++- 12 files changed, 100 insertions(+), 93 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index fce0d34ef..6ce117b45 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -22,7 +22,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c3142540b..48daef964 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -232,4 +232,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:37:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 9401549e6..dc8e41c10 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -11,7 +11,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md index 26bd739f8..4ed985d51 100755 --- a/customer_portal/docs/ecp/README.md +++ b/customer_portal/docs/ecp/README.md @@ -46,7 +46,7 @@ req = operations.AddEndCustomerRelationToEntityRequest( ) res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.add_end_customer_relation_to_entity_200_application_json_object is not None: @@ -76,7 +76,7 @@ req = shared.DeleteEntityFile( ) res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.delete_entity_file_202_application_json_object is not None: @@ -97,7 +97,7 @@ s = epilot.Epilot() res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.delete_portal_user_200_application_json_object is not None: @@ -118,7 +118,7 @@ s = epilot.Epilot() res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_all_contracts_200_application_json_object is not None: @@ -139,7 +139,7 @@ s = epilot.Epilot() res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_all_opportunities_200_application_json_object is not None: @@ -160,7 +160,7 @@ s = epilot.Epilot() res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_all_orders_200_application_json_object is not None: @@ -181,7 +181,7 @@ s = epilot.Epilot() res = s.ecp.get_contact(operations.GetContactSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_contact_200_application_json_object is not None: @@ -205,7 +205,7 @@ req = operations.GetContractRequest( ) res = s.ecp.get_contract(req, operations.GetContractSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_contract_200_application_json_object is not None: @@ -234,7 +234,7 @@ req = operations.GetEntitiesByIdentifiersRequest( ) res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_entities_by_identifiers_200_application_json_object is not None: @@ -258,7 +258,7 @@ req = operations.GetOpportunityRequest( ) res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_opportunity_200_application_json_object is not None: @@ -282,7 +282,7 @@ req = operations.GetOrderRequest( ) res = s.ecp.get_order(req, operations.GetOrderSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_order_200_application_json_object is not None: @@ -303,7 +303,7 @@ s = epilot.Epilot() res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_organization_settings_200_application_json_object is not None: @@ -327,7 +327,7 @@ req = operations.GetPortalConfigRequest( ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.portal_config is not None: @@ -348,7 +348,7 @@ s = epilot.Epilot() res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_portal_user_200_application_json_object is not None: @@ -369,7 +369,7 @@ s = epilot.Epilot() res = s.ecp.get_schemas(operations.GetSchemasSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.get_schemas_200_application_json_object is not None: @@ -438,7 +438,7 @@ req = shared.SaveEntityFile( ) res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.save_entity_file_201_application_json_object is not None: @@ -464,7 +464,7 @@ req = { } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.update_contact_200_application_json_object is not None: @@ -492,7 +492,7 @@ req = operations.UpdateContractRequest( ) res = s.ecp.update_contract(req, operations.UpdateContractSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.update_contract_200_application_json_object is not None: @@ -522,7 +522,7 @@ req = operations.UpdateOpportunityRequest( ) res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.update_opportunity_200_application_json_object is not None: @@ -552,7 +552,7 @@ req = operations.UpdateOrderRequest( ) res = s.ecp.update_order(req, operations.UpdateOrderSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.update_order_200_application_json_object is not None: @@ -576,7 +576,7 @@ req = { } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( - portal_auth="YOUR_BEARER_TOKEN_HERE", + portal_auth="", )) if res.update_portal_user_200_application_json_object is not None: diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md index 77920ac09..4f4da37ec 100755 --- a/customer_portal/docs/ecpadmin/README.md +++ b/customer_portal/docs/ecpadmin/README.md @@ -39,7 +39,7 @@ req = operations.ConfigureDistributionRequest( ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.configure_distribution_200_application_json_object is not None: @@ -68,7 +68,7 @@ req = operations.CreateSSOUserRequest( ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.create_sso_user_201_application_json_object is not None: @@ -92,7 +92,7 @@ req = operations.DeletePortalRequest( ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.status_code == 200: @@ -113,7 +113,7 @@ s = epilot.Epilot() res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttributesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.extra_permission_attributes_200_application_json_object is not None: @@ -134,7 +134,7 @@ s = epilot.Epilot() res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.get_all_portal_configs_200_application_json_object is not None: @@ -158,7 +158,7 @@ req = operations.GetECPContactRequest( ) res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.get_ecp_contact_200_application_json_object is not None: @@ -182,7 +182,7 @@ req = operations.GetEmailTemplatesRequest( ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.email_templates is not None: @@ -206,7 +206,7 @@ req = operations.GetEntityIdentifiersRequest( ) res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.get_entity_identifiers_200_application_json_object is not None: @@ -230,7 +230,7 @@ req = operations.GetOrgPortalConfigRequest( ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.portal_config is not None: @@ -254,7 +254,7 @@ req = operations.GetPortalConfigRequest( ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.portal_config is not None: @@ -275,7 +275,7 @@ s = epilot.Epilot() res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAttributesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.get_valid_secondary_attributes_200_application_json_object is not None: @@ -302,7 +302,7 @@ req = operations.ReplaceECPTemplateVariablesRequest( ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.replace_ecp_template_variables_200_application_json_object is not None: @@ -377,7 +377,7 @@ req = shared.SavePortalFile( ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.save_portal_files_201_application_json_object is not None: @@ -408,7 +408,7 @@ req = operations.UpsertEmailTemplatesRequest( ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.upsert_email_templates_200_application_json_object is not None: @@ -521,7 +521,7 @@ req = operations.UpsertPortalRequest( ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", )) if res.portal_config is not None: diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md index e732ffd4e..05d0de819 100755 --- a/customer_portal/docs/public/README.md +++ b/customer_portal/docs/public/README.md @@ -25,7 +25,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -53,7 +53,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -88,7 +88,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -115,7 +115,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -141,7 +141,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -168,7 +168,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 6a40abd81..a851e5050 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: c6474777dbc729a0e552e3f8681bfeef 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.2 + version: 1.20.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index cd87cde59..69f949cb2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.19.2", + version="1.20.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 1b7c4d203..ab62bda67 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -22,7 +22,7 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -57,7 +57,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -87,7 +87,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o url = base_url + '/v2/portal/user' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -117,7 +117,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope url = base_url + '/v2/portal/contract' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -147,7 +147,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity url = base_url + '/v2/portal/opportunity' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -177,7 +177,7 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation url = base_url + '/v2/portal/order' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -207,7 +207,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get url = base_url + '/v2/portal/contact' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -237,7 +237,7 @@ def get_contract(self, request: operations.GetContractRequest, security: operati url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -272,7 +272,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -302,7 +302,7 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -332,7 +332,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -362,7 +362,7 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings url = base_url + '/v2/portal/org/settings' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -393,7 +393,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -423,7 +423,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati url = base_url + '/v2/portal/user' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -453,7 +453,7 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get url = base_url + '/v2/portal/schemas' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -488,7 +488,7 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -521,7 +521,7 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -556,7 +556,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -591,7 +591,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -624,7 +624,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -657,7 +657,7 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 5ab506b9a..8a25203ac 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -23,7 +23,7 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -59,7 +59,7 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -90,7 +90,7 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -118,7 +118,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib url = base_url + '/v2/portal/extra-permission-attributes' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -148,7 +148,7 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit url = base_url + '/v2/portal/configs' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -179,7 +179,7 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -210,7 +210,7 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -240,7 +240,7 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -271,7 +271,7 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -302,7 +302,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -332,7 +332,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA url = base_url + '/v2/portal/contact/valid/secondary/attributes' headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -368,7 +368,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV raise Exception('request body is required') query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -403,7 +403,7 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -439,7 +439,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -475,7 +475,7 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index a79c096dc..419327b6d 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -23,7 +23,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con headers = {} query_params = utils.get_query_params(operations.ConfirmUserRequest, request) 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 @@ -57,7 +57,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 @@ -88,7 +88,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 @@ -119,7 +119,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 @@ -150,7 +150,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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 @@ -181,7 +181,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - 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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 592dfbc4e..c3350f8b0 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.2' - 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 6bdf4338332a05caf0175bc9e110920e6d5e9a85 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 9 Jun 2023 00:40:47 +0000 Subject: [PATCH 35/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 48daef964..e75ed3b54 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -238,4 +238,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:40:31 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index a851e5050..d1fb5eae3 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: c6474777dbc729a0e552e3f8681bfeef 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/customer_portal/setup.py b/customer_portal/setup.py index 69f949cb2..fcfe2f087 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.20.0", + version="1.20.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index c3350f8b0..47badbacf 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 5bc66c9add61b4e6f7ae9b27488094ca1a057706 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 10 Jun 2023 00:36:05 +0000 Subject: [PATCH 36/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.0 --- customer_portal/README.md | 100 +-- customer_portal/RELEASES.md | 8 +- customer_portal/docs/ecp/README.md | 584 ------------ customer_portal/docs/ecpadmin/README.md | 529 ----------- ...tomerrelationtoentity200applicationjson.md | 11 + .../addendcustomerrelationtoentityrequest.md | 9 + .../addendcustomerrelationtoentityresponse.md | 12 + .../addendcustomerrelationtoentitysecurity.md | 8 + ...configuredistribution200applicationjson.md | 10 + .../configuredistributionrequest.md | 8 + .../configuredistributionresponse.md | 12 + .../configuredistributionsecurity.md | 8 + .../models/operations/confirmuserrequest.md | 10 + .../models/operations/confirmuserresponse.md | 11 + .../createssouser201applicationjson.md | 10 + .../models/operations/createssouserrequest.md | 9 + .../operations/createssouserresponse.md | 12 + .../operations/createssousersecurity.md | 8 + .../createuser201applicationjson.md | 11 + .../createuser201applicationjsonmessage.md | 8 + .../models/operations/createuserrequest.md | 9 + .../models/operations/createuserresponse.md | 12 + .../deleteentityfile202applicationjson.md | 10 + .../operations/deleteentityfileresponse.md | 12 + .../operations/deleteentityfilesecurity.md | 8 + .../models/operations/deleteportalrequest.md | 8 + .../models/operations/deleteportalresponse.md | 11 + .../models/operations/deleteportalsecurity.md | 8 + .../deleteportaluser200applicationjson.md | 11 + ...leteportaluser200applicationjsonmessage.md | 8 + .../operations/deleteportaluserresponse.md | 12 + .../operations/deleteportalusersecurity.md | 8 + ...apermissionattributes200applicationjson.md | 10 + ...missionattributes200applicationjsondata.md | 13 + .../extrapermissionattributesresponse.md | 12 + .../extrapermissionattributessecurity.md | 8 + .../getallcontracts200applicationjson.md | 10 + .../operations/getallcontractsresponse.md | 12 + .../operations/getallcontractssecurity.md | 8 + .../getallopportunities200applicationjson.md | 10 + .../operations/getallopportunitiesresponse.md | 12 + .../operations/getallopportunitiessecurity.md | 8 + .../getallorders200applicationjson.md | 10 + .../models/operations/getallordersresponse.md | 12 + .../models/operations/getallorderssecurity.md | 8 + .../getallportalconfigs200applicationjson.md | 10 + .../operations/getallportalconfigsresponse.md | 12 + .../operations/getallportalconfigssecurity.md | 8 + .../getcontact200applicationjson.md | 12 + .../models/operations/getcontactresponse.md | 12 + .../models/operations/getcontactsecurity.md | 8 + .../getcontract200applicationjson.md | 14 + .../models/operations/getcontractrequest.md | 8 + .../models/operations/getcontractresponse.md | 12 + .../models/operations/getcontractsecurity.md | 8 + .../getcountbyemail200applicationjson.md | 10 + .../operations/getcountbyemailrequest.md | 9 + .../operations/getcountbyemailresponse.md | 12 + .../getecpcontact200applicationjson.md | 10 + .../models/operations/getecpcontactrequest.md | 8 + .../operations/getecpcontactresponse.md | 12 + .../operations/getecpcontactsecurity.md | 8 + .../operations/getemailtemplatesrequest.md | 8 + .../operations/getemailtemplatesresponse.md | 12 + .../operations/getemailtemplatessecurity.md | 8 + ...entitiesbyidentifiers200applicationjson.md | 10 + .../getentitiesbyidentifiersrequest.md | 9 + .../getentitiesbyidentifiersresponse.md | 12 + .../getentitiesbyidentifierssecurity.md | 8 + .../getentityidentifiers200applicationjson.md | 10 + ...entityidentifiers200applicationjsondata.md | 9 + .../operations/getentityidentifiersrequest.md | 8 + .../getentityidentifiersresponse.md | 12 + .../getentityidentifierssecurity.md | 8 + .../getopportunity200applicationjson.md | 14 + .../operations/getopportunityrequest.md | 8 + .../operations/getopportunityresponse.md | 12 + .../operations/getopportunitysecurity.md | 8 + .../operations/getorder200applicationjson.md | 15 + .../docs/models/operations/getorderrequest.md | 8 + .../models/operations/getorderresponse.md | 12 + .../models/operations/getordersecurity.md | 8 + ...torganizationsettings200applicationjson.md | 10 + .../getorganizationsettingsresponse.md | 12 + .../getorganizationsettingssecurity.md | 8 + .../operations/getorgportalconfigrequest.md | 8 + .../operations/getorgportalconfigresponse.md | 12 + .../operations/getorgportalconfigsecurity.md | 8 + .../getportalconfigbydomainrequest.md | 8 + .../getportalconfigbydomainresponse.md | 12 + .../operations/getportalconfigrequest.md | 8 + .../operations/getportalconfigresponse.md | 12 + .../operations/getportalconfigsecurity.md | 9 + .../getportaluser200applicationjson.md | 10 + .../operations/getportaluserresponse.md | 12 + .../operations/getportalusersecurity.md | 8 + .../getpublicportalconfigrequest.md | 9 + .../getpublicportalconfigresponse.md | 12 + .../getschemas200applicationjson.md | 10 + .../models/operations/getschemasresponse.md | 12 + .../models/operations/getschemassecurity.md | 8 + ...idsecondaryattributes200applicationjson.md | 10 + ...condaryattributes200applicationjsondata.md | 9 + .../getvalidsecondaryattributesresponse.md | 12 + .../getvalidsecondaryattributessecurity.md | 8 + ...eecptemplatevariables200applicationjson.md | 10 + ...tevariables200applicationjsonportaluser.md | 8 + .../replaceecptemplatevariablesrequest.md | 9 + .../replaceecptemplatevariablesrequestbody.md | 10 + .../replaceecptemplatevariablesresponse.md | 12 + .../replaceecptemplatevariablessecurity.md | 8 + .../saveentityfile201applicationjson.md | 10 + .../operations/saveentityfileresponse.md | 12 + .../operations/saveentityfilesecurity.md | 8 + .../saveportalfiles201applicationjson.md | 10 + .../operations/saveportalfilesresponse.md | 12 + .../operations/saveportalfilessecurity.md | 8 + .../updatecontact200applicationjson.md | 10 + .../operations/updatecontactresponse.md | 12 + .../operations/updatecontactsecurity.md | 8 + .../updatecontract200applicationjson.md | 10 + .../operations/updatecontractrequest.md | 9 + .../operations/updatecontractresponse.md | 12 + .../operations/updatecontractsecurity.md | 8 + .../updateopportunity200applicationjson.md | 10 + .../operations/updateopportunityrequest.md | 9 + .../operations/updateopportunityresponse.md | 12 + .../operations/updateopportunitysecurity.md | 8 + .../updateorder200applicationjson.md | 10 + .../models/operations/updateorderrequest.md | 9 + .../models/operations/updateorderresponse.md | 12 + .../models/operations/updateordersecurity.md | 8 + .../updateportaluser200applicationjson.md | 10 + .../operations/updateportaluserresponse.md | 12 + .../operations/updateportalusersecurity.md | 8 + .../upsertemailtemplates200applicationjson.md | 11 + ...emailtemplates200applicationjsonmessage.md | 8 + .../operations/upsertemailtemplatesrequest.md | 9 + .../upsertemailtemplatesresponse.md | 12 + .../upsertemailtemplatessecurity.md | 8 + .../models/operations/upsertportalrequest.md | 9 + .../models/operations/upsertportalresponse.md | 12 + .../models/operations/upsertportalsecurity.md | 8 + .../userexists200applicationjson.md | 11 + .../models/operations/userexistsrequest.md | 9 + .../models/operations/userexistsresponse.md | 12 + .../models/shared/createssouserrequest.md | 12 + .../docs/models/shared/createuserrequest.md | 16 + .../docs/models/shared/deleteentityfile.md | 12 + .../docs/models/shared/emailtemplates.md | 14 + .../docs/models/shared/entityslug.md | 16 + .../docs/models/shared/errorresp.md | 10 + .../models/shared/extraschemaattributes.md | 10 + customer_portal/docs/models/shared/grant.md | 10 + .../docs/models/shared/granteffect.md | 11 + .../models/shared/organizationsettings.md | 26 + ...nizationsettingsautomationentitymapping.md | 8 + .../organizationsettingsautomationpreview.md | 8 + ...ationsettingscentralinboxpreviewsetting.md | 8 + ...nizationsettingscontractspreviewsetting.md | 8 + .../shared/organizationsettingsdisableivy.md | 8 + .../shared/organizationsettingsdoubleoptin.md | 8 + ...nizationsettingsecommercecatalogpreview.md | 8 + ...onsettingsecommerceopportunitiespreview.md | 8 + .../organizationsettingsecommercepreview.md | 8 + .../organizationsettingsendcustomerportal.md | 8 + ...organizationsettingsentityschemabuilder.md | 8 + .../organizationsettingsinstallerportal.md | 8 + .../organizationsettingslogiceditorpreview.md | 8 + .../organizationsettingsnewnavigation.md | 8 + .../shared/organizationsettingspartnering.md | 8 + ...organizationsettingsproductavailability.md | 8 + .../models/shared/organizationsettingssso.md | 8 + .../organizationsettingssubmissionpreview.md | 8 + .../organizationsettingsuserrolespreview.md | 8 + customer_portal/docs/models/shared/origin.md | 11 + .../docs/models/shared/portalconfig.md | 27 + .../shared/portalconfigcognitodetails.md | 12 + .../shared/portalconfigdefaultusertonotify.md | 10 + .../shared/portalconfigentityactions.md | 10 + .../portalconfigentityactionsactionlabel.md | 9 + .../shared/portalconfigentityidentifiers.md | 10 + .../portalconfigentityidentifierstype.md | 9 + .../docs/models/shared/portalconfigimages.md | 12 + .../docs/models/shared/saveentityfile.md | 12 + .../docs/models/shared/saveentityfilefiles.md | 13 + .../saveentityfilefilesaccesscontrol.md | 11 + .../models/shared/saveentityfilefiless3ref.md | 9 + .../docs/models/shared/saveportalfile.md | 11 + .../docs/models/shared/saveportalfilefiles.md | 11 + .../models/shared/saveportalfilefiless3ref.md | 9 + .../docs/models/shared/security.md | 9 + .../docs/models/shared/upsertportalconfig.md | 24 + .../upsertportalconfigcognitodetails.md | 12 + .../upsertportalconfigdefaultusertonotify.md | 10 + .../shared/upsertportalconfigentityactions.md | 10 + ...ertportalconfigentityactionsactionlabel.md | 9 + .../upsertportalconfigentityidentifiers.md | 10 + ...upsertportalconfigentityidentifierstype.md | 9 + .../models/shared/upsertportalconfigimages.md | 12 + customer_portal/docs/public/README.md | 184 ---- customer_portal/docs/sdks/ecp/README.md | 849 ++++++++++++++++++ customer_portal/docs/sdks/ecpadmin/README.md | 717 +++++++++++++++ .../docs/{ => sdks}/epilot/README.md | 0 customer_portal/docs/sdks/public/README.md | 256 ++++++ customer_portal/files.gen | 206 ++++- customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 2 +- .../addendcustomerrelationtoentity.py | 17 +- .../operations/configuredistribution.py | 17 +- .../epilot/models/operations/confirmuser.py | 9 +- .../epilot/models/operations/createssouser.py | 17 +- .../epilot/models/operations/createuser.py | 13 +- .../models/operations/deleteentityfile.py | 13 +- .../epilot/models/operations/deleteportal.py | 13 +- .../models/operations/deleteportaluser.py | 13 +- .../operations/extrapermissionattributes.py | 17 +- .../models/operations/getallcontracts.py | 13 +- .../models/operations/getallopportunities.py | 13 +- .../epilot/models/operations/getallorders.py | 13 +- .../models/operations/getallportalconfigs.py | 13 +- .../epilot/models/operations/getcontact.py | 13 +- .../epilot/models/operations/getcontract.py | 17 +- .../models/operations/getcountbyemail.py | 13 +- .../epilot/models/operations/getecpcontact.py | 17 +- .../models/operations/getemailtemplates.py | 13 +- .../operations/getentitiesbyidentifiers.py | 17 +- .../models/operations/getentityidentifiers.py | 21 +- .../models/operations/getopportunity.py | 17 +- .../src/epilot/models/operations/getorder.py | 17 +- .../operations/getorganizationsettings.py | 13 +- .../models/operations/getorgportalconfig.py | 13 +- .../models/operations/getportalconfig.py | 13 +- .../operations/getportalconfigbydomain.py | 9 +- .../epilot/models/operations/getportaluser.py | 13 +- .../operations/getpublicportalconfig.py | 9 +- .../epilot/models/operations/getschemas.py | 13 +- .../operations/getvalidsecondaryattributes.py | 17 +- .../operations/replaceecptemplatevariables.py | 25 +- .../models/operations/saveentityfile.py | 13 +- .../models/operations/saveportalfiles.py | 13 +- .../epilot/models/operations/updatecontact.py | 13 +- .../models/operations/updatecontract.py | 17 +- .../models/operations/updateopportunity.py | 17 +- .../epilot/models/operations/updateorder.py | 17 +- .../models/operations/updateportaluser.py | 13 +- .../models/operations/upsertemailtemplates.py | 17 +- .../epilot/models/operations/upsertportal.py | 13 +- .../epilot/models/operations/userexists.py | 13 +- .../models/shared/createssouserrequest.py | 5 +- .../epilot/models/shared/createuserrequest.py | 5 +- .../epilot/models/shared/deleteentityfile.py | 5 +- .../epilot/models/shared/emailtemplates.py | 5 +- .../src/epilot/models/shared/errorresp.py | 5 +- .../models/shared/extraschemaattributes.py | 5 +- .../src/epilot/models/shared/grant.py | 5 +- .../models/shared/organizationsettings.py | 81 +- .../src/epilot/models/shared/portalconfig.py | 36 +- .../epilot/models/shared/saveentityfile.py | 13 +- .../epilot/models/shared/saveportalfile.py | 13 +- .../src/epilot/models/shared/security.py | 5 +- .../models/shared/upsertportalconfig.py | 36 +- .../src/epilot/sdkconfiguration.py | 4 +- 263 files changed, 4647 insertions(+), 1605 deletions(-) delete mode 100755 customer_portal/docs/ecp/README.md delete mode 100755 customer_portal/docs/ecpadmin/README.md create mode 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md create mode 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md create mode 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md create mode 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md create mode 100755 customer_portal/docs/models/operations/configuredistribution200applicationjson.md create mode 100755 customer_portal/docs/models/operations/configuredistributionrequest.md create mode 100755 customer_portal/docs/models/operations/configuredistributionresponse.md create mode 100755 customer_portal/docs/models/operations/configuredistributionsecurity.md create mode 100755 customer_portal/docs/models/operations/confirmuserrequest.md create mode 100755 customer_portal/docs/models/operations/confirmuserresponse.md create mode 100755 customer_portal/docs/models/operations/createssouser201applicationjson.md create mode 100755 customer_portal/docs/models/operations/createssouserrequest.md create mode 100755 customer_portal/docs/models/operations/createssouserresponse.md create mode 100755 customer_portal/docs/models/operations/createssousersecurity.md create mode 100755 customer_portal/docs/models/operations/createuser201applicationjson.md create mode 100755 customer_portal/docs/models/operations/createuser201applicationjsonmessage.md create mode 100755 customer_portal/docs/models/operations/createuserrequest.md create mode 100755 customer_portal/docs/models/operations/createuserresponse.md create mode 100755 customer_portal/docs/models/operations/deleteentityfile202applicationjson.md create mode 100755 customer_portal/docs/models/operations/deleteentityfileresponse.md create mode 100755 customer_portal/docs/models/operations/deleteentityfilesecurity.md create mode 100755 customer_portal/docs/models/operations/deleteportalrequest.md create mode 100755 customer_portal/docs/models/operations/deleteportalresponse.md create mode 100755 customer_portal/docs/models/operations/deleteportalsecurity.md create mode 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjson.md create mode 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md create mode 100755 customer_portal/docs/models/operations/deleteportaluserresponse.md create mode 100755 customer_portal/docs/models/operations/deleteportalusersecurity.md create mode 100755 customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md create mode 100755 customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md create mode 100755 customer_portal/docs/models/operations/extrapermissionattributesresponse.md create mode 100755 customer_portal/docs/models/operations/extrapermissionattributessecurity.md create mode 100755 customer_portal/docs/models/operations/getallcontracts200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getallcontractsresponse.md create mode 100755 customer_portal/docs/models/operations/getallcontractssecurity.md create mode 100755 customer_portal/docs/models/operations/getallopportunities200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getallopportunitiesresponse.md create mode 100755 customer_portal/docs/models/operations/getallopportunitiessecurity.md create mode 100755 customer_portal/docs/models/operations/getallorders200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getallordersresponse.md create mode 100755 customer_portal/docs/models/operations/getallorderssecurity.md create mode 100755 customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getallportalconfigsresponse.md create mode 100755 customer_portal/docs/models/operations/getallportalconfigssecurity.md create mode 100755 customer_portal/docs/models/operations/getcontact200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getcontactresponse.md create mode 100755 customer_portal/docs/models/operations/getcontactsecurity.md create mode 100755 customer_portal/docs/models/operations/getcontract200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getcontractrequest.md create mode 100755 customer_portal/docs/models/operations/getcontractresponse.md create mode 100755 customer_portal/docs/models/operations/getcontractsecurity.md create mode 100755 customer_portal/docs/models/operations/getcountbyemail200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getcountbyemailrequest.md create mode 100755 customer_portal/docs/models/operations/getcountbyemailresponse.md create mode 100755 customer_portal/docs/models/operations/getecpcontact200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getecpcontactrequest.md create mode 100755 customer_portal/docs/models/operations/getecpcontactresponse.md create mode 100755 customer_portal/docs/models/operations/getecpcontactsecurity.md create mode 100755 customer_portal/docs/models/operations/getemailtemplatesrequest.md create mode 100755 customer_portal/docs/models/operations/getemailtemplatesresponse.md create mode 100755 customer_portal/docs/models/operations/getemailtemplatessecurity.md create mode 100755 customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md create mode 100755 customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md create mode 100755 customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md create mode 100755 customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md create mode 100755 customer_portal/docs/models/operations/getentityidentifiersrequest.md create mode 100755 customer_portal/docs/models/operations/getentityidentifiersresponse.md create mode 100755 customer_portal/docs/models/operations/getentityidentifierssecurity.md create mode 100755 customer_portal/docs/models/operations/getopportunity200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getopportunityrequest.md create mode 100755 customer_portal/docs/models/operations/getopportunityresponse.md create mode 100755 customer_portal/docs/models/operations/getopportunitysecurity.md create mode 100755 customer_portal/docs/models/operations/getorder200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getorderrequest.md create mode 100755 customer_portal/docs/models/operations/getorderresponse.md create mode 100755 customer_portal/docs/models/operations/getordersecurity.md create mode 100755 customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getorganizationsettingsresponse.md create mode 100755 customer_portal/docs/models/operations/getorganizationsettingssecurity.md create mode 100755 customer_portal/docs/models/operations/getorgportalconfigrequest.md create mode 100755 customer_portal/docs/models/operations/getorgportalconfigresponse.md create mode 100755 customer_portal/docs/models/operations/getorgportalconfigsecurity.md create mode 100755 customer_portal/docs/models/operations/getportalconfigbydomainrequest.md create mode 100755 customer_portal/docs/models/operations/getportalconfigbydomainresponse.md create mode 100755 customer_portal/docs/models/operations/getportalconfigrequest.md create mode 100755 customer_portal/docs/models/operations/getportalconfigresponse.md create mode 100755 customer_portal/docs/models/operations/getportalconfigsecurity.md create mode 100755 customer_portal/docs/models/operations/getportaluser200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getportaluserresponse.md create mode 100755 customer_portal/docs/models/operations/getportalusersecurity.md create mode 100755 customer_portal/docs/models/operations/getpublicportalconfigrequest.md create mode 100755 customer_portal/docs/models/operations/getpublicportalconfigresponse.md create mode 100755 customer_portal/docs/models/operations/getschemas200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getschemasresponse.md create mode 100755 customer_portal/docs/models/operations/getschemassecurity.md create mode 100755 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md create mode 100755 customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md create mode 100755 customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md create mode 100755 customer_portal/docs/models/operations/saveentityfile201applicationjson.md create mode 100755 customer_portal/docs/models/operations/saveentityfileresponse.md create mode 100755 customer_portal/docs/models/operations/saveentityfilesecurity.md create mode 100755 customer_portal/docs/models/operations/saveportalfiles201applicationjson.md create mode 100755 customer_portal/docs/models/operations/saveportalfilesresponse.md create mode 100755 customer_portal/docs/models/operations/saveportalfilessecurity.md create mode 100755 customer_portal/docs/models/operations/updatecontact200applicationjson.md create mode 100755 customer_portal/docs/models/operations/updatecontactresponse.md create mode 100755 customer_portal/docs/models/operations/updatecontactsecurity.md create mode 100755 customer_portal/docs/models/operations/updatecontract200applicationjson.md create mode 100755 customer_portal/docs/models/operations/updatecontractrequest.md create mode 100755 customer_portal/docs/models/operations/updatecontractresponse.md create mode 100755 customer_portal/docs/models/operations/updatecontractsecurity.md create mode 100755 customer_portal/docs/models/operations/updateopportunity200applicationjson.md create mode 100755 customer_portal/docs/models/operations/updateopportunityrequest.md create mode 100755 customer_portal/docs/models/operations/updateopportunityresponse.md create mode 100755 customer_portal/docs/models/operations/updateopportunitysecurity.md create mode 100755 customer_portal/docs/models/operations/updateorder200applicationjson.md create mode 100755 customer_portal/docs/models/operations/updateorderrequest.md create mode 100755 customer_portal/docs/models/operations/updateorderresponse.md create mode 100755 customer_portal/docs/models/operations/updateordersecurity.md create mode 100755 customer_portal/docs/models/operations/updateportaluser200applicationjson.md create mode 100755 customer_portal/docs/models/operations/updateportaluserresponse.md create mode 100755 customer_portal/docs/models/operations/updateportalusersecurity.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplatesrequest.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplatesresponse.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplatessecurity.md create mode 100755 customer_portal/docs/models/operations/upsertportalrequest.md create mode 100755 customer_portal/docs/models/operations/upsertportalresponse.md create mode 100755 customer_portal/docs/models/operations/upsertportalsecurity.md create mode 100755 customer_portal/docs/models/operations/userexists200applicationjson.md create mode 100755 customer_portal/docs/models/operations/userexistsrequest.md create mode 100755 customer_portal/docs/models/operations/userexistsresponse.md create mode 100755 customer_portal/docs/models/shared/createssouserrequest.md create mode 100755 customer_portal/docs/models/shared/createuserrequest.md create mode 100755 customer_portal/docs/models/shared/deleteentityfile.md create mode 100755 customer_portal/docs/models/shared/emailtemplates.md create mode 100755 customer_portal/docs/models/shared/entityslug.md create mode 100755 customer_portal/docs/models/shared/errorresp.md create mode 100755 customer_portal/docs/models/shared/extraschemaattributes.md create mode 100755 customer_portal/docs/models/shared/grant.md create mode 100755 customer_portal/docs/models/shared/granteffect.md create mode 100755 customer_portal/docs/models/shared/organizationsettings.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsautomationpreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md create mode 100755 customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsdisableivy.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsecommercepreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsinstallerportal.md create mode 100755 customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsnewnavigation.md create mode 100755 customer_portal/docs/models/shared/organizationsettingspartnering.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsproductavailability.md create mode 100755 customer_portal/docs/models/shared/organizationsettingssso.md create mode 100755 customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md create mode 100755 customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md create mode 100755 customer_portal/docs/models/shared/origin.md create mode 100755 customer_portal/docs/models/shared/portalconfig.md create mode 100755 customer_portal/docs/models/shared/portalconfigcognitodetails.md create mode 100755 customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityactions.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityidentifiers.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityidentifierstype.md create mode 100755 customer_portal/docs/models/shared/portalconfigimages.md create mode 100755 customer_portal/docs/models/shared/saveentityfile.md create mode 100755 customer_portal/docs/models/shared/saveentityfilefiles.md create mode 100755 customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md create mode 100755 customer_portal/docs/models/shared/saveentityfilefiless3ref.md create mode 100755 customer_portal/docs/models/shared/saveportalfile.md create mode 100755 customer_portal/docs/models/shared/saveportalfilefiles.md create mode 100755 customer_portal/docs/models/shared/saveportalfilefiless3ref.md create mode 100755 customer_portal/docs/models/shared/security.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfig.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityactions.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigimages.md delete mode 100755 customer_portal/docs/public/README.md create mode 100755 customer_portal/docs/sdks/ecp/README.md create mode 100755 customer_portal/docs/sdks/ecpadmin/README.md rename customer_portal/docs/{ => sdks}/epilot/README.md (100%) create mode 100755 customer_portal/docs/sdks/public/README.md diff --git a/customer_portal/README.md b/customer_portal/README.md index 6ce117b45..89ff4d41f 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -34,56 +34,56 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ## Available Resources and Operations -### [ecp](docs/ecp/README.md) - -* [add_end_customer_relation_to_entity](docs/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity -* [delete_entity_file](docs/ecp/README.md#delete_entity_file) - deleteEntityFile -* [delete_portal_user](docs/ecp/README.md#delete_portal_user) - deletePortalUser -* [get_all_contracts](docs/ecp/README.md#get_all_contracts) - getAllContracts -* [get_all_opportunities](docs/ecp/README.md#get_all_opportunities) - getAllOpportunities -* [get_all_orders](docs/ecp/README.md#get_all_orders) - getAllOrders -* [get_contact](docs/ecp/README.md#get_contact) - getContact -* [get_contract](docs/ecp/README.md#get_contract) - getContract -* [get_entities_by_identifiers](docs/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers -* [get_opportunity](docs/ecp/README.md#get_opportunity) - getOpportunity -* [get_order](docs/ecp/README.md#get_order) - getOrder -* [get_organization_settings](docs/ecp/README.md#get_organization_settings) - getOrganizationSettings -* [get_portal_config](docs/ecp/README.md#get_portal_config) - getPortalConfig -* [get_portal_user](docs/ecp/README.md#get_portal_user) - getPortalUser -* [get_schemas](docs/ecp/README.md#get_schemas) - getSchemas -* [save_entity_file](docs/ecp/README.md#save_entity_file) - saveEntityFile -* [update_contact](docs/ecp/README.md#update_contact) - updateContact -* [update_contract](docs/ecp/README.md#update_contract) - updateContract -* [update_opportunity](docs/ecp/README.md#update_opportunity) - updateOpportunity -* [update_order](docs/ecp/README.md#update_order) - updateOrder -* [update_portal_user](docs/ecp/README.md#update_portal_user) - updatePortalUser - -### [ecp_admin](docs/ecpadmin/README.md) - -* [configure_distribution](docs/ecpadmin/README.md#configure_distribution) - configureDistribution -* [create_sso_user](docs/ecpadmin/README.md#create_sso_user) - createSSOUser -* [delete_portal](docs/ecpadmin/README.md#delete_portal) - deletePortal -* [extra_permission_attributes](docs/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes -* [get_all_portal_configs](docs/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs -* [get_ecp_contact](docs/ecpadmin/README.md#get_ecp_contact) - getECPContact -* [get_email_templates](docs/ecpadmin/README.md#get_email_templates) - getEmailTemplates -* [get_entity_identifiers](docs/ecpadmin/README.md#get_entity_identifiers) - getEntityIdentifiers -* [get_org_portal_config](docs/ecpadmin/README.md#get_org_portal_config) - getOrgPortalConfig -* [get_portal_config](docs/ecpadmin/README.md#get_portal_config) - getPortalConfig -* [get_valid_secondary_attributes](docs/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes -* [replace_ecp_template_variables](docs/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables -* [save_portal_files](docs/ecpadmin/README.md#save_portal_files) - savePortalFiles -* [upsert_email_templates](docs/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates -* [upsert_portal](docs/ecpadmin/README.md#upsert_portal) - upsertPortal - -### [public](docs/public/README.md) - -* [confirm_user](docs/public/README.md#confirm_user) - confirmUser -* [create_user](docs/public/README.md#create_user) - createUser -* [get_count_by_email](docs/public/README.md#get_count_by_email) - getCountByEmail -* [get_portal_config_by_domain](docs/public/README.md#get_portal_config_by_domain) - getPortalConfigByDomain -* [get_public_portal_config](docs/public/README.md#get_public_portal_config) - getPublicPortalConfig -* [user_exists](docs/public/README.md#user_exists) - userExists +### [ecp](docs/sdks/ecp/README.md) + +* [add_end_customer_relation_to_entity](docs/sdks/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [delete_entity_file](docs/sdks/ecp/README.md#delete_entity_file) - deleteEntityFile +* [delete_portal_user](docs/sdks/ecp/README.md#delete_portal_user) - deletePortalUser +* [get_all_contracts](docs/sdks/ecp/README.md#get_all_contracts) - getAllContracts +* [get_all_opportunities](docs/sdks/ecp/README.md#get_all_opportunities) - getAllOpportunities +* [get_all_orders](docs/sdks/ecp/README.md#get_all_orders) - getAllOrders +* [get_contact](docs/sdks/ecp/README.md#get_contact) - getContact +* [get_contract](docs/sdks/ecp/README.md#get_contract) - getContract +* [get_entities_by_identifiers](docs/sdks/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_opportunity](docs/sdks/ecp/README.md#get_opportunity) - getOpportunity +* [get_order](docs/sdks/ecp/README.md#get_order) - getOrder +* [get_organization_settings](docs/sdks/ecp/README.md#get_organization_settings) - getOrganizationSettings +* [get_portal_config](docs/sdks/ecp/README.md#get_portal_config) - getPortalConfig +* [get_portal_user](docs/sdks/ecp/README.md#get_portal_user) - getPortalUser +* [get_schemas](docs/sdks/ecp/README.md#get_schemas) - getSchemas +* [save_entity_file](docs/sdks/ecp/README.md#save_entity_file) - saveEntityFile +* [update_contact](docs/sdks/ecp/README.md#update_contact) - updateContact +* [update_contract](docs/sdks/ecp/README.md#update_contract) - updateContract +* [update_opportunity](docs/sdks/ecp/README.md#update_opportunity) - updateOpportunity +* [update_order](docs/sdks/ecp/README.md#update_order) - updateOrder +* [update_portal_user](docs/sdks/ecp/README.md#update_portal_user) - updatePortalUser + +### [ecp_admin](docs/sdks/ecpadmin/README.md) + +* [configure_distribution](docs/sdks/ecpadmin/README.md#configure_distribution) - configureDistribution +* [create_sso_user](docs/sdks/ecpadmin/README.md#create_sso_user) - createSSOUser +* [delete_portal](docs/sdks/ecpadmin/README.md#delete_portal) - deletePortal +* [extra_permission_attributes](docs/sdks/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes +* [get_all_portal_configs](docs/sdks/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs +* [get_ecp_contact](docs/sdks/ecpadmin/README.md#get_ecp_contact) - getECPContact +* [get_email_templates](docs/sdks/ecpadmin/README.md#get_email_templates) - getEmailTemplates +* [get_entity_identifiers](docs/sdks/ecpadmin/README.md#get_entity_identifiers) - getEntityIdentifiers +* [get_org_portal_config](docs/sdks/ecpadmin/README.md#get_org_portal_config) - getOrgPortalConfig +* [get_portal_config](docs/sdks/ecpadmin/README.md#get_portal_config) - getPortalConfig +* [get_valid_secondary_attributes](docs/sdks/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [replace_ecp_template_variables](docs/sdks/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables +* [save_portal_files](docs/sdks/ecpadmin/README.md#save_portal_files) - savePortalFiles +* [upsert_email_templates](docs/sdks/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates +* [upsert_portal](docs/sdks/ecpadmin/README.md#upsert_portal) - upsertPortal + +### [public](docs/sdks/public/README.md) + +* [confirm_user](docs/sdks/public/README.md#confirm_user) - confirmUser +* [create_user](docs/sdks/public/README.md#create_user) - createUser +* [get_count_by_email](docs/sdks/public/README.md#get_count_by_email) - getCountByEmail +* [get_portal_config_by_domain](docs/sdks/public/README.md#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_public_portal_config](docs/sdks/public/README.md#get_public_portal_config) - getPublicPortalConfig +* [user_exists](docs/sdks/public/README.md#user_exists) - userExists ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index e75ed3b54..11286e209 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -244,4 +244,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/ecp/README.md b/customer_portal/docs/ecp/README.md deleted file mode 100755 index 4ed985d51..000000000 --- a/customer_portal/docs/ecp/README.md +++ /dev/null @@ -1,584 +0,0 @@ -# ecp - -## Overview - -APIs defined for a portal user - -### Available Operations - -* [add_end_customer_relation_to_entity](#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity -* [delete_entity_file](#delete_entity_file) - deleteEntityFile -* [delete_portal_user](#delete_portal_user) - deletePortalUser -* [get_all_contracts](#get_all_contracts) - getAllContracts -* [get_all_opportunities](#get_all_opportunities) - getAllOpportunities -* [get_all_orders](#get_all_orders) - getAllOrders -* [get_contact](#get_contact) - getContact -* [get_contract](#get_contract) - getContract -* [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers -* [get_opportunity](#get_opportunity) - getOpportunity -* [get_order](#get_order) - getOrder -* [get_organization_settings](#get_organization_settings) - getOrganizationSettings -* [get_portal_config](#get_portal_config) - getPortalConfig -* [get_portal_user](#get_portal_user) - getPortalUser -* [get_schemas](#get_schemas) - getSchemas -* [save_entity_file](#save_entity_file) - saveEntityFile -* [update_contact](#update_contact) - updateContact -* [update_contract](#update_contract) - updateContract -* [update_opportunity](#update_opportunity) - updateOpportunity -* [update_order](#update_order) - updateOrder -* [update_portal_user](#update_portal_user) - updatePortalUser - -## add_end_customer_relation_to_entity - -Add portal user relation to an entity - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.AddEndCustomerRelationToEntityRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', - slug=shared.EntitySlug.CONTACT, -) - -res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="", -)) - -if res.add_end_customer_relation_to_entity_200_application_json_object is not None: - # handle response -``` - -## delete_entity_file - -Delete files from an entity - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = shared.DeleteEntityFile( - entity_id='123456', - entity_type='order', - file_entity_ids=[ - '12345', - '12345', - '12345', - ], -) - -res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( - portal_auth="", -)) - -if res.delete_entity_file_202_application_json_object is not None: - # handle response -``` - -## delete_portal_user - -Delete the portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( - portal_auth="", -)) - -if res.delete_portal_user_200_application_json_object is not None: - # handle response -``` - -## get_all_contracts - -Get all contracts for a portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( - portal_auth="", -)) - -if res.get_all_contracts_200_application_json_object is not None: - # handle response -``` - -## get_all_opportunities - -Get all opportunities of a portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( - portal_auth="", -)) - -if res.get_all_opportunities_200_application_json_object is not None: - # handle response -``` - -## get_all_orders - -Get all orders for the portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( - portal_auth="", -)) - -if res.get_all_orders_200_application_json_object is not None: - # handle response -``` - -## get_contact - -Retrieves the contact by ID. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_contact(operations.GetContactSecurity( - portal_auth="", -)) - -if res.get_contact_200_application_json_object is not None: - # handle response -``` - -## get_contract - -Get a contract by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.GetContractRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.get_contract(req, operations.GetContractSecurity( - portal_auth="", -)) - -if res.get_contract_200_application_json_object is not None: - # handle response -``` - -## get_entities_by_identifiers - -Get entities by identifiers by portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetEntitiesByIdentifiersRequest( - request_body={ - "distinctio": 'quibusdam', - "unde": 'nulla', - "corrupti": 'illum', - }, - slug=shared.EntitySlug.CONTACT, -) - -res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( - portal_auth="", -)) - -if res.get_entities_by_identifiers_200_application_json_object is not None: - # handle response -``` - -## get_opportunity - -Get an opportunity by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.GetOpportunityRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( - portal_auth="", -)) - -if res.get_opportunity_200_application_json_object is not None: - # handle response -``` - -## get_order - -Get an order by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.GetOrderRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.get_order(req, operations.GetOrderSecurity( - portal_auth="", -)) - -if res.get_order_200_application_json_object is not None: - # handle response -``` - -## get_organization_settings - -Retrieves the organization settings. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity( - portal_auth="", -)) - -if res.get_organization_settings_200_application_json_object is not None: - # handle response -``` - -## get_portal_config - -Retrieves the portal configuration. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="", -)) - -if res.portal_config is not None: - # handle response -``` - -## get_portal_user - -Get the portal user details - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( - portal_auth="", -)) - -if res.get_portal_user_200_application_json_object is not None: - # handle response -``` - -## get_schemas - -Retrieves the schemas. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp.get_schemas(operations.GetSchemasSecurity( - portal_auth="", -)) - -if res.get_schemas_200_application_json_object is not None: - # handle response -``` - -## save_entity_file - -Add files to an entity - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = shared.SaveEntityFile( - entity_id='123456', - entity_type='order', - files=[ - shared.SaveEntityFileFiles( - tags=[ - 'suscipit', - 'iure', - 'magnam', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SaveEntityFileFiles( - tags=[ - 'delectus', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SaveEntityFileFiles( - tags=[ - 'molestiae', - 'minus', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - ], -) - -res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( - portal_auth="", -)) - -if res.save_entity_file_201_application_json_object is not None: - # handle response -``` - -## update_contact - -Updates the contact details. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = { - "iusto": 'excepturi', - "nisi": 'recusandae', - "temporibus": 'ab', -} - -res = s.ecp.update_contact(req, operations.UpdateContactSecurity( - portal_auth="", -)) - -if res.update_contact_200_application_json_object is not None: - # handle response -``` - -## update_contract - -Update a contract by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.UpdateContractRequest( - request_body={ - "veritatis": 'deserunt', - "perferendis": 'ipsam', - }, - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.update_contract(req, operations.UpdateContractSecurity( - portal_auth="", -)) - -if res.update_contract_200_application_json_object is not None: - # handle response -``` - -## update_opportunity - -Update an opportunity by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.UpdateOpportunityRequest( - request_body={ - "sapiente": 'quo', - "odit": 'at', - "at": 'maiores', - "molestiae": 'quod', - }, - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( - portal_auth="", -)) - -if res.update_opportunity_200_application_json_object is not None: - # handle response -``` - -## update_order - -Update an order by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.UpdateOrderRequest( - request_body={ - "esse": 'totam', - "porro": 'dolorum', - "dicta": 'nam', - "officia": 'occaecati', - }, - id='5da0a718-c822-403d-9f5d-20d4584e0528', -) - -res = s.ecp.update_order(req, operations.UpdateOrderSecurity( - portal_auth="", -)) - -if res.update_order_200_application_json_object is not None: - # handle response -``` - -## update_portal_user - -Update the portal user details - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = { - "deleniti": 'hic', -} - -res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( - portal_auth="", -)) - -if res.update_portal_user_200_application_json_object is not None: - # handle response -``` diff --git a/customer_portal/docs/ecpadmin/README.md b/customer_portal/docs/ecpadmin/README.md deleted file mode 100755 index 4f4da37ec..000000000 --- a/customer_portal/docs/ecpadmin/README.md +++ /dev/null @@ -1,529 +0,0 @@ -# ecp_admin - -## Overview - -APIs defined for a ECP Admin - -### Available Operations - -* [configure_distribution](#configure_distribution) - configureDistribution -* [create_sso_user](#create_sso_user) - createSSOUser -* [delete_portal](#delete_portal) - deletePortal -* [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes -* [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs -* [get_ecp_contact](#get_ecp_contact) - getECPContact -* [get_email_templates](#get_email_templates) - getEmailTemplates -* [get_entity_identifiers](#get_entity_identifiers) - getEntityIdentifiers -* [get_org_portal_config](#get_org_portal_config) - getOrgPortalConfig -* [get_portal_config](#get_portal_config) - getPortalConfig -* [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes -* [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables -* [save_portal_files](#save_portal_files) - savePortalFiles -* [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates -* [upsert_portal](#upsert_portal) - upsertPortal - -## configure_distribution - -Configure the distribution for the portal's custom domain - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.ConfigureDistributionRequest( - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( - epilot_auth="", -)) - -if res.configure_distribution_200_application_json_object is not None: - # handle response -``` - -## create_sso_user - -Creates a portal user as an SSO user. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.CreateSSOUserRequest( - create_sso_user_request=shared.CreateSSOUserRequest( - email='testemail921@yopmail.com', - first_name='John', - last_name='Doe', - ), - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( - epilot_auth="", -)) - -if res.create_sso_user_201_application_json_object is not None: - # handle response -``` - -## delete_portal - -Deletes the portal. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.DeletePortalRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( - epilot_auth="", -)) - -if res.status_code == 200: - # handle response -``` - -## extra_permission_attributes - -Retrieves the extra permission attributes. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttributesSecurity( - epilot_auth="", -)) - -if res.extra_permission_attributes_200_application_json_object is not None: - # handle response -``` - -## get_all_portal_configs - -Retrieves all portal configurations. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( - epilot_auth="", -)) - -if res.get_all_portal_configs_200_application_json_object is not None: - # handle response -``` - -## get_ecp_contact - -Get the Contact by id - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - -req = operations.GetECPContactRequest( - id='1234', -) - -res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( - epilot_auth="", -)) - -if res.get_ecp_contact_200_application_json_object is not None: - # handle response -``` - -## get_email_templates - -Retrieves the email templates of a portal - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetEmailTemplatesRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( - epilot_auth="", -)) - -if res.email_templates is not None: - # handle response -``` - -## get_entity_identifiers - -Retrieve a list of entity identifiers used for entity search by portal users. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetEntityIdentifiersRequest( - slug=shared.EntitySlug.CONTACT, -) - -res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( - epilot_auth="", -)) - -if res.get_entity_identifiers_200_application_json_object is not None: - # handle response -``` - -## get_org_portal_config - -Retrieves the portal configuration for the organization. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetOrgPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( - epilot_auth="", -)) - -if res.portal_config is not None: - # handle response -``` - -## get_portal_config - -Retrieves the portal configuration. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( - epilot_auth="", -)) - -if res.portal_config is not None: - # handle response -``` - -## get_valid_secondary_attributes - -Get valid secondary attributes that are used while mapping a contact on registration - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot() - - -res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAttributesSecurity( - epilot_auth="", -)) - -if res.get_valid_secondary_attributes_200_application_json_object is not None: - # handle response -``` - -## replace_ecp_template_variables - -Replaces the template variables of a portal - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.ReplaceECPTemplateVariablesRequest( - request_body=operations.ReplaceECPTemplateVariablesRequestBody( - contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', - ), - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( - epilot_auth="", -)) - -if res.replace_ecp_template_variables_200_application_json_object is not None: - # handle response -``` - -## save_portal_files - -Add files to portal - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = shared.SavePortalFile( - files=[ - shared.SavePortalFileFiles( - tags=[ - 'esse', - 'ipsum', - 'excepturi', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'perferendis', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'natus', - 'sed', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'dolor', - 'natus', - 'laboriosam', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - ], - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( - epilot_auth="", -)) - -if res.save_portal_files_201_application_json_object is not None: - # handle response -``` - -## upsert_email_templates - -Upserts the email templates of a portal - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.UpsertEmailTemplatesRequest( - email_templates=shared.EmailTemplates( - confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', - forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', - invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', - on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', - on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', - ), - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( - epilot_auth="", -)) - -if res.upsert_email_templates_200_application_json_object is not None: - # handle response -``` - -## upsert_portal - -Upserts the settings for a portal of an organization. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot() - -req = operations.UpsertPortalRequest( - upsert_portal_config=shared.UpsertPortalConfig( - cognito_details=shared.UpsertPortalConfigCognitoDetails( - cognito_user_pool_arn='arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341', - cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', - cognito_user_pool_id='eu-central-1_CUEQRNbUb', - ), - config='fuga', - contact_secondary_identifier='full_name', - default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( - on_pending_user={ - "corporis": 'iste', - "iure": 'saepe', - }, - ), - design_id='9ba94f20-b872-4217-a259-2a90a8ee1a29', - domain='abc.com', - email_templates=shared.EmailTemplates( - confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', - forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', - invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', - on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', - on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', - ), - enabled=False, - entity_actions=[ - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='architecto', - en='ipsa', - ), - journey_id='reiciendis', - slug=shared.EntitySlug.CONTACT, - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='est', - en='mollitia', - ), - journey_id='laborum', - slug=shared.EntitySlug.CONTACT, - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='dolores', - en='dolorem', - ), - journey_id='corporis', - slug=shared.EntitySlug.CONTACT, - ), - ], - entity_identifiers=shared.UpsertPortalConfigEntityIdentifiers( - type=shared.UpsertPortalConfigEntityIdentifiersType( - attributes=[ - 'contract_number', - ], - is_enabled=False, - ), - ), - grants=[ - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.ALLOW, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.DENY, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.ALLOW, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.ALLOW, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), - ], - images=shared.UpsertPortalConfigImages( - order_left_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg', - order_right_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg', - welcome_banner='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg', - ), - is_epilot_domain=False, - name='Installer Portal', - self_registration=False, - ), - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( - epilot_auth="", -)) - -if res.portal_config is not None: - # handle response -``` diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md new file mode 100755 index 000000000..ceb913187 --- /dev/null +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md @@ -0,0 +1,11 @@ +# AddEndCustomerRelationToEntity200ApplicationJSON + +Portal user is added as a relation to the requested entity successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `entity` | dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md new file mode 100755 index 000000000..121af0f78 --- /dev/null +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md @@ -0,0 +1,9 @@ +# AddEndCustomerRelationToEntityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of the Entity | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md new file mode 100755 index 000000000..06ce47d79 --- /dev/null +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md @@ -0,0 +1,12 @@ +# AddEndCustomerRelationToEntityResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[AddEndCustomerRelationToEntity200ApplicationJSON]](../../models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md new file mode 100755 index 000000000..757f431ba --- /dev/null +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md @@ -0,0 +1,8 @@ +# AddEndCustomerRelationToEntitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistribution200applicationjson.md b/customer_portal/docs/models/operations/configuredistribution200applicationjson.md new file mode 100755 index 000000000..242f27bc9 --- /dev/null +++ b/customer_portal/docs/models/operations/configuredistribution200applicationjson.md @@ -0,0 +1,10 @@ +# ConfigureDistribution200ApplicationJSON + +The cloudfront distribution has been configure successfully for the custom domain. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `domain_name` | *Optional[str]* | :heavy_minus_sign: | The domain name of the configured distribution | dsj8op4ha01jha23.cloudfront.net | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionrequest.md b/customer_portal/docs/models/operations/configuredistributionrequest.md new file mode 100755 index 000000000..a9159643c --- /dev/null +++ b/customer_portal/docs/models/operations/configuredistributionrequest.md @@ -0,0 +1,8 @@ +# ConfigureDistributionRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md new file mode 100755 index 000000000..40a91dda2 --- /dev/null +++ b/customer_portal/docs/models/operations/configuredistributionresponse.md @@ -0,0 +1,12 @@ +# ConfigureDistributionResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `configure_distribution_200_application_json_object` | [Optional[ConfigureDistribution200ApplicationJSON]](../../models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionsecurity.md b/customer_portal/docs/models/operations/configuredistributionsecurity.md new file mode 100755 index 000000000..ae8f09d62 --- /dev/null +++ b/customer_portal/docs/models/operations/configuredistributionsecurity.md @@ -0,0 +1,8 @@ +# ConfigureDistributionSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/confirmuserrequest.md b/customer_portal/docs/models/operations/confirmuserrequest.md new file mode 100755 index 000000000..c1921893a --- /dev/null +++ b/customer_portal/docs/models/operations/confirmuserrequest.md @@ -0,0 +1,10 @@ +# ConfirmUserRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The ID of portal user id | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org_id` | *str* | :heavy_check_mark: | Organization ID | 123 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md new file mode 100755 index 000000000..019684efa --- /dev/null +++ b/customer_portal/docs/models/operations/confirmuserresponse.md @@ -0,0 +1,11 @@ +# ConfirmUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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/customer_portal/docs/models/operations/createssouser201applicationjson.md b/customer_portal/docs/models/operations/createssouser201applicationjson.md new file mode 100755 index 000000000..788716691 --- /dev/null +++ b/customer_portal/docs/models/operations/createssouser201applicationjson.md @@ -0,0 +1,10 @@ +# CreateSSOUser201ApplicationJSON + +SSO User created successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserrequest.md b/customer_portal/docs/models/operations/createssouserrequest.md new file mode 100755 index 000000000..d761e97d2 --- /dev/null +++ b/customer_portal/docs/models/operations/createssouserrequest.md @@ -0,0 +1,9 @@ +# CreateSSOUserRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `create_sso_user_request` | [shared.CreateSSOUserRequest](../../models/shared/createssouserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md new file mode 100755 index 000000000..c0cd247de --- /dev/null +++ b/customer_portal/docs/models/operations/createssouserresponse.md @@ -0,0 +1,12 @@ +# CreateSSOUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_sso_user_201_application_json_object` | [Optional[CreateSSOUser201ApplicationJSON]](../../models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssousersecurity.md b/customer_portal/docs/models/operations/createssousersecurity.md new file mode 100755 index 000000000..42e9555a3 --- /dev/null +++ b/customer_portal/docs/models/operations/createssousersecurity.md @@ -0,0 +1,8 @@ +# CreateSSOUserSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md new file mode 100755 index 000000000..f2ec9c9c2 --- /dev/null +++ b/customer_portal/docs/models/operations/createuser201applicationjson.md @@ -0,0 +1,11 @@ +# CreateUser201ApplicationJSON + +User created successfully. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `message` | [CreateUser201ApplicationJSONMessage](../../models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | +| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md new file mode 100755 index 000000000..caba31659 --- /dev/null +++ b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md @@ -0,0 +1,8 @@ +# CreateUser201ApplicationJSONMessage + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `USER_CREATED_SUCCESSFULLY` | User created successfully | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserrequest.md b/customer_portal/docs/models/operations/createuserrequest.md new file mode 100755 index 000000000..2251b5519 --- /dev/null +++ b/customer_portal/docs/models/operations/createuserrequest.md @@ -0,0 +1,9 @@ +# CreateUserRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `create_user_request` | [shared.CreateUserRequest](../../models/shared/createuserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md new file mode 100755 index 000000000..d3909dd37 --- /dev/null +++ b/customer_portal/docs/models/operations/createuserresponse.md @@ -0,0 +1,12 @@ +# CreateUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_user_201_application_json_object` | [Optional[CreateUser201ApplicationJSON]](../../models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md new file mode 100755 index 000000000..af2b4942a --- /dev/null +++ b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md @@ -0,0 +1,10 @@ +# DeleteEntityFile202ApplicationJSON + +The files are removed from the requested entity successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `deleted_files` | list[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md new file mode 100755 index 000000000..95b6326c5 --- /dev/null +++ b/customer_portal/docs/models/operations/deleteentityfileresponse.md @@ -0,0 +1,12 @@ +# DeleteEntityFileResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `delete_entity_file_202_application_json_object` | [Optional[DeleteEntityFile202ApplicationJSON]](../../models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfilesecurity.md b/customer_portal/docs/models/operations/deleteentityfilesecurity.md new file mode 100755 index 000000000..67841fc0e --- /dev/null +++ b/customer_portal/docs/models/operations/deleteentityfilesecurity.md @@ -0,0 +1,8 @@ +# DeleteEntityFileSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalrequest.md b/customer_portal/docs/models/operations/deleteportalrequest.md new file mode 100755 index 000000000..40381b067 --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportalrequest.md @@ -0,0 +1,8 @@ +# DeletePortalRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md new file mode 100755 index 000000000..24e17388e --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportalresponse.md @@ -0,0 +1,11 @@ +# DeletePortalResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/deleteportalsecurity.md b/customer_portal/docs/models/operations/deleteportalsecurity.md new file mode 100755 index 000000000..0e0a7611f --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportalsecurity.md @@ -0,0 +1,8 @@ +# DeletePortalSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md new file mode 100755 index 000000000..920f11e50 --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md @@ -0,0 +1,11 @@ +# DeletePortalUser200ApplicationJSON + +Portal user deleted successfully. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `message` | [Optional[DeletePortalUser200ApplicationJSONMessage]](../../models/operations/deleteportaluser200applicationjsonmessage.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md new file mode 100755 index 000000000..70f160dca --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md @@ -0,0 +1,8 @@ +# DeletePortalUser200ApplicationJSONMessage + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `USER_SUCCESFULLY_DELETED` | User Succesfully Deleted | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md new file mode 100755 index 000000000..230e81621 --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportaluserresponse.md @@ -0,0 +1,12 @@ +# DeletePortalUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `delete_portal_user_200_application_json_object` | [Optional[DeletePortalUser200ApplicationJSON]](../../models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalusersecurity.md b/customer_portal/docs/models/operations/deleteportalusersecurity.md new file mode 100755 index 000000000..1c3197673 --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportalusersecurity.md @@ -0,0 +1,8 @@ +# DeletePortalUserSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md new file mode 100755 index 000000000..2591a9a54 --- /dev/null +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md @@ -0,0 +1,10 @@ +# ExtraPermissionAttributes200ApplicationJSON + +Retrieved extra permission attributes successfully. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | [Optional[ExtraPermissionAttributes200ApplicationJSONData]](../../models/operations/extrapermissionattributes200applicationjsondata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md new file mode 100755 index 000000000..8097e36c9 --- /dev/null +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md @@ -0,0 +1,13 @@ +# ExtraPermissionAttributes200ApplicationJSONData + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `contact` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `contract` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter_counter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `opportunity` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `order` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md new file mode 100755 index 000000000..c366352ee --- /dev/null +++ b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md @@ -0,0 +1,12 @@ +# ExtraPermissionAttributesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `extra_permission_attributes_200_application_json_object` | [Optional[ExtraPermissionAttributes200ApplicationJSON]](../../models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md new file mode 100755 index 000000000..76cf8e353 --- /dev/null +++ b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md @@ -0,0 +1,8 @@ +# ExtraPermissionAttributesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontracts200applicationjson.md b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md new file mode 100755 index 000000000..fd0dd5c76 --- /dev/null +++ b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md @@ -0,0 +1,10 @@ +# GetAllContracts200ApplicationJSON + +Contracts have been retrieved successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md new file mode 100755 index 000000000..58b01931b --- /dev/null +++ b/customer_portal/docs/models/operations/getallcontractsresponse.md @@ -0,0 +1,12 @@ +# GetAllContractsResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_contracts_200_application_json_object` | [Optional[GetAllContracts200ApplicationJSON]](../../models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractssecurity.md b/customer_portal/docs/models/operations/getallcontractssecurity.md new file mode 100755 index 000000000..2747ecee7 --- /dev/null +++ b/customer_portal/docs/models/operations/getallcontractssecurity.md @@ -0,0 +1,8 @@ +# GetAllContractsSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunities200applicationjson.md b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md new file mode 100755 index 000000000..d1150c506 --- /dev/null +++ b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md @@ -0,0 +1,10 @@ +# GetAllOpportunities200ApplicationJSON + +The opportunities is retrieved successfully for the portal user. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md new file mode 100755 index 000000000..f9a6cde44 --- /dev/null +++ b/customer_portal/docs/models/operations/getallopportunitiesresponse.md @@ -0,0 +1,12 @@ +# GetAllOpportunitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_opportunities_200_application_json_object` | [Optional[GetAllOpportunities200ApplicationJSON]](../../models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiessecurity.md b/customer_portal/docs/models/operations/getallopportunitiessecurity.md new file mode 100755 index 000000000..d6d1884eb --- /dev/null +++ b/customer_portal/docs/models/operations/getallopportunitiessecurity.md @@ -0,0 +1,8 @@ +# GetAllOpportunitiesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallorders200applicationjson.md b/customer_portal/docs/models/operations/getallorders200applicationjson.md new file mode 100755 index 000000000..4b8dc13c7 --- /dev/null +++ b/customer_portal/docs/models/operations/getallorders200applicationjson.md @@ -0,0 +1,10 @@ +# GetAllOrders200ApplicationJSON + +The orders for the portal user returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md new file mode 100755 index 000000000..9c37a5b52 --- /dev/null +++ b/customer_portal/docs/models/operations/getallordersresponse.md @@ -0,0 +1,12 @@ +# GetAllOrdersResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_orders_200_application_json_object` | [Optional[GetAllOrders200ApplicationJSON]](../../models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallorderssecurity.md b/customer_portal/docs/models/operations/getallorderssecurity.md new file mode 100755 index 000000000..64712a5c5 --- /dev/null +++ b/customer_portal/docs/models/operations/getallorderssecurity.md @@ -0,0 +1,8 @@ +# GetAllOrdersSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md new file mode 100755 index 000000000..85f25ff36 --- /dev/null +++ b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md @@ -0,0 +1,10 @@ +# GetAllPortalConfigs200ApplicationJSON + +All portal configs retrieved successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `data` | list[[shared.PortalConfig](../../models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md new file mode 100755 index 000000000..481fd66e1 --- /dev/null +++ b/customer_portal/docs/models/operations/getallportalconfigsresponse.md @@ -0,0 +1,12 @@ +# GetAllPortalConfigsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_portal_configs_200_application_json_object` | [Optional[GetAllPortalConfigs200ApplicationJSON]](../../models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigssecurity.md b/customer_portal/docs/models/operations/getallportalconfigssecurity.md new file mode 100755 index 000000000..f0f1c8f86 --- /dev/null +++ b/customer_portal/docs/models/operations/getallportalconfigssecurity.md @@ -0,0 +1,8 @@ +# GetAllPortalConfigsSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontact200applicationjson.md b/customer_portal/docs/models/operations/getcontact200applicationjson.md new file mode 100755 index 000000000..a3a523d73 --- /dev/null +++ b/customer_portal/docs/models/operations/getcontact200applicationjson.md @@ -0,0 +1,12 @@ +# GetContact200ApplicationJSON + +Retrieves the mapped contact of the logged in user successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | +| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | +| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md new file mode 100755 index 000000000..6c33087de --- /dev/null +++ b/customer_portal/docs/models/operations/getcontactresponse.md @@ -0,0 +1,12 @@ +# GetContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contact_200_application_json_object` | [Optional[GetContact200ApplicationJSON]](../../models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactsecurity.md b/customer_portal/docs/models/operations/getcontactsecurity.md new file mode 100755 index 000000000..208abba2b --- /dev/null +++ b/customer_portal/docs/models/operations/getcontactsecurity.md @@ -0,0 +1,8 @@ +# GetContactSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontract200applicationjson.md b/customer_portal/docs/models/operations/getcontract200applicationjson.md new file mode 100755 index 000000000..e7c235a5c --- /dev/null +++ b/customer_portal/docs/models/operations/getcontract200applicationjson.md @@ -0,0 +1,14 @@ +# GetContract200ApplicationJSON + +The requested contract returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The contract entity | +| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested contract | +| `orders` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related orders of the requested contract | +| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested contract | +| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractrequest.md b/customer_portal/docs/models/operations/getcontractrequest.md new file mode 100755 index 000000000..44ce41301 --- /dev/null +++ b/customer_portal/docs/models/operations/getcontractrequest.md @@ -0,0 +1,8 @@ +# GetContractRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md new file mode 100755 index 000000000..91def2250 --- /dev/null +++ b/customer_portal/docs/models/operations/getcontractresponse.md @@ -0,0 +1,12 @@ +# GetContractResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contract_200_application_json_object` | [Optional[GetContract200ApplicationJSON]](../../models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractsecurity.md b/customer_portal/docs/models/operations/getcontractsecurity.md new file mode 100755 index 000000000..b0ab9cb2a --- /dev/null +++ b/customer_portal/docs/models/operations/getcontractsecurity.md @@ -0,0 +1,8 @@ +# GetContractSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md b/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md new file mode 100755 index 000000000..422635c6b --- /dev/null +++ b/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md @@ -0,0 +1,10 @@ +# GetCountByEmail200ApplicationJSON + +Contact count for the requested email successfully. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `count` | *Optional[float]* | :heavy_minus_sign: | Count of Contact | 2 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailrequest.md b/customer_portal/docs/models/operations/getcountbyemailrequest.md new file mode 100755 index 000000000..ba949760c --- /dev/null +++ b/customer_portal/docs/models/operations/getcountbyemailrequest.md @@ -0,0 +1,9 @@ +# GetCountByEmailRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *str* | :heavy_check_mark: | N/A | test@test.com | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md new file mode 100755 index 000000000..985a0eb7a --- /dev/null +++ b/customer_portal/docs/models/operations/getcountbyemailresponse.md @@ -0,0 +1,12 @@ +# GetCountByEmailResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `get_count_by_email_200_application_json_object` | [Optional[GetCountByEmail200ApplicationJSON]](../../models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontact200applicationjson.md b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md new file mode 100755 index 000000000..25445413c --- /dev/null +++ b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md @@ -0,0 +1,10 @@ +# GetECPContact200ApplicationJSON + +The contact returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactrequest.md b/customer_portal/docs/models/operations/getecpcontactrequest.md new file mode 100755 index 000000000..f739f1c68 --- /dev/null +++ b/customer_portal/docs/models/operations/getecpcontactrequest.md @@ -0,0 +1,8 @@ +# GetECPContactRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *str* | :heavy_check_mark: | N/A | 1234 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md new file mode 100755 index 000000000..cefa4df16 --- /dev/null +++ b/customer_portal/docs/models/operations/getecpcontactresponse.md @@ -0,0 +1,12 @@ +# GetECPContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_ecp_contact_200_application_json_object` | [Optional[GetECPContact200ApplicationJSON]](../../models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactsecurity.md b/customer_portal/docs/models/operations/getecpcontactsecurity.md new file mode 100755 index 000000000..5ce01e351 --- /dev/null +++ b/customer_portal/docs/models/operations/getecpcontactsecurity.md @@ -0,0 +1,8 @@ +# GetECPContactSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getemailtemplatesrequest.md b/customer_portal/docs/models/operations/getemailtemplatesrequest.md new file mode 100755 index 000000000..42556a9c1 --- /dev/null +++ b/customer_portal/docs/models/operations/getemailtemplatesrequest.md @@ -0,0 +1,8 @@ +# GetEmailTemplatesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md new file mode 100755 index 000000000..21193ba93 --- /dev/null +++ b/customer_portal/docs/models/operations/getemailtemplatesresponse.md @@ -0,0 +1,12 @@ +# GetEmailTemplatesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `email_templates` | [Optional[shared.EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getemailtemplatessecurity.md b/customer_portal/docs/models/operations/getemailtemplatessecurity.md new file mode 100755 index 000000000..bd6883f48 --- /dev/null +++ b/customer_portal/docs/models/operations/getemailtemplatessecurity.md @@ -0,0 +1,8 @@ +# GetEmailTemplatesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md new file mode 100755 index 000000000..759cccea9 --- /dev/null +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md @@ -0,0 +1,10 @@ +# GetEntitiesByIdentifiers200ApplicationJSON + +The returned Entities + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md new file mode 100755 index 000000000..67ee1181a --- /dev/null +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md @@ -0,0 +1,9 @@ +# GetEntitiesByIdentifiersRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md new file mode 100755 index 000000000..cf00bb5df --- /dev/null +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md @@ -0,0 +1,12 @@ +# GetEntitiesByIdentifiersResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_entities_by_identifiers_200_application_json_object` | [Optional[GetEntitiesByIdentifiers200ApplicationJSON]](../../models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md new file mode 100755 index 000000000..4ab00c8bd --- /dev/null +++ b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md @@ -0,0 +1,8 @@ +# GetEntitiesByIdentifiersSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md new file mode 100755 index 000000000..bc8532461 --- /dev/null +++ b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md @@ -0,0 +1,10 @@ +# GetEntityIdentifiers200ApplicationJSON + +The identifiers of the requested entity returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `data` | list[[GetEntityIdentifiers200ApplicationJSONData](../../models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md new file mode 100755 index 000000000..9410d0c6f --- /dev/null +++ b/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md @@ -0,0 +1,9 @@ +# GetEntityIdentifiers200ApplicationJSONData + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | The name of the identifier | contract_number | +| `type` | *Optional[str]* | :heavy_minus_sign: | The type of the identifier | string | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersrequest.md b/customer_portal/docs/models/operations/getentityidentifiersrequest.md new file mode 100755 index 000000000..d5315c4bc --- /dev/null +++ b/customer_portal/docs/models/operations/getentityidentifiersrequest.md @@ -0,0 +1,8 @@ +# GetEntityIdentifiersRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md new file mode 100755 index 000000000..46e1b8ccd --- /dev/null +++ b/customer_portal/docs/models/operations/getentityidentifiersresponse.md @@ -0,0 +1,12 @@ +# GetEntityIdentifiersResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_entity_identifiers_200_application_json_object` | [Optional[GetEntityIdentifiers200ApplicationJSON]](../../models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifierssecurity.md b/customer_portal/docs/models/operations/getentityidentifierssecurity.md new file mode 100755 index 000000000..b1a61e24d --- /dev/null +++ b/customer_portal/docs/models/operations/getentityidentifierssecurity.md @@ -0,0 +1,8 @@ +# GetEntityIdentifiersSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunity200applicationjson.md b/customer_portal/docs/models/operations/getopportunity200applicationjson.md new file mode 100755 index 000000000..ac9b4abdf --- /dev/null +++ b/customer_portal/docs/models/operations/getopportunity200applicationjson.md @@ -0,0 +1,14 @@ +# GetOpportunity200ApplicationJSON + +The returned opportunities + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The opportunity entity | +| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested opportunity | +| `orders` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related orders of the requested opportunity | +| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested opportunity | +| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested opportunity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityrequest.md b/customer_portal/docs/models/operations/getopportunityrequest.md new file mode 100755 index 000000000..bf49a4120 --- /dev/null +++ b/customer_portal/docs/models/operations/getopportunityrequest.md @@ -0,0 +1,8 @@ +# GetOpportunityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md new file mode 100755 index 000000000..7ea2791cb --- /dev/null +++ b/customer_portal/docs/models/operations/getopportunityresponse.md @@ -0,0 +1,12 @@ +# GetOpportunityResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_opportunity_200_application_json_object` | [Optional[GetOpportunity200ApplicationJSON]](../../models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunitysecurity.md b/customer_portal/docs/models/operations/getopportunitysecurity.md new file mode 100755 index 000000000..142935d35 --- /dev/null +++ b/customer_portal/docs/models/operations/getopportunitysecurity.md @@ -0,0 +1,8 @@ +# GetOpportunitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorder200applicationjson.md b/customer_portal/docs/models/operations/getorder200applicationjson.md new file mode 100755 index 000000000..0e3e5c091 --- /dev/null +++ b/customer_portal/docs/models/operations/getorder200applicationjson.md @@ -0,0 +1,15 @@ +# GetOrder200ApplicationJSON + +The requested order has been retrieved successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `cross_sellable_products` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related cross sellable products of the requested order | +| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The order entity | +| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested order | +| `products` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related products of the requested order | +| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested order | +| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested order | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderrequest.md b/customer_portal/docs/models/operations/getorderrequest.md new file mode 100755 index 000000000..5dcbb06e4 --- /dev/null +++ b/customer_portal/docs/models/operations/getorderrequest.md @@ -0,0 +1,8 @@ +# GetOrderRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md new file mode 100755 index 000000000..08d192705 --- /dev/null +++ b/customer_portal/docs/models/operations/getorderresponse.md @@ -0,0 +1,12 @@ +# GetOrderResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_order_200_application_json_object` | [Optional[GetOrder200ApplicationJSON]](../../models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getordersecurity.md b/customer_portal/docs/models/operations/getordersecurity.md new file mode 100755 index 000000000..c1ac1ff73 --- /dev/null +++ b/customer_portal/docs/models/operations/getordersecurity.md @@ -0,0 +1,8 @@ +# GetOrderSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md new file mode 100755 index 000000000..97b440f2e --- /dev/null +++ b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md @@ -0,0 +1,10 @@ +# GetOrganizationSettings200ApplicationJSON + +Retrieved the settings for an organization successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `data` | [Optional[shared.OrganizationSettings]](../../models/shared/organizationsettings.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md new file mode 100755 index 000000000..732c821aa --- /dev/null +++ b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md @@ -0,0 +1,12 @@ +# GetOrganizationSettingsResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_organization_settings_200_application_json_object` | [Optional[GetOrganizationSettings200ApplicationJSON]](../../models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md new file mode 100755 index 000000000..52c0458cd --- /dev/null +++ b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md @@ -0,0 +1,8 @@ +# GetOrganizationSettingsSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigrequest.md b/customer_portal/docs/models/operations/getorgportalconfigrequest.md new file mode 100755 index 000000000..0ec918976 --- /dev/null +++ b/customer_portal/docs/models/operations/getorgportalconfigrequest.md @@ -0,0 +1,8 @@ +# GetOrgPortalConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md new file mode 100755 index 000000000..64605eea4 --- /dev/null +++ b/customer_portal/docs/models/operations/getorgportalconfigresponse.md @@ -0,0 +1,12 @@ +# GetOrgPortalConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getorgportalconfigsecurity.md b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md new file mode 100755 index 000000000..32e76cbc6 --- /dev/null +++ b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md @@ -0,0 +1,8 @@ +# GetOrgPortalConfigSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md new file mode 100755 index 000000000..4ee811e1f --- /dev/null +++ b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md @@ -0,0 +1,8 @@ +# GetPortalConfigByDomainRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *str* | :heavy_check_mark: | N/A | example.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md new file mode 100755 index 000000000..27b2aa862 --- /dev/null +++ b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md @@ -0,0 +1,12 @@ +# GetPortalConfigByDomainResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportalconfigrequest.md b/customer_portal/docs/models/operations/getportalconfigrequest.md new file mode 100755 index 000000000..d325d4206 --- /dev/null +++ b/customer_portal/docs/models/operations/getportalconfigrequest.md @@ -0,0 +1,8 @@ +# GetPortalConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md new file mode 100755 index 000000000..bbf6ea08c --- /dev/null +++ b/customer_portal/docs/models/operations/getportalconfigresponse.md @@ -0,0 +1,12 @@ +# GetPortalConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportalconfigsecurity.md b/customer_portal/docs/models/operations/getportalconfigsecurity.md new file mode 100755 index 000000000..2a642bf6e --- /dev/null +++ b/customer_portal/docs/models/operations/getportalconfigsecurity.md @@ -0,0 +1,9 @@ +# GetPortalConfigSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `portal_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportaluser200applicationjson.md b/customer_portal/docs/models/operations/getportaluser200applicationjson.md new file mode 100755 index 000000000..b1b82f58a --- /dev/null +++ b/customer_portal/docs/models/operations/getportaluser200applicationjson.md @@ -0,0 +1,10 @@ +# GetPortalUser200ApplicationJSON + +Portal user returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md new file mode 100755 index 000000000..d444bd78c --- /dev/null +++ b/customer_portal/docs/models/operations/getportaluserresponse.md @@ -0,0 +1,12 @@ +# GetPortalUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_portal_user_200_application_json_object` | [Optional[GetPortalUser200ApplicationJSON]](../../models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalusersecurity.md b/customer_portal/docs/models/operations/getportalusersecurity.md new file mode 100755 index 000000000..b07637f14 --- /dev/null +++ b/customer_portal/docs/models/operations/getportalusersecurity.md @@ -0,0 +1,8 @@ +# GetPortalUserSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md new file mode 100755 index 000000000..af8275a9a --- /dev/null +++ b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md @@ -0,0 +1,9 @@ +# GetPublicPortalConfigRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `org_id` | *str* | :heavy_check_mark: | N/A | 12324 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md new file mode 100755 index 000000000..e288f56c7 --- /dev/null +++ b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md @@ -0,0 +1,12 @@ +# GetPublicPortalConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getschemas200applicationjson.md b/customer_portal/docs/models/operations/getschemas200applicationjson.md new file mode 100755 index 000000000..8e9248ea8 --- /dev/null +++ b/customer_portal/docs/models/operations/getschemas200applicationjson.md @@ -0,0 +1,10 @@ +# GetSchemas200ApplicationJSON + +Retrieved schemas for an organization successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `schemas` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md new file mode 100755 index 000000000..9c9c0760a --- /dev/null +++ b/customer_portal/docs/models/operations/getschemasresponse.md @@ -0,0 +1,12 @@ +# GetSchemasResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_schemas_200_application_json_object` | [Optional[GetSchemas200ApplicationJSON]](../../models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemassecurity.md b/customer_portal/docs/models/operations/getschemassecurity.md new file mode 100755 index 000000000..8862341f3 --- /dev/null +++ b/customer_portal/docs/models/operations/getschemassecurity.md @@ -0,0 +1,8 @@ +# GetSchemasSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md new file mode 100755 index 000000000..7b671ed1d --- /dev/null +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md @@ -0,0 +1,10 @@ +# GetValidSecondaryAttributes200ApplicationJSON + +Valid secondary attributes for the contact entity are returned successfully. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | list[[GetValidSecondaryAttributes200ApplicationJSONData](../../models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md new file mode 100755 index 000000000..6acb442c4 --- /dev/null +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md @@ -0,0 +1,9 @@ +# GetValidSecondaryAttributes200ApplicationJSONData + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the secondary attribute | first_name | +| `type` | *Optional[str]* | :heavy_minus_sign: | Type of the secondary attribute | string | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md new file mode 100755 index 000000000..03859d8f4 --- /dev/null +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md @@ -0,0 +1,12 @@ +# GetValidSecondaryAttributesResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_valid_secondary_attributes_200_application_json_object` | [Optional[GetValidSecondaryAttributes200ApplicationJSON]](../../models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md new file mode 100755 index 000000000..e9d8448dc --- /dev/null +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md @@ -0,0 +1,8 @@ +# GetValidSecondaryAttributesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md new file mode 100755 index 000000000..ca532ab83 --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md @@ -0,0 +1,10 @@ +# ReplaceECPTemplateVariables200ApplicationJSON + +Replaced portal template variables successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `portal_user` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser]](../../models/operations/replaceecptemplatevariables200applicationjsonportaluser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md new file mode 100755 index 000000000..f73d69a1d --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md @@ -0,0 +1,8 @@ +# ReplaceECPTemplateVariables200ApplicationJSONPortalUser + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://end-customer-portal.ecp.dev.epilot.io/register/existing-customer?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md new file mode 100755 index 000000000..dae289481 --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md @@ -0,0 +1,9 @@ +# ReplaceECPTemplateVariablesRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `request_body` | [ReplaceECPTemplateVariablesRequestBody](../../models/operations/replaceecptemplatevariablesrequestbody.md) | :heavy_check_mark: | ECPVariables payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md new file mode 100755 index 000000000..9d6675ab9 --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md @@ -0,0 +1,10 @@ +# ReplaceECPTemplateVariablesRequestBody + +ECPVariables payload + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md new file mode 100755 index 000000000..b66372d86 --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md @@ -0,0 +1,12 @@ +# ReplaceECPTemplateVariablesResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `replace_ecp_template_variables_200_application_json_object` | [Optional[ReplaceECPTemplateVariables200ApplicationJSON]](../../models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md new file mode 100755 index 000000000..5ad90c80a --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md @@ -0,0 +1,8 @@ +# ReplaceECPTemplateVariablesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfile201applicationjson.md b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md new file mode 100755 index 000000000..9c09895b5 --- /dev/null +++ b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md @@ -0,0 +1,10 @@ +# SaveEntityFile201ApplicationJSON + +The files have been saved to the entitiy successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `created_files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md new file mode 100755 index 000000000..bd039d5bc --- /dev/null +++ b/customer_portal/docs/models/operations/saveentityfileresponse.md @@ -0,0 +1,12 @@ +# SaveEntityFileResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_entity_file_201_application_json_object` | [Optional[SaveEntityFile201ApplicationJSON]](../../models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfilesecurity.md b/customer_portal/docs/models/operations/saveentityfilesecurity.md new file mode 100755 index 000000000..da79e628a --- /dev/null +++ b/customer_portal/docs/models/operations/saveentityfilesecurity.md @@ -0,0 +1,8 @@ +# SaveEntityFileSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md new file mode 100755 index 000000000..ea6002415 --- /dev/null +++ b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md @@ -0,0 +1,10 @@ +# SavePortalFiles201ApplicationJSON + +The files have been saved to the portal successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `created_files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md new file mode 100755 index 000000000..a2c519b8c --- /dev/null +++ b/customer_portal/docs/models/operations/saveportalfilesresponse.md @@ -0,0 +1,12 @@ +# SavePortalFilesResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_portal_files_201_application_json_object` | [Optional[SavePortalFiles201ApplicationJSON]](../../models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilessecurity.md b/customer_portal/docs/models/operations/saveportalfilessecurity.md new file mode 100755 index 000000000..f0a9a24bc --- /dev/null +++ b/customer_portal/docs/models/operations/saveportalfilessecurity.md @@ -0,0 +1,8 @@ +# SavePortalFilesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontact200applicationjson.md b/customer_portal/docs/models/operations/updatecontact200applicationjson.md new file mode 100755 index 000000000..3a90d06fa --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontact200applicationjson.md @@ -0,0 +1,10 @@ +# UpdateContact200ApplicationJSON + +Updated the contact details successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md new file mode 100755 index 000000000..85c92b57a --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontactresponse.md @@ -0,0 +1,12 @@ +# UpdateContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactsecurity.md b/customer_portal/docs/models/operations/updatecontactsecurity.md new file mode 100755 index 000000000..0090c61b3 --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontactsecurity.md @@ -0,0 +1,8 @@ +# UpdateContactSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontract200applicationjson.md b/customer_portal/docs/models/operations/updatecontract200applicationjson.md new file mode 100755 index 000000000..6b188e828 --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontract200applicationjson.md @@ -0,0 +1,10 @@ +# UpdateContract200ApplicationJSON + +Updated the contract successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The contract entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md new file mode 100755 index 000000000..4fbbcce0d --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontractrequest.md @@ -0,0 +1,9 @@ +# UpdateContractRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested contract body to update | | +| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md new file mode 100755 index 000000000..552ae8836 --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontractresponse.md @@ -0,0 +1,12 @@ +# UpdateContractResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractsecurity.md b/customer_portal/docs/models/operations/updatecontractsecurity.md new file mode 100755 index 000000000..96ce6796e --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontractsecurity.md @@ -0,0 +1,8 @@ +# UpdateContractSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunity200applicationjson.md b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md new file mode 100755 index 000000000..e284929de --- /dev/null +++ b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md @@ -0,0 +1,10 @@ +# UpdateOpportunity200ApplicationJSON + +Updated the opportunity successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The opportunity entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md new file mode 100755 index 000000000..e7ce79093 --- /dev/null +++ b/customer_portal/docs/models/operations/updateopportunityrequest.md @@ -0,0 +1,9 @@ +# UpdateOpportunityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested opportunity body to update | | +| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md new file mode 100755 index 000000000..87f5f387a --- /dev/null +++ b/customer_portal/docs/models/operations/updateopportunityresponse.md @@ -0,0 +1,12 @@ +# UpdateOpportunityResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_opportunity_200_application_json_object` | [Optional[UpdateOpportunity200ApplicationJSON]](../../models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunitysecurity.md b/customer_portal/docs/models/operations/updateopportunitysecurity.md new file mode 100755 index 000000000..c837a4e45 --- /dev/null +++ b/customer_portal/docs/models/operations/updateopportunitysecurity.md @@ -0,0 +1,8 @@ +# UpdateOpportunitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorder200applicationjson.md b/customer_portal/docs/models/operations/updateorder200applicationjson.md new file mode 100755 index 000000000..03b6adceb --- /dev/null +++ b/customer_portal/docs/models/operations/updateorder200applicationjson.md @@ -0,0 +1,10 @@ +# UpdateOrder200ApplicationJSON + +Updated the order details successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The order entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md new file mode 100755 index 000000000..da87be5eb --- /dev/null +++ b/customer_portal/docs/models/operations/updateorderrequest.md @@ -0,0 +1,9 @@ +# UpdateOrderRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `request_body` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md new file mode 100755 index 000000000..676f8bec0 --- /dev/null +++ b/customer_portal/docs/models/operations/updateorderresponse.md @@ -0,0 +1,12 @@ +# UpdateOrderResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_order_200_application_json_object` | [Optional[UpdateOrder200ApplicationJSON]](../../models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateordersecurity.md b/customer_portal/docs/models/operations/updateordersecurity.md new file mode 100755 index 000000000..e078329c4 --- /dev/null +++ b/customer_portal/docs/models/operations/updateordersecurity.md @@ -0,0 +1,8 @@ +# UpdateOrderSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluser200applicationjson.md b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md new file mode 100755 index 000000000..e5f7095eb --- /dev/null +++ b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md @@ -0,0 +1,10 @@ +# UpdatePortalUser200ApplicationJSON + +The portal user updated successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md new file mode 100755 index 000000000..c9adc4b29 --- /dev/null +++ b/customer_portal/docs/models/operations/updateportaluserresponse.md @@ -0,0 +1,12 @@ +# UpdatePortalUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_portal_user_200_application_json_object` | [Optional[UpdatePortalUser200ApplicationJSON]](../../models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportalusersecurity.md b/customer_portal/docs/models/operations/updateportalusersecurity.md new file mode 100755 index 000000000..0c2c20dfe --- /dev/null +++ b/customer_portal/docs/models/operations/updateportalusersecurity.md @@ -0,0 +1,8 @@ +# UpdatePortalUserSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md new file mode 100755 index 000000000..5681c4846 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md @@ -0,0 +1,11 @@ +# UpsertEmailTemplates200ApplicationJSON + +Upserted email templates of the portal successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | +| `message` | [UpsertEmailTemplates200ApplicationJSONMessage](../../models/operations/upsertemailtemplates200applicationjsonmessage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md new file mode 100755 index 000000000..796d39479 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md @@ -0,0 +1,8 @@ +# UpsertEmailTemplates200ApplicationJSONMessage + + +## Values + +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY` | Email Templates upserted successfully | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md new file mode 100755 index 000000000..2c0bac06c --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md @@ -0,0 +1,9 @@ +# UpsertEmailTemplatesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md new file mode 100755 index 000000000..0c6dceb2a --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md @@ -0,0 +1,12 @@ +# UpsertEmailTemplatesResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `upsert_email_templates_200_application_json_object` | [Optional[UpsertEmailTemplates200ApplicationJSON]](../../models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md new file mode 100755 index 000000000..e0f5643a3 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md @@ -0,0 +1,8 @@ +# UpsertEmailTemplatesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalrequest.md b/customer_portal/docs/models/operations/upsertportalrequest.md new file mode 100755 index 000000000..a0b625cc0 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalrequest.md @@ -0,0 +1,9 @@ +# UpsertPortalRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `upsert_portal_config` | [shared.UpsertPortalConfig](../../models/shared/upsertportalconfig.md) | :heavy_check_mark: | Portal payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md new file mode 100755 index 000000000..6e3b60fd7 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalresponse.md @@ -0,0 +1,12 @@ +# UpsertPortalResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | +| `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/customer_portal/docs/models/operations/upsertportalsecurity.md b/customer_portal/docs/models/operations/upsertportalsecurity.md new file mode 100755 index 000000000..a0644bcfe --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalsecurity.md @@ -0,0 +1,8 @@ +# UpsertPortalSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md new file mode 100755 index 000000000..755e59b5b --- /dev/null +++ b/customer_portal/docs/models/operations/userexists200applicationjson.md @@ -0,0 +1,11 @@ +# UserExists200ApplicationJSON + +Returned whether the user exists in the portal or not successfully. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `exists` | *bool* | :heavy_check_mark: | Whether the user exists in the portal | true | +| `user` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md new file mode 100755 index 000000000..66373fb5d --- /dev/null +++ b/customer_portal/docs/models/operations/userexistsrequest.md @@ -0,0 +1,9 @@ +# UserExistsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *str* | :heavy_check_mark: | N/A | user@example.com | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md new file mode 100755 index 000000000..3f4070929 --- /dev/null +++ b/customer_portal/docs/models/operations/userexistsresponse.md @@ -0,0 +1,12 @@ +# UserExistsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `user_exists_200_application_json_object` | [Optional[UserExists200ApplicationJSON]](../../models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md new file mode 100755 index 000000000..d51f93c2f --- /dev/null +++ b/customer_portal/docs/models/shared/createssouserrequest.md @@ -0,0 +1,12 @@ +# CreateSSOUserRequest + +Portal user payload + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | +| `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md new file mode 100755 index 000000000..ac2a1dd94 --- /dev/null +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -0,0 +1,16 @@ +# CreateUserRequest + +Portal user payload + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 123456 | +| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | +| `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | +| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | +| `password` | *str* | :heavy_check_mark: | User's password | 124n$aAJs*d41h4 | +| `secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact | 123456 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md new file mode 100755 index 000000000..cb46b6a1b --- /dev/null +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -0,0 +1,12 @@ +# DeleteEntityFile + +Delete file + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | +| `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/emailtemplates.md b/customer_portal/docs/models/shared/emailtemplates.md new file mode 100755 index 000000000..1e25e5a9f --- /dev/null +++ b/customer_portal/docs/models/shared/emailtemplates.md @@ -0,0 +1,14 @@ +# EmailTemplates + +Email templates used for authentication and internal processes + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `confirm_account` | *Optional[str]* | :heavy_minus_sign: | ID of the confirmation email template upon registration | 701f089d-6953-48b5-ac35-442de7c59cd3 | +| `forgot_password` | *Optional[str]* | :heavy_minus_sign: | ID of the email template for forgot password | 6538fddb-f0e9-4f0f-af51-6e57891ff20a | +| `invitation` | *Optional[str]* | :heavy_minus_sign: | ID of the email template for invitation | 14ae65fb-0dc1-4863-8743-6bc01da469f6 | +| `on_map_a_pending_user` | *Optional[str]* | :heavy_minus_sign: | ID of the email template for mapping a pending portal user with a contact | 940134fa-50f2-4204-a08a-fd3afddbf39a | +| `on_new_quote` | *Optional[str]* | :heavy_minus_sign: | ID of the email template for new quote | b03e2b88-8f3f-4a93-8118-1fb07e9198a1 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityslug.md b/customer_portal/docs/models/shared/entityslug.md new file mode 100755 index 000000000..092358282 --- /dev/null +++ b/customer_portal/docs/models/shared/entityslug.md @@ -0,0 +1,16 @@ +# EntitySlug + +URL-friendly identifier for the entity schema + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `CONTACT` | contact | +| `CONTRACT` | contract | +| `FILE` | file | +| `ORDER` | order | +| `OPPORTUNITY` | opportunity | +| `PRODUCT` | product | +| `PRICE` | price | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/errorresp.md b/customer_portal/docs/models/shared/errorresp.md new file mode 100755 index 000000000..4734ab37f --- /dev/null +++ b/customer_portal/docs/models/shared/errorresp.md @@ -0,0 +1,10 @@ +# ErrorResp + +Could not authenticate the user + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `message` | *Optional[str]* | :heavy_minus_sign: | Error message | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/extraschemaattributes.md b/customer_portal/docs/models/shared/extraschemaattributes.md new file mode 100755 index 000000000..3ddf533a5 --- /dev/null +++ b/customer_portal/docs/models/shared/extraschemaattributes.md @@ -0,0 +1,10 @@ +# ExtraSchemaAttributes + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `group` | *str* | :heavy_check_mark: | Attribute group | +| `label` | *str* | :heavy_check_mark: | Attribute label | +| `name` | *str* | :heavy_check_mark: | Attribute name | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/grant.md b/customer_portal/docs/models/shared/grant.md new file mode 100755 index 000000000..37f7ee110 --- /dev/null +++ b/customer_portal/docs/models/shared/grant.md @@ -0,0 +1,10 @@ +# Grant + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `action` | *str* | :heavy_check_mark: | Action for granting permission | entity-read | +| `effect` | [Optional[GrantEffect]](../../models/shared/granteffect.md) | :heavy_minus_sign: | Effect of the permission | | +| `resource` | *Optional[str]* | :heavy_minus_sign: | Resource for granting permission | entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/granteffect.md b/customer_portal/docs/models/shared/granteffect.md new file mode 100755 index 000000000..b20d08f5a --- /dev/null +++ b/customer_portal/docs/models/shared/granteffect.md @@ -0,0 +1,11 @@ +# GrantEffect + +Effect of the permission + + +## Values + +| Name | Value | +| ------- | ------- | +| `ALLOW` | allow | +| `DENY` | deny | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettings.md b/customer_portal/docs/models/shared/organizationsettings.md new file mode 100755 index 000000000..ea8ca3d52 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettings.md @@ -0,0 +1,26 @@ +# OrganizationSettings + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `automation_entity_mapping` | [Optional[OrganizationSettingsAutomationEntityMapping]](../../models/shared/organizationsettingsautomationentitymapping.md) | :heavy_minus_sign: | N/A | +| `automation_preview` | [Optional[OrganizationSettingsAutomationPreview]](../../models/shared/organizationsettingsautomationpreview.md) | :heavy_minus_sign: | N/A | +| `central_inbox_preview_setting` | [Optional[OrganizationSettingsCentralInboxPreviewSetting]](../../models/shared/organizationsettingscentralinboxpreviewsetting.md) | :heavy_minus_sign: | N/A | +| `contracts_preview_setting` | [Optional[OrganizationSettingsContractsPreviewSetting]](../../models/shared/organizationsettingscontractspreviewsetting.md) | :heavy_minus_sign: | N/A | +| `disable_ivy` | [Optional[OrganizationSettingsDisableIvy]](../../models/shared/organizationsettingsdisableivy.md) | :heavy_minus_sign: | N/A | +| `double_opt_in` | [Optional[OrganizationSettingsDoubleOptIn]](../../models/shared/organizationsettingsdoubleoptin.md) | :heavy_minus_sign: | N/A | +| `ecommerce_catalog_preview` | [Optional[OrganizationSettingsEcommerceCatalogPreview]](../../models/shared/organizationsettingsecommercecatalogpreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_opportunities_preview` | [Optional[OrganizationSettingsEcommerceOpportunitiesPreview]](../../models/shared/organizationsettingsecommerceopportunitiespreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_preview` | [Optional[OrganizationSettingsEcommercePreview]](../../models/shared/organizationsettingsecommercepreview.md) | :heavy_minus_sign: | N/A | +| `end_customer_portal` | [Optional[OrganizationSettingsEndCustomerPortal]](../../models/shared/organizationsettingsendcustomerportal.md) | :heavy_minus_sign: | N/A | +| `entity_schema_builder` | [Optional[OrganizationSettingsEntitySchemaBuilder]](../../models/shared/organizationsettingsentityschemabuilder.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[OrganizationSettingsInstallerPortal]](../../models/shared/organizationsettingsinstallerportal.md) | :heavy_minus_sign: | N/A | +| `logic_editor_preview` | [Optional[OrganizationSettingsLogicEditorPreview]](../../models/shared/organizationsettingslogiceditorpreview.md) | :heavy_minus_sign: | N/A | +| `new_navigation` | [Optional[OrganizationSettingsNewNavigation]](../../models/shared/organizationsettingsnewnavigation.md) | :heavy_minus_sign: | N/A | +| `partnering` | [Optional[OrganizationSettingsPartnering]](../../models/shared/organizationsettingspartnering.md) | :heavy_minus_sign: | N/A | +| `product_availability` | [Optional[OrganizationSettingsProductAvailability]](../../models/shared/organizationsettingsproductavailability.md) | :heavy_minus_sign: | N/A | +| `sso` | [Optional[OrganizationSettingsSso]](../../models/shared/organizationsettingssso.md) | :heavy_minus_sign: | N/A | +| `submission_preview` | [Optional[OrganizationSettingsSubmissionPreview]](../../models/shared/organizationsettingssubmissionpreview.md) | :heavy_minus_sign: | N/A | +| `user_roles_preview` | [Optional[OrganizationSettingsUserRolesPreview]](../../models/shared/organizationsettingsuserrolespreview.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md b/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md new file mode 100755 index 000000000..7866db84d --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md @@ -0,0 +1,8 @@ +# OrganizationSettingsAutomationEntityMapping + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable automation entity mapping | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md b/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md new file mode 100755 index 000000000..6ea8844e6 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsAutomationPreview + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable automation preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md new file mode 100755 index 000000000..e82299e41 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md @@ -0,0 +1,8 @@ +# OrganizationSettingsCentralInboxPreviewSetting + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable central inbox preview setting | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md new file mode 100755 index 000000000..4cfc44bb7 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md @@ -0,0 +1,8 @@ +# OrganizationSettingsContractsPreviewSetting + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable contracts preview setting | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsdisableivy.md b/customer_portal/docs/models/shared/organizationsettingsdisableivy.md new file mode 100755 index 000000000..de15e0fbb --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsdisableivy.md @@ -0,0 +1,8 @@ +# OrganizationSettingsDisableIvy + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable Ivy | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md b/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md new file mode 100755 index 000000000..df90f3edc --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md @@ -0,0 +1,8 @@ +# OrganizationSettingsDoubleOptIn + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable double opt-in | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md new file mode 100755 index 000000000..5fd4b1df6 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsEcommerceCatalogPreview + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable ecommerce catalog preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md b/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md new file mode 100755 index 000000000..752f97207 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsEcommerceOpportunitiesPreview + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable ecommerce opportunities preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md new file mode 100755 index 000000000..917e2efba --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsEcommercePreview + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable ecommerce preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md b/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md new file mode 100755 index 000000000..3236f0541 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md @@ -0,0 +1,8 @@ +# OrganizationSettingsEndCustomerPortal + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable end customer portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md b/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md new file mode 100755 index 000000000..d9dc1d412 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md @@ -0,0 +1,8 @@ +# OrganizationSettingsEntitySchemaBuilder + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable entity schema builder | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md b/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md new file mode 100755 index 000000000..4b3d3c3f7 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md @@ -0,0 +1,8 @@ +# OrganizationSettingsInstallerPortal + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable installer portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md b/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md new file mode 100755 index 000000000..452420eef --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsLogicEditorPreview + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable logic editor preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md b/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md new file mode 100755 index 000000000..2faa8eb1e --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md @@ -0,0 +1,8 @@ +# OrganizationSettingsNewNavigation + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable new navigation | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingspartnering.md b/customer_portal/docs/models/shared/organizationsettingspartnering.md new file mode 100755 index 000000000..4c716ca65 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingspartnering.md @@ -0,0 +1,8 @@ +# OrganizationSettingsPartnering + + +## Fields + +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable partnering | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsproductavailability.md b/customer_portal/docs/models/shared/organizationsettingsproductavailability.md new file mode 100755 index 000000000..1237c3c70 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsproductavailability.md @@ -0,0 +1,8 @@ +# OrganizationSettingsProductAvailability + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable product availability | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingssso.md b/customer_portal/docs/models/shared/organizationsettingssso.md new file mode 100755 index 000000000..6155c5eb8 --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingssso.md @@ -0,0 +1,8 @@ +# OrganizationSettingsSso + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable single sign-on (SSO) | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md b/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md new file mode 100755 index 000000000..bdeb2662e --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsSubmissionPreview + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable submission preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md b/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md new file mode 100755 index 000000000..449ebde8c --- /dev/null +++ b/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md @@ -0,0 +1,8 @@ +# OrganizationSettingsUserRolesPreview + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable user roles preview | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/origin.md b/customer_portal/docs/models/shared/origin.md new file mode 100755 index 000000000..99cea63a2 --- /dev/null +++ b/customer_portal/docs/models/shared/origin.md @@ -0,0 +1,11 @@ +# Origin + +Origin of the portal + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `END_CUSTOMER_PORTAL` | END_CUSTOMER_PORTAL | +| `INSTALLER_PORTAL` | INSTALLER_PORTAL | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md new file mode 100755 index 000000000..a864b8d36 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -0,0 +1,27 @@ +# PortalConfig + +Portal config retrieved successfully. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | +| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | +| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | +| `self_registration` | *Optional[bool]* | :heavy_minus_sign: | Allow portal user self-registration without a mapped contact | false | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigcognitodetails.md b/customer_portal/docs/models/shared/portalconfigcognitodetails.md new file mode 100755 index 000000000..32f6a1569 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigcognitodetails.md @@ -0,0 +1,12 @@ +# PortalConfigCognitoDetails + +AWS Cognito Pool details for the portal + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `cognito_user_pool_arn` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool ARN | arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341 | +| `cognito_user_pool_client_id` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool client ID | 6bsd0jkgoie74k2i8mrhc1vest | +| `cognito_user_pool_id` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool ID | eu-central-1_CUEQRNbUb | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md new file mode 100755 index 000000000..46bd40c7d --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md @@ -0,0 +1,10 @@ +# PortalConfigDefaultUserToNotify + +Default 360 user to notify upon an internal notification + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `on_pending_user` | list[dict[str, *Any*]] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityactions.md b/customer_portal/docs/models/shared/portalconfigentityactions.md new file mode 100755 index 000000000..20cf38fdf --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityactions.md @@ -0,0 +1,10 @@ +# PortalConfigEntityActions + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `action_label` | [Optional[PortalConfigEntityActionsActionLabel]](../../models/shared/portalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md new file mode 100755 index 000000000..68d4ea668 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md @@ -0,0 +1,9 @@ +# PortalConfigEntityActionsActionLabel + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md new file mode 100755 index 000000000..63161bea3 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md @@ -0,0 +1,10 @@ +# PortalConfigEntityIdentifiers + +Identifiers used to identify an entity by a portal user + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[PortalConfigEntityIdentifiersType]](../../models/shared/portalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md new file mode 100755 index 000000000..33682ec12 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md @@ -0,0 +1,9 @@ +# PortalConfigEntityIdentifiersType + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | +| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigimages.md b/customer_portal/docs/models/shared/portalconfigimages.md new file mode 100755 index 000000000..db3df1a51 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigimages.md @@ -0,0 +1,12 @@ +# PortalConfigImages + +Teaser & Banner Image web links + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `order_left_teaser` | *Optional[str]* | :heavy_minus_sign: | URL of the order left teaser image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg | +| `order_right_teaser` | *Optional[str]* | :heavy_minus_sign: | URL of the order right teaser image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg | +| `welcome_banner` | *Optional[str]* | :heavy_minus_sign: | URL of the welcome banner image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md new file mode 100755 index 000000000..78b342bdf --- /dev/null +++ b/customer_portal/docs/models/shared/saveentityfile.md @@ -0,0 +1,12 @@ +# SaveEntityFile + +The request of an file entity + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | +| `files` | list[[SaveEntityFileFiles](../../models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md new file mode 100755 index 000000000..debd8bd3b --- /dev/null +++ b/customer_portal/docs/models/shared/saveentityfilefiles.md @@ -0,0 +1,13 @@ +# SaveEntityFileFiles + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `access_control` | [Optional[SaveEntityFileFilesAccessControl]](../../models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | +| `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | +| `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | +| `filename` | *str* | :heavy_check_mark: | File name | 12345 | +| `s3ref` | [SaveEntityFileFilesS3ref](../../models/shared/saveentityfilefiless3ref.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md b/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md new file mode 100755 index 000000000..98bdc529b --- /dev/null +++ b/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md @@ -0,0 +1,11 @@ +# SaveEntityFileFilesAccessControl + +Access control level for the file + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `PRIVATE` | private | +| `PUBLIC_READ` | public-read | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md new file mode 100755 index 000000000..3821d0c87 --- /dev/null +++ b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md @@ -0,0 +1,9 @@ +# SaveEntityFileFilesS3ref + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md new file mode 100755 index 000000000..942057e58 --- /dev/null +++ b/customer_portal/docs/models/shared/saveportalfile.md @@ -0,0 +1,11 @@ +# SavePortalFile + +portal files request + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `files` | list[[SavePortalFileFiles](../../models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | +| `origin` | [Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md new file mode 100755 index 000000000..dd5c0194d --- /dev/null +++ b/customer_portal/docs/models/shared/saveportalfilefiles.md @@ -0,0 +1,11 @@ +# SavePortalFileFiles + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `file_type` | *str* | :heavy_check_mark: | File type | orderRightTeaser | +| `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | +| `s3ref` | [Optional[SavePortalFileFilesS3ref]](../../models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md new file mode 100755 index 000000000..4242b36fb --- /dev/null +++ b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md @@ -0,0 +1,9 @@ +# SavePortalFileFilesS3ref + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/security.md b/customer_portal/docs/models/shared/security.md new file mode 100755 index 000000000..bc97a3764 --- /dev/null +++ b/customer_portal/docs/models/shared/security.md @@ -0,0 +1,9 @@ +# Security + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `portal_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md new file mode 100755 index 000000000..429b8e351 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -0,0 +1,24 @@ +# UpsertPortalConfig + +Portal payload + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| `self_registration` | *Optional[bool]* | :heavy_minus_sign: | Allow portal user self-registration without a mapped contact | false | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md b/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md new file mode 100755 index 000000000..4624cbdb2 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md @@ -0,0 +1,12 @@ +# UpsertPortalConfigCognitoDetails + +AWS Cognito Pool details for the portal + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `cognito_user_pool_arn` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool ARN | arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341 | +| `cognito_user_pool_client_id` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool client ID | 6bsd0jkgoie74k2i8mrhc1vest | +| `cognito_user_pool_id` | *Optional[str]* | :heavy_minus_sign: | Cognito user pool ID | eu-central-1_CUEQRNbUb | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md new file mode 100755 index 000000000..109916a3d --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigDefaultUserToNotify + +Default 360 user to notify upon an internal notification + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `on_pending_user` | list[dict[str, *Any*]] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md new file mode 100755 index 000000000..9fdfb1a7c --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigEntityActions + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `action_label` | [Optional[UpsertPortalConfigEntityActionsActionLabel]](../../models/shared/upsertportalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md new file mode 100755 index 000000000..3d0e6eeb7 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md @@ -0,0 +1,9 @@ +# UpsertPortalConfigEntityActionsActionLabel + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md new file mode 100755 index 000000000..ae04544f4 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigEntityIdentifiers + +Identifiers used to identify an entity by a portal user + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[UpsertPortalConfigEntityIdentifiersType]](../../models/shared/upsertportalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md new file mode 100755 index 000000000..3d2f50b38 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md @@ -0,0 +1,9 @@ +# UpsertPortalConfigEntityIdentifiersType + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | +| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigimages.md b/customer_portal/docs/models/shared/upsertportalconfigimages.md new file mode 100755 index 000000000..122f196dc --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigimages.md @@ -0,0 +1,12 @@ +# UpsertPortalConfigImages + +Teaser & Banner Image web links + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `order_left_teaser` | *Optional[str]* | :heavy_minus_sign: | URL of the order left teaser image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg | +| `order_right_teaser` | *Optional[str]* | :heavy_minus_sign: | URL of the order right teaser image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg | +| `welcome_banner` | *Optional[str]* | :heavy_minus_sign: | URL of the welcome banner image | https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg | \ No newline at end of file diff --git a/customer_portal/docs/public/README.md b/customer_portal/docs/public/README.md deleted file mode 100755 index 05d0de819..000000000 --- a/customer_portal/docs/public/README.md +++ /dev/null @@ -1,184 +0,0 @@ -# public - -## Overview - -Public APIs - -### Available Operations - -* [confirm_user](#confirm_user) - confirmUser -* [create_user](#create_user) - createUser -* [get_count_by_email](#get_count_by_email) - getCountByEmail -* [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain -* [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig -* [user_exists](#user_exists) - userExists - -## confirm_user - -Confirm a portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.ConfirmUserRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', - org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.public.confirm_user(req) - -if res.status_code == 200: - # handle response -``` - -## create_user - -Registers a portal user - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.CreateUserRequest( - create_user_request=shared.CreateUserRequest( - contact_id='123456', - email='testemail921@yopmail.com', - first_name='John', - last_name='Doe', - org_id='728', - password='124n$aAJs*d41h4', - secondary_identifier='123456', - ), - origin=shared.Origin.END_CUSTOMER_PORTAL, -) - -res = s.public.create_user(req) - -if res.create_user_201_application_json_object is not None: - # handle response -``` - -## get_count_by_email - -Check Contact by email - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.GetCountByEmailRequest( - email='test@test.com', - org_id='123', -) - -res = s.public.get_count_by_email(req) - -if res.get_count_by_email_200_application_json_object is not None: - # handle response -``` - -## get_portal_config_by_domain - -Retrieves the portal configuration by domain. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.GetPortalConfigByDomainRequest( - domain='example.com', -) - -res = s.public.get_portal_config_by_domain(req) - -if res.portal_config is not None: - # handle response -``` - -## get_public_portal_config - -Retrieves the public portal configuration. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.GetPublicPortalConfigRequest( - org_id='12324', - origin=shared.Origin.INSTALLER_PORTAL, -) - -res = s.public.get_public_portal_config(req) - -if res.portal_config is not None: - # handle response -``` - -## user_exists - -Checks whether a user exists in the portal - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.UserExistsRequest( - email='user@example.com', - org_id='123', -) - -res = s.public.user_exists(req) - -if res.user_exists_200_application_json_object is not None: - # handle response -``` diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md new file mode 100755 index 000000000..6af7f66d5 --- /dev/null +++ b/customer_portal/docs/sdks/ecp/README.md @@ -0,0 +1,849 @@ +# ecp + +## Overview + +APIs defined for a portal user + +### Available Operations + +* [add_end_customer_relation_to_entity](#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [delete_entity_file](#delete_entity_file) - deleteEntityFile +* [delete_portal_user](#delete_portal_user) - deletePortalUser +* [get_all_contracts](#get_all_contracts) - getAllContracts +* [get_all_opportunities](#get_all_opportunities) - getAllOpportunities +* [get_all_orders](#get_all_orders) - getAllOrders +* [get_contact](#get_contact) - getContact +* [get_contract](#get_contract) - getContract +* [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_opportunity](#get_opportunity) - getOpportunity +* [get_order](#get_order) - getOrder +* [get_organization_settings](#get_organization_settings) - getOrganizationSettings +* [get_portal_config](#get_portal_config) - getPortalConfig +* [get_portal_user](#get_portal_user) - getPortalUser +* [get_schemas](#get_schemas) - getSchemas +* [save_entity_file](#save_entity_file) - saveEntityFile +* [update_contact](#update_contact) - updateContact +* [update_contract](#update_contract) - updateContract +* [update_opportunity](#update_opportunity) - updateOpportunity +* [update_order](#update_order) - updateOrder +* [update_portal_user](#update_portal_user) - updatePortalUser + +## add_end_customer_relation_to_entity + +Add portal user relation to an entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.AddEndCustomerRelationToEntityRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, +) + +res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( + portal_auth="", +)) + +if res.add_end_customer_relation_to_entity_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `request` | [operations.AddEndCustomerRelationToEntityRequest](../../models/operations/addendcustomerrelationtoentityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.AddEndCustomerRelationToEntitySecurity](../../models/operations/addendcustomerrelationtoentitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.AddEndCustomerRelationToEntityResponse](../../models/operations/addendcustomerrelationtoentityresponse.md)** + + +## delete_entity_file + +Delete files from an entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = shared.DeleteEntityFile( + entity_id='123456', + entity_type='order', + file_entity_ids=[ + '12345', + '12345', + '12345', + ], +) + +res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( + portal_auth="", +)) + +if res.delete_entity_file_202_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `request` | [shared.DeleteEntityFile](../../models/shared/deleteentityfile.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.DeleteEntityFileSecurity](../../models/operations/deleteentityfilesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.DeleteEntityFileResponse](../../models/operations/deleteentityfileresponse.md)** + + +## delete_portal_user + +Delete the portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( + portal_auth="", +)) + +if res.delete_portal_user_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `security` | [operations.DeletePortalUserSecurity](../../models/operations/deleteportalusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.DeletePortalUserResponse](../../models/operations/deleteportaluserresponse.md)** + + +## get_all_contracts + +Get all contracts for a portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( + portal_auth="", +)) + +if res.get_all_contracts_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `security` | [operations.GetAllContractsSecurity](../../models/operations/getallcontractssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetAllContractsResponse](../../models/operations/getallcontractsresponse.md)** + + +## get_all_opportunities + +Get all opportunities of a portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( + portal_auth="", +)) + +if res.get_all_opportunities_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `security` | [operations.GetAllOpportunitiesSecurity](../../models/operations/getallopportunitiessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetAllOpportunitiesResponse](../../models/operations/getallopportunitiesresponse.md)** + + +## get_all_orders + +Get all orders for the portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( + portal_auth="", +)) + +if res.get_all_orders_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `security` | [operations.GetAllOrdersSecurity](../../models/operations/getallorderssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetAllOrdersResponse](../../models/operations/getallordersresponse.md)** + + +## get_contact + +Retrieves the contact by ID. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_contact(operations.GetContactSecurity( + portal_auth="", +)) + +if res.get_contact_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `security` | [operations.GetContactSecurity](../../models/operations/getcontactsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetContactResponse](../../models/operations/getcontactresponse.md)** + + +## get_contract + +Get a contract by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetContractRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.get_contract(req, operations.GetContractSecurity( + portal_auth="", +)) + +if res.get_contract_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `request` | [operations.GetContractRequest](../../models/operations/getcontractrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetContractSecurity](../../models/operations/getcontractsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetContractResponse](../../models/operations/getcontractresponse.md)** + + +## get_entities_by_identifiers + +Get entities by identifiers by portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetEntitiesByIdentifiersRequest( + request_body={ + "distinctio": 'quibusdam', + "unde": 'nulla', + "corrupti": 'illum', + }, + slug=shared.EntitySlug.CONTACT, +) + +res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiersSecurity( + portal_auth="", +)) + +if res.get_entities_by_identifiers_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetEntitiesByIdentifiersRequest](../../models/operations/getentitiesbyidentifiersrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetEntitiesByIdentifiersSecurity](../../models/operations/getentitiesbyidentifierssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetEntitiesByIdentifiersResponse](../../models/operations/getentitiesbyidentifiersresponse.md)** + + +## get_opportunity + +Get an opportunity by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetOpportunityRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( + portal_auth="", +)) + +if res.get_opportunity_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.GetOpportunityRequest](../../models/operations/getopportunityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetOpportunitySecurity](../../models/operations/getopportunitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetOpportunityResponse](../../models/operations/getopportunityresponse.md)** + + +## get_order + +Get an order by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetOrderRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.get_order(req, operations.GetOrderSecurity( + portal_auth="", +)) + +if res.get_order_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `request` | [operations.GetOrderRequest](../../models/operations/getorderrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetOrderSecurity](../../models/operations/getordersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetOrderResponse](../../models/operations/getorderresponse.md)** + + +## get_organization_settings + +Retrieves the organization settings. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity( + portal_auth="", +)) + +if res.get_organization_settings_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `security` | [operations.GetOrganizationSettingsSecurity](../../models/operations/getorganizationsettingssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetOrganizationSettingsResponse](../../models/operations/getorganizationsettingsresponse.md)** + + +## get_portal_config + +Retrieves the portal configuration. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetPortalConfigRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( + epilot_auth="", +)) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `request` | [operations.GetPortalConfigRequest](../../models/operations/getportalconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetPortalConfigSecurity](../../models/operations/getportalconfigsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetPortalConfigResponse](../../models/operations/getportalconfigresponse.md)** + + +## get_portal_user + +Get the portal user details + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( + portal_auth="", +)) + +if res.get_portal_user_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `security` | [operations.GetPortalUserSecurity](../../models/operations/getportalusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetPortalUserResponse](../../models/operations/getportaluserresponse.md)** + + +## get_schemas + +Retrieves the schemas. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_schemas(operations.GetSchemasSecurity( + portal_auth="", +)) + +if res.get_schemas_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `security` | [operations.GetSchemasSecurity](../../models/operations/getschemassecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetSchemasResponse](../../models/operations/getschemasresponse.md)** + + +## save_entity_file + +Add files to an entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = shared.SaveEntityFile( + entity_id='123456', + entity_type='order', + files=[ + shared.SaveEntityFileFiles( + tags=[ + 'suscipit', + 'iure', + 'magnam', + ], + access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, + document_type='12345', + file_entity_id='12345', + filename='12345', + s3ref=shared.SaveEntityFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SaveEntityFileFiles( + tags=[ + 'delectus', + ], + access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, + document_type='12345', + file_entity_id='12345', + filename='12345', + s3ref=shared.SaveEntityFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SaveEntityFileFiles( + tags=[ + 'molestiae', + 'minus', + ], + access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, + document_type='12345', + file_entity_id='12345', + filename='12345', + s3ref=shared.SaveEntityFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + ], +) + +res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( + portal_auth="", +)) + +if res.save_entity_file_201_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [shared.SaveEntityFile](../../models/shared/saveentityfile.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.SaveEntityFileSecurity](../../models/operations/saveentityfilesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.SaveEntityFileResponse](../../models/operations/saveentityfileresponse.md)** + + +## update_contact + +Updates the contact details. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = { + "iusto": 'excepturi', + "nisi": 'recusandae', + "temporibus": 'ab', +} + +res = s.ecp.update_contact(req, operations.UpdateContactSecurity( + portal_auth="", +)) + +if res.update_contact_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `request` | [dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpdateContactSecurity](../../models/operations/updatecontactsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpdateContactResponse](../../models/operations/updatecontactresponse.md)** + + +## update_contract + +Update a contract by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.UpdateContractRequest( + request_body={ + "veritatis": 'deserunt', + "perferendis": 'ipsam', + }, + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.update_contract(req, operations.UpdateContractSecurity( + portal_auth="", +)) + +if res.update_contract_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.UpdateContractRequest](../../models/operations/updatecontractrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpdateContractSecurity](../../models/operations/updatecontractsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpdateContractResponse](../../models/operations/updatecontractresponse.md)** + + +## update_opportunity + +Update an opportunity by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.UpdateOpportunityRequest( + request_body={ + "sapiente": 'quo', + "odit": 'at', + "at": 'maiores', + "molestiae": 'quod', + }, + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( + portal_auth="", +)) + +if res.update_opportunity_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `request` | [operations.UpdateOpportunityRequest](../../models/operations/updateopportunityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpdateOpportunitySecurity](../../models/operations/updateopportunitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpdateOpportunityResponse](../../models/operations/updateopportunityresponse.md)** + + +## update_order + +Update an order by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.UpdateOrderRequest( + request_body={ + "esse": 'totam', + "porro": 'dolorum', + "dicta": 'nam', + "officia": 'occaecati', + }, + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.update_order(req, operations.UpdateOrderSecurity( + portal_auth="", +)) + +if res.update_order_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `request` | [operations.UpdateOrderRequest](../../models/operations/updateorderrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpdateOrderSecurity](../../models/operations/updateordersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpdateOrderResponse](../../models/operations/updateorderresponse.md)** + + +## update_portal_user + +Update the portal user details + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = { + "deleniti": 'hic', +} + +res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( + portal_auth="", +)) + +if res.update_portal_user_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `request` | [dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpdatePortalUserSecurity](../../models/operations/updateportalusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpdatePortalUserResponse](../../models/operations/updateportaluserresponse.md)** + diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md new file mode 100755 index 000000000..cc476c469 --- /dev/null +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -0,0 +1,717 @@ +# ecp_admin + +## Overview + +APIs defined for a ECP Admin + +### Available Operations + +* [configure_distribution](#configure_distribution) - configureDistribution +* [create_sso_user](#create_sso_user) - createSSOUser +* [delete_portal](#delete_portal) - deletePortal +* [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes +* [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs +* [get_ecp_contact](#get_ecp_contact) - getECPContact +* [get_email_templates](#get_email_templates) - getEmailTemplates +* [get_entity_identifiers](#get_entity_identifiers) - getEntityIdentifiers +* [get_org_portal_config](#get_org_portal_config) - getOrgPortalConfig +* [get_portal_config](#get_portal_config) - getPortalConfig +* [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables +* [save_portal_files](#save_portal_files) - savePortalFiles +* [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates +* [upsert_portal](#upsert_portal) - upsertPortal + +## configure_distribution + +Configure the distribution for the portal's custom domain + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.ConfigureDistributionRequest( + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( + epilot_auth="", +)) + +if res.configure_distribution_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `request` | [operations.ConfigureDistributionRequest](../../models/operations/configuredistributionrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.ConfigureDistributionSecurity](../../models/operations/configuredistributionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.ConfigureDistributionResponse](../../models/operations/configuredistributionresponse.md)** + + +## create_sso_user + +Creates a portal user as an SSO user. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.CreateSSOUserRequest( + create_sso_user_request=shared.CreateSSOUserRequest( + email='testemail921@yopmail.com', + first_name='John', + last_name='Doe', + ), + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( + epilot_auth="", +)) + +if res.create_sso_user_201_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `request` | [operations.CreateSSOUserRequest](../../models/operations/createssouserrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.CreateSSOUserSecurity](../../models/operations/createssousersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.CreateSSOUserResponse](../../models/operations/createssouserresponse.md)** + + +## delete_portal + +Deletes the portal. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.DeletePortalRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( + epilot_auth="", +)) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `request` | [operations.DeletePortalRequest](../../models/operations/deleteportalrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.DeletePortalSecurity](../../models/operations/deleteportalsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.DeletePortalResponse](../../models/operations/deleteportalresponse.md)** + + +## extra_permission_attributes + +Retrieves the extra permission attributes. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttributesSecurity( + epilot_auth="", +)) + +if res.extra_permission_attributes_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `security` | [operations.ExtraPermissionAttributesSecurity](../../models/operations/extrapermissionattributessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.ExtraPermissionAttributesResponse](../../models/operations/extrapermissionattributesresponse.md)** + + +## get_all_portal_configs + +Retrieves all portal configurations. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( + epilot_auth="", +)) + +if res.get_all_portal_configs_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `security` | [operations.GetAllPortalConfigsSecurity](../../models/operations/getallportalconfigssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetAllPortalConfigsResponse](../../models/operations/getallportalconfigsresponse.md)** + + +## get_ecp_contact + +Get the Contact by id + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetECPContactRequest( + id='1234', +) + +res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( + epilot_auth="", +)) + +if res.get_ecp_contact_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `request` | [operations.GetECPContactRequest](../../models/operations/getecpcontactrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetECPContactSecurity](../../models/operations/getecpcontactsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetECPContactResponse](../../models/operations/getecpcontactresponse.md)** + + +## get_email_templates + +Retrieves the email templates of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetEmailTemplatesRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( + epilot_auth="", +)) + +if res.email_templates is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `request` | [operations.GetEmailTemplatesRequest](../../models/operations/getemailtemplatesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetEmailTemplatesSecurity](../../models/operations/getemailtemplatessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetEmailTemplatesResponse](../../models/operations/getemailtemplatesresponse.md)** + + +## get_entity_identifiers + +Retrieve a list of entity identifiers used for entity search by portal users. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetEntityIdentifiersRequest( + slug=shared.EntitySlug.CONTACT, +) + +res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSecurity( + epilot_auth="", +)) + +if res.get_entity_identifiers_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetEntityIdentifiersRequest](../../models/operations/getentityidentifiersrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetEntityIdentifiersSecurity](../../models/operations/getentityidentifierssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetEntityIdentifiersResponse](../../models/operations/getentityidentifiersresponse.md)** + + +## get_org_portal_config + +Retrieves the portal configuration for the organization. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetOrgPortalConfigRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( + epilot_auth="", +)) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `request` | [operations.GetOrgPortalConfigRequest](../../models/operations/getorgportalconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetOrgPortalConfigSecurity](../../models/operations/getorgportalconfigsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetOrgPortalConfigResponse](../../models/operations/getorgportalconfigresponse.md)** + + +## get_portal_config + +Retrieves the portal configuration. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetPortalConfigRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( + epilot_auth="", +)) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `request` | [operations.GetPortalConfigRequest](../../models/operations/getportalconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetPortalConfigSecurity](../../models/operations/getportalconfigsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetPortalConfigResponse](../../models/operations/getportalconfigresponse.md)** + + +## get_valid_secondary_attributes + +Get valid secondary attributes that are used while mapping a contact on registration + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAttributesSecurity( + epilot_auth="", +)) + +if res.get_valid_secondary_attributes_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `security` | [operations.GetValidSecondaryAttributesSecurity](../../models/operations/getvalidsecondaryattributessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetValidSecondaryAttributesResponse](../../models/operations/getvalidsecondaryattributesresponse.md)** + + +## replace_ecp_template_variables + +Replaces the template variables of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.ReplaceECPTemplateVariablesRequest( + request_body=operations.ReplaceECPTemplateVariablesRequestBody( + contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', + ), + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( + epilot_auth="", +)) + +if res.replace_ecp_template_variables_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `request` | [operations.ReplaceECPTemplateVariablesRequest](../../models/operations/replaceecptemplatevariablesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.ReplaceECPTemplateVariablesSecurity](../../models/operations/replaceecptemplatevariablessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.ReplaceECPTemplateVariablesResponse](../../models/operations/replaceecptemplatevariablesresponse.md)** + + +## save_portal_files + +Add files to portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = shared.SavePortalFile( + files=[ + shared.SavePortalFileFiles( + tags=[ + 'esse', + 'ipsum', + 'excepturi', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'perferendis', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'natus', + 'sed', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'dolor', + 'natus', + 'laboriosam', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + ], + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( + epilot_auth="", +)) + +if res.save_portal_files_201_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `request` | [shared.SavePortalFile](../../models/shared/saveportalfile.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.SavePortalFilesSecurity](../../models/operations/saveportalfilessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.SavePortalFilesResponse](../../models/operations/saveportalfilesresponse.md)** + + +## upsert_email_templates + +Upserts the email templates of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.UpsertEmailTemplatesRequest( + email_templates=shared.EmailTemplates( + confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', + forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', + invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', + on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', + on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', + ), + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( + epilot_auth="", +)) + +if res.upsert_email_templates_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `request` | [operations.UpsertEmailTemplatesRequest](../../models/operations/upsertemailtemplatesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpsertEmailTemplatesSecurity](../../models/operations/upsertemailtemplatessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpsertEmailTemplatesResponse](../../models/operations/upsertemailtemplatesresponse.md)** + + +## upsert_portal + +Upserts the settings for a portal of an organization. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.UpsertPortalRequest( + upsert_portal_config=shared.UpsertPortalConfig( + cognito_details=shared.UpsertPortalConfigCognitoDetails( + cognito_user_pool_arn='arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341', + cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', + cognito_user_pool_id='eu-central-1_CUEQRNbUb', + ), + config='fuga', + contact_secondary_identifier='full_name', + default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( + on_pending_user=[ + { + "iste": 'iure', + "saepe": 'quidem', + }, + { + "ipsa": 'reiciendis', + }, + ], + ), + design_id='9ba94f20-b872-4217-a259-2a90a8ee1a29', + domain='abc.com', + email_templates=shared.EmailTemplates( + confirm_account='701f089d-6953-48b5-ac35-442de7c59cd3', + forgot_password='6538fddb-f0e9-4f0f-af51-6e57891ff20a', + invitation='14ae65fb-0dc1-4863-8743-6bc01da469f6', + on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', + on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', + ), + enabled=False, + entity_actions=[ + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de='mollitia', + en='laborum', + ), + journey_id='dolores', + slug=shared.EntitySlug.CONTACT, + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de='dolorem', + en='corporis', + ), + journey_id='explicabo', + slug=shared.EntitySlug.CONTACT, + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de='nobis', + en='enim', + ), + journey_id='omnis', + slug=shared.EntitySlug.CONTACT, + ), + ], + entity_identifiers=shared.UpsertPortalConfigEntityIdentifiers( + type=shared.UpsertPortalConfigEntityIdentifiersType( + attributes=[ + 'contract_number', + 'contract_number', + ], + is_enabled=False, + ), + ), + grants=[ + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.DENY, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', + ), + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.ALLOW, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', + ), + ], + images=shared.UpsertPortalConfigImages( + order_left_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg', + order_right_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg', + welcome_banner='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg', + ), + is_epilot_domain=False, + name='Installer Portal', + self_registration=False, + ), + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( + epilot_auth="", +)) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `request` | [operations.UpsertPortalRequest](../../models/operations/upsertportalrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpsertPortalSecurity](../../models/operations/upsertportalsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpsertPortalResponse](../../models/operations/upsertportalresponse.md)** + diff --git a/customer_portal/docs/epilot/README.md b/customer_portal/docs/sdks/epilot/README.md similarity index 100% rename from customer_portal/docs/epilot/README.md rename to customer_portal/docs/sdks/epilot/README.md diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md new file mode 100755 index 000000000..ee39d2971 --- /dev/null +++ b/customer_portal/docs/sdks/public/README.md @@ -0,0 +1,256 @@ +# public + +## Overview + +Public APIs + +### Available Operations + +* [confirm_user](#confirm_user) - confirmUser +* [create_user](#create_user) - createUser +* [get_count_by_email](#get_count_by_email) - getCountByEmail +* [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain +* [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig +* [user_exists](#user_exists) - userExists + +## confirm_user + +Confirm a portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.ConfirmUserRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + org_id='123', + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.public.confirm_user(req) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `request` | [operations.ConfirmUserRequest](../../models/operations/confirmuserrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.ConfirmUserResponse](../../models/operations/confirmuserresponse.md)** + + +## create_user + +Registers a portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.CreateUserRequest( + create_user_request=shared.CreateUserRequest( + contact_id='123456', + email='testemail921@yopmail.com', + first_name='John', + last_name='Doe', + org_id='728', + password='124n$aAJs*d41h4', + secondary_identifier='123456', + ), + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.public.create_user(req) + +if res.create_user_201_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `request` | [operations.CreateUserRequest](../../models/operations/createuserrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.CreateUserResponse](../../models/operations/createuserresponse.md)** + + +## get_count_by_email + +Check Contact by email + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetCountByEmailRequest( + email='test@test.com', + org_id='123', +) + +res = s.public.get_count_by_email(req) + +if res.get_count_by_email_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.GetCountByEmailRequest](../../models/operations/getcountbyemailrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetCountByEmailResponse](../../models/operations/getcountbyemailresponse.md)** + + +## get_portal_config_by_domain + +Retrieves the portal configuration by domain. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetPortalConfigByDomainRequest( + domain='example.com', +) + +res = s.public.get_portal_config_by_domain(req) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetPortalConfigByDomainRequest](../../models/operations/getportalconfigbydomainrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetPortalConfigByDomainResponse](../../models/operations/getportalconfigbydomainresponse.md)** + + +## get_public_portal_config + +Retrieves the public portal configuration. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetPublicPortalConfigRequest( + org_id='12324', + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.public.get_public_portal_config(req) + +if res.portal_config is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetPublicPortalConfigRequest](../../models/operations/getpublicportalconfigrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetPublicPortalConfigResponse](../../models/operations/getpublicportalconfigresponse.md)** + + +## user_exists + +Checks whether a user exists in the portal + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.UserExistsRequest( + email='user@example.com', + org_id='123', +) + +res = s.public.user_exists(req) + +if res.user_exists_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `request` | [operations.UserExistsRequest](../../models/operations/userexistsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.UserExistsResponse](../../models/operations/userexistsresponse.md)** + diff --git a/customer_portal/files.gen b/customer_portal/files.gen index c0fa8d520..b9c6c4ac2 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -69,8 +69,204 @@ src/epilot/models/shared/upsertportalconfig.py src/epilot/models/shared/createuserrequest.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py -docs/epilot/README.md -docs/ecp/README.md -docs/ecpadmin/README.md -docs/public/README.md -USAGE.md \ No newline at end of file +docs/sdks/epilot/README.md +docs/sdks/ecp/README.md +docs/sdks/ecpadmin/README.md +docs/sdks/public/README.md +USAGE.md +docs/models/operations/addendcustomerrelationtoentitysecurity.md +docs/models/operations/addendcustomerrelationtoentityrequest.md +docs/models/operations/addendcustomerrelationtoentity200applicationjson.md +docs/models/operations/addendcustomerrelationtoentityresponse.md +docs/models/operations/deleteentityfilesecurity.md +docs/models/operations/deleteentityfile202applicationjson.md +docs/models/operations/deleteentityfileresponse.md +docs/models/operations/deleteportalusersecurity.md +docs/models/operations/deleteportaluser200applicationjsonmessage.md +docs/models/operations/deleteportaluser200applicationjson.md +docs/models/operations/deleteportaluserresponse.md +docs/models/operations/getallcontractssecurity.md +docs/models/operations/getallcontracts200applicationjson.md +docs/models/operations/getallcontractsresponse.md +docs/models/operations/getallopportunitiessecurity.md +docs/models/operations/getallopportunities200applicationjson.md +docs/models/operations/getallopportunitiesresponse.md +docs/models/operations/getallorderssecurity.md +docs/models/operations/getallorders200applicationjson.md +docs/models/operations/getallordersresponse.md +docs/models/operations/getcontactsecurity.md +docs/models/operations/getcontact200applicationjson.md +docs/models/operations/getcontactresponse.md +docs/models/operations/getcontractsecurity.md +docs/models/operations/getcontractrequest.md +docs/models/operations/getcontract200applicationjson.md +docs/models/operations/getcontractresponse.md +docs/models/operations/getentitiesbyidentifierssecurity.md +docs/models/operations/getentitiesbyidentifiersrequest.md +docs/models/operations/getentitiesbyidentifiers200applicationjson.md +docs/models/operations/getentitiesbyidentifiersresponse.md +docs/models/operations/getopportunitysecurity.md +docs/models/operations/getopportunityrequest.md +docs/models/operations/getopportunity200applicationjson.md +docs/models/operations/getopportunityresponse.md +docs/models/operations/getordersecurity.md +docs/models/operations/getorderrequest.md +docs/models/operations/getorder200applicationjson.md +docs/models/operations/getorderresponse.md +docs/models/operations/getorganizationsettingssecurity.md +docs/models/operations/getorganizationsettings200applicationjson.md +docs/models/operations/getorganizationsettingsresponse.md +docs/models/operations/getportalconfigsecurity.md +docs/models/operations/getportalconfigrequest.md +docs/models/operations/getportalconfigresponse.md +docs/models/operations/getportalusersecurity.md +docs/models/operations/getportaluser200applicationjson.md +docs/models/operations/getportaluserresponse.md +docs/models/operations/getschemassecurity.md +docs/models/operations/getschemas200applicationjson.md +docs/models/operations/getschemasresponse.md +docs/models/operations/saveentityfilesecurity.md +docs/models/operations/saveentityfile201applicationjson.md +docs/models/operations/saveentityfileresponse.md +docs/models/operations/updatecontactsecurity.md +docs/models/operations/updatecontact200applicationjson.md +docs/models/operations/updatecontactresponse.md +docs/models/operations/updatecontractsecurity.md +docs/models/operations/updatecontractrequest.md +docs/models/operations/updatecontract200applicationjson.md +docs/models/operations/updatecontractresponse.md +docs/models/operations/updateopportunitysecurity.md +docs/models/operations/updateopportunityrequest.md +docs/models/operations/updateopportunity200applicationjson.md +docs/models/operations/updateopportunityresponse.md +docs/models/operations/updateordersecurity.md +docs/models/operations/updateorderrequest.md +docs/models/operations/updateorder200applicationjson.md +docs/models/operations/updateorderresponse.md +docs/models/operations/updateportalusersecurity.md +docs/models/operations/updateportaluser200applicationjson.md +docs/models/operations/updateportaluserresponse.md +docs/models/operations/configuredistributionsecurity.md +docs/models/operations/configuredistributionrequest.md +docs/models/operations/configuredistribution200applicationjson.md +docs/models/operations/configuredistributionresponse.md +docs/models/operations/createssousersecurity.md +docs/models/operations/createssouserrequest.md +docs/models/operations/createssouser201applicationjson.md +docs/models/operations/createssouserresponse.md +docs/models/operations/deleteportalsecurity.md +docs/models/operations/deleteportalrequest.md +docs/models/operations/deleteportalresponse.md +docs/models/operations/extrapermissionattributessecurity.md +docs/models/operations/extrapermissionattributes200applicationjsondata.md +docs/models/operations/extrapermissionattributes200applicationjson.md +docs/models/operations/extrapermissionattributesresponse.md +docs/models/operations/getallportalconfigssecurity.md +docs/models/operations/getallportalconfigs200applicationjson.md +docs/models/operations/getallportalconfigsresponse.md +docs/models/operations/getecpcontactsecurity.md +docs/models/operations/getecpcontactrequest.md +docs/models/operations/getecpcontact200applicationjson.md +docs/models/operations/getecpcontactresponse.md +docs/models/operations/getemailtemplatessecurity.md +docs/models/operations/getemailtemplatesrequest.md +docs/models/operations/getemailtemplatesresponse.md +docs/models/operations/getentityidentifierssecurity.md +docs/models/operations/getentityidentifiersrequest.md +docs/models/operations/getentityidentifiers200applicationjsondata.md +docs/models/operations/getentityidentifiers200applicationjson.md +docs/models/operations/getentityidentifiersresponse.md +docs/models/operations/getorgportalconfigsecurity.md +docs/models/operations/getorgportalconfigrequest.md +docs/models/operations/getorgportalconfigresponse.md +docs/models/operations/getvalidsecondaryattributessecurity.md +docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md +docs/models/operations/getvalidsecondaryattributes200applicationjson.md +docs/models/operations/getvalidsecondaryattributesresponse.md +docs/models/operations/replaceecptemplatevariablessecurity.md +docs/models/operations/replaceecptemplatevariablesrequestbody.md +docs/models/operations/replaceecptemplatevariablesrequest.md +docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md +docs/models/operations/replaceecptemplatevariables200applicationjson.md +docs/models/operations/replaceecptemplatevariablesresponse.md +docs/models/operations/saveportalfilessecurity.md +docs/models/operations/saveportalfiles201applicationjson.md +docs/models/operations/saveportalfilesresponse.md +docs/models/operations/upsertemailtemplatessecurity.md +docs/models/operations/upsertemailtemplatesrequest.md +docs/models/operations/upsertemailtemplates200applicationjsonmessage.md +docs/models/operations/upsertemailtemplates200applicationjson.md +docs/models/operations/upsertemailtemplatesresponse.md +docs/models/operations/upsertportalsecurity.md +docs/models/operations/upsertportalrequest.md +docs/models/operations/upsertportalresponse.md +docs/models/operations/confirmuserrequest.md +docs/models/operations/confirmuserresponse.md +docs/models/operations/createuserrequest.md +docs/models/operations/createuser201applicationjsonmessage.md +docs/models/operations/createuser201applicationjson.md +docs/models/operations/createuserresponse.md +docs/models/operations/getcountbyemailrequest.md +docs/models/operations/getcountbyemail200applicationjson.md +docs/models/operations/getcountbyemailresponse.md +docs/models/operations/getportalconfigbydomainrequest.md +docs/models/operations/getportalconfigbydomainresponse.md +docs/models/operations/getpublicportalconfigrequest.md +docs/models/operations/getpublicportalconfigresponse.md +docs/models/operations/userexistsrequest.md +docs/models/operations/userexists200applicationjson.md +docs/models/operations/userexistsresponse.md +docs/models/shared/errorresp.md +docs/models/shared/entityslug.md +docs/models/shared/deleteentityfile.md +docs/models/shared/organizationsettingsautomationentitymapping.md +docs/models/shared/organizationsettingsautomationpreview.md +docs/models/shared/organizationsettingscentralinboxpreviewsetting.md +docs/models/shared/organizationsettingscontractspreviewsetting.md +docs/models/shared/organizationsettingsdisableivy.md +docs/models/shared/organizationsettingsdoubleoptin.md +docs/models/shared/organizationsettingsecommercecatalogpreview.md +docs/models/shared/organizationsettingsecommerceopportunitiespreview.md +docs/models/shared/organizationsettingsecommercepreview.md +docs/models/shared/organizationsettingsendcustomerportal.md +docs/models/shared/organizationsettingsentityschemabuilder.md +docs/models/shared/organizationsettingsinstallerportal.md +docs/models/shared/organizationsettingslogiceditorpreview.md +docs/models/shared/organizationsettingsnewnavigation.md +docs/models/shared/organizationsettingspartnering.md +docs/models/shared/organizationsettingsproductavailability.md +docs/models/shared/organizationsettingssso.md +docs/models/shared/organizationsettingssubmissionpreview.md +docs/models/shared/organizationsettingsuserrolespreview.md +docs/models/shared/organizationsettings.md +docs/models/shared/portalconfigcognitodetails.md +docs/models/shared/portalconfigdefaultusertonotify.md +docs/models/shared/portalconfigentityactionsactionlabel.md +docs/models/shared/portalconfigentityactions.md +docs/models/shared/portalconfigentityidentifierstype.md +docs/models/shared/portalconfigentityidentifiers.md +docs/models/shared/portalconfigimages.md +docs/models/shared/portalconfig.md +docs/models/shared/origin.md +docs/models/shared/granteffect.md +docs/models/shared/grant.md +docs/models/shared/emailtemplates.md +docs/models/shared/saveentityfilefilesaccesscontrol.md +docs/models/shared/saveentityfilefiless3ref.md +docs/models/shared/saveentityfilefiles.md +docs/models/shared/saveentityfile.md +docs/models/shared/createssouserrequest.md +docs/models/shared/extraschemaattributes.md +docs/models/shared/saveportalfilefiless3ref.md +docs/models/shared/saveportalfilefiles.md +docs/models/shared/saveportalfile.md +docs/models/shared/upsertportalconfigcognitodetails.md +docs/models/shared/upsertportalconfigdefaultusertonotify.md +docs/models/shared/upsertportalconfigentityactionsactionlabel.md +docs/models/shared/upsertportalconfigentityactions.md +docs/models/shared/upsertportalconfigentityidentifierstype.md +docs/models/shared/upsertportalconfigentityidentifiers.md +docs/models/shared/upsertportalconfigimages.md +docs/models/shared/upsertportalconfig.md +docs/models/shared/createuserrequest.md +docs/models/shared/security.md \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d1fb5eae3..8eca42cfa 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: c6474777dbc729a0e552e3f8681bfeef + docChecksum: e20f741ede0fb97bc8d521c6b6b61e66 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/customer_portal/setup.py b/customer_portal/setup.py index fcfe2f087..ce0e79867 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.20.1", + version="1.21.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index 34e1f84b0..9f9424f8b 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -10,33 +10,39 @@ from typing import Any, Optional + @dataclasses.dataclass class AddEndCustomerRelationToEntitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class AddEndCustomerRelationToEntityRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of the Entity""" slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class AddEndCustomerRelationToEntity200ApplicationJSON: r"""Portal user is added as a relation to the requested entity successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class AddEndCustomerRelationToEntityResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() add_end_customer_relation_to_entity_200_application_json_object: Optional[AddEndCustomerRelationToEntity200ApplicationJSON] = dataclasses.field(default=None) @@ -44,4 +50,5 @@ class AddEndCustomerRelationToEntityResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 7fb9dc036..7bdf46790 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -10,31 +10,37 @@ from typing import Optional + @dataclasses.dataclass class ConfigureDistributionSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class ConfigureDistributionRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ConfigureDistribution200ApplicationJSON: r"""The cloudfront distribution has been configure successfully for the custom domain.""" - domain_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domainName'), 'exclude': lambda f: f is None }}) r"""The domain name of the configured distribution""" + + + @dataclasses.dataclass class ConfigureDistributionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() configure_distribution_200_application_json_object: Optional[ConfigureDistribution200ApplicationJSON] = dataclasses.field(default=None) @@ -42,4 +48,5 @@ class ConfigureDistributionResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index b71ca162e..c70dea5f6 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -8,9 +8,9 @@ from typing import Optional + @dataclasses.dataclass class ConfirmUserRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of portal user id""" org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) @@ -19,12 +19,15 @@ class ConfirmUserRequest: r"""Origin of the portal""" + + + @dataclasses.dataclass class ConfirmUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 54bfa7bd0..267d03071 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -11,33 +11,39 @@ from typing import Any, Optional + @dataclasses.dataclass class CreateSSOUserSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class CreateSSOUserRequest: - create_sso_user_request: shared_createssouserrequest.CreateSSOUserRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal user payload""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class CreateSSOUser201ApplicationJSON: r"""SSO User created successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" + + + @dataclasses.dataclass class CreateSSOUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) @@ -45,4 +51,5 @@ class CreateSSOUserResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index 61b880c92..55692c688 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -12,31 +12,35 @@ from typing import Any, Optional + @dataclasses.dataclass class CreateUserRequest: - create_user_request: shared_createuserrequest.CreateUserRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal user payload""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + class CreateUser201ApplicationJSONMessage(str, Enum): USER_CREATED_SUCCESSFULLY = 'User created successfully' @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class CreateUser201ApplicationJSON: r"""User created successfully.""" - message: CreateUser201ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) response: dict[str, Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) r"""The portal user entity""" + + + @dataclasses.dataclass class CreateUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() create_user_201_application_json_object: Optional[CreateUser201ApplicationJSON] = dataclasses.field(default=None) @@ -44,4 +48,5 @@ class CreateUserResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index a199cec34..467400ad8 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -9,23 +9,27 @@ from typing import Optional + @dataclasses.dataclass class DeleteEntityFileSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class DeleteEntityFile202ApplicationJSON: r"""The files are removed from the requested entity successfully.""" - deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class DeleteEntityFileResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() delete_entity_file_202_application_json_object: Optional[DeleteEntityFile202ApplicationJSON] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class DeleteEntityFileResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index de6a58292..2b38e5735 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -8,25 +8,30 @@ from typing import Optional + @dataclasses.dataclass class DeletePortalSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class DeletePortalRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + + @dataclasses.dataclass class DeletePortalResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index d914f13d8..e2bc5d0ea 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -10,28 +10,32 @@ from typing import Optional + @dataclasses.dataclass class DeletePortalUserSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + class DeletePortalUser200ApplicationJSONMessage(str, Enum): USER_SUCCESFULLY_DELETED = 'User Succesfully Deleted' @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class DeletePortalUser200ApplicationJSON: r"""Portal user deleted successfully.""" - data: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""Entity ID""" message: Optional[DeletePortalUser200ApplicationJSONMessage] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class DeletePortalUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() delete_portal_user_200_application_json_object: Optional[DeletePortalUser200ApplicationJSON] = dataclasses.field(default=None) @@ -39,4 +43,5 @@ class DeletePortalUserResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 3efbeeb01..9c101d92b 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -10,16 +10,18 @@ from typing import Optional + @dataclasses.dataclass class ExtraPermissionAttributesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSONData: - contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) meter: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter'), 'exclude': lambda f: f is None }}) @@ -28,17 +30,21 @@ class ExtraPermissionAttributes200ApplicationJSONData: order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSON: r"""Retrieved extra permission attributes successfully.""" - data: Optional[ExtraPermissionAttributes200ApplicationJSONData] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class ExtraPermissionAttributesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -46,4 +52,5 @@ class ExtraPermissionAttributesResponse: extra_permission_attributes_200_application_json_object: Optional[ExtraPermissionAttributes200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved extra permission attributes successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 87da0e0c9..ce0e5bb82 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class GetAllContractsSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetAllContracts200ApplicationJSON: r"""Contracts have been retrieved successfully.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetAllContractsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class GetAllContractsResponse: get_all_contracts_200_application_json_object: Optional[GetAllContracts200ApplicationJSON] = dataclasses.field(default=None) r"""Contracts have been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 7824bf42c..0c53964f9 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class GetAllOpportunitiesSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetAllOpportunities200ApplicationJSON: r"""The opportunities is retrieved successfully for the portal user.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetAllOpportunitiesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class GetAllOpportunitiesResponse: get_all_opportunities_200_application_json_object: Optional[GetAllOpportunities200ApplicationJSON] = dataclasses.field(default=None) r"""The opportunities is retrieved successfully for the portal user.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index bbdf45931..81836da7a 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class GetAllOrdersSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetAllOrders200ApplicationJSON: r"""The orders for the portal user returned successfully.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetAllOrdersResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class GetAllOrdersResponse: get_all_orders_200_application_json_object: Optional[GetAllOrders200ApplicationJSON] = dataclasses.field(default=None) r"""The orders for the portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index 021e9e2cd..b55f27ea3 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -10,23 +10,27 @@ from typing import Optional + @dataclasses.dataclass class GetAllPortalConfigsSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetAllPortalConfigs200ApplicationJSON: r"""All portal configs retrieved successfully.""" - data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetAllPortalConfigsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -34,4 +38,5 @@ class GetAllPortalConfigsResponse: get_all_portal_configs_200_application_json_object: Optional[GetAllPortalConfigs200ApplicationJSON] = dataclasses.field(default=None) r"""All portal configs retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index 7566a2eef..ca3dceb96 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -9,26 +9,30 @@ from typing import Any, Optional + @dataclasses.dataclass class GetContactSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetContact200ApplicationJSON: r"""Retrieves the mapped contact of the logged in user successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetContactResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -36,4 +40,5 @@ class GetContactResponse: get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieves the mapped contact of the logged in user successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index 9d96c45e5..f12ffbbcd 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class GetContractSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetContractRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of the contract""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetContract200ApplicationJSON: r"""The requested contract returned successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The contract entity""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) @@ -38,9 +42,11 @@ class GetContract200ApplicationJSON: workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetContractResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -48,4 +54,5 @@ class GetContractResponse: get_contract_200_application_json_object: Optional[GetContract200ApplicationJSON] = dataclasses.field(default=None) r"""The requested contract returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index 9f9880b15..54326c8ab 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -9,25 +9,29 @@ from typing import Optional + @dataclasses.dataclass class GetCountByEmailRequest: - email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetCountByEmail200ApplicationJSON: r"""Contact count for the requested email successfully.""" - count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) r"""Count of Contact""" + + + @dataclasses.dataclass class GetCountByEmailResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -35,4 +39,5 @@ class GetCountByEmailResponse: get_count_by_email_200_application_json_object: Optional[GetCountByEmail200ApplicationJSON] = dataclasses.field(default=None) r"""Contact count for the requested email successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index aaf6ca3d7..b0cc98424 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -9,30 +9,36 @@ from typing import Any, Optional + @dataclasses.dataclass class GetECPContactSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetECPContactRequest: - id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetECPContact200ApplicationJSON: r"""The contact returned successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" + + + @dataclasses.dataclass class GetECPContactResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -40,4 +46,5 @@ class GetECPContactResponse: get_ecp_contact_200_application_json_object: Optional[GetECPContact200ApplicationJSON] = dataclasses.field(default=None) r"""The contact returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index 2834b46fb..3c00bc2c9 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -9,22 +9,26 @@ from typing import Optional + @dataclasses.dataclass class GetEmailTemplatesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetEmailTemplatesRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + + @dataclasses.dataclass class GetEmailTemplatesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None) @@ -32,4 +36,5 @@ class GetEmailTemplatesResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 234bea261..5a389eb22 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -10,32 +10,38 @@ from typing import Any, Optional + @dataclasses.dataclass class GetEntitiesByIdentifiersSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetEntitiesByIdentifiersRequest: - request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""The entities are retrieved successfully.""" slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetEntitiesByIdentifiers200ApplicationJSON: r"""The returned Entities""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetEntitiesByIdentifiersResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -43,4 +49,5 @@ class GetEntitiesByIdentifiersResponse: get_entities_by_identifiers_200_application_json_object: Optional[GetEntitiesByIdentifiers200ApplicationJSON] = dataclasses.field(default=None) r"""The returned Entities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index 3f2148d26..fb9184d64 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -10,40 +10,48 @@ from typing import Optional + @dataclasses.dataclass class GetEntityIdentifiersSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetEntityIdentifiersRequest: - slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSONData: - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) r"""The name of the identifier""" type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) r"""The type of the identifier""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSON: r"""The identifiers of the requested entity returned successfully.""" - data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetEntityIdentifiersResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -51,4 +59,5 @@ class GetEntityIdentifiersResponse: get_entity_identifiers_200_application_json_object: Optional[GetEntityIdentifiers200ApplicationJSON] = dataclasses.field(default=None) r"""The identifiers of the requested entity returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index 1911a8848..b53d491d6 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class GetOpportunitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetOpportunityRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of opportunity""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The opportunity entity""" files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) @@ -39,9 +43,11 @@ class GetOpportunity200ApplicationJSON: r"""The related workflows of the requested opportunity""" + + + @dataclasses.dataclass class GetOpportunityResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -49,4 +55,5 @@ class GetOpportunityResponse: get_opportunity_200_application_json_object: Optional[GetOpportunity200ApplicationJSON] = dataclasses.field(default=None) r"""The returned opportunities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index 0495709d2..f9bac58b2 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class GetOrderSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetOrderRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of order""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetOrder200ApplicationJSON: r"""The requested order has been retrieved successfully.""" - cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) r"""The related cross sellable products of the requested order""" entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) @@ -41,9 +45,11 @@ class GetOrder200ApplicationJSON: r"""The related workflows of the requested order""" + + + @dataclasses.dataclass class GetOrderResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -51,4 +57,5 @@ class GetOrderResponse: get_order_200_application_json_object: Optional[GetOrder200ApplicationJSON] = dataclasses.field(default=None) r"""The requested order has been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 8e2a689d2..792748903 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -10,23 +10,27 @@ from typing import Optional + @dataclasses.dataclass class GetOrganizationSettingsSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetOrganizationSettings200ApplicationJSON: r"""Retrieved the settings for an organization successfully.""" - data: Optional[shared_organizationsettings.OrganizationSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetOrganizationSettingsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -34,4 +38,5 @@ class GetOrganizationSettingsResponse: get_organization_settings_200_application_json_object: Optional[GetOrganizationSettings200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved the settings for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index 14d4563f0..0394acc95 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -9,22 +9,26 @@ from typing import Optional + @dataclasses.dataclass class GetOrgPortalConfigSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetOrgPortalConfigRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + + @dataclasses.dataclass class GetOrgPortalConfigResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -32,4 +36,5 @@ class GetOrgPortalConfigResponse: portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index c06875e28..750a80c00 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -9,23 +9,27 @@ from typing import Optional + @dataclasses.dataclass class GetPortalConfigSecurity: - epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class GetPortalConfigRequest: - origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + + @dataclasses.dataclass class GetPortalConfigResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class GetPortalConfigResponse: portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index f672945aa..2b3fb3c4c 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -8,15 +8,17 @@ from typing import Optional + @dataclasses.dataclass class GetPortalConfigByDomainRequest: - domain: str = dataclasses.field(metadata={'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': True }}) + + + @dataclasses.dataclass class GetPortalConfigByDomainResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -24,4 +26,5 @@ class GetPortalConfigByDomainResponse: portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index e442140f5..8be969f78 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class GetPortalUserSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetPortalUser200ApplicationJSON: r"""Portal user returned successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" + + + @dataclasses.dataclass class GetPortalUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -34,4 +38,5 @@ class GetPortalUserResponse: get_portal_user_200_application_json_object: Optional[GetPortalUser200ApplicationJSON] = dataclasses.field(default=None) r"""Portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 4cedda98b..3469d7063 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -9,17 +9,19 @@ from typing import Optional + @dataclasses.dataclass class GetPublicPortalConfigRequest: - org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + + @dataclasses.dataclass class GetPublicPortalConfigResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -27,4 +29,5 @@ class GetPublicPortalConfigResponse: portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index 74c6532c8..9b209ea91 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class GetSchemasSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetSchemas200ApplicationJSON: r"""Retrieved schemas for an organization successfully.""" - schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetSchemasResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class GetSchemasResponse: get_schemas_200_application_json_object: Optional[GetSchemas200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved schemas for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index e65a4a9ed..1ce21bcc8 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -9,33 +9,39 @@ from typing import Optional + @dataclasses.dataclass class GetValidSecondaryAttributesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSONData: - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) r"""Name of the secondary attribute""" type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) r"""Type of the secondary attribute""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSON: r"""Valid secondary attributes for the contact entity are returned successfully.""" - data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class GetValidSecondaryAttributesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -43,4 +49,5 @@ class GetValidSecondaryAttributesResponse: get_valid_secondary_attributes_200_application_json_object: Optional[GetValidSecondaryAttributes200ApplicationJSON] = dataclasses.field(default=None) r"""Valid secondary attributes for the contact entity are returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index ade4b17df..54b63724a 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -10,48 +10,58 @@ from typing import Optional + @dataclasses.dataclass class ReplaceECPTemplateVariablesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ReplaceECPTemplateVariablesRequestBody: r"""ECPVariables payload""" - contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) r"""ID of the contact""" + + + @dataclasses.dataclass class ReplaceECPTemplateVariablesRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" request_body: ReplaceECPTemplateVariablesRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""ECPVariables payload""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: - invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSON: r"""Replaced portal template variables successfully.""" - portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class ReplaceECPTemplateVariablesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -59,4 +69,5 @@ class ReplaceECPTemplateVariablesResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) replace_ecp_template_variables_200_application_json_object: Optional[ReplaceECPTemplateVariables200ApplicationJSON] = dataclasses.field(default=None) r"""Replaced portal template variables successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index 0fc946bb7..8e1351b3d 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class SaveEntityFileSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SaveEntityFile201ApplicationJSON: r"""The files have been saved to the entitiy successfully.""" - created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class SaveEntityFileResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class SaveEntityFileResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) save_entity_file_201_application_json_object: Optional[SaveEntityFile201ApplicationJSON] = dataclasses.field(default=None) r"""The files have been saved to the entitiy successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index d21f7814b..75367d259 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -9,23 +9,27 @@ from typing import Any, Optional + @dataclasses.dataclass class SavePortalFilesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SavePortalFiles201ApplicationJSON: r"""The files have been saved to the portal successfully.""" - created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + + + @dataclasses.dataclass class SavePortalFilesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -33,4 +37,5 @@ class SavePortalFilesResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) save_portal_files_201_application_json_object: Optional[SavePortalFiles201ApplicationJSON] = dataclasses.field(default=None) r"""The files have been saved to the portal successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index 2a5cd5702..9f82eb16e 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class UpdateContactSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateContact200ApplicationJSON: r"""Updated the contact details successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" + + + @dataclasses.dataclass class UpdateContactResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -34,4 +38,5 @@ class UpdateContactResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_contact_200_application_json_object: Optional[UpdateContact200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contact details successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index 174a3b63b..fb682e06f 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -9,33 +9,39 @@ from typing import Any, Optional + @dataclasses.dataclass class UpdateContractSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class UpdateContractRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of the contract""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Requested contract body to update""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateContract200ApplicationJSON: r"""Updated the contract successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The contract entity""" + + + @dataclasses.dataclass class UpdateContractResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -43,4 +49,5 @@ class UpdateContractResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contract successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 5eda4c18b..32aacacb4 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -9,33 +9,39 @@ from typing import Any, Optional + @dataclasses.dataclass class UpdateOpportunitySecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class UpdateOpportunityRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of opportunity""" request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Requested opportunity body to update""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateOpportunity200ApplicationJSON: r"""Updated the opportunity successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The opportunity entity""" + + + @dataclasses.dataclass class UpdateOpportunityResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -43,4 +49,5 @@ class UpdateOpportunityResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_opportunity_200_application_json_object: Optional[UpdateOpportunity200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the opportunity successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index bcb6c2a37..7426edc36 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -9,32 +9,38 @@ from typing import Any, Optional + @dataclasses.dataclass class UpdateOrderSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class UpdateOrderRequest: - id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of order""" request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateOrder200ApplicationJSON: r"""Updated the order details successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The order entity""" + + + @dataclasses.dataclass class UpdateOrderResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -42,4 +48,5 @@ class UpdateOrderResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_order_200_application_json_object: Optional[UpdateOrder200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the order details successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index 200bc9dd1..9952ebb28 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -9,24 +9,28 @@ from typing import Any, Optional + @dataclasses.dataclass class UpdatePortalUserSecurity: - portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdatePortalUser200ApplicationJSON: r"""The portal user updated successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" + + + @dataclasses.dataclass class UpdatePortalUserResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -34,4 +38,5 @@ class UpdatePortalUserResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) update_portal_user_200_application_json_object: Optional[UpdatePortalUser200ApplicationJSON] = dataclasses.field(default=None) r"""The portal user updated successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 88dc9e90b..52137ee0d 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -12,37 +12,43 @@ from typing import Optional + @dataclasses.dataclass class UpsertEmailTemplatesSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class UpsertEmailTemplatesRequest: - email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Email templates payload""" origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" + + class UpsertEmailTemplates200ApplicationJSONMessage(str, Enum): EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY = 'Email Templates upserted successfully' @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertEmailTemplates200ApplicationJSON: r"""Upserted email templates of the portal successfully.""" - email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates') }}) r"""Email templates used for authentication and internal processes""" message: UpsertEmailTemplates200ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + + + @dataclasses.dataclass class UpsertEmailTemplatesResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -50,4 +56,5 @@ class UpsertEmailTemplatesResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) upsert_email_templates_200_application_json_object: Optional[UpsertEmailTemplates200ApplicationJSON] = dataclasses.field(default=None) r"""Upserted email templates of the portal successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index eb5de9d48..16700f983 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -10,24 +10,28 @@ from typing import Optional + @dataclasses.dataclass class UpsertPortalSecurity: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + @dataclasses.dataclass class UpsertPortalRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) r"""Origin of the portal""" upsert_portal_config: shared_upsertportalconfig.UpsertPortalConfig = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Portal payload""" + + + @dataclasses.dataclass class UpsertPortalResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -35,4 +39,5 @@ class UpsertPortalResponse: portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal upserted successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index 1e78a1af4..5ea8ad56a 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -9,27 +9,31 @@ from typing import Any, Optional + @dataclasses.dataclass class UserExistsRequest: - email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UserExists200ApplicationJSON: r"""Returned whether the user exists in the portal or not successfully.""" - exists: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists') }}) r"""Whether the user exists in the portal""" user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" + + + @dataclasses.dataclass class UserExistsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -37,4 +41,5 @@ class UserExistsResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) user_exists_200_application_json_object: Optional[UserExists200ApplicationJSON] = dataclasses.field(default=None) r"""Returned whether the user exists in the portal or not successfully.""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py index c8c3b0857..db65f663b 100755 --- a/customer_portal/src/epilot/models/shared/createssouserrequest.py +++ b/customer_portal/src/epilot/models/shared/createssouserrequest.py @@ -8,14 +8,15 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class CreateSSOUserRequest: r"""Portal user payload""" - email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) r"""User's email address""" first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) r"""First Name of the portal user""" last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) r"""Last Name of the portal user""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py index bce00463d..bef9585ef 100755 --- a/customer_portal/src/epilot/models/shared/createuserrequest.py +++ b/customer_portal/src/epilot/models/shared/createuserrequest.py @@ -8,10 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class CreateUserRequest: r"""Portal user payload""" - email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) r"""User's email address""" org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) @@ -26,4 +26,5 @@ class CreateUserRequest: r"""Last Name of the portal user""" secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secondaryIdentifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index 0c95204d6..a5629193c 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -7,14 +7,15 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class DeleteEntityFile: r"""Delete file""" - entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) r"""Entity type""" file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) r"""Array of file entity IDs""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py index 077edfca6..f05ab6e92 100755 --- a/customer_portal/src/epilot/models/shared/emailtemplates.py +++ b/customer_portal/src/epilot/models/shared/emailtemplates.py @@ -8,10 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class EmailTemplates: r"""Email templates used for authentication and internal processes""" - confirm_account: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('confirmAccount'), 'exclude': lambda f: f is None }}) r"""ID of the confirmation email template upon registration""" forgot_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('forgotPassword'), 'exclude': lambda f: f is None }}) @@ -22,4 +22,5 @@ class EmailTemplates: r"""ID of the email template for mapping a pending portal user with a contact""" on_new_quote: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onNewQuote'), 'exclude': lambda f: f is None }}) r"""ID of the email template for new quote""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index e5af4855a..ebf21481c 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -8,10 +8,11 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ErrorResp: r"""Could not authenticate the user""" - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) r"""Error message""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py index 9cca5f060..7881c1bcc 100755 --- a/customer_portal/src/epilot/models/shared/extraschemaattributes.py +++ b/customer_portal/src/epilot/models/shared/extraschemaattributes.py @@ -7,13 +7,14 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ExtraSchemaAttributes: - group: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group') }}) r"""Attribute group""" label: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) r"""Attribute label""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Attribute name""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index 594308325..11c8a393f 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -14,13 +14,14 @@ class GrantEffect(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class Grant: - action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) r"""Action for granting permission""" effect: Optional[GrantEffect] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) r"""Effect of the permission""" resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) r"""Resource for granting permission""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index 666418b97..d6cc0edaa 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -8,161 +8,199 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsAutomationEntityMapping: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable automation entity mapping""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsAutomationPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable automation preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsCentralInboxPreviewSetting: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable central inbox preview setting""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsContractsPreviewSetting: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable contracts preview setting""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsDisableIvy: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable Ivy""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsDoubleOptIn: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable double opt-in""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsEcommerceCatalogPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable ecommerce catalog preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsEcommerceOpportunitiesPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable ecommerce opportunities preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsEcommercePreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable ecommerce preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsEndCustomerPortal: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable end customer portal""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsEntitySchemaBuilder: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable entity schema builder""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsInstallerPortal: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable installer portal""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsLogicEditorPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable logic editor preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsNewNavigation: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable new navigation""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsPartnering: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable partnering""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsProductAvailability: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable product availability""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsSso: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable single sign-on (SSO)""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsSubmissionPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable submission preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettingsUserRolesPreview: - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable user roles preview""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationSettings: - automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) automation_preview: Optional[OrganizationSettingsAutomationPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_preview'), 'exclude': lambda f: f is None }}) central_inbox_preview_setting: Optional[OrganizationSettingsCentralInboxPreviewSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('central_inbox_preview_setting'), 'exclude': lambda f: f is None }}) @@ -182,4 +220,5 @@ class OrganizationSettings: sso: Optional[OrganizationSettingsSso] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sso'), 'exclude': lambda f: f is None }}) submission_preview: Optional[OrganizationSettingsSubmissionPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('submission_preview'), 'exclude': lambda f: f is None }}) user_roles_preview: Optional[OrganizationSettingsUserRolesPreview] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user_roles_preview'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index b59f2fa2b..d7b9ae738 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -12,10 +12,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigCognitoDetails: r"""AWS Cognito Pool details for the portal""" - cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) r"""Cognito user pool ARN""" cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) @@ -24,55 +24,68 @@ class PortalConfigCognitoDetails: r"""Cognito user pool ID""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigDefaultUserToNotify: r"""Default 360 user to notify upon an internal notification""" + on_pending_user: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) + r"""Default admin users for pending user notification to notify""" - on_pending_user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) - + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigEntityActionsActionLabel: - de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigEntityActions: - action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) r"""URL-friendly identifier for the entity schema""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigEntityIdentifiersType: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the entity identifier""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigEntityIdentifiers: r"""Identifiers used to identify an entity by a portal user""" - type: Optional[PortalConfigEntityIdentifiersType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfigImages: r"""Teaser & Banner Image web links""" - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) r"""URL of the order left teaser image""" order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) @@ -81,11 +94,13 @@ class PortalConfigImages: r"""URL of the welcome banner image""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class PortalConfig: r"""Portal config retrieved successfully.""" - design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) r"""ID of the design used to build the portal""" cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) @@ -122,4 +137,5 @@ class PortalConfig: r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 387e72fca..9763f15f5 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -14,19 +14,21 @@ class SaveEntityFileFilesAccessControl(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SaveEntityFileFilesS3ref: - bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) r"""S3 bucket name""" key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) r"""S3 key""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SaveEntityFileFiles: - filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) r"""File name""" s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) @@ -40,14 +42,17 @@ class SaveEntityFileFiles: r"""File entity ID""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SaveEntityFile: r"""The request of an file entity""" - entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) r"""Entity type""" files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index 7a4ecbe2e..9e4f544aa 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -9,19 +9,21 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SavePortalFileFilesS3ref: - bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) r"""S3 bucket name""" key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) r"""S3 key""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SavePortalFileFiles: - file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) r"""File type""" tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) @@ -31,12 +33,15 @@ class SavePortalFileFiles: s3ref: Optional[SavePortalFileFilesS3ref] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SavePortalFile: r"""portal files request""" - files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) origin: shared_origin.Origin = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) r"""Origin of the portal""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py index df324a87d..42859d022 100755 --- a/customer_portal/src/epilot/models/shared/security.py +++ b/customer_portal/src/epilot/models/shared/security.py @@ -5,9 +5,10 @@ from typing import Optional + @dataclasses.dataclass class Security: - epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 2afe0a2b7..500914d61 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -11,10 +11,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigCognitoDetails: r"""AWS Cognito Pool details for the portal""" - cognito_user_pool_arn: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_arn'), 'exclude': lambda f: f is None }}) r"""Cognito user pool ARN""" cognito_user_pool_client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_user_pool_client_id'), 'exclude': lambda f: f is None }}) @@ -23,55 +23,68 @@ class UpsertPortalConfigCognitoDetails: r"""Cognito user pool ID""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigDefaultUserToNotify: r"""Default 360 user to notify upon an internal notification""" + on_pending_user: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) + r"""Default admin users for pending user notification to notify""" - on_pending_user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) - + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigEntityActionsActionLabel: - de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigEntityActions: - action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey_id'), 'exclude': lambda f: f is None }}) slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) r"""URL-friendly identifier for the entity schema""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigEntityIdentifiersType: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the entity identifier""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigEntityIdentifiers: r"""Identifiers used to identify an entity by a portal user""" - type: Optional[UpsertPortalConfigEntityIdentifiersType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfigImages: r"""Teaser & Banner Image web links""" - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) r"""URL of the order left teaser image""" order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) @@ -80,11 +93,13 @@ class UpsertPortalConfigImages: r"""URL of the welcome banner image""" + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpsertPortalConfig: r"""Portal payload""" - design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) r"""ID of the design used to build the portal""" cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) @@ -115,4 +130,5 @@ class UpsertPortalConfig: r"""A short name to identify your portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact""" - \ No newline at end of file + + diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 47badbacf..318ebd15f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 fb28d762d321a0f94a6eff381a6b071749522f13 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 11 Jun 2023 00:42:17 +0000 Subject: [PATCH 37/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 11286e209..c70f99248 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -250,4 +250,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 8eca42cfa..58ce50d29 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: e20f741ede0fb97bc8d521c6b6b61e66 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/customer_portal/setup.py b/customer_portal/setup.py index ce0e79867..5f99917a7 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.21.0", + version="1.21.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 318ebd15f..598f4f739 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 a2c569eb694e5114be6e7f9fdce2ebd5ee499102 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 13 Jun 2023 00:38:02 +0000 Subject: [PATCH 38/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.1 --- customer_portal/RELEASES.md | 6 ++++++ .../docs/models/shared/entityslug.md | 20 ++++++++++--------- customer_portal/gen.yaml | 4 ++-- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/entityslug.py | 2 ++ .../src/epilot/sdkconfiguration.py | 2 +- 6 files changed, 23 insertions(+), 13 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c70f99248..a1d03caca 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -256,4 +256,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-13 00:37:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityslug.md b/customer_portal/docs/models/shared/entityslug.md index 092358282..f3a4a1574 100755 --- a/customer_portal/docs/models/shared/entityslug.md +++ b/customer_portal/docs/models/shared/entityslug.md @@ -5,12 +5,14 @@ URL-friendly identifier for the entity schema ## Values -| Name | Value | -| ------------- | ------------- | -| `CONTACT` | contact | -| `CONTRACT` | contract | -| `FILE` | file | -| `ORDER` | order | -| `OPPORTUNITY` | opportunity | -| `PRODUCT` | product | -| `PRICE` | price | \ No newline at end of file +| Name | Value | +| --------------- | --------------- | +| `CONTACT` | contact | +| `CONTRACT` | contract | +| `FILE` | file | +| `ORDER` | order | +| `OPPORTUNITY` | opportunity | +| `PRODUCT` | product | +| `PRICE` | price | +| `METER` | meter | +| `METER_COUNTER` | meter_counter | \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 58ce50d29..58e75421a 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: e20f741ede0fb97bc8d521c6b6b61e66 + docChecksum: d8e6ba4219fa41f6713140170a7ae0fc docVersion: 1.0.0 speakeasyVersion: 1.47.1 generationVersion: 2.39.2 @@ -9,7 +9,7 @@ generation: singleTagPerOp: false telemetryEnabled: false python: - version: 1.21.1 + version: 1.21.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 5f99917a7..46d854512 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.21.1", + version="1.21.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/entityslug.py b/customer_portal/src/epilot/models/shared/entityslug.py index 3d93997ff..3dd90845f 100755 --- a/customer_portal/src/epilot/models/shared/entityslug.py +++ b/customer_portal/src/epilot/models/shared/entityslug.py @@ -12,3 +12,5 @@ class EntitySlug(str, Enum): OPPORTUNITY = 'opportunity' PRODUCT = 'product' PRICE = 'price' + METER = 'meter' + METER_COUNTER = 'meter_counter' diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 598f4f739..b8b47581b 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -17,7 +17,7 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.21.1' + sdk_version: str = '1.21.2' gen_version: str = '2.39.2' def get_server_details(self) -> tuple[str, dict[str, str]]: From 86dc5e5d3a86c116809c503f6d60fc43453bdc69 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 14 Jun 2023 00:36:28 +0000 Subject: [PATCH 39/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.3 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- customer_portal/src/epilot/utils/retries.py | 3 ++- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index a1d03caca..c339bc2f9 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -262,4 +262,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:36:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 58e75421a..c47ed913d 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: d8e6ba4219fa41f6713140170a7ae0fc 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.2 + version: 1.22.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 46d854512..827bd5380 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.21.2", + version="1.22.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index b8b47581b..5638c7acf 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.2' - 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/customer_portal/src/epilot/utils/retries.py b/customer_portal/src/epilot/utils/retries.py index c6251d948..2138c1b5e 100755 --- a/customer_portal/src/epilot/utils/retries.py +++ b/customer_portal/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 0987d7028e9b5fde6484d5ee5f88023bcf473979 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 16 Jun 2023 00:38:33 +0000 Subject: [PATCH 40/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.48.0 --- customer_portal/.gitignore | 2 +- customer_portal/RELEASES.md | 8 +++++++- customer_portal/files.gen | 1 - customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/customer_portal/.gitignore b/customer_portal/.gitignore index 9072ad43b..648876d29 100755 --- a/customer_portal/.gitignore +++ b/customer_portal/.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/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c339bc2f9..95646f6c1 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -268,4 +268,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:38:15 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index b9c6c4ac2..260460770 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -3,7 +3,6 @@ src/epilot/ecp.py src/epilot/ecp_admin.py src/epilot/public.py src/epilot/sdk.py -.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index c47ed913d..5462bea75 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: d8e6ba4219fa41f6713140170a7ae0fc 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/customer_portal/setup.py b/customer_portal/setup.py index 827bd5380..3a134dbf7 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.22.0", + version="1.23.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 5638c7acf..6f1f84a4c 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 e7ac94e59d9a594826a2284d610e2c8fb73f6384 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 20 Jun 2023 00:35:44 +0000 Subject: [PATCH 41/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.0 --- customer_portal/.gitignore | 2 ++ customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/customer_portal/.gitignore b/customer_portal/.gitignore index 648876d29..8ac3f51d4 100755 --- a/customer_portal/.gitignore +++ b/customer_portal/.gitignore @@ -1,3 +1,5 @@ +.python-version +.DS_Store venv/ src/*.egg-info/ __pycache__/ diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 95646f6c1..732250ad4 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -274,4 +274,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:26 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 5462bea75..527b80e44 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: d8e6ba4219fa41f6713140170a7ae0fc 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/customer_portal/setup.py b/customer_portal/setup.py index 3a134dbf7..f659c054b 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.23.0", + version="1.23.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 6f1f84a4c..da9dbfe9f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 f80557981c7e1f0054bce395f50833c0531318d3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 21 Jun 2023 00:37:28 +0000 Subject: [PATCH 42/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 732250ad4..636c0f9f7 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -280,4 +280,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:37:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 527b80e44..086331719 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: d8e6ba4219fa41f6713140170a7ae0fc 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/customer_portal/setup.py b/customer_portal/setup.py index f659c054b..02ab4ced2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.23.1", + version="1.23.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index da9dbfe9f..00efc5e84 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 0695c484fcea8893da4f240a870ae02aa967a1eb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 23 Jun 2023 00:41:19 +0000 Subject: [PATCH 43/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.50.1 --- customer_portal/RELEASES.md | 8 ++- ...eecptemplatevariables200applicationjson.md | 7 +- ...iables200applicationjsoncustomerportal.md} | 2 +- ...iables200applicationjsoninstallerportal.md | 8 +++ .../replaceecptemplatevariablesrequest.md | 9 --- .../docs/models/shared/portalconfig.md | 42 +++++------ .../portalconfigselfregistrationsetting.md | 10 +++ .../docs/models/shared/upsertportalconfig.md | 36 +++++----- ...sertportalconfigselfregistrationsetting.md | 10 +++ customer_portal/docs/sdks/ecpadmin/README.md | 72 ++++++------------- customer_portal/docs/sdks/public/README.md | 2 +- customer_portal/files.gen | 6 +- customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp_admin.py | 7 +- .../src/epilot/models/operations/__init__.py | 2 +- .../operations/replaceecptemplatevariables.py | 14 ++-- .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 19 ++++- .../models/shared/upsertportalconfig.py | 19 ++++- .../src/epilot/sdkconfiguration.py | 4 +- 21 files changed, 160 insertions(+), 129 deletions(-) rename customer_portal/docs/models/operations/{replaceecptemplatevariables200applicationjsonportaluser.md => replaceecptemplatevariables200applicationjsoncustomerportal.md} (97%) create mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md delete mode 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md create mode 100755 customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 636c0f9f7..e9ae12158 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -286,4 +286,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:41:04 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md index ca532ab83..9cfbd9127 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md @@ -5,6 +5,7 @@ Replaced portal template variables successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `portal_user` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser]](../../models/operations/replaceecptemplatevariables200applicationjsonportaluser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `customer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md similarity index 97% rename from customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md rename to customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md index f73d69a1d..1a89ac0e9 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md @@ -1,4 +1,4 @@ -# ReplaceECPTemplateVariables200ApplicationJSONPortalUser +# ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal ## Fields diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md new file mode 100755 index 000000000..d8aed26b3 --- /dev/null +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md @@ -0,0 +1,8 @@ +# ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://installer-portal.ecp.dev.epilot.io/register/existing-customer?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md deleted file mode 100755 index dae289481..000000000 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# ReplaceECPTemplateVariablesRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `request_body` | [ReplaceECPTemplateVariablesRequestBody](../../models/operations/replaceecptemplatevariablesrequestbody.md) | :heavy_check_mark: | ECPVariables payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index a864b8d36..1f5c1ffec 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -5,23 +5,25 @@ Portal config retrieved successfully. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | -| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | -| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | -| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | -| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | -| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | -| `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | -| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | -| `self_registration` | *Optional[bool]* | :heavy_minus_sign: | Allow portal user self-registration without a mapped contact | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | +| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | +| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | +| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | +| `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md new file mode 100755 index 000000000..c701a165d --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md @@ -0,0 +1,10 @@ +# PortalConfigSelfRegistrationSetting + + +## Values + +| Name | Value | +| -------------------------------- | -------------------------------- | +| `ALLOW_WITH_CONTACT_CREATION` | ALLOW_WITH_CONTACT_CREATION | +| `ALLOW_WITHOUT_CONTACT_CREATION` | ALLOW_WITHOUT_CONTACT_CREATION | +| `DENY` | DENY | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 429b8e351..1613eade2 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -5,20 +5,22 @@ Portal payload ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | -| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | -| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | -| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | -| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | -| `self_registration` | *Optional[bool]* | :heavy_minus_sign: | Allow portal user self-registration without a mapped contact | false | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | +| `self_registration_setting` | [Optional[UpsertPortalConfigSelfRegistrationSetting]](../../models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md new file mode 100755 index 000000000..fa5e8d276 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigSelfRegistrationSetting + + +## Values + +| Name | Value | +| -------------------------------- | -------------------------------- | +| `ALLOW_WITH_CONTACT_CREATION` | ALLOW_WITH_CONTACT_CREATION | +| `ALLOW_WITHOUT_CONTACT_CREATION` | ALLOW_WITHOUT_CONTACT_CREATION | +| `DENY` | DENY | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index cc476c469..0874ae00b 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -430,15 +430,12 @@ Replaces the template variables of a portal ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot() -req = operations.ReplaceECPTemplateVariablesRequest( - request_body=operations.ReplaceECPTemplateVariablesRequestBody( - contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', - ), - origin=shared.Origin.END_CUSTOMER_PORTAL, +req = operations.ReplaceECPTemplateVariablesRequestBody( + contact_id='7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51', ) res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTemplateVariablesSecurity( @@ -451,10 +448,10 @@ if res.replace_ecp_template_variables_200_application_json_object is not None: ### Parameters -| Parameter | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `request` | [operations.ReplaceECPTemplateVariablesRequest](../../models/operations/replaceecptemplatevariablesrequest.md) | :heavy_check_mark: | The request object to use for the request. | -| `security` | [operations.ReplaceECPTemplateVariablesSecurity](../../models/operations/replaceecptemplatevariablessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `request` | [operations.ReplaceECPTemplateVariablesRequestBody](../../models/operations/replaceecptemplatevariablesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.ReplaceECPTemplateVariablesSecurity](../../models/operations/replaceecptemplatevariablessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | ### Response @@ -478,6 +475,7 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ + 'cum', 'esse', 'ipsum', 'excepturi', @@ -489,44 +487,8 @@ req = shared.SavePortalFile( key='12345', ), ), - shared.SavePortalFileFiles( - tags=[ - 'perferendis', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'natus', - 'sed', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'dolor', - 'natus', - 'laboriosam', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), ], - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -570,7 +532,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -613,10 +575,19 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='fuga', + config='ad', + contact_identifiers=[ + 'sed', + 'iste', + 'dolor', + ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ + { + "hic": 'saepe', + "fuga": 'in', + }, { "iste": 'iure', "saepe": 'quidem', @@ -691,8 +662,9 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITHOUT_CONTACT_CREATION, ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index ee39d2971..a30adf1a8 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -195,7 +195,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_config(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 260460770..db24fa6c1 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -184,8 +184,8 @@ docs/models/operations/getvalidsecondaryattributes200applicationjson.md docs/models/operations/getvalidsecondaryattributesresponse.md docs/models/operations/replaceecptemplatevariablessecurity.md docs/models/operations/replaceecptemplatevariablesrequestbody.md -docs/models/operations/replaceecptemplatevariablesrequest.md -docs/models/operations/replaceecptemplatevariables200applicationjsonportaluser.md +docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md +docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md docs/models/operations/replaceecptemplatevariables200applicationjson.md docs/models/operations/replaceecptemplatevariablesresponse.md docs/models/operations/saveportalfilessecurity.md @@ -245,6 +245,7 @@ docs/models/shared/portalconfigentityactions.md docs/models/shared/portalconfigentityidentifierstype.md docs/models/shared/portalconfigentityidentifiers.md docs/models/shared/portalconfigimages.md +docs/models/shared/portalconfigselfregistrationsetting.md docs/models/shared/portalconfig.md docs/models/shared/origin.md docs/models/shared/granteffect.md @@ -266,6 +267,7 @@ docs/models/shared/upsertportalconfigentityactions.md docs/models/shared/upsertportalconfigentityidentifierstype.md docs/models/shared/upsertportalconfigentityidentifiers.md docs/models/shared/upsertportalconfigimages.md +docs/models/shared/upsertportalconfigselfregistrationsetting.md docs/models/shared/upsertportalconfig.md docs/models/shared/createuserrequest.md docs/models/shared/security.md \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 086331719..c73bf52bc 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: d8e6ba4219fa41f6713140170a7ae0fc + docChecksum: 212da1be327aa353a32246064aee8679 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/customer_portal/setup.py b/customer_portal/setup.py index 02ab4ced2..58369a3e2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.23.2", + version="1.24.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 8a25203ac..88d1bdae6 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -353,7 +353,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA return res - def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateVariablesRequest, security: operations.ReplaceECPTemplateVariablesSecurity) -> operations.ReplaceECPTemplateVariablesResponse: + def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateVariablesRequestBody, security: operations.ReplaceECPTemplateVariablesSecurity) -> operations.ReplaceECPTemplateVariablesResponse: r"""replaceECPTemplateVariables Replaces the template variables of a portal """ @@ -361,18 +361,17 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV url = base_url + '/v2/portal/replace-ecp-template-variables' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - query_params = utils.get_query_params(operations.ReplaceECPTemplateVariablesRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 = utils.configure_security_client(self.sdk_configuration.client, security) - http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) + http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.ReplaceECPTemplateVariablesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 036ca1e38..f6a1bbdc5 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -42,4 +42,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONPortalUser","ReplaceECPTemplateVariablesRequest","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 54b63724a..175515e78 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -4,7 +4,6 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp -from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -29,13 +28,11 @@ class ReplaceECPTemplateVariablesRequestBody: +@dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class ReplaceECPTemplateVariablesRequest: - origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) - r"""Origin of the portal""" - request_body: ReplaceECPTemplateVariablesRequestBody = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""ECPVariables payload""" +class ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal: + invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) @@ -43,7 +40,7 @@ class ReplaceECPTemplateVariablesRequest: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: +class ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal: invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) @@ -54,7 +51,8 @@ class ReplaceECPTemplateVariables200ApplicationJSONPortalUser: @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSON: r"""Replaced portal template variables successfully.""" - portal_user: Optional[ReplaceECPTemplateVariables200ApplicationJSONPortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUser'), 'exclude': lambda f: f is None }}) + customer_portal: Optional[ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('customerPortal'), 'exclude': lambda f: f is None }}) + installer_portal: Optional[ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installerPortal'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 2cab2e346..ce9db19d0 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -16,4 +16,4 @@ from .security import * from .upsertportalconfig import * -__all__ = ["CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages"] +__all__ = ["CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index d7b9ae738..4b9bedd86 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -7,6 +7,7 @@ from ..shared import grant as shared_grant from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils from typing import Any, Optional @@ -95,6 +96,11 @@ class PortalConfigImages: +class PortalConfigSelfRegistrationSetting(str, Enum): + ALLOW_WITH_CONTACT_CREATION = 'ALLOW_WITH_CONTACT_CREATION' + ALLOW_WITHOUT_CONTACT_CREATION = 'ALLOW_WITHOUT_CONTACT_CREATION' + DENY = 'DENY' + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -107,8 +113,13 @@ class PortalConfig: r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) r"""Stringified object with configuration details""" + contact_identifiers: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) + r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - r"""Secondary identifier to identify a contact other than the email""" + r"""Secondary identifier to identify a contact other than the email + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ default_user_to_notify: Optional[PortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) r"""Default 360 user to notify upon an internal notification""" domain: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domain'), 'exclude': lambda f: f is None }}) @@ -136,6 +147,10 @@ class PortalConfig: origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Allow portal user self-registration without a mapped contact""" + r"""Allow portal user self-registration without a mapped contact + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ + self_registration_setting: Optional[PortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 500914d61..cdefcc021 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -6,6 +6,7 @@ from ..shared import entityslug as shared_entityslug from ..shared import grant as shared_grant from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils from typing import Any, Optional @@ -94,6 +95,11 @@ class UpsertPortalConfigImages: +class UpsertPortalConfigSelfRegistrationSetting(str, Enum): + ALLOW_WITH_CONTACT_CREATION = 'ALLOW_WITH_CONTACT_CREATION' + ALLOW_WITHOUT_CONTACT_CREATION = 'ALLOW_WITHOUT_CONTACT_CREATION' + DENY = 'DENY' + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -106,8 +112,13 @@ class UpsertPortalConfig: r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) r"""Stringified object with configuration details""" + contact_identifiers: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) + r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) - r"""Secondary identifier to identify a contact other than the email""" + r"""Secondary identifier to identify a contact other than the email + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ default_user_to_notify: Optional[UpsertPortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) r"""Default 360 user to notify upon an internal notification""" domain: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('domain'), 'exclude': lambda f: f is None }}) @@ -129,6 +140,10 @@ class UpsertPortalConfig: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) r"""A short name to identify your portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) - r"""Allow portal user self-registration without a mapped contact""" + r"""Allow portal user self-registration without a mapped contact + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ + self_registration_setting: Optional[UpsertPortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 00efc5e84..958cd8e96 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 c0121244dff05cce8ebc766a38473355040a09d2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 27 Jun 2023 00:41:28 +0000 Subject: [PATCH 44/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/public.py | 12 ++++++------ customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index e9ae12158..8c19195cb 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -292,4 +292,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:41:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index c73bf52bc..74d00948f 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 212da1be327aa353a32246064aee8679 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/customer_portal/setup.py b/customer_portal/setup.py index 58369a3e2..acc8620ae 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.24.0", + version="1.25.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 419327b6d..eb58ceb84 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -25,7 +25,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con 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}' - client = self.sdk_configuration.security_client + client = self.sdk_configuration.client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -59,7 +59,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 + client = self.sdk_configuration.client http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -90,7 +90,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 + client = self.sdk_configuration.client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -121,7 +121,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 + client = self.sdk_configuration.client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -152,7 +152,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 + client = self.sdk_configuration.client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -183,7 +183,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE headers['Accept'] = 'application/json;q=1, application/json;q=0' 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 + client = self.sdk_configuration.client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 958cd8e96..6ccddda37 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 73977c71ee5d61e03ee1331af8ea64ca37c1cf87 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 29 Jun 2023 00:41:06 +0000 Subject: [PATCH 45/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.3 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 8c19195cb..970cc27d1 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -298,4 +298,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:40:51 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 74d00948f..7212cbd1e 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 212da1be327aa353a32246064aee8679 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/customer_portal/setup.py b/customer_portal/setup.py index acc8620ae..fd61f2f6d 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.25.0", + version="1.26.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 6ccddda37..17442641f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 00e107e686ebdf18c0ac1fa149419ffdd9aafefe Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Jul 2023 00:46:05 +0000 Subject: [PATCH 46/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 970cc27d1..eb58205fd 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -304,4 +304,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:45:49 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 7212cbd1e..242a08bab 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 212da1be327aa353a32246064aee8679 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/customer_portal/setup.py b/customer_portal/setup.py index fd61f2f6d..64e161bcb 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.26.0", + version="1.27.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 17442641f..c14f903c0 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 2ebe804a9183f4a4278098cebab6b4a3b4eb08dc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Jul 2023 00:43:06 +0000 Subject: [PATCH 47/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.2 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index eb58205fd..62a3a8511 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -310,4 +310,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:49 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 242a08bab..37978abf3 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 212da1be327aa353a32246064aee8679 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/customer_portal/setup.py b/customer_portal/setup.py index 64e161bcb..f2a1f0aad 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.27.0", + version="1.28.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index c14f903c0..943cbefa5 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 6e3c5439497def26d09e9e0e3925beddabf33274 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 7 Jul 2023 00:42:41 +0000 Subject: [PATCH 48/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.0 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 8 ++- .../getcontactcount200applicationjson.md | 10 ++++ .../operations/getcontactcountrequest.md | 9 ++++ .../operations/getcontactcountresponse.md | 12 +++++ ...riables200applicationjsoncustomerportal.md | 6 +-- ...iables200applicationjsoninstallerportal.md | 6 +-- .../docs/models/shared/contactcountrequest.md | 11 ++++ .../docs/models/shared/createuserrequest.md | 1 + customer_portal/docs/sdks/public/README.md | 54 ++++++++++++++++++- customer_portal/files.gen | 6 +++ customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- .../src/epilot/models/operations/__init__.py | 3 +- .../models/operations/getcontactcount.py | 47 ++++++++++++++++ .../src/epilot/models/shared/__init__.py | 3 +- .../models/shared/contactcountrequest.py | 19 +++++++ .../epilot/models/shared/createuserrequest.py | 2 + customer_portal/src/epilot/public.py | 36 +++++++++++++ .../src/epilot/sdkconfiguration.py | 4 +- 20 files changed, 231 insertions(+), 17 deletions(-) create mode 100755 customer_portal/docs/models/operations/getcontactcount200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getcontactcountrequest.md create mode 100755 customer_portal/docs/models/operations/getcontactcountresponse.md create mode 100755 customer_portal/docs/models/shared/contactcountrequest.md create mode 100755 customer_portal/src/epilot/models/operations/getcontactcount.py create mode 100755 customer_portal/src/epilot/models/shared/contactcountrequest.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 89ff4d41f..5374e146a 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -80,6 +80,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [confirm_user](docs/sdks/public/README.md#confirm_user) - confirmUser * [create_user](docs/sdks/public/README.md#create_user) - createUser +* [get_contact_count](docs/sdks/public/README.md#get_contact_count) - getContactCount * [get_count_by_email](docs/sdks/public/README.md#get_count_by_email) - getCountByEmail * [get_portal_config_by_domain](docs/sdks/public/README.md#get_portal_config_by_domain) - getPortalConfigByDomain * [get_public_portal_config](docs/sdks/public/README.md#get_public_portal_config) - getPublicPortalConfig diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 62a3a8511..70d69dcd3 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -316,4 +316,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcount200applicationjson.md b/customer_portal/docs/models/operations/getcontactcount200applicationjson.md new file mode 100755 index 000000000..63e005e5c --- /dev/null +++ b/customer_portal/docs/models/operations/getcontactcount200applicationjson.md @@ -0,0 +1,10 @@ +# GetContactCount200ApplicationJSON + +Contact count for the request successfully. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `count` | *Optional[float]* | :heavy_minus_sign: | Count of Contact | 2 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountrequest.md b/customer_portal/docs/models/operations/getcontactcountrequest.md new file mode 100755 index 000000000..701ab90c5 --- /dev/null +++ b/customer_portal/docs/models/operations/getcontactcountrequest.md @@ -0,0 +1,9 @@ +# GetContactCountRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `contact_count_request` | [shared.ContactCountRequest](../../models/shared/contactcountrequest.md) | :heavy_check_mark: | Request payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md new file mode 100755 index 000000000..607608d6e --- /dev/null +++ b/customer_portal/docs/models/operations/getcontactcountresponse.md @@ -0,0 +1,12 @@ +# GetContactCountResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_contact_count_200_application_json_object` | [Optional[GetContactCount200ApplicationJSON]](../../models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md index 1a89ac0e9..4dee94a5d 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://end-customer-portal.ecp.dev.epilot.io/register/existing-customer?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://end-customer-portal.ecp.dev.epilot.io/register?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md index d8aed26b3..c91f19c6c 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://installer-portal.ecp.dev.epilot.io/register/existing-customer?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `invitation_link` | *Optional[str]* | :heavy_minus_sign: | N/A | https://installer-portal.ecp.dev.epilot.io/register?contactId=7aa44fb8-d60e-40cc-9a3a-ba09a1ff7f51&email=john@doe.com | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md new file mode 100755 index 000000000..58d5b1d44 --- /dev/null +++ b/customer_portal/docs/models/shared/contactcountrequest.md @@ -0,0 +1,11 @@ +# ContactCountRequest + +Request payload + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `contact_identifiers` | dict[str, *str*] | :heavy_check_mark: | Identifiers to identify a contact | | +| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md index ac2a1dd94..ddaf08a43 100755 --- a/customer_portal/docs/models/shared/createuserrequest.md +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -8,6 +8,7 @@ Portal user payload | Field | Type | Required | Description | Example | | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | | `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 123456 | +| `contact_identifiers` | dict[str, *str*] | :heavy_minus_sign: | Identifiers to identify a contact | | | `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index a30adf1a8..535861dd2 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -8,6 +8,7 @@ Public APIs * [confirm_user](#confirm_user) - confirmUser * [create_user](#create_user) - createUser +* [get_contact_count](#get_contact_count) - getContactCount * [get_count_by_email](#get_count_by_email) - getCountByEmail * [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain * [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig @@ -72,6 +73,12 @@ s = epilot.Epilot( req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', + contact_identifiers={ + "architecto": 'mollitia', + "dolorem": 'culpa', + "consequuntur": 'repellat', + "mollitia": 'occaecati', + }, email='testemail921@yopmail.com', first_name='John', last_name='Doe', @@ -79,7 +86,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) @@ -100,6 +107,51 @@ if res.create_user_201_application_json_object is not None: **[operations.CreateUserResponse](../../models/operations/createuserresponse.md)** +## get_contact_count + +Check existence of contacts. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetContactCountRequest( + contact_count_request=shared.ContactCountRequest( + contact_identifiers={ + "quam": 'molestiae', + "velit": 'error', + }, + org_id='728', + ), + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.public.get_contact_count(req) + +if res.get_contact_count_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.GetContactCountRequest](../../models/operations/getcontactcountrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetContactCountResponse](../../models/operations/getcontactcountresponse.md)** + + ## get_count_by_email Check Contact by email diff --git a/customer_portal/files.gen b/customer_portal/files.gen index db24fa6c1..c17029b48 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -47,6 +47,7 @@ src/epilot/models/operations/upsertemailtemplates.py src/epilot/models/operations/upsertportal.py src/epilot/models/operations/confirmuser.py src/epilot/models/operations/createuser.py +src/epilot/models/operations/getcontactcount.py src/epilot/models/operations/getcountbyemail.py src/epilot/models/operations/getportalconfigbydomain.py src/epilot/models/operations/getpublicportalconfig.py @@ -66,6 +67,7 @@ src/epilot/models/shared/extraschemaattributes.py src/epilot/models/shared/saveportalfile.py src/epilot/models/shared/upsertportalconfig.py src/epilot/models/shared/createuserrequest.py +src/epilot/models/shared/contactcountrequest.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py docs/sdks/epilot/README.md @@ -205,6 +207,9 @@ docs/models/operations/createuserrequest.md docs/models/operations/createuser201applicationjsonmessage.md docs/models/operations/createuser201applicationjson.md docs/models/operations/createuserresponse.md +docs/models/operations/getcontactcountrequest.md +docs/models/operations/getcontactcount200applicationjson.md +docs/models/operations/getcontactcountresponse.md docs/models/operations/getcountbyemailrequest.md docs/models/operations/getcountbyemail200applicationjson.md docs/models/operations/getcountbyemailresponse.md @@ -270,4 +275,5 @@ docs/models/shared/upsertportalconfigimages.md docs/models/shared/upsertportalconfigselfregistrationsetting.md docs/models/shared/upsertportalconfig.md docs/models/shared/createuserrequest.md +docs/models/shared/contactcountrequest.md docs/models/shared/security.md \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 37978abf3..c056aa414 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: 212da1be327aa353a32246064aee8679 + docChecksum: 7da253c589d6246294e3cbd90e79ca8a 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/customer_portal/setup.py b/customer_portal/setup.py index f2a1f0aad..74d77a748 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.28.0", + version="1.29.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index f6a1bbdc5..ca70befe7 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -14,6 +14,7 @@ from .getallorders import * from .getallportalconfigs import * from .getcontact import * +from .getcontactcount import * from .getcontract import * from .getcountbyemail import * from .getecpcontact import * @@ -42,4 +43,4 @@ from .upsertportal import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getcontactcount.py b/customer_portal/src/epilot/models/operations/getcontactcount.py new file mode 100755 index 000000000..312d789fe --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getcontactcount.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import contactcountrequest as shared_contactcountrequest +from ..shared import errorresp as shared_errorresp +from ..shared import origin as shared_origin +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + + +@dataclasses.dataclass +class GetContactCountRequest: + contact_count_request: shared_contactcountrequest.ContactCountRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + r"""Request payload""" + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class GetContactCount200ApplicationJSON: + r"""Contact count for the request successfully.""" + count: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('count'), 'exclude': lambda f: f is None }}) + r"""Count of Contact""" + + + + + +@dataclasses.dataclass +class GetContactCountResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" + get_contact_count_200_application_json_object: Optional[GetContactCount200ApplicationJSON] = dataclasses.field(default=None) + r"""Contact count for the request successfully.""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index ce9db19d0..9cccb6594 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +from .contactcountrequest import * from .createssouserrequest import * from .createuserrequest import * from .deleteentityfile import * @@ -16,4 +17,4 @@ from .security import * from .upsertportalconfig import * -__all__ = ["CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] +__all__ = ["ContactCountRequest","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] diff --git a/customer_portal/src/epilot/models/shared/contactcountrequest.py b/customer_portal/src/epilot/models/shared/contactcountrequest.py new file mode 100755 index 000000000..0458096e7 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/contactcountrequest.py @@ -0,0 +1,19 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ContactCountRequest: + r"""Request payload""" + contact_identifiers: dict[str, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers') }}) + r"""Identifiers to identify a contact""" + org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) + r"""ID of the organization""" + + diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py index bef9585ef..190450613 100755 --- a/customer_portal/src/epilot/models/shared/createuserrequest.py +++ b/customer_portal/src/epilot/models/shared/createuserrequest.py @@ -20,6 +20,8 @@ class CreateUserRequest: r"""User's password""" contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) r"""ID of the contact""" + contact_identifiers: Optional[dict[str, str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers'), 'exclude': lambda f: f is None }}) + r"""Identifiers to identify a contact""" first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) r"""First Name of the portal user""" last_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('last_name'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index eb58ceb84..c095b5dc0 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -78,6 +78,42 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat return res + def get_contact_count(self, request: operations.GetContactCountRequest) -> operations.GetContactCountResponse: + r"""getContactCount + Check existence of contacts. + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/public/contact/count' + headers = {} + req_content_type, data, form = utils.serialize_request_body(request, "contact_count_request", 'json') + if req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + query_params = utils.get_query_params(operations.GetContactCountRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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.client + + http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetContactCountResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.GetContactCount200ApplicationJSON]) + res.get_contact_count_200_application_json_object = out + elif http_res.status_code in [400, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + + return res + + def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> operations.GetCountByEmailResponse: r"""getCountByEmail Check Contact by email diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 943cbefa5..284e293e5 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 d5ae8d5cb5130fe1e70f40410874a843cdd6be4e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Jul 2023 00:42:27 +0000 Subject: [PATCH 49/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 70d69dcd3..b2ae9512c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -322,4 +322,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index c056aa414..050146c99 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7da253c589d6246294e3cbd90e79ca8a 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/customer_portal/setup.py b/customer_portal/setup.py index 74d77a748..126416234 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.29.0", + version="1.29.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 284e293e5..7e0f5117f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 e3c4a41eb3abaae0514d83920b8bfbd63e114ae3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 11 Jul 2023 00:37:52 +0000 Subject: [PATCH 50/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b2ae9512c..becacf72b 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -328,4 +328,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:37:34 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 050146c99..dfe3ff871 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7da253c589d6246294e3cbd90e79ca8a 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/customer_portal/setup.py b/customer_portal/setup.py index 126416234..01b483d69 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.29.1", + version="1.30.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 7e0f5117f..0f89e5c44 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 ef394dc47d77398769a9795751bd38e4d915d484 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Jul 2023 00:43:41 +0000 Subject: [PATCH 51/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.3 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index becacf72b..d7b059c60 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -334,4 +334,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:43:25 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index dfe3ff871..0693d0b8f 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7da253c589d6246294e3cbd90e79ca8a 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/customer_portal/setup.py b/customer_portal/setup.py index 01b483d69..96a37c276 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.30.0", + version="1.30.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 0f89e5c44..ee8adfd6c 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 5c8212b626e30816d022e52628f2faa7b0415b56 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 13 Jul 2023 00:42:30 +0000 Subject: [PATCH 52/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.57.0 --- customer_portal/RELEASES.md | 8 +++- .../docs/models/shared/portalconfig.md | 1 + .../models/shared/portalconfigorgsettings.md | 11 +++++ .../shared/portalconfigorgsettingscanary.md | 10 +++++ ...portalconfigorgsettingsreleasecandidate.md | 10 +++++ customer_portal/files.gen | 3 ++ customer_portal/gen.yaml | 8 ++-- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 41 ++++++++++++++++++- .../models/shared/upsertportalconfig.py | 4 +- .../src/epilot/sdkconfiguration.py | 4 +- 12 files changed, 91 insertions(+), 13 deletions(-) create mode 100755 customer_portal/docs/models/shared/portalconfigorgsettings.md create mode 100755 customer_portal/docs/models/shared/portalconfigorgsettingscanary.md create mode 100755 customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d7b059c60..8b19402b0 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -340,4 +340,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:15 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 1f5c1ffec..5a03a52b2 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -24,6 +24,7 @@ Portal config retrieved successfully. | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | | `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | +| `org_settings` | [Optional[PortalConfigOrgSettings]](../../models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | | `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | | ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | | `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigorgsettings.md b/customer_portal/docs/models/shared/portalconfigorgsettings.md new file mode 100755 index 000000000..9a8d4932b --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigorgsettings.md @@ -0,0 +1,11 @@ +# PortalConfigOrgSettings + +Organization settings + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `canary` | [Optional[PortalConfigOrgSettingsCanary]](../../models/shared/portalconfigorgsettingscanary.md) | :heavy_minus_sign: | Canary feature flag | +| `release_candidate` | [Optional[PortalConfigOrgSettingsReleaseCandidate]](../../models/shared/portalconfigorgsettingsreleasecandidate.md) | :heavy_minus_sign: | Release candidate settings | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md b/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md new file mode 100755 index 000000000..564efa539 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md @@ -0,0 +1,10 @@ +# PortalConfigOrgSettingsCanary + +Canary feature flag + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the canary feature | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md b/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md new file mode 100755 index 000000000..66d495b47 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md @@ -0,0 +1,10 @@ +# PortalConfigOrgSettingsReleaseCandidate + +Release candidate settings + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the release candidate feature | \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index c17029b48..be2b4b02e 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -250,6 +250,9 @@ docs/models/shared/portalconfigentityactions.md docs/models/shared/portalconfigentityidentifierstype.md docs/models/shared/portalconfigentityidentifiers.md docs/models/shared/portalconfigimages.md +docs/models/shared/portalconfigorgsettingscanary.md +docs/models/shared/portalconfigorgsettingsreleasecandidate.md +docs/models/shared/portalconfigorgsettings.md docs/models/shared/portalconfigselfregistrationsetting.md docs/models/shared/portalconfig.md docs/models/shared/origin.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 0693d0b8f..9d37ea38d 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: 7da253c589d6246294e3cbd90e79ca8a + docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index 96a37c276..f2901ea01 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.30.1", + version="1.31.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 9cccb6594..6cace7527 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -17,4 +17,4 @@ from .security import * from .upsertportalconfig import * -__all__ = ["ContactCountRequest","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] +__all__ = ["ContactCountRequest","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 4b9bedd86..2dec3b7f9 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -96,6 +96,41 @@ class PortalConfigImages: + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class PortalConfigOrgSettingsCanary: + r"""Canary feature flag""" + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the canary feature""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class PortalConfigOrgSettingsReleaseCandidate: + r"""Release candidate settings""" + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + r"""Enable/Disable the release candidate feature""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class PortalConfigOrgSettings: + r"""Organization settings""" + canary: Optional[PortalConfigOrgSettingsCanary] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('canary'), 'exclude': lambda f: f is None }}) + r"""Canary feature flag""" + release_candidate: Optional[PortalConfigOrgSettingsReleaseCandidate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('release_candidate'), 'exclude': lambda f: f is None }}) + r"""Release candidate settings""" + + + class PortalConfigSelfRegistrationSetting(str, Enum): ALLOW_WITH_CONTACT_CREATION = 'ALLOW_WITH_CONTACT_CREATION' ALLOW_WITHOUT_CONTACT_CREATION = 'ALLOW_WITHOUT_CONTACT_CREATION' @@ -117,7 +152,7 @@ class PortalConfig: r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ default_user_to_notify: Optional[PortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) @@ -144,11 +179,13 @@ class PortalConfig: r"""A short name to identify your portal""" org_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_name'), 'exclude': lambda f: f is None }}) r"""Name of the organization""" + org_settings: Optional[PortalConfigOrgSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_settings'), 'exclude': lambda f: f is None }}) + r"""Organization settings""" origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) r"""Origin of the portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ self_registration_setting: Optional[PortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index cdefcc021..c4893b769 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -116,7 +116,7 @@ class UpsertPortalConfig: r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ default_user_to_notify: Optional[UpsertPortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) @@ -141,7 +141,7 @@ class UpsertPortalConfig: r"""A short name to identify your portal""" self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ self_registration_setting: Optional[UpsertPortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index ee8adfd6c..a85f2300f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 3a431614af33a82c571815821920e19cd30bdcb7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Jul 2023 00:42:54 +0000 Subject: [PATCH 53/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.59.0 --- customer_portal/README.md | 2 ++ customer_portal/RELEASES.md | 8 +++++++- customer_portal/USAGE.md | 2 ++ customer_portal/docs/sdks/public/README.md | 6 +++--- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 7 files changed, 20 insertions(+), 10 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 5374e146a..ea9e3be24 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -10,6 +10,8 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ## SDK Example Usage + + ```python import epilot from epilot.models import operations, shared diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 8b19402b0..b46ac1069 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -346,4 +346,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:42:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index dc8e41c10..ddd4cfc97 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -1,4 +1,6 @@ + + ```python import epilot from epilot.models import operations, shared diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 535861dd2..52e61aaf9 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -160,7 +160,7 @@ Check Contact by email ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -199,7 +199,7 @@ Retrieves the portal configuration by domain. ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -276,7 +276,7 @@ Checks whether a user exists in the portal ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 9d37ea38d..e4979c66d 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index f2901ea01..9cb9dba27 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.31.0", + version="1.32.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index a85f2300f..1a5fbe58f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 737fac6c22b8c8d59b56b1bbb72547655addf898 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Jul 2023 01:00:54 +0000 Subject: [PATCH 54/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.61.0 --- customer_portal/RELEASES.md | 8 +- customer_portal/files.gen | 2 + customer_portal/gen.yaml | 6 +- customer_portal/pylintrc | 4 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 86 ++++++++++++++++++- customer_portal/src/epilot/ecp_admin.py | 60 ++++++++++++- .../src/epilot/models/errors/__init__.py | 4 + .../src/epilot/models/errors/sdkerror.py | 24 ++++++ customer_portal/src/epilot/public.py | 28 +++++- .../src/epilot/sdkconfiguration.py | 4 +- 11 files changed, 217 insertions(+), 11 deletions(-) create mode 100755 customer_portal/src/epilot/models/errors/__init__.py create mode 100755 customer_portal/src/epilot/models/errors/sdkerror.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b46ac1069..d219f26ac 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -352,4 +352,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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 01:00:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index be2b4b02e..243c17f4c 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -7,6 +7,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 @@ -70,6 +71,7 @@ src/epilot/models/shared/createuserrequest.py src/epilot/models/shared/contactcountrequest.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/ecp/README.md docs/sdks/ecpadmin/README.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index e4979c66d..354574fb4 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/pylintrc b/customer_portal/pylintrc index a5f5e1332..5a4935ab7 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/pylintrc @@ -440,7 +440,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/customer_portal/setup.py b/customer_portal/setup.py index 9cb9dba27..e17b4b1f9 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.32.0", + version="1.33.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index ab62bda67..3910ab3f3 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.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 Any, Optional class Ecp: @@ -35,10 +35,14 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.AddEndCustomerRelationToEntity200ApplicationJSON]) res.add_end_customer_relation_to_entity_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -70,10 +74,14 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.DeleteEntityFile202ApplicationJSON]) res.delete_entity_file_202_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -100,10 +108,14 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.DeletePortalUser200ApplicationJSON]) res.delete_portal_user_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -130,10 +142,14 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllContracts200ApplicationJSON]) res.get_all_contracts_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -160,10 +176,14 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllOpportunities200ApplicationJSON]) res.get_all_opportunities_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -190,10 +210,14 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllOrders200ApplicationJSON]) res.get_all_orders_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -220,10 +244,14 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetContact200ApplicationJSON]) res.get_contact_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -250,10 +278,14 @@ def get_contract(self, request: operations.GetContractRequest, security: operati if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetContract200ApplicationJSON]) res.get_contract_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -285,10 +317,14 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetEntitiesByIdentifiers200ApplicationJSON]) res.get_entities_by_identifiers_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -315,10 +351,14 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetOpportunity200ApplicationJSON]) res.get_opportunity_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -345,10 +385,14 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetOrder200ApplicationJSON]) res.get_order_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -375,10 +419,14 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetOrganizationSettings200ApplicationJSON]) res.get_organization_settings_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -406,10 +454,14 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -436,10 +488,14 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetPortalUser200ApplicationJSON]) res.get_portal_user_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -466,10 +522,14 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetSchemas200ApplicationJSON]) res.get_schemas_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -501,10 +561,14 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.SaveEntityFile201ApplicationJSON]) res.save_entity_file_201_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -534,10 +598,14 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateContact200ApplicationJSON]) res.update_contact_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -569,10 +637,14 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateContract200ApplicationJSON]) res.update_contract_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -604,10 +676,14 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateOpportunity200ApplicationJSON]) res.update_opportunity_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -637,10 +713,14 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateOrder200ApplicationJSON]) res.update_order_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -670,10 +750,14 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpdatePortalUser200ApplicationJSON]) res.update_portal_user_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = 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/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 88d1bdae6..f7b4e5e42 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.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 ECPAdmin: @@ -36,10 +36,14 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ConfigureDistribution200ApplicationJSON]) res.configure_distribution_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -72,10 +76,14 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateSSOUser201ApplicationJSON]) res.create_sso_user_201_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -105,6 +113,8 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -131,10 +141,14 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ExtraPermissionAttributes200ApplicationJSON]) res.extra_permission_attributes_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -161,10 +175,14 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllPortalConfigs200ApplicationJSON]) res.get_all_portal_configs_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -192,10 +210,14 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetECPContact200ApplicationJSON]) res.get_ecp_contact_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -223,10 +245,14 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.EmailTemplates]) res.email_templates = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -253,10 +279,14 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetEntityIdentifiers200ApplicationJSON]) res.get_entity_identifiers_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -284,10 +314,14 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -315,10 +349,14 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -345,10 +383,14 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetValidSecondaryAttributes200ApplicationJSON]) res.get_valid_secondary_attributes_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -380,10 +422,14 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.ReplaceECPTemplateVariables200ApplicationJSON]) res.replace_ecp_template_variables_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -415,10 +461,14 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.SavePortalFiles201ApplicationJSON]) res.save_portal_files_201_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 403, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -451,10 +501,14 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UpsertEmailTemplates200ApplicationJSON]) res.upsert_email_templates_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -487,10 +541,14 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 403, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = 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/customer_portal/src/epilot/models/errors/__init__.py b/customer_portal/src/epilot/models/errors/__init__.py new file mode 100755 index 000000000..cfd848441 --- /dev/null +++ b/customer_portal/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/customer_portal/src/epilot/models/errors/sdkerror.py b/customer_portal/src/epilot/models/errors/sdkerror.py new file mode 100755 index 000000000..6bb02bbd6 --- /dev/null +++ b/customer_portal/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/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index c095b5dc0..64a6bd214 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.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 Public: @@ -38,6 +38,8 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -70,10 +72,14 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.CreateUser201ApplicationJSON]) res.create_user_201_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -106,10 +112,14 @@ def get_contact_count(self, request: operations.GetContactCountRequest) -> opera if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetContactCount200ApplicationJSON]) res.get_contact_count_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -137,10 +147,14 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.GetCountByEmail200ApplicationJSON]) res.get_count_by_email_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -168,10 +182,14 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -199,10 +217,14 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.PortalConfig]) res.portal_config = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -230,10 +252,14 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[operations.UserExists200ApplicationJSON]) res.user_exists_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = 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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 1a5fbe58f..d76c7a868 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 e005054c60d315a0189aadadc4b76e1474a8ab42 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Jul 2023 01:05:20 +0000 Subject: [PATCH 55/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.62.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d219f26ac..697c26910 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -358,4 +358,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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 01:05:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 354574fb4..80384f96b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index e17b4b1f9..966171b1e 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.33.0", + version="1.33.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index d76c7a868..558179146 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 99858d54dfc1df81dc7c42a962778b7a757a7fbf Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Jul 2023 00:37:45 +0000 Subject: [PATCH 56/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.64.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/USAGE.md | 0 .../addendcustomerrelationtoentity200applicationjson.md | 0 .../operations/addendcustomerrelationtoentityrequest.md | 0 .../operations/addendcustomerrelationtoentityresponse.md | 0 .../operations/addendcustomerrelationtoentitysecurity.md | 0 .../operations/configuredistribution200applicationjson.md | 0 .../models/operations/configuredistributionrequest.md | 0 .../models/operations/configuredistributionresponse.md | 0 .../models/operations/configuredistributionsecurity.md | 0 .../docs/models/operations/confirmuserrequest.md | 0 .../docs/models/operations/confirmuserresponse.md | 0 .../models/operations/createssouser201applicationjson.md | 0 .../docs/models/operations/createssouserrequest.md | 0 .../docs/models/operations/createssouserresponse.md | 0 .../docs/models/operations/createssousersecurity.md | 0 .../models/operations/createuser201applicationjson.md | 0 .../operations/createuser201applicationjsonmessage.md | 0 .../docs/models/operations/createuserrequest.md | 0 .../docs/models/operations/createuserresponse.md | 0 .../operations/deleteentityfile202applicationjson.md | 0 .../docs/models/operations/deleteentityfileresponse.md | 0 .../docs/models/operations/deleteentityfilesecurity.md | 0 .../docs/models/operations/deleteportalrequest.md | 0 .../docs/models/operations/deleteportalresponse.md | 0 .../docs/models/operations/deleteportalsecurity.md | 0 .../operations/deleteportaluser200applicationjson.md | 0 .../deleteportaluser200applicationjsonmessage.md | 0 .../docs/models/operations/deleteportaluserresponse.md | 0 .../docs/models/operations/deleteportalusersecurity.md | 0 .../extrapermissionattributes200applicationjson.md | 0 .../extrapermissionattributes200applicationjsondata.md | 0 .../operations/extrapermissionattributesresponse.md | 0 .../operations/extrapermissionattributessecurity.md | 0 .../operations/getallcontracts200applicationjson.md | 0 .../docs/models/operations/getallcontractsresponse.md | 0 .../docs/models/operations/getallcontractssecurity.md | 0 .../operations/getallopportunities200applicationjson.md | 0 .../docs/models/operations/getallopportunitiesresponse.md | 0 .../docs/models/operations/getallopportunitiessecurity.md | 0 .../models/operations/getallorders200applicationjson.md | 0 .../docs/models/operations/getallordersresponse.md | 0 .../docs/models/operations/getallorderssecurity.md | 0 .../operations/getallportalconfigs200applicationjson.md | 0 .../docs/models/operations/getallportalconfigsresponse.md | 0 .../docs/models/operations/getallportalconfigssecurity.md | 0 .../models/operations/getcontact200applicationjson.md | 0 .../operations/getcontactcount200applicationjson.md | 0 .../docs/models/operations/getcontactcountrequest.md | 0 .../docs/models/operations/getcontactcountresponse.md | 0 .../docs/models/operations/getcontactresponse.md | 0 .../docs/models/operations/getcontactsecurity.md | 0 .../models/operations/getcontract200applicationjson.md | 0 .../docs/models/operations/getcontractrequest.md | 0 .../docs/models/operations/getcontractresponse.md | 0 .../docs/models/operations/getcontractsecurity.md | 0 .../operations/getcountbyemail200applicationjson.md | 0 .../docs/models/operations/getcountbyemailrequest.md | 0 .../docs/models/operations/getcountbyemailresponse.md | 0 .../models/operations/getecpcontact200applicationjson.md | 0 .../docs/models/operations/getecpcontactrequest.md | 0 .../docs/models/operations/getecpcontactresponse.md | 0 .../docs/models/operations/getecpcontactsecurity.md | 0 .../docs/models/operations/getemailtemplatesrequest.md | 0 .../docs/models/operations/getemailtemplatesresponse.md | 0 .../docs/models/operations/getemailtemplatessecurity.md | 0 .../getentitiesbyidentifiers200applicationjson.md | 0 .../models/operations/getentitiesbyidentifiersrequest.md | 0 .../models/operations/getentitiesbyidentifiersresponse.md | 0 .../models/operations/getentitiesbyidentifierssecurity.md | 0 .../operations/getentityidentifiers200applicationjson.md | 0 .../getentityidentifiers200applicationjsondata.md | 0 .../docs/models/operations/getentityidentifiersrequest.md | 0 .../models/operations/getentityidentifiersresponse.md | 0 .../models/operations/getentityidentifierssecurity.md | 0 .../models/operations/getopportunity200applicationjson.md | 0 .../docs/models/operations/getopportunityrequest.md | 0 .../docs/models/operations/getopportunityresponse.md | 0 .../docs/models/operations/getopportunitysecurity.md | 0 .../docs/models/operations/getorder200applicationjson.md | 0 customer_portal/docs/models/operations/getorderrequest.md | 0 .../docs/models/operations/getorderresponse.md | 0 .../docs/models/operations/getordersecurity.md | 0 .../getorganizationsettings200applicationjson.md | 0 .../models/operations/getorganizationsettingsresponse.md | 0 .../models/operations/getorganizationsettingssecurity.md | 0 .../docs/models/operations/getorgportalconfigrequest.md | 0 .../docs/models/operations/getorgportalconfigresponse.md | 0 .../docs/models/operations/getorgportalconfigsecurity.md | 0 .../models/operations/getportalconfigbydomainrequest.md | 0 .../models/operations/getportalconfigbydomainresponse.md | 0 .../docs/models/operations/getportalconfigrequest.md | 0 .../docs/models/operations/getportalconfigresponse.md | 0 .../docs/models/operations/getportalconfigsecurity.md | 0 .../models/operations/getportaluser200applicationjson.md | 0 .../docs/models/operations/getportaluserresponse.md | 0 .../docs/models/operations/getportalusersecurity.md | 0 .../models/operations/getpublicportalconfigrequest.md | 0 .../models/operations/getpublicportalconfigresponse.md | 0 .../models/operations/getschemas200applicationjson.md | 0 .../docs/models/operations/getschemasresponse.md | 0 .../docs/models/operations/getschemassecurity.md | 0 .../getvalidsecondaryattributes200applicationjson.md | 0 .../getvalidsecondaryattributes200applicationjsondata.md | 0 .../operations/getvalidsecondaryattributesresponse.md | 0 .../operations/getvalidsecondaryattributessecurity.md | 0 .../replaceecptemplatevariables200applicationjson.md | 0 ...cptemplatevariables200applicationjsoncustomerportal.md | 0 ...ptemplatevariables200applicationjsoninstallerportal.md | 0 .../operations/replaceecptemplatevariablesrequestbody.md | 0 .../operations/replaceecptemplatevariablesresponse.md | 0 .../operations/replaceecptemplatevariablessecurity.md | 0 .../models/operations/saveentityfile201applicationjson.md | 0 .../docs/models/operations/saveentityfileresponse.md | 0 .../docs/models/operations/saveentityfilesecurity.md | 0 .../operations/saveportalfiles201applicationjson.md | 0 .../docs/models/operations/saveportalfilesresponse.md | 0 .../docs/models/operations/saveportalfilessecurity.md | 0 .../models/operations/updatecontact200applicationjson.md | 0 .../docs/models/operations/updatecontactresponse.md | 0 .../docs/models/operations/updatecontactsecurity.md | 0 .../models/operations/updatecontract200applicationjson.md | 0 .../docs/models/operations/updatecontractrequest.md | 0 .../docs/models/operations/updatecontractresponse.md | 0 .../docs/models/operations/updatecontractsecurity.md | 0 .../operations/updateopportunity200applicationjson.md | 0 .../docs/models/operations/updateopportunityrequest.md | 0 .../docs/models/operations/updateopportunityresponse.md | 0 .../docs/models/operations/updateopportunitysecurity.md | 0 .../models/operations/updateorder200applicationjson.md | 0 .../docs/models/operations/updateorderrequest.md | 0 .../docs/models/operations/updateorderresponse.md | 0 .../docs/models/operations/updateordersecurity.md | 0 .../operations/updateportaluser200applicationjson.md | 0 .../docs/models/operations/updateportaluserresponse.md | 0 .../docs/models/operations/updateportalusersecurity.md | 0 .../operations/upsertemailtemplates200applicationjson.md | 0 .../upsertemailtemplates200applicationjsonmessage.md | 0 .../docs/models/operations/upsertemailtemplatesrequest.md | 0 .../models/operations/upsertemailtemplatesresponse.md | 0 .../models/operations/upsertemailtemplatessecurity.md | 0 .../docs/models/operations/upsertportalrequest.md | 0 .../docs/models/operations/upsertportalresponse.md | 0 .../docs/models/operations/upsertportalsecurity.md | 0 .../models/operations/userexists200applicationjson.md | 0 .../docs/models/operations/userexistsrequest.md | 0 .../docs/models/operations/userexistsresponse.md | 0 customer_portal/docs/models/shared/contactcountrequest.md | 0 .../docs/models/shared/createssouserrequest.md | 0 customer_portal/docs/models/shared/createuserrequest.md | 0 customer_portal/docs/models/shared/deleteentityfile.md | 0 customer_portal/docs/models/shared/emailtemplates.md | 0 customer_portal/docs/models/shared/entityslug.md | 0 customer_portal/docs/models/shared/errorresp.md | 0 .../docs/models/shared/extraschemaattributes.md | 0 customer_portal/docs/models/shared/grant.md | 0 customer_portal/docs/models/shared/granteffect.md | 0 .../docs/models/shared/organizationsettings.md | 0 .../shared/organizationsettingsautomationentitymapping.md | 0 .../shared/organizationsettingsautomationpreview.md | 0 .../organizationsettingscentralinboxpreviewsetting.md | 0 .../shared/organizationsettingscontractspreviewsetting.md | 0 .../docs/models/shared/organizationsettingsdisableivy.md | 0 .../docs/models/shared/organizationsettingsdoubleoptin.md | 0 .../shared/organizationsettingsecommercecatalogpreview.md | 0 .../organizationsettingsecommerceopportunitiespreview.md | 0 .../models/shared/organizationsettingsecommercepreview.md | 0 .../shared/organizationsettingsendcustomerportal.md | 0 .../shared/organizationsettingsentityschemabuilder.md | 0 .../models/shared/organizationsettingsinstallerportal.md | 0 .../shared/organizationsettingslogiceditorpreview.md | 0 .../models/shared/organizationsettingsnewnavigation.md | 0 .../docs/models/shared/organizationsettingspartnering.md | 0 .../shared/organizationsettingsproductavailability.md | 0 .../docs/models/shared/organizationsettingssso.md | 0 .../shared/organizationsettingssubmissionpreview.md | 0 .../models/shared/organizationsettingsuserrolespreview.md | 0 customer_portal/docs/models/shared/origin.md | 0 customer_portal/docs/models/shared/portalconfig.md | 0 .../docs/models/shared/portalconfigcognitodetails.md | 0 .../docs/models/shared/portalconfigdefaultusertonotify.md | 0 .../docs/models/shared/portalconfigentityactions.md | 0 .../models/shared/portalconfigentityactionsactionlabel.md | 0 .../docs/models/shared/portalconfigentityidentifiers.md | 0 .../models/shared/portalconfigentityidentifierstype.md | 0 customer_portal/docs/models/shared/portalconfigimages.md | 0 .../docs/models/shared/portalconfigorgsettings.md | 0 .../docs/models/shared/portalconfigorgsettingscanary.md | 0 .../shared/portalconfigorgsettingsreleasecandidate.md | 0 .../models/shared/portalconfigselfregistrationsetting.md | 0 customer_portal/docs/models/shared/saveentityfile.md | 0 customer_portal/docs/models/shared/saveentityfilefiles.md | 0 .../models/shared/saveentityfilefilesaccesscontrol.md | 0 .../docs/models/shared/saveentityfilefiless3ref.md | 0 customer_portal/docs/models/shared/saveportalfile.md | 0 customer_portal/docs/models/shared/saveportalfilefiles.md | 0 .../docs/models/shared/saveportalfilefiless3ref.md | 0 customer_portal/docs/models/shared/security.md | 0 customer_portal/docs/models/shared/upsertportalconfig.md | 0 .../models/shared/upsertportalconfigcognitodetails.md | 0 .../shared/upsertportalconfigdefaultusertonotify.md | 0 .../docs/models/shared/upsertportalconfigentityactions.md | 0 .../shared/upsertportalconfigentityactionsactionlabel.md | 0 .../models/shared/upsertportalconfigentityidentifiers.md | 0 .../shared/upsertportalconfigentityidentifierstype.md | 0 .../docs/models/shared/upsertportalconfigimages.md | 0 .../shared/upsertportalconfigselfregistrationsetting.md | 0 customer_portal/docs/sdks/ecp/README.md | 0 customer_portal/docs/sdks/ecpadmin/README.md | 0 customer_portal/docs/sdks/epilot/README.md | 0 customer_portal/docs/sdks/public/README.md | 0 customer_portal/gen.yaml | 6 +++--- customer_portal/pylintrc | 0 customer_portal/setup.py | 4 ++-- customer_portal/src/epilot/__init__.py | 0 customer_portal/src/epilot/ecp.py | 0 customer_portal/src/epilot/ecp_admin.py | 0 customer_portal/src/epilot/models/__init__.py | 0 customer_portal/src/epilot/models/errors/__init__.py | 0 customer_portal/src/epilot/models/errors/sdkerror.py | 0 customer_portal/src/epilot/models/operations/__init__.py | 0 .../models/operations/addendcustomerrelationtoentity.py | 0 .../src/epilot/models/operations/configuredistribution.py | 0 .../src/epilot/models/operations/confirmuser.py | 0 .../src/epilot/models/operations/createssouser.py | 0 .../src/epilot/models/operations/createuser.py | 0 .../src/epilot/models/operations/deleteentityfile.py | 0 .../src/epilot/models/operations/deleteportal.py | 0 .../src/epilot/models/operations/deleteportaluser.py | 0 .../epilot/models/operations/extrapermissionattributes.py | 0 .../src/epilot/models/operations/getallcontracts.py | 0 .../src/epilot/models/operations/getallopportunities.py | 0 .../src/epilot/models/operations/getallorders.py | 0 .../src/epilot/models/operations/getallportalconfigs.py | 0 .../src/epilot/models/operations/getcontact.py | 0 .../src/epilot/models/operations/getcontactcount.py | 0 .../src/epilot/models/operations/getcontract.py | 0 .../src/epilot/models/operations/getcountbyemail.py | 0 .../src/epilot/models/operations/getecpcontact.py | 0 .../src/epilot/models/operations/getemailtemplates.py | 0 .../epilot/models/operations/getentitiesbyidentifiers.py | 0 .../src/epilot/models/operations/getentityidentifiers.py | 0 .../src/epilot/models/operations/getopportunity.py | 0 customer_portal/src/epilot/models/operations/getorder.py | 0 .../epilot/models/operations/getorganizationsettings.py | 0 .../src/epilot/models/operations/getorgportalconfig.py | 0 .../src/epilot/models/operations/getportalconfig.py | 0 .../epilot/models/operations/getportalconfigbydomain.py | 0 .../src/epilot/models/operations/getportaluser.py | 0 .../src/epilot/models/operations/getpublicportalconfig.py | 0 .../src/epilot/models/operations/getschemas.py | 0 .../models/operations/getvalidsecondaryattributes.py | 0 .../models/operations/replaceecptemplatevariables.py | 0 .../src/epilot/models/operations/saveentityfile.py | 0 .../src/epilot/models/operations/saveportalfiles.py | 0 .../src/epilot/models/operations/updatecontact.py | 0 .../src/epilot/models/operations/updatecontract.py | 0 .../src/epilot/models/operations/updateopportunity.py | 0 .../src/epilot/models/operations/updateorder.py | 0 .../src/epilot/models/operations/updateportaluser.py | 0 .../src/epilot/models/operations/upsertemailtemplates.py | 0 .../src/epilot/models/operations/upsertportal.py | 0 .../src/epilot/models/operations/userexists.py | 0 customer_portal/src/epilot/models/shared/__init__.py | 0 .../src/epilot/models/shared/contactcountrequest.py | 0 .../src/epilot/models/shared/createssouserrequest.py | 0 .../src/epilot/models/shared/createuserrequest.py | 0 .../src/epilot/models/shared/deleteentityfile.py | 0 .../src/epilot/models/shared/emailtemplates.py | 0 customer_portal/src/epilot/models/shared/entityslug.py | 0 customer_portal/src/epilot/models/shared/errorresp.py | 0 .../src/epilot/models/shared/extraschemaattributes.py | 0 customer_portal/src/epilot/models/shared/grant.py | 0 .../src/epilot/models/shared/organizationsettings.py | 0 customer_portal/src/epilot/models/shared/origin.py | 0 customer_portal/src/epilot/models/shared/portalconfig.py | 0 .../src/epilot/models/shared/saveentityfile.py | 0 .../src/epilot/models/shared/saveportalfile.py | 0 customer_portal/src/epilot/models/shared/security.py | 0 .../src/epilot/models/shared/upsertportalconfig.py | 0 customer_portal/src/epilot/public.py | 0 customer_portal/src/epilot/sdk.py | 0 customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- customer_portal/src/epilot/utils/__init__.py | 0 customer_portal/src/epilot/utils/retries.py | 0 customer_portal/src/epilot/utils/utils.py | 0 286 files changed, 14 insertions(+), 8 deletions(-) mode change 100755 => 100644 customer_portal/USAGE.md mode change 100755 => 100644 customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/configuredistribution200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/configuredistributionrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/configuredistributionresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/configuredistributionsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/confirmuserrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/confirmuserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/createssouser201applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/createssouserrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/createssouserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/createssousersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/createuser201applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/createuser201applicationjsonmessage.md mode change 100755 => 100644 customer_portal/docs/models/operations/createuserrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/createuserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteentityfile202applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteentityfileresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteentityfilesecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportalrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportalresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportalsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportaluser200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportaluserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/deleteportalusersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md mode change 100755 => 100644 customer_portal/docs/models/operations/extrapermissionattributesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/extrapermissionattributessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallcontracts200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallcontractsresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallcontractssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallopportunities200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallopportunitiesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallopportunitiessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallorders200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallordersresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallorderssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallportalconfigsresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getallportalconfigssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontact200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontactcount200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontactcountrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontactcountresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontactresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontactsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontract200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontractrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontractresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcontractsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcountbyemail200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcountbyemailrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getcountbyemailresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getecpcontact200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getecpcontactrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getecpcontactresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getecpcontactsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getemailtemplatesrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getemailtemplatesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getemailtemplatessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentityidentifiersrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentityidentifiersresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getentityidentifierssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getopportunity200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getopportunityrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getopportunityresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getopportunitysecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorder200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorderrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorderresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getordersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorganizationsettingsresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorganizationsettingssecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorgportalconfigrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorgportalconfigresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getorgportalconfigsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalconfigbydomainrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalconfigbydomainresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalconfigrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalconfigresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalconfigsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportaluser200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportaluserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getportalusersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getpublicportalconfigrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/getpublicportalconfigresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getschemas200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getschemasresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getschemassecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md mode change 100755 => 100644 customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveentityfile201applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveentityfileresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveentityfilesecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveportalfiles201applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveportalfilesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/saveportalfilessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontact200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontactresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontactsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontract200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontractrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontractresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/updatecontractsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateopportunity200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateopportunityrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateopportunityresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateopportunitysecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateorder200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateorderrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateorderresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateordersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateportaluser200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateportaluserresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/updateportalusersecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertemailtemplatesrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertemailtemplatesresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertemailtemplatessecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertportalrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertportalresponse.md mode change 100755 => 100644 customer_portal/docs/models/operations/upsertportalsecurity.md mode change 100755 => 100644 customer_portal/docs/models/operations/userexists200applicationjson.md mode change 100755 => 100644 customer_portal/docs/models/operations/userexistsrequest.md mode change 100755 => 100644 customer_portal/docs/models/operations/userexistsresponse.md mode change 100755 => 100644 customer_portal/docs/models/shared/contactcountrequest.md mode change 100755 => 100644 customer_portal/docs/models/shared/createssouserrequest.md mode change 100755 => 100644 customer_portal/docs/models/shared/createuserrequest.md mode change 100755 => 100644 customer_portal/docs/models/shared/deleteentityfile.md mode change 100755 => 100644 customer_portal/docs/models/shared/emailtemplates.md mode change 100755 => 100644 customer_portal/docs/models/shared/entityslug.md mode change 100755 => 100644 customer_portal/docs/models/shared/errorresp.md mode change 100755 => 100644 customer_portal/docs/models/shared/extraschemaattributes.md mode change 100755 => 100644 customer_portal/docs/models/shared/grant.md mode change 100755 => 100644 customer_portal/docs/models/shared/granteffect.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettings.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsautomationpreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsdisableivy.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsecommercepreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsinstallerportal.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsnewnavigation.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingspartnering.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsproductavailability.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingssso.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md mode change 100755 => 100644 customer_portal/docs/models/shared/origin.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfig.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigcognitodetails.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigentityactions.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigentityidentifiers.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigentityidentifierstype.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigimages.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigorgsettings.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigorgsettingscanary.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md mode change 100755 => 100644 customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveentityfile.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveentityfilefiles.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveentityfilefiless3ref.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveportalfile.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveportalfilefiles.md mode change 100755 => 100644 customer_portal/docs/models/shared/saveportalfilefiless3ref.md mode change 100755 => 100644 customer_portal/docs/models/shared/security.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfig.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigentityactions.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigimages.md mode change 100755 => 100644 customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md mode change 100755 => 100644 customer_portal/docs/sdks/ecp/README.md mode change 100755 => 100644 customer_portal/docs/sdks/ecpadmin/README.md mode change 100755 => 100644 customer_portal/docs/sdks/epilot/README.md mode change 100755 => 100644 customer_portal/docs/sdks/public/README.md mode change 100755 => 100644 customer_portal/pylintrc mode change 100755 => 100644 customer_portal/setup.py mode change 100755 => 100644 customer_portal/src/epilot/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/ecp.py mode change 100755 => 100644 customer_portal/src/epilot/ecp_admin.py mode change 100755 => 100644 customer_portal/src/epilot/models/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/models/errors/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/models/errors/sdkerror.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/configuredistribution.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/confirmuser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/createssouser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/createuser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/deleteentityfile.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/deleteportal.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/deleteportaluser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/extrapermissionattributes.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getallcontracts.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getallopportunities.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getallorders.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getallportalconfigs.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getcontact.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getcontactcount.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getcontract.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getcountbyemail.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getecpcontact.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getemailtemplates.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getentityidentifiers.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getopportunity.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getorder.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getorganizationsettings.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getorgportalconfig.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getportalconfig.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getportalconfigbydomain.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getportaluser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getpublicportalconfig.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getschemas.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/saveentityfile.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/saveportalfiles.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/updatecontact.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/updatecontract.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/updateopportunity.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/updateorder.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/updateportaluser.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/upsertemailtemplates.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/upsertportal.py mode change 100755 => 100644 customer_portal/src/epilot/models/operations/userexists.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/contactcountrequest.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/createssouserrequest.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/createuserrequest.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/deleteentityfile.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/emailtemplates.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/entityslug.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/errorresp.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/extraschemaattributes.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/grant.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/organizationsettings.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/origin.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/portalconfig.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/saveentityfile.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/saveportalfile.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/security.py mode change 100755 => 100644 customer_portal/src/epilot/models/shared/upsertportalconfig.py mode change 100755 => 100644 customer_portal/src/epilot/public.py mode change 100755 => 100644 customer_portal/src/epilot/sdk.py mode change 100755 => 100644 customer_portal/src/epilot/sdkconfiguration.py mode change 100755 => 100644 customer_portal/src/epilot/utils/__init__.py mode change 100755 => 100644 customer_portal/src/epilot/utils/retries.py mode change 100755 => 100644 customer_portal/src/epilot/utils/utils.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 697c26910..966f6bd5e 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -364,4 +364,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:37:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/configuredistribution200applicationjson.md b/customer_portal/docs/models/operations/configuredistribution200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/configuredistributionrequest.md b/customer_portal/docs/models/operations/configuredistributionrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/configuredistributionsecurity.md b/customer_portal/docs/models/operations/configuredistributionsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/confirmuserrequest.md b/customer_portal/docs/models/operations/confirmuserrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createssouser201applicationjson.md b/customer_portal/docs/models/operations/createssouser201applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createssouserrequest.md b/customer_portal/docs/models/operations/createssouserrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createssousersecurity.md b/customer_portal/docs/models/operations/createssousersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createuserrequest.md b/customer_portal/docs/models/operations/createuserrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteentityfilesecurity.md b/customer_portal/docs/models/operations/deleteentityfilesecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportalrequest.md b/customer_portal/docs/models/operations/deleteportalrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportalsecurity.md b/customer_portal/docs/models/operations/deleteportalsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/deleteportalusersecurity.md b/customer_portal/docs/models/operations/deleteportalusersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallcontracts200applicationjson.md b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallcontractssecurity.md b/customer_portal/docs/models/operations/getallcontractssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallopportunities200applicationjson.md b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallopportunitiessecurity.md b/customer_portal/docs/models/operations/getallopportunitiessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallorders200applicationjson.md b/customer_portal/docs/models/operations/getallorders200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallorderssecurity.md b/customer_portal/docs/models/operations/getallorderssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getallportalconfigssecurity.md b/customer_portal/docs/models/operations/getallportalconfigssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontact200applicationjson.md b/customer_portal/docs/models/operations/getcontact200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontactcount200applicationjson.md b/customer_portal/docs/models/operations/getcontactcount200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontactcountrequest.md b/customer_portal/docs/models/operations/getcontactcountrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontactsecurity.md b/customer_portal/docs/models/operations/getcontactsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontract200applicationjson.md b/customer_portal/docs/models/operations/getcontract200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontractrequest.md b/customer_portal/docs/models/operations/getcontractrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcontractsecurity.md b/customer_portal/docs/models/operations/getcontractsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md b/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcountbyemailrequest.md b/customer_portal/docs/models/operations/getcountbyemailrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getecpcontact200applicationjson.md b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getecpcontactrequest.md b/customer_portal/docs/models/operations/getecpcontactrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getecpcontactsecurity.md b/customer_portal/docs/models/operations/getecpcontactsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getemailtemplatesrequest.md b/customer_portal/docs/models/operations/getemailtemplatesrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getemailtemplatessecurity.md b/customer_portal/docs/models/operations/getemailtemplatessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentityidentifiersrequest.md b/customer_portal/docs/models/operations/getentityidentifiersrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getentityidentifierssecurity.md b/customer_portal/docs/models/operations/getentityidentifierssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getopportunity200applicationjson.md b/customer_portal/docs/models/operations/getopportunity200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getopportunityrequest.md b/customer_portal/docs/models/operations/getopportunityrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getopportunitysecurity.md b/customer_portal/docs/models/operations/getopportunitysecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorder200applicationjson.md b/customer_portal/docs/models/operations/getorder200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorderrequest.md b/customer_portal/docs/models/operations/getorderrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getordersecurity.md b/customer_portal/docs/models/operations/getordersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorgportalconfigrequest.md b/customer_portal/docs/models/operations/getorgportalconfigrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getorgportalconfigsecurity.md b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalconfigrequest.md b/customer_portal/docs/models/operations/getportalconfigrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalconfigsecurity.md b/customer_portal/docs/models/operations/getportalconfigsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportaluser200applicationjson.md b/customer_portal/docs/models/operations/getportaluser200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getportalusersecurity.md b/customer_portal/docs/models/operations/getportalusersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getschemas200applicationjson.md b/customer_portal/docs/models/operations/getschemas200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getschemassecurity.md b/customer_portal/docs/models/operations/getschemassecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveentityfile201applicationjson.md b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveentityfilesecurity.md b/customer_portal/docs/models/operations/saveentityfilesecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/saveportalfilessecurity.md b/customer_portal/docs/models/operations/saveportalfilessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontact200applicationjson.md b/customer_portal/docs/models/operations/updatecontact200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontactsecurity.md b/customer_portal/docs/models/operations/updatecontactsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontract200applicationjson.md b/customer_portal/docs/models/operations/updatecontract200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updatecontractsecurity.md b/customer_portal/docs/models/operations/updatecontractsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateopportunity200applicationjson.md b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateopportunitysecurity.md b/customer_portal/docs/models/operations/updateopportunitysecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateorder200applicationjson.md b/customer_portal/docs/models/operations/updateorder200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateordersecurity.md b/customer_portal/docs/models/operations/updateordersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateportaluser200applicationjson.md b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/updateportalusersecurity.md b/customer_portal/docs/models/operations/updateportalusersecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertportalrequest.md b/customer_portal/docs/models/operations/upsertportalrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/upsertportalsecurity.md b/customer_portal/docs/models/operations/upsertportalsecurity.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/emailtemplates.md b/customer_portal/docs/models/shared/emailtemplates.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/entityslug.md b/customer_portal/docs/models/shared/entityslug.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/errorresp.md b/customer_portal/docs/models/shared/errorresp.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/extraschemaattributes.md b/customer_portal/docs/models/shared/extraschemaattributes.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/grant.md b/customer_portal/docs/models/shared/grant.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/granteffect.md b/customer_portal/docs/models/shared/granteffect.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettings.md b/customer_portal/docs/models/shared/organizationsettings.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md b/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md b/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsdisableivy.md b/customer_portal/docs/models/shared/organizationsettingsdisableivy.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md b/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md b/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md b/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md b/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md b/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md b/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md b/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingspartnering.md b/customer_portal/docs/models/shared/organizationsettingspartnering.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsproductavailability.md b/customer_portal/docs/models/shared/organizationsettingsproductavailability.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingssso.md b/customer_portal/docs/models/shared/organizationsettingssso.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md b/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md b/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/origin.md b/customer_portal/docs/models/shared/origin.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigcognitodetails.md b/customer_portal/docs/models/shared/portalconfigcognitodetails.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigentityactions.md b/customer_portal/docs/models/shared/portalconfigentityactions.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigimages.md b/customer_portal/docs/models/shared/portalconfigimages.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettings.md b/customer_portal/docs/models/shared/portalconfigorgsettings.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md b/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md b/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md b/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/security.md b/customer_portal/docs/models/shared/security.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md b/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigimages.md b/customer_portal/docs/models/shared/upsertportalconfigimages.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/sdks/epilot/README.md b/customer_portal/docs/sdks/epilot/README.md old mode 100755 new mode 100644 diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md old mode 100755 new mode 100644 diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 80384f96b..d6a29fb01 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/pylintrc b/customer_portal/pylintrc old mode 100755 new mode 100644 diff --git a/customer_portal/setup.py b/customer_portal/setup.py old mode 100755 new mode 100644 index 966171b1e..665212f0a --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - 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/customer_portal/src/epilot/__init__.py b/customer_portal/src/epilot/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/__init__.py b/customer_portal/src/epilot/models/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/errors/__init__.py b/customer_portal/src/epilot/models/errors/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/errors/sdkerror.py b/customer_portal/src/epilot/models/errors/sdkerror.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getcontactcount.py b/customer_portal/src/epilot/models/operations/getcontactcount.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/contactcountrequest.py b/customer_portal/src/epilot/models/shared/contactcountrequest.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/entityslug.py b/customer_portal/src/epilot/models/shared/entityslug.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/origin.py b/customer_portal/src/epilot/models/shared/origin.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py old mode 100755 new mode 100644 index 558179146..6c22faec8 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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/customer_portal/src/epilot/utils/__init__.py b/customer_portal/src/epilot/utils/__init__.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/utils/retries.py b/customer_portal/src/epilot/utils/retries.py old mode 100755 new mode 100644 diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py old mode 100755 new mode 100644 From 045e688f339f895778f789f5784848f9e8978277 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Jul 2023 00:36:08 +0000 Subject: [PATCH 57/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.0 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/USAGE.md | 0 .../addendcustomerrelationtoentity200applicationjson.md | 0 .../operations/addendcustomerrelationtoentityrequest.md | 0 .../operations/addendcustomerrelationtoentityresponse.md | 0 .../operations/addendcustomerrelationtoentitysecurity.md | 0 .../operations/configuredistribution200applicationjson.md | 0 .../models/operations/configuredistributionrequest.md | 0 .../models/operations/configuredistributionresponse.md | 0 .../models/operations/configuredistributionsecurity.md | 0 .../docs/models/operations/confirmuserrequest.md | 0 .../docs/models/operations/confirmuserresponse.md | 0 .../models/operations/createssouser201applicationjson.md | 0 .../docs/models/operations/createssouserrequest.md | 0 .../docs/models/operations/createssouserresponse.md | 0 .../docs/models/operations/createssousersecurity.md | 0 .../models/operations/createuser201applicationjson.md | 0 .../operations/createuser201applicationjsonmessage.md | 0 .../docs/models/operations/createuserrequest.md | 0 .../docs/models/operations/createuserresponse.md | 0 .../operations/deleteentityfile202applicationjson.md | 0 .../docs/models/operations/deleteentityfileresponse.md | 0 .../docs/models/operations/deleteentityfilesecurity.md | 0 .../docs/models/operations/deleteportalrequest.md | 0 .../docs/models/operations/deleteportalresponse.md | 0 .../docs/models/operations/deleteportalsecurity.md | 0 .../operations/deleteportaluser200applicationjson.md | 0 .../deleteportaluser200applicationjsonmessage.md | 0 .../docs/models/operations/deleteportaluserresponse.md | 0 .../docs/models/operations/deleteportalusersecurity.md | 0 .../extrapermissionattributes200applicationjson.md | 0 .../extrapermissionattributes200applicationjsondata.md | 0 .../operations/extrapermissionattributesresponse.md | 0 .../operations/extrapermissionattributessecurity.md | 0 .../operations/getallcontracts200applicationjson.md | 0 .../docs/models/operations/getallcontractsresponse.md | 0 .../docs/models/operations/getallcontractssecurity.md | 0 .../operations/getallopportunities200applicationjson.md | 0 .../docs/models/operations/getallopportunitiesresponse.md | 0 .../docs/models/operations/getallopportunitiessecurity.md | 0 .../models/operations/getallorders200applicationjson.md | 0 .../docs/models/operations/getallordersresponse.md | 0 .../docs/models/operations/getallorderssecurity.md | 0 .../operations/getallportalconfigs200applicationjson.md | 0 .../docs/models/operations/getallportalconfigsresponse.md | 0 .../docs/models/operations/getallportalconfigssecurity.md | 0 .../models/operations/getcontact200applicationjson.md | 0 .../operations/getcontactcount200applicationjson.md | 0 .../docs/models/operations/getcontactcountrequest.md | 0 .../docs/models/operations/getcontactcountresponse.md | 0 .../docs/models/operations/getcontactresponse.md | 0 .../docs/models/operations/getcontactsecurity.md | 0 .../models/operations/getcontract200applicationjson.md | 0 .../docs/models/operations/getcontractrequest.md | 0 .../docs/models/operations/getcontractresponse.md | 0 .../docs/models/operations/getcontractsecurity.md | 0 .../operations/getcountbyemail200applicationjson.md | 0 .../docs/models/operations/getcountbyemailrequest.md | 0 .../docs/models/operations/getcountbyemailresponse.md | 0 .../models/operations/getecpcontact200applicationjson.md | 0 .../docs/models/operations/getecpcontactrequest.md | 0 .../docs/models/operations/getecpcontactresponse.md | 0 .../docs/models/operations/getecpcontactsecurity.md | 0 .../docs/models/operations/getemailtemplatesrequest.md | 0 .../docs/models/operations/getemailtemplatesresponse.md | 0 .../docs/models/operations/getemailtemplatessecurity.md | 0 .../getentitiesbyidentifiers200applicationjson.md | 0 .../models/operations/getentitiesbyidentifiersrequest.md | 0 .../models/operations/getentitiesbyidentifiersresponse.md | 0 .../models/operations/getentitiesbyidentifierssecurity.md | 0 .../operations/getentityidentifiers200applicationjson.md | 0 .../getentityidentifiers200applicationjsondata.md | 0 .../docs/models/operations/getentityidentifiersrequest.md | 0 .../models/operations/getentityidentifiersresponse.md | 0 .../models/operations/getentityidentifierssecurity.md | 0 .../models/operations/getopportunity200applicationjson.md | 0 .../docs/models/operations/getopportunityrequest.md | 0 .../docs/models/operations/getopportunityresponse.md | 0 .../docs/models/operations/getopportunitysecurity.md | 0 .../docs/models/operations/getorder200applicationjson.md | 0 customer_portal/docs/models/operations/getorderrequest.md | 0 .../docs/models/operations/getorderresponse.md | 0 .../docs/models/operations/getordersecurity.md | 0 .../getorganizationsettings200applicationjson.md | 0 .../models/operations/getorganizationsettingsresponse.md | 0 .../models/operations/getorganizationsettingssecurity.md | 0 .../docs/models/operations/getorgportalconfigrequest.md | 0 .../docs/models/operations/getorgportalconfigresponse.md | 0 .../docs/models/operations/getorgportalconfigsecurity.md | 0 .../models/operations/getportalconfigbydomainrequest.md | 0 .../models/operations/getportalconfigbydomainresponse.md | 0 .../docs/models/operations/getportalconfigrequest.md | 0 .../docs/models/operations/getportalconfigresponse.md | 0 .../docs/models/operations/getportalconfigsecurity.md | 0 .../models/operations/getportaluser200applicationjson.md | 0 .../docs/models/operations/getportaluserresponse.md | 0 .../docs/models/operations/getportalusersecurity.md | 0 .../models/operations/getpublicportalconfigrequest.md | 0 .../models/operations/getpublicportalconfigresponse.md | 0 .../models/operations/getschemas200applicationjson.md | 0 .../docs/models/operations/getschemasresponse.md | 0 .../docs/models/operations/getschemassecurity.md | 0 .../getvalidsecondaryattributes200applicationjson.md | 0 .../getvalidsecondaryattributes200applicationjsondata.md | 0 .../operations/getvalidsecondaryattributesresponse.md | 0 .../operations/getvalidsecondaryattributessecurity.md | 0 .../replaceecptemplatevariables200applicationjson.md | 0 ...cptemplatevariables200applicationjsoncustomerportal.md | 0 ...ptemplatevariables200applicationjsoninstallerportal.md | 0 .../operations/replaceecptemplatevariablesrequestbody.md | 0 .../operations/replaceecptemplatevariablesresponse.md | 0 .../operations/replaceecptemplatevariablessecurity.md | 0 .../models/operations/saveentityfile201applicationjson.md | 0 .../docs/models/operations/saveentityfileresponse.md | 0 .../docs/models/operations/saveentityfilesecurity.md | 0 .../operations/saveportalfiles201applicationjson.md | 0 .../docs/models/operations/saveportalfilesresponse.md | 0 .../docs/models/operations/saveportalfilessecurity.md | 0 .../models/operations/updatecontact200applicationjson.md | 0 .../docs/models/operations/updatecontactresponse.md | 0 .../docs/models/operations/updatecontactsecurity.md | 0 .../models/operations/updatecontract200applicationjson.md | 0 .../docs/models/operations/updatecontractrequest.md | 0 .../docs/models/operations/updatecontractresponse.md | 0 .../docs/models/operations/updatecontractsecurity.md | 0 .../operations/updateopportunity200applicationjson.md | 0 .../docs/models/operations/updateopportunityrequest.md | 0 .../docs/models/operations/updateopportunityresponse.md | 0 .../docs/models/operations/updateopportunitysecurity.md | 0 .../models/operations/updateorder200applicationjson.md | 0 .../docs/models/operations/updateorderrequest.md | 0 .../docs/models/operations/updateorderresponse.md | 0 .../docs/models/operations/updateordersecurity.md | 0 .../operations/updateportaluser200applicationjson.md | 0 .../docs/models/operations/updateportaluserresponse.md | 0 .../docs/models/operations/updateportalusersecurity.md | 0 .../operations/upsertemailtemplates200applicationjson.md | 0 .../upsertemailtemplates200applicationjsonmessage.md | 0 .../docs/models/operations/upsertemailtemplatesrequest.md | 0 .../models/operations/upsertemailtemplatesresponse.md | 0 .../models/operations/upsertemailtemplatessecurity.md | 0 .../docs/models/operations/upsertportalrequest.md | 0 .../docs/models/operations/upsertportalresponse.md | 0 .../docs/models/operations/upsertportalsecurity.md | 0 .../models/operations/userexists200applicationjson.md | 0 .../docs/models/operations/userexistsrequest.md | 0 .../docs/models/operations/userexistsresponse.md | 0 customer_portal/docs/models/shared/contactcountrequest.md | 0 .../docs/models/shared/createssouserrequest.md | 0 customer_portal/docs/models/shared/createuserrequest.md | 0 customer_portal/docs/models/shared/deleteentityfile.md | 0 customer_portal/docs/models/shared/emailtemplates.md | 0 customer_portal/docs/models/shared/entityslug.md | 0 customer_portal/docs/models/shared/errorresp.md | 0 .../docs/models/shared/extraschemaattributes.md | 0 customer_portal/docs/models/shared/grant.md | 0 customer_portal/docs/models/shared/granteffect.md | 0 .../docs/models/shared/organizationsettings.md | 0 .../shared/organizationsettingsautomationentitymapping.md | 0 .../shared/organizationsettingsautomationpreview.md | 0 .../organizationsettingscentralinboxpreviewsetting.md | 0 .../shared/organizationsettingscontractspreviewsetting.md | 0 .../docs/models/shared/organizationsettingsdisableivy.md | 0 .../docs/models/shared/organizationsettingsdoubleoptin.md | 0 .../shared/organizationsettingsecommercecatalogpreview.md | 0 .../organizationsettingsecommerceopportunitiespreview.md | 0 .../models/shared/organizationsettingsecommercepreview.md | 0 .../shared/organizationsettingsendcustomerportal.md | 0 .../shared/organizationsettingsentityschemabuilder.md | 0 .../models/shared/organizationsettingsinstallerportal.md | 0 .../shared/organizationsettingslogiceditorpreview.md | 0 .../models/shared/organizationsettingsnewnavigation.md | 0 .../docs/models/shared/organizationsettingspartnering.md | 0 .../shared/organizationsettingsproductavailability.md | 0 .../docs/models/shared/organizationsettingssso.md | 0 .../shared/organizationsettingssubmissionpreview.md | 0 .../models/shared/organizationsettingsuserrolespreview.md | 0 customer_portal/docs/models/shared/origin.md | 0 customer_portal/docs/models/shared/portalconfig.md | 0 .../docs/models/shared/portalconfigcognitodetails.md | 0 .../docs/models/shared/portalconfigdefaultusertonotify.md | 0 .../docs/models/shared/portalconfigentityactions.md | 0 .../models/shared/portalconfigentityactionsactionlabel.md | 0 .../docs/models/shared/portalconfigentityidentifiers.md | 0 .../models/shared/portalconfigentityidentifierstype.md | 0 customer_portal/docs/models/shared/portalconfigimages.md | 0 .../docs/models/shared/portalconfigorgsettings.md | 0 .../docs/models/shared/portalconfigorgsettingscanary.md | 0 .../shared/portalconfigorgsettingsreleasecandidate.md | 0 .../models/shared/portalconfigselfregistrationsetting.md | 0 customer_portal/docs/models/shared/saveentityfile.md | 0 customer_portal/docs/models/shared/saveentityfilefiles.md | 0 .../models/shared/saveentityfilefilesaccesscontrol.md | 0 .../docs/models/shared/saveentityfilefiless3ref.md | 0 customer_portal/docs/models/shared/saveportalfile.md | 0 customer_portal/docs/models/shared/saveportalfilefiles.md | 0 .../docs/models/shared/saveportalfilefiless3ref.md | 0 customer_portal/docs/models/shared/security.md | 0 customer_portal/docs/models/shared/upsertportalconfig.md | 0 .../models/shared/upsertportalconfigcognitodetails.md | 0 .../shared/upsertportalconfigdefaultusertonotify.md | 0 .../docs/models/shared/upsertportalconfigentityactions.md | 0 .../shared/upsertportalconfigentityactionsactionlabel.md | 0 .../models/shared/upsertportalconfigentityidentifiers.md | 0 .../shared/upsertportalconfigentityidentifierstype.md | 0 .../docs/models/shared/upsertportalconfigimages.md | 0 .../shared/upsertportalconfigselfregistrationsetting.md | 0 customer_portal/docs/sdks/ecp/README.md | 0 customer_portal/docs/sdks/ecpadmin/README.md | 0 customer_portal/docs/sdks/epilot/README.md | 0 customer_portal/docs/sdks/public/README.md | 0 customer_portal/gen.yaml | 6 +++--- customer_portal/pylintrc | 0 customer_portal/setup.py | 2 +- customer_portal/src/epilot/__init__.py | 0 customer_portal/src/epilot/ecp.py | 0 customer_portal/src/epilot/ecp_admin.py | 0 customer_portal/src/epilot/models/__init__.py | 0 customer_portal/src/epilot/models/errors/__init__.py | 0 customer_portal/src/epilot/models/errors/sdkerror.py | 0 customer_portal/src/epilot/models/operations/__init__.py | 0 .../models/operations/addendcustomerrelationtoentity.py | 0 .../src/epilot/models/operations/configuredistribution.py | 0 .../src/epilot/models/operations/confirmuser.py | 0 .../src/epilot/models/operations/createssouser.py | 0 .../src/epilot/models/operations/createuser.py | 0 .../src/epilot/models/operations/deleteentityfile.py | 0 .../src/epilot/models/operations/deleteportal.py | 0 .../src/epilot/models/operations/deleteportaluser.py | 0 .../epilot/models/operations/extrapermissionattributes.py | 0 .../src/epilot/models/operations/getallcontracts.py | 0 .../src/epilot/models/operations/getallopportunities.py | 0 .../src/epilot/models/operations/getallorders.py | 0 .../src/epilot/models/operations/getallportalconfigs.py | 0 .../src/epilot/models/operations/getcontact.py | 0 .../src/epilot/models/operations/getcontactcount.py | 0 .../src/epilot/models/operations/getcontract.py | 0 .../src/epilot/models/operations/getcountbyemail.py | 0 .../src/epilot/models/operations/getecpcontact.py | 0 .../src/epilot/models/operations/getemailtemplates.py | 0 .../epilot/models/operations/getentitiesbyidentifiers.py | 0 .../src/epilot/models/operations/getentityidentifiers.py | 0 .../src/epilot/models/operations/getopportunity.py | 0 customer_portal/src/epilot/models/operations/getorder.py | 0 .../epilot/models/operations/getorganizationsettings.py | 0 .../src/epilot/models/operations/getorgportalconfig.py | 0 .../src/epilot/models/operations/getportalconfig.py | 0 .../epilot/models/operations/getportalconfigbydomain.py | 0 .../src/epilot/models/operations/getportaluser.py | 0 .../src/epilot/models/operations/getpublicportalconfig.py | 0 .../src/epilot/models/operations/getschemas.py | 0 .../models/operations/getvalidsecondaryattributes.py | 0 .../models/operations/replaceecptemplatevariables.py | 0 .../src/epilot/models/operations/saveentityfile.py | 0 .../src/epilot/models/operations/saveportalfiles.py | 0 .../src/epilot/models/operations/updatecontact.py | 0 .../src/epilot/models/operations/updatecontract.py | 0 .../src/epilot/models/operations/updateopportunity.py | 0 .../src/epilot/models/operations/updateorder.py | 0 .../src/epilot/models/operations/updateportaluser.py | 0 .../src/epilot/models/operations/upsertemailtemplates.py | 0 .../src/epilot/models/operations/upsertportal.py | 0 .../src/epilot/models/operations/userexists.py | 0 customer_portal/src/epilot/models/shared/__init__.py | 0 .../src/epilot/models/shared/contactcountrequest.py | 0 .../src/epilot/models/shared/createssouserrequest.py | 0 .../src/epilot/models/shared/createuserrequest.py | 0 .../src/epilot/models/shared/deleteentityfile.py | 0 .../src/epilot/models/shared/emailtemplates.py | 0 customer_portal/src/epilot/models/shared/entityslug.py | 0 customer_portal/src/epilot/models/shared/errorresp.py | 0 .../src/epilot/models/shared/extraschemaattributes.py | 0 customer_portal/src/epilot/models/shared/grant.py | 0 .../src/epilot/models/shared/organizationsettings.py | 0 customer_portal/src/epilot/models/shared/origin.py | 0 customer_portal/src/epilot/models/shared/portalconfig.py | 0 .../src/epilot/models/shared/saveentityfile.py | 0 .../src/epilot/models/shared/saveportalfile.py | 0 customer_portal/src/epilot/models/shared/security.py | 0 .../src/epilot/models/shared/upsertportalconfig.py | 0 customer_portal/src/epilot/public.py | 0 customer_portal/src/epilot/sdk.py | 0 customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- customer_portal/src/epilot/utils/__init__.py | 0 customer_portal/src/epilot/utils/retries.py | 0 customer_portal/src/epilot/utils/utils.py | 0 286 files changed, 13 insertions(+), 7 deletions(-) mode change 100644 => 100755 customer_portal/USAGE.md mode change 100644 => 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/configuredistribution200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/configuredistributionrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/configuredistributionresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/configuredistributionsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/confirmuserrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/confirmuserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/createssouser201applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/createssouserrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/createssouserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/createssousersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/createuser201applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/createuser201applicationjsonmessage.md mode change 100644 => 100755 customer_portal/docs/models/operations/createuserrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/createuserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteentityfile202applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteentityfileresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteentityfilesecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportalrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportalresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportalsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportaluserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/deleteportalusersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md mode change 100644 => 100755 customer_portal/docs/models/operations/extrapermissionattributesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/extrapermissionattributessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallcontracts200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallcontractsresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallcontractssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallopportunities200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallopportunitiesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallopportunitiessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallorders200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallordersresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallorderssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallportalconfigsresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getallportalconfigssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontact200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontactcount200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontactcountrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontactcountresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontactresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontactsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontract200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontractrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontractresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcontractsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcountbyemail200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcountbyemailrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getcountbyemailresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getecpcontact200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getecpcontactrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getecpcontactresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getecpcontactsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getemailtemplatesrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getemailtemplatesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getemailtemplatessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentityidentifiersrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentityidentifiersresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getentityidentifierssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getopportunity200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getopportunityrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getopportunityresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getopportunitysecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorder200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorderrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorderresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getordersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorganizationsettingsresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorganizationsettingssecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorgportalconfigrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorgportalconfigresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getorgportalconfigsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalconfigbydomainrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalconfigbydomainresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalconfigrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalconfigresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalconfigsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportaluser200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportaluserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getportalusersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getpublicportalconfigrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/getpublicportalconfigresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getschemas200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getschemasresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getschemassecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md mode change 100644 => 100755 customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveentityfile201applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveentityfileresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveentityfilesecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveportalfiles201applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveportalfilesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/saveportalfilessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontact200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontactresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontactsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontract200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontractrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontractresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/updatecontractsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateopportunity200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateopportunityrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateopportunityresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateopportunitysecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateorder200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateorderrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateorderresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateordersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateportaluser200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateportaluserresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/updateportalusersecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertemailtemplatesrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertemailtemplatesresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertemailtemplatessecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertportalrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertportalresponse.md mode change 100644 => 100755 customer_portal/docs/models/operations/upsertportalsecurity.md mode change 100644 => 100755 customer_portal/docs/models/operations/userexists200applicationjson.md mode change 100644 => 100755 customer_portal/docs/models/operations/userexistsrequest.md mode change 100644 => 100755 customer_portal/docs/models/operations/userexistsresponse.md mode change 100644 => 100755 customer_portal/docs/models/shared/contactcountrequest.md mode change 100644 => 100755 customer_portal/docs/models/shared/createssouserrequest.md mode change 100644 => 100755 customer_portal/docs/models/shared/createuserrequest.md mode change 100644 => 100755 customer_portal/docs/models/shared/deleteentityfile.md mode change 100644 => 100755 customer_portal/docs/models/shared/emailtemplates.md mode change 100644 => 100755 customer_portal/docs/models/shared/entityslug.md mode change 100644 => 100755 customer_portal/docs/models/shared/errorresp.md mode change 100644 => 100755 customer_portal/docs/models/shared/extraschemaattributes.md mode change 100644 => 100755 customer_portal/docs/models/shared/grant.md mode change 100644 => 100755 customer_portal/docs/models/shared/granteffect.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettings.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsautomationpreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsdisableivy.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsecommercepreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsinstallerportal.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsnewnavigation.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingspartnering.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsproductavailability.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingssso.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md mode change 100644 => 100755 customer_portal/docs/models/shared/origin.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfig.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigcognitodetails.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigentityactions.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigentityidentifiers.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigentityidentifierstype.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigimages.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigorgsettings.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigorgsettingscanary.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md mode change 100644 => 100755 customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveentityfile.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveentityfilefiles.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveentityfilefiless3ref.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveportalfile.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveportalfilefiles.md mode change 100644 => 100755 customer_portal/docs/models/shared/saveportalfilefiless3ref.md mode change 100644 => 100755 customer_portal/docs/models/shared/security.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfig.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigentityactions.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigimages.md mode change 100644 => 100755 customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md mode change 100644 => 100755 customer_portal/docs/sdks/ecp/README.md mode change 100644 => 100755 customer_portal/docs/sdks/ecpadmin/README.md mode change 100644 => 100755 customer_portal/docs/sdks/epilot/README.md mode change 100644 => 100755 customer_portal/docs/sdks/public/README.md mode change 100644 => 100755 customer_portal/pylintrc mode change 100644 => 100755 customer_portal/setup.py mode change 100644 => 100755 customer_portal/src/epilot/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/ecp.py mode change 100644 => 100755 customer_portal/src/epilot/ecp_admin.py mode change 100644 => 100755 customer_portal/src/epilot/models/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/models/errors/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/models/errors/sdkerror.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/configuredistribution.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/confirmuser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/createssouser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/createuser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/deleteentityfile.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/deleteportal.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/deleteportaluser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/extrapermissionattributes.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getallcontracts.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getallopportunities.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getallorders.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getallportalconfigs.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getcontact.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getcontactcount.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getcontract.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getcountbyemail.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getecpcontact.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getemailtemplates.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getentityidentifiers.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getopportunity.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getorder.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getorganizationsettings.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getorgportalconfig.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getportalconfig.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getportalconfigbydomain.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getportaluser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getpublicportalconfig.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getschemas.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/saveentityfile.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/saveportalfiles.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/updatecontact.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/updatecontract.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/updateopportunity.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/updateorder.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/updateportaluser.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/upsertemailtemplates.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/upsertportal.py mode change 100644 => 100755 customer_portal/src/epilot/models/operations/userexists.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/contactcountrequest.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/createssouserrequest.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/createuserrequest.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/deleteentityfile.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/emailtemplates.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/entityslug.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/errorresp.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/extraschemaattributes.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/grant.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/organizationsettings.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/origin.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/portalconfig.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/saveentityfile.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/saveportalfile.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/security.py mode change 100644 => 100755 customer_portal/src/epilot/models/shared/upsertportalconfig.py mode change 100644 => 100755 customer_portal/src/epilot/public.py mode change 100644 => 100755 customer_portal/src/epilot/sdk.py mode change 100644 => 100755 customer_portal/src/epilot/sdkconfiguration.py mode change 100644 => 100755 customer_portal/src/epilot/utils/__init__.py mode change 100644 => 100755 customer_portal/src/epilot/utils/retries.py mode change 100644 => 100755 customer_portal/src/epilot/utils/utils.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 966f6bd5e..bc53072b2 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -370,4 +370,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/configuredistribution200applicationjson.md b/customer_portal/docs/models/operations/configuredistribution200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/configuredistributionrequest.md b/customer_portal/docs/models/operations/configuredistributionrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/configuredistributionsecurity.md b/customer_portal/docs/models/operations/configuredistributionsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/confirmuserrequest.md b/customer_portal/docs/models/operations/confirmuserrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createssouser201applicationjson.md b/customer_portal/docs/models/operations/createssouser201applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createssouserrequest.md b/customer_portal/docs/models/operations/createssouserrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createssousersecurity.md b/customer_portal/docs/models/operations/createssousersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createuserrequest.md b/customer_portal/docs/models/operations/createuserrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteentityfilesecurity.md b/customer_portal/docs/models/operations/deleteentityfilesecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportalrequest.md b/customer_portal/docs/models/operations/deleteportalrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportalsecurity.md b/customer_portal/docs/models/operations/deleteportalsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/deleteportalusersecurity.md b/customer_portal/docs/models/operations/deleteportalusersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallcontracts200applicationjson.md b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallcontractssecurity.md b/customer_portal/docs/models/operations/getallcontractssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallopportunities200applicationjson.md b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallopportunitiessecurity.md b/customer_portal/docs/models/operations/getallopportunitiessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallorders200applicationjson.md b/customer_portal/docs/models/operations/getallorders200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallorderssecurity.md b/customer_portal/docs/models/operations/getallorderssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getallportalconfigssecurity.md b/customer_portal/docs/models/operations/getallportalconfigssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontact200applicationjson.md b/customer_portal/docs/models/operations/getcontact200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontactcount200applicationjson.md b/customer_portal/docs/models/operations/getcontactcount200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontactcountrequest.md b/customer_portal/docs/models/operations/getcontactcountrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontactsecurity.md b/customer_portal/docs/models/operations/getcontactsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontract200applicationjson.md b/customer_portal/docs/models/operations/getcontract200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontractrequest.md b/customer_portal/docs/models/operations/getcontractrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcontractsecurity.md b/customer_portal/docs/models/operations/getcontractsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md b/customer_portal/docs/models/operations/getcountbyemail200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcountbyemailrequest.md b/customer_portal/docs/models/operations/getcountbyemailrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getecpcontact200applicationjson.md b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getecpcontactrequest.md b/customer_portal/docs/models/operations/getecpcontactrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getecpcontactsecurity.md b/customer_portal/docs/models/operations/getecpcontactsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getemailtemplatesrequest.md b/customer_portal/docs/models/operations/getemailtemplatesrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getemailtemplatessecurity.md b/customer_portal/docs/models/operations/getemailtemplatessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjsondata.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentityidentifiersrequest.md b/customer_portal/docs/models/operations/getentityidentifiersrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getentityidentifierssecurity.md b/customer_portal/docs/models/operations/getentityidentifierssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getopportunity200applicationjson.md b/customer_portal/docs/models/operations/getopportunity200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getopportunityrequest.md b/customer_portal/docs/models/operations/getopportunityrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getopportunitysecurity.md b/customer_portal/docs/models/operations/getopportunitysecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorder200applicationjson.md b/customer_portal/docs/models/operations/getorder200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorderrequest.md b/customer_portal/docs/models/operations/getorderrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getordersecurity.md b/customer_portal/docs/models/operations/getordersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorgportalconfigrequest.md b/customer_portal/docs/models/operations/getorgportalconfigrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getorgportalconfigsecurity.md b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalconfigrequest.md b/customer_portal/docs/models/operations/getportalconfigrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalconfigsecurity.md b/customer_portal/docs/models/operations/getportalconfigsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportaluser200applicationjson.md b/customer_portal/docs/models/operations/getportaluser200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getportalusersecurity.md b/customer_portal/docs/models/operations/getportalusersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getschemas200applicationjson.md b/customer_portal/docs/models/operations/getschemas200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getschemassecurity.md b/customer_portal/docs/models/operations/getschemassecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesrequestbody.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveentityfile201applicationjson.md b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveentityfilesecurity.md b/customer_portal/docs/models/operations/saveentityfilesecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/saveportalfilessecurity.md b/customer_portal/docs/models/operations/saveportalfilessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontact200applicationjson.md b/customer_portal/docs/models/operations/updatecontact200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontactsecurity.md b/customer_portal/docs/models/operations/updatecontactsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontract200applicationjson.md b/customer_portal/docs/models/operations/updatecontract200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updatecontractsecurity.md b/customer_portal/docs/models/operations/updatecontractsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateopportunity200applicationjson.md b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateopportunitysecurity.md b/customer_portal/docs/models/operations/updateopportunitysecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateorder200applicationjson.md b/customer_portal/docs/models/operations/updateorder200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateordersecurity.md b/customer_portal/docs/models/operations/updateordersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateportaluser200applicationjson.md b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/updateportalusersecurity.md b/customer_portal/docs/models/operations/updateportalusersecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertportalrequest.md b/customer_portal/docs/models/operations/upsertportalrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/upsertportalsecurity.md b/customer_portal/docs/models/operations/upsertportalsecurity.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/emailtemplates.md b/customer_portal/docs/models/shared/emailtemplates.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/entityslug.md b/customer_portal/docs/models/shared/entityslug.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/errorresp.md b/customer_portal/docs/models/shared/errorresp.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/extraschemaattributes.md b/customer_portal/docs/models/shared/extraschemaattributes.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/grant.md b/customer_portal/docs/models/shared/grant.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/granteffect.md b/customer_portal/docs/models/shared/granteffect.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettings.md b/customer_portal/docs/models/shared/organizationsettings.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md b/customer_portal/docs/models/shared/organizationsettingsautomationentitymapping.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md b/customer_portal/docs/models/shared/organizationsettingsautomationpreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscentralinboxpreviewsetting.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md b/customer_portal/docs/models/shared/organizationsettingscontractspreviewsetting.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsdisableivy.md b/customer_portal/docs/models/shared/organizationsettingsdisableivy.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md b/customer_portal/docs/models/shared/organizationsettingsdoubleoptin.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercecatalogpreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md b/customer_portal/docs/models/shared/organizationsettingsecommerceopportunitiespreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md b/customer_portal/docs/models/shared/organizationsettingsecommercepreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md b/customer_portal/docs/models/shared/organizationsettingsendcustomerportal.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md b/customer_portal/docs/models/shared/organizationsettingsentityschemabuilder.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md b/customer_portal/docs/models/shared/organizationsettingsinstallerportal.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md b/customer_portal/docs/models/shared/organizationsettingslogiceditorpreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md b/customer_portal/docs/models/shared/organizationsettingsnewnavigation.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingspartnering.md b/customer_portal/docs/models/shared/organizationsettingspartnering.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsproductavailability.md b/customer_portal/docs/models/shared/organizationsettingsproductavailability.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingssso.md b/customer_portal/docs/models/shared/organizationsettingssso.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md b/customer_portal/docs/models/shared/organizationsettingssubmissionpreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md b/customer_portal/docs/models/shared/organizationsettingsuserrolespreview.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/origin.md b/customer_portal/docs/models/shared/origin.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigcognitodetails.md b/customer_portal/docs/models/shared/portalconfigcognitodetails.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigentityactions.md b/customer_portal/docs/models/shared/portalconfigentityactions.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/portalconfigentityactionsactionlabel.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigimages.md b/customer_portal/docs/models/shared/portalconfigimages.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettings.md b/customer_portal/docs/models/shared/portalconfigorgsettings.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md b/customer_portal/docs/models/shared/portalconfigorgsettingscanary.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md b/customer_portal/docs/models/shared/portalconfigorgsettingsreleasecandidate.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/portalconfigselfregistrationsetting.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md b/customer_portal/docs/models/shared/saveentityfilefilesaccesscontrol.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/security.md b/customer_portal/docs/models/shared/security.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md b/customer_portal/docs/models/shared/upsertportalconfigcognitodetails.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md b/customer_portal/docs/models/shared/upsertportalconfigentityactionsactionlabel.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigimages.md b/customer_portal/docs/models/shared/upsertportalconfigimages.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md b/customer_portal/docs/models/shared/upsertportalconfigselfregistrationsetting.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/sdks/epilot/README.md b/customer_portal/docs/sdks/epilot/README.md old mode 100644 new mode 100755 diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md old mode 100644 new mode 100755 diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d6a29fb01..d93947ab8 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/pylintrc b/customer_portal/pylintrc old mode 100644 new mode 100755 diff --git a/customer_portal/setup.py b/customer_portal/setup.py old mode 100644 new mode 100755 index 665212f0a..c29581a21 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.34.0", + version="1.35.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/__init__.py b/customer_portal/src/epilot/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/__init__.py b/customer_portal/src/epilot/models/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/errors/__init__.py b/customer_portal/src/epilot/models/errors/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/errors/sdkerror.py b/customer_portal/src/epilot/models/errors/sdkerror.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getcontactcount.py b/customer_portal/src/epilot/models/operations/getcontactcount.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/contactcountrequest.py b/customer_portal/src/epilot/models/shared/contactcountrequest.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/entityslug.py b/customer_portal/src/epilot/models/shared/entityslug.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/origin.py b/customer_portal/src/epilot/models/shared/origin.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py old mode 100644 new mode 100755 index 6c22faec8..9133c3914 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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/customer_portal/src/epilot/utils/__init__.py b/customer_portal/src/epilot/utils/__init__.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/utils/retries.py b/customer_portal/src/epilot/utils/retries.py old mode 100644 new mode 100755 diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py old mode 100644 new mode 100755 From 550d38f82aaa5dce04f8f48aea948dd0eb7485c4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Jul 2023 00:34:55 +0000 Subject: [PATCH 58/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index bc53072b2..3a493240f 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -376,4 +376,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d93947ab8..c4d7bb1e2 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index c29581a21..e8a42aefd 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.35.0", + version="1.35.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 9133c3914..df0893660 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 ad4c685bb9fa85a1e9e6d7bbb6f05002f8ae8bab Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Jul 2023 00:34:44 +0000 Subject: [PATCH 59/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.2 --- customer_portal/RELEASES.md | 8 +++- customer_portal/gen.yaml | 6 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 42 +++++++++---------- customer_portal/src/epilot/ecp_admin.py | 28 ++++++------- customer_portal/src/epilot/public.py | 12 +++--- .../src/epilot/sdkconfiguration.py | 4 +- 7 files changed, 54 insertions(+), 48 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 3a493240f..82e80eca5 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -382,4 +382,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index c4d7bb1e2..a3fa8e0be 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index e8a42aefd..88bfcb99e 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.35.1", + version="1.36.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 3910ab3f3..f8940d219 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -21,7 +21,7 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{id}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -60,7 +60,7 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -94,7 +94,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o url = base_url + '/v2/portal/user' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -128,7 +128,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope url = base_url + '/v2/portal/contract' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -162,7 +162,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity url = base_url + '/v2/portal/opportunity' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -196,7 +196,7 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation url = base_url + '/v2/portal/order' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -230,7 +230,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get url = base_url + '/v2/portal/contact' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -264,7 +264,7 @@ def get_contract(self, request: operations.GetContractRequest, security: operati url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{id}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -303,7 +303,7 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -337,7 +337,7 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -371,7 +371,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{id}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -405,7 +405,7 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings url = base_url + '/v2/portal/org/settings' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -440,7 +440,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security url = base_url + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -474,7 +474,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati url = base_url + '/v2/portal/user' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -508,7 +508,7 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get url = base_url + '/v2/portal/schemas' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -547,7 +547,7 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -584,7 +584,7 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -623,7 +623,7 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -662,7 +662,7 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -699,7 +699,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati 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;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -736,7 +736,7 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index f7b4e5e42..a946837b5 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -22,7 +22,7 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques url = base_url + '/v2/portal/configure-distribution' headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -62,7 +62,7 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -127,7 +127,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib url = base_url + '/v2/portal/extra-permission-attributes' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -161,7 +161,7 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit url = base_url + '/v2/portal/configs' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -196,7 +196,7 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op url = base_url + '/v2/portal/ecp/contact' headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -231,7 +231,7 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu url = base_url + '/v2/portal/email-templates' headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -265,7 +265,7 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -300,7 +300,7 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s url = base_url + '/v2/portal/org/portal/config' headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -335,7 +335,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security url = base_url + '/v2/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -369,7 +369,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA url = base_url + '/v2/portal/contact/valid/secondary/attributes' headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -408,7 +408,7 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -447,7 +447,7 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -487,7 +487,7 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) @@ -527,7 +527,7 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 64a6bd214..b62d76bf3 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -58,7 +58,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client @@ -98,7 +98,7 @@ def get_contact_count(self, request: operations.GetContactCountRequest) -> opera if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.GetContactCountRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client @@ -133,7 +133,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper url = base_url + '/v2/portal/contact/email/count' headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client @@ -168,7 +168,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai url = base_url + '/v2/portal/public/config' headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client @@ -203,7 +203,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ url = base_url + '/v2/portal/public/portal/config' headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client @@ -238,7 +238,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE url = base_url + '/v2/portal/public/user/exists' headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + 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}' client = self.sdk_configuration.client diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index df0893660..94e379a75 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 0a74478428f38c18efe32d6f575a4fddf0ac9b32 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 1 Aug 2023 00:40:44 +0000 Subject: [PATCH 60/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.66.1 --- customer_portal/RELEASES.md | 8 +++++++- customer_portal/gen.yaml | 6 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 82e80eca5..9fd679303 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -388,4 +388,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:40:25 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index a3fa8e0be..16154f6ab 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index 88bfcb99e..23b5d7cfc 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.36.0", + version="1.36.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 94e379a75..48846dd6e 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 4e250efdefb902e60f112e6b29541a65e9339b89 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Aug 2023 00:36:41 +0000 Subject: [PATCH 61/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.1 --- customer_portal/RELEASES.md | 8 +++- .../docs/models/shared/portalconfig.md | 46 +++++++++---------- .../docs/models/shared/upsertportalconfig.md | 38 +++++++-------- customer_portal/gen.yaml | 6 +-- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 4 +- .../models/shared/upsertportalconfig.py | 4 +- .../src/epilot/sdkconfiguration.py | 4 +- 8 files changed, 59 insertions(+), 53 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 9fd679303..81151c920 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -394,4 +394,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:36:23 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 5a03a52b2..79b2c40f1 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -5,26 +5,26 @@ Portal config retrieved successfully. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | -| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | -| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | -| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | -| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | -| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | -| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | -| `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | -| `org_settings` | [Optional[PortalConfigOrgSettings]](../../models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | -| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | -| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | +| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | +| `org_settings` | [Optional[PortalConfigOrgSettings]](../../models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | +| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | +| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | +| `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 1613eade2..eade61db5 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -5,22 +5,22 @@ Portal payload ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | -| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | -| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | -| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | -| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | -| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | -| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[UpsertPortalConfigSelfRegistrationSetting]](../../models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | +| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | +| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | +| `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | +| ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | +| `self_registration_setting` | [Optional[UpsertPortalConfigSelfRegistrationSetting]](../../models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 16154f6ab..d0317c27e 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 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/customer_portal/setup.py b/customer_portal/setup.py index 23b5d7cfc..c04b06ad1 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.36.1", + version="1.37.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 2dec3b7f9..f7556af07 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -153,7 +153,7 @@ class PortalConfig: contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ default_user_to_notify: Optional[PortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) r"""Default 360 user to notify upon an internal notification""" @@ -186,7 +186,7 @@ class PortalConfig: self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ self_registration_setting: Optional[PortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index c4893b769..7ca7e4fc5 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -117,7 +117,7 @@ class UpsertPortalConfig: contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ default_user_to_notify: Optional[UpsertPortalConfigDefaultUserToNotify] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_user_to_notify'), 'exclude': lambda f: f is None }}) r"""Default 360 user to notify upon an internal notification""" @@ -142,7 +142,7 @@ class UpsertPortalConfig: self_registration: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration'), 'exclude': lambda f: f is None }}) r"""Allow portal user self-registration without a mapped contact - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ self_registration_setting: Optional[UpsertPortalConfigSelfRegistrationSetting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self_registration_setting'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 48846dd6e..7e99f24d1 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 e7befeb58295964fc7e3dcb489c5a407e46532c6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 4 Aug 2023 00:36:02 +0000 Subject: [PATCH 62/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.3 --- customer_portal/README.md | 5 + customer_portal/RELEASES.md | 8 +- .../getallfiles200applicationjson.md | 10 + .../models/operations/getallfilesresponse.md | 12 + .../models/operations/getallfilessecurity.md | 8 + .../operations/getportalwidgetsrequest.md | 8 + .../operations/getportalwidgetsresponse.md | 12 + .../operations/getportalwidgetssecurity.md | 9 + .../getpublicportalwidgetsrequest.md | 9 + .../getpublicportalwidgetsresponse.md | 12 + .../operations/upsertportalwidgetrequest.md | 9 + .../operations/upsertportalwidgetresponse.md | 12 + .../operations/upsertportalwidgetsecurity.md | 8 + .../docs/models/shared/actionwidget.md | 13 + .../models/shared/actionwidgetheadline.md | 9 + .../models/shared/actionwidgetsubheadline.md | 9 + .../docs/models/shared/actionwidgettype.md | 11 + .../docs/models/shared/contentwidget.md | 15 ++ .../models/shared/contentwidgetheadline.md | 9 + .../models/shared/contentwidgetsubheadline.md | 9 + .../docs/models/shared/contentwidgettype.md | 11 + .../docs/models/shared/entitywidget.md | 13 + .../models/shared/entitywidgetheadline.md | 9 + .../models/shared/entitywidgetsubheadline.md | 9 + .../docs/models/shared/entitywidgettype.md | 11 + .../docs/models/shared/teaserwidget.md | 15 ++ .../models/shared/teaserwidgetheadline.md | 9 + .../docs/models/shared/teaserwidgetleft.md | 9 + .../docs/models/shared/teaserwidgetright.md | 9 + .../models/shared/teaserwidgetsubheadline.md | 9 + .../docs/models/shared/teaserwidgettype.md | 11 + .../docs/models/shared/upsertportalwidget.md | 10 + .../docs/models/shared/widgetaction.md | 9 + .../docs/models/shared/widgetactionlabel.md | 9 + customer_portal/docs/sdks/ecp/README.md | 73 +++++- customer_portal/docs/sdks/ecpadmin/README.md | 227 ++++++++++++++++-- customer_portal/docs/sdks/public/README.md | 53 +++- customer_portal/files.gen | 42 ++++ customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 69 ++++++ customer_portal/src/epilot/ecp_admin.py | 75 ++++++ .../src/epilot/models/operations/__init__.py | 6 +- .../epilot/models/operations/getallfiles.py | 41 ++++ .../models/operations/getportalwidgets.py | 41 ++++ .../operations/getpublicportalwidgets.py | 33 +++ .../models/operations/upsertportalwidget.py | 42 ++++ .../src/epilot/models/shared/__init__.py | 8 +- .../src/epilot/models/shared/actionwidget.py | 50 ++++ .../src/epilot/models/shared/contentwidget.py | 51 ++++ .../src/epilot/models/shared/entitywidget.py | 49 ++++ .../src/epilot/models/shared/teaserwidget.py | 72 ++++++ .../models/shared/upsertportalwidget.py | 17 ++ .../src/epilot/models/shared/widgetaction.py | 27 +++ customer_portal/src/epilot/public.py | 35 +++ .../src/epilot/sdkconfiguration.py | 4 +- customer_portal/src/epilot/utils/utils.py | 5 +- 57 files changed, 1325 insertions(+), 45 deletions(-) create mode 100755 customer_portal/docs/models/operations/getallfiles200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getallfilesresponse.md create mode 100755 customer_portal/docs/models/operations/getallfilessecurity.md create mode 100755 customer_portal/docs/models/operations/getportalwidgetsrequest.md create mode 100755 customer_portal/docs/models/operations/getportalwidgetsresponse.md create mode 100755 customer_portal/docs/models/operations/getportalwidgetssecurity.md create mode 100755 customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md create mode 100755 customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md create mode 100755 customer_portal/docs/models/operations/upsertportalwidgetrequest.md create mode 100755 customer_portal/docs/models/operations/upsertportalwidgetresponse.md create mode 100755 customer_portal/docs/models/operations/upsertportalwidgetsecurity.md create mode 100755 customer_portal/docs/models/shared/actionwidget.md create mode 100755 customer_portal/docs/models/shared/actionwidgetheadline.md create mode 100755 customer_portal/docs/models/shared/actionwidgetsubheadline.md create mode 100755 customer_portal/docs/models/shared/actionwidgettype.md create mode 100755 customer_portal/docs/models/shared/contentwidget.md create mode 100755 customer_portal/docs/models/shared/contentwidgetheadline.md create mode 100755 customer_portal/docs/models/shared/contentwidgetsubheadline.md create mode 100755 customer_portal/docs/models/shared/contentwidgettype.md create mode 100755 customer_portal/docs/models/shared/entitywidget.md create mode 100755 customer_portal/docs/models/shared/entitywidgetheadline.md create mode 100755 customer_portal/docs/models/shared/entitywidgetsubheadline.md create mode 100755 customer_portal/docs/models/shared/entitywidgettype.md create mode 100755 customer_portal/docs/models/shared/teaserwidget.md create mode 100755 customer_portal/docs/models/shared/teaserwidgetheadline.md create mode 100755 customer_portal/docs/models/shared/teaserwidgetleft.md create mode 100755 customer_portal/docs/models/shared/teaserwidgetright.md create mode 100755 customer_portal/docs/models/shared/teaserwidgetsubheadline.md create mode 100755 customer_portal/docs/models/shared/teaserwidgettype.md create mode 100755 customer_portal/docs/models/shared/upsertportalwidget.md create mode 100755 customer_portal/docs/models/shared/widgetaction.md create mode 100755 customer_portal/docs/models/shared/widgetactionlabel.md create mode 100755 customer_portal/src/epilot/models/operations/getallfiles.py create mode 100755 customer_portal/src/epilot/models/operations/getportalwidgets.py create mode 100755 customer_portal/src/epilot/models/operations/getpublicportalwidgets.py create mode 100755 customer_portal/src/epilot/models/operations/upsertportalwidget.py create mode 100755 customer_portal/src/epilot/models/shared/actionwidget.py create mode 100755 customer_portal/src/epilot/models/shared/contentwidget.py create mode 100755 customer_portal/src/epilot/models/shared/entitywidget.py create mode 100755 customer_portal/src/epilot/models/shared/teaserwidget.py create mode 100755 customer_portal/src/epilot/models/shared/upsertportalwidget.py create mode 100755 customer_portal/src/epilot/models/shared/widgetaction.py diff --git a/customer_portal/README.md b/customer_portal/README.md index ea9e3be24..2bc18d7f7 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -42,6 +42,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [delete_entity_file](docs/sdks/ecp/README.md#delete_entity_file) - deleteEntityFile * [delete_portal_user](docs/sdks/ecp/README.md#delete_portal_user) - deletePortalUser * [get_all_contracts](docs/sdks/ecp/README.md#get_all_contracts) - getAllContracts +* [get_all_files](docs/sdks/ecp/README.md#get_all_files) - getAllFiles * [get_all_opportunities](docs/sdks/ecp/README.md#get_all_opportunities) - getAllOpportunities * [get_all_orders](docs/sdks/ecp/README.md#get_all_orders) - getAllOrders * [get_contact](docs/sdks/ecp/README.md#get_contact) - getContact @@ -52,6 +53,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_organization_settings](docs/sdks/ecp/README.md#get_organization_settings) - getOrganizationSettings * [get_portal_config](docs/sdks/ecp/README.md#get_portal_config) - getPortalConfig * [get_portal_user](docs/sdks/ecp/README.md#get_portal_user) - getPortalUser +* [get_portal_widgets](docs/sdks/ecp/README.md#get_portal_widgets) - getPortalWidgets * [get_schemas](docs/sdks/ecp/README.md#get_schemas) - getSchemas * [save_entity_file](docs/sdks/ecp/README.md#save_entity_file) - saveEntityFile * [update_contact](docs/sdks/ecp/README.md#update_contact) - updateContact @@ -72,11 +74,13 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_entity_identifiers](docs/sdks/ecpadmin/README.md#get_entity_identifiers) - getEntityIdentifiers * [get_org_portal_config](docs/sdks/ecpadmin/README.md#get_org_portal_config) - getOrgPortalConfig * [get_portal_config](docs/sdks/ecpadmin/README.md#get_portal_config) - getPortalConfig +* [get_portal_widgets](docs/sdks/ecpadmin/README.md#get_portal_widgets) - getPortalWidgets * [get_valid_secondary_attributes](docs/sdks/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes * [replace_ecp_template_variables](docs/sdks/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables * [save_portal_files](docs/sdks/ecpadmin/README.md#save_portal_files) - savePortalFiles * [upsert_email_templates](docs/sdks/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates * [upsert_portal](docs/sdks/ecpadmin/README.md#upsert_portal) - upsertPortal +* [upsert_portal_widget](docs/sdks/ecpadmin/README.md#upsert_portal_widget) - upsertPortalWidget ### [public](docs/sdks/public/README.md) @@ -86,6 +90,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_count_by_email](docs/sdks/public/README.md#get_count_by_email) - getCountByEmail * [get_portal_config_by_domain](docs/sdks/public/README.md#get_portal_config_by_domain) - getPortalConfigByDomain * [get_public_portal_config](docs/sdks/public/README.md#get_public_portal_config) - getPublicPortalConfig +* [get_public_portal_widgets](docs/sdks/public/README.md#get_public_portal_widgets) - getPublicPortalWidgets * [user_exists](docs/sdks/public/README.md#user_exists) - userExists diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 81151c920..3191e4887 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -400,4 +400,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:35:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfiles200applicationjson.md b/customer_portal/docs/models/operations/getallfiles200applicationjson.md new file mode 100755 index 000000000..80d8a1aa6 --- /dev/null +++ b/customer_portal/docs/models/operations/getallfiles200applicationjson.md @@ -0,0 +1,10 @@ +# GetAllFiles200ApplicationJSON + +The files have been fetched successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesresponse.md b/customer_portal/docs/models/operations/getallfilesresponse.md new file mode 100755 index 000000000..9913c13e6 --- /dev/null +++ b/customer_portal/docs/models/operations/getallfilesresponse.md @@ -0,0 +1,12 @@ +# GetAllFilesResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_files_200_application_json_object` | [Optional[GetAllFiles200ApplicationJSON]](../../models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilessecurity.md b/customer_portal/docs/models/operations/getallfilessecurity.md new file mode 100755 index 000000000..253bf5e71 --- /dev/null +++ b/customer_portal/docs/models/operations/getallfilessecurity.md @@ -0,0 +1,8 @@ +# GetAllFilesSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsrequest.md b/customer_portal/docs/models/operations/getportalwidgetsrequest.md new file mode 100755 index 000000000..705a91ceb --- /dev/null +++ b/customer_portal/docs/models/operations/getportalwidgetsrequest.md @@ -0,0 +1,8 @@ +# GetPortalWidgetsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsresponse.md b/customer_portal/docs/models/operations/getportalwidgetsresponse.md new file mode 100755 index 000000000..5dc6fb14b --- /dev/null +++ b/customer_portal/docs/models/operations/getportalwidgetsresponse.md @@ -0,0 +1,12 @@ +# GetPortalWidgetsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetssecurity.md b/customer_portal/docs/models/operations/getportalwidgetssecurity.md new file mode 100755 index 000000000..8a573140a --- /dev/null +++ b/customer_portal/docs/models/operations/getportalwidgetssecurity.md @@ -0,0 +1,9 @@ +# GetPortalWidgetsSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `portal_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md new file mode 100755 index 000000000..53b069e32 --- /dev/null +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md @@ -0,0 +1,9 @@ +# GetPublicPortalWidgetsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md new file mode 100755 index 000000000..7dcde1a7f --- /dev/null +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md @@ -0,0 +1,12 @@ +# GetPublicPortalWidgetsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetrequest.md b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md new file mode 100755 index 000000000..68d5a2cf7 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md @@ -0,0 +1,9 @@ +# UpsertPortalWidgetRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `upsert_portal_widget` | [shared.UpsertPortalWidget](../../models/shared/upsertportalwidget.md) | :heavy_check_mark: | Portal widgets payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md new file mode 100755 index 000000000..e16b6bc10 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md @@ -0,0 +1,12 @@ +# UpsertPortalWidgetResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md new file mode 100755 index 000000000..3fe646c2c --- /dev/null +++ b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md @@ -0,0 +1,8 @@ +# UpsertPortalWidgetSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidget.md b/customer_portal/docs/models/shared/actionwidget.md new file mode 100755 index 000000000..4cffcdda0 --- /dev/null +++ b/customer_portal/docs/models/shared/actionwidget.md @@ -0,0 +1,13 @@ +# ActionWidget + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[ActionWidgetHeadline]](../../models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[ActionWidgetSubHeadline]](../../models/shared/actionwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [ActionWidgetType](../../models/shared/actionwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidgetheadline.md b/customer_portal/docs/models/shared/actionwidgetheadline.md new file mode 100755 index 000000000..7101c1fac --- /dev/null +++ b/customer_portal/docs/models/shared/actionwidgetheadline.md @@ -0,0 +1,9 @@ +# ActionWidgetHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidgetsubheadline.md b/customer_portal/docs/models/shared/actionwidgetsubheadline.md new file mode 100755 index 000000000..0792a79ff --- /dev/null +++ b/customer_portal/docs/models/shared/actionwidgetsubheadline.md @@ -0,0 +1,9 @@ +# ActionWidgetSubHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidgettype.md b/customer_portal/docs/models/shared/actionwidgettype.md new file mode 100755 index 000000000..5f129a78c --- /dev/null +++ b/customer_portal/docs/models/shared/actionwidgettype.md @@ -0,0 +1,11 @@ +# ActionWidgetType + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidget.md b/customer_portal/docs/models/shared/contentwidget.md new file mode 100755 index 000000000..a4a1ee0f3 --- /dev/null +++ b/customer_portal/docs/models/shared/contentwidget.md @@ -0,0 +1,15 @@ +# ContentWidget + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `address` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `email` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `headline` | [Optional[ContentWidgetHeadline]](../../models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[ContentWidgetSubHeadline]](../../models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [ContentWidgetType](../../models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidgetheadline.md b/customer_portal/docs/models/shared/contentwidgetheadline.md new file mode 100755 index 000000000..9572bbd27 --- /dev/null +++ b/customer_portal/docs/models/shared/contentwidgetheadline.md @@ -0,0 +1,9 @@ +# ContentWidgetHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidgetsubheadline.md b/customer_portal/docs/models/shared/contentwidgetsubheadline.md new file mode 100755 index 000000000..6eb7d104f --- /dev/null +++ b/customer_portal/docs/models/shared/contentwidgetsubheadline.md @@ -0,0 +1,9 @@ +# ContentWidgetSubHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidgettype.md b/customer_portal/docs/models/shared/contentwidgettype.md new file mode 100755 index 000000000..549bb6a3f --- /dev/null +++ b/customer_portal/docs/models/shared/contentwidgettype.md @@ -0,0 +1,11 @@ +# ContentWidgetType + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidget.md b/customer_portal/docs/models/shared/entitywidget.md new file mode 100755 index 000000000..78c2ab5a1 --- /dev/null +++ b/customer_portal/docs/models/shared/entitywidget.md @@ -0,0 +1,13 @@ +# EntityWidget + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `headline` | [Optional[EntityWidgetHeadline]](../../models/shared/entitywidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[EntityWidgetSubHeadline]](../../models/shared/entitywidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [EntityWidgetType](../../models/shared/entitywidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidgetheadline.md b/customer_portal/docs/models/shared/entitywidgetheadline.md new file mode 100755 index 000000000..6b49304dd --- /dev/null +++ b/customer_portal/docs/models/shared/entitywidgetheadline.md @@ -0,0 +1,9 @@ +# EntityWidgetHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidgetsubheadline.md b/customer_portal/docs/models/shared/entitywidgetsubheadline.md new file mode 100755 index 000000000..9ea346aa9 --- /dev/null +++ b/customer_portal/docs/models/shared/entitywidgetsubheadline.md @@ -0,0 +1,9 @@ +# EntityWidgetSubHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidgettype.md b/customer_portal/docs/models/shared/entitywidgettype.md new file mode 100755 index 000000000..20c82cb80 --- /dev/null +++ b/customer_portal/docs/models/shared/entitywidgettype.md @@ -0,0 +1,11 @@ +# EntityWidgetType + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidget.md b/customer_portal/docs/models/shared/teaserwidget.md new file mode 100755 index 000000000..bcb650d57 --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidget.md @@ -0,0 +1,15 @@ +# TeaserWidget + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[TeaserWidgetHeadline]](../../models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `left` | [Optional[TeaserWidgetLeft]](../../models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `right` | [Optional[TeaserWidgetRight]](../../models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[TeaserWidgetSubHeadline]](../../models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [TeaserWidgetType](../../models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetheadline.md b/customer_portal/docs/models/shared/teaserwidgetheadline.md new file mode 100755 index 000000000..8ae099549 --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgetheadline.md @@ -0,0 +1,9 @@ +# TeaserWidgetHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetleft.md b/customer_portal/docs/models/shared/teaserwidgetleft.md new file mode 100755 index 000000000..b23ee28ec --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgetleft.md @@ -0,0 +1,9 @@ +# TeaserWidgetLeft + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `show` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `show_button` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetright.md b/customer_portal/docs/models/shared/teaserwidgetright.md new file mode 100755 index 000000000..fbbb89dd4 --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgetright.md @@ -0,0 +1,9 @@ +# TeaserWidgetRight + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `show` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `show_button` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetsubheadline.md b/customer_portal/docs/models/shared/teaserwidgetsubheadline.md new file mode 100755 index 000000000..d773bd3bb --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgetsubheadline.md @@ -0,0 +1,9 @@ +# TeaserWidgetSubHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgettype.md b/customer_portal/docs/models/shared/teaserwidgettype.md new file mode 100755 index 000000000..a36da4af6 --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgettype.md @@ -0,0 +1,11 @@ +# TeaserWidgetType + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md new file mode 100755 index 000000000..78484ebca --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -0,0 +1,10 @@ +# UpsertPortalWidget + +Retrieved the portal public widgets successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `widgets` | list[*Any*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md new file mode 100755 index 000000000..0339275a8 --- /dev/null +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -0,0 +1,9 @@ +# WidgetAction + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetactionlabel.md b/customer_portal/docs/models/shared/widgetactionlabel.md new file mode 100755 index 000000000..2257099f7 --- /dev/null +++ b/customer_portal/docs/models/shared/widgetactionlabel.md @@ -0,0 +1,9 @@ +# WidgetActionLabel + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 6af7f66d5..0cca44337 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -10,6 +10,7 @@ APIs defined for a portal user * [delete_entity_file](#delete_entity_file) - deleteEntityFile * [delete_portal_user](#delete_portal_user) - deletePortalUser * [get_all_contracts](#get_all_contracts) - getAllContracts +* [get_all_files](#get_all_files) - getAllFiles * [get_all_opportunities](#get_all_opportunities) - getAllOpportunities * [get_all_orders](#get_all_orders) - getAllOrders * [get_contact](#get_contact) - getContact @@ -20,6 +21,7 @@ APIs defined for a portal user * [get_organization_settings](#get_organization_settings) - getOrganizationSettings * [get_portal_config](#get_portal_config) - getPortalConfig * [get_portal_user](#get_portal_user) - getPortalUser +* [get_portal_widgets](#get_portal_widgets) - getPortalWidgets * [get_schemas](#get_schemas) - getSchemas * [save_entity_file](#save_entity_file) - saveEntityFile * [update_contact](#update_contact) - updateContact @@ -175,6 +177,39 @@ if res.get_all_contracts_200_application_json_object is not None: **[operations.GetAllContractsResponse](../../models/operations/getallcontractsresponse.md)** +## get_all_files + +Fetch all documents under the related entities of a contact + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_all_files(operations.GetAllFilesSecurity( + portal_auth="", +)) + +if res.get_all_files_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `security` | [operations.GetAllFilesSecurity](../../models/operations/getallfilessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetAllFilesResponse](../../models/operations/getallfilesresponse.md)** + + ## get_all_opportunities Get all opportunities of a portal user @@ -530,6 +565,43 @@ if res.get_portal_user_200_application_json_object is not None: **[operations.GetPortalUserResponse](../../models/operations/getportaluserresponse.md)** +## get_portal_widgets + +Retrieves the widgets of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetPortalWidgetsRequest( + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( + epilot_auth="", +)) + +if res.upsert_portal_widget is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `request` | [operations.GetPortalWidgetsRequest](../../models/operations/getportalwidgetsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetPortalWidgetsSecurity](../../models/operations/getportalwidgetssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetPortalWidgetsResponse](../../models/operations/getportalwidgetsresponse.md)** + + ## get_schemas Retrieves the schemas. @@ -581,7 +653,6 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'suscipit', 'iure', 'magnam', ], diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 0874ae00b..472af6f5a 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -16,11 +16,13 @@ APIs defined for a ECP Admin * [get_entity_identifiers](#get_entity_identifiers) - getEntityIdentifiers * [get_org_portal_config](#get_org_portal_config) - getOrgPortalConfig * [get_portal_config](#get_portal_config) - getPortalConfig +* [get_portal_widgets](#get_portal_widgets) - getPortalWidgets * [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes * [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables * [save_portal_files](#save_portal_files) - savePortalFiles * [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates * [upsert_portal](#upsert_portal) - upsertPortal +* [upsert_portal_widget](#upsert_portal_widget) - upsertPortalWidget ## configure_distribution @@ -389,6 +391,43 @@ if res.portal_config is not None: **[operations.GetPortalConfigResponse](../../models/operations/getportalconfigresponse.md)** +## get_portal_widgets + +Retrieves the widgets of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.GetPortalWidgetsRequest( + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( + epilot_auth="", +)) + +if res.upsert_portal_widget is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `request` | [operations.GetPortalWidgetsRequest](../../models/operations/getportalwidgetsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetPortalWidgetsSecurity](../../models/operations/getportalwidgetssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetPortalWidgetsResponse](../../models/operations/getportalwidgetsresponse.md)** + + ## get_valid_secondary_attributes Get valid secondary attributes that are used while mapping a contact on registration @@ -475,7 +514,6 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'cum', 'esse', 'ipsum', 'excepturi', @@ -487,8 +525,44 @@ req = shared.SavePortalFile( key='12345', ), ), + shared.SavePortalFileFiles( + tags=[ + 'perferendis', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'natus', + 'sed', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SavePortalFileFiles( + tags=[ + 'dolor', + 'natus', + 'laboriosam', + ], + file_type='orderRightTeaser', + filename='12345', + s3ref=shared.SavePortalFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), ], - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -532,7 +606,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -575,25 +649,22 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='ad', + config='fuga', contact_identifiers=[ - 'sed', + 'corporis', 'iste', - 'dolor', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "hic": 'saepe', - "fuga": 'in', - }, - { - "iste": 'iure', - "saepe": 'quidem', + "quidem": 'architecto', + "ipsa": 'reiciendis', + "est": 'mollitia', + "laborum": 'dolores', }, { - "ipsa": 'reiciendis', + "corporis": 'explicabo', }, ], ), @@ -610,26 +681,34 @@ req = operations.UpsertPortalRequest( entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='mollitia', - en='laborum', + de='enim', + en='omnis', ), - journey_id='dolores', + journey_id='nemo', slug=shared.EntitySlug.CONTACT, ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='dolorem', - en='corporis', + de='minima', + en='excepturi', ), - journey_id='explicabo', + journey_id='accusantium', slug=shared.EntitySlug.CONTACT, ), shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='nobis', - en='enim', + de='iure', + en='culpa', ), - journey_id='omnis', + journey_id='doloribus', + slug=shared.EntitySlug.CONTACT, + ), + shared.UpsertPortalConfigEntityActions( + action_label=shared.UpsertPortalConfigEntityActionsActionLabel( + de='sapiente', + en='architecto', + ), + journey_id='mollitia', slug=shared.EntitySlug.CONTACT, ), ], @@ -637,12 +716,16 @@ req = operations.UpsertPortalRequest( type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ 'contract_number', - 'contract_number', ], is_enabled=False, ), ), grants=[ + shared.Grant( + action='entity-read', + effect=shared.GrantEffect.ALLOW, + resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', + ), shared.Grant( action='entity-read', effect=shared.GrantEffect.DENY, @@ -650,7 +733,7 @@ req = operations.UpsertPortalRequest( ), shared.Grant( action='entity-read', - effect=shared.GrantEffect.ALLOW, + effect=shared.GrantEffect.DENY, resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), ], @@ -664,7 +747,7 @@ req = operations.UpsertPortalRequest( self_registration=False, self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITHOUT_CONTACT_CREATION, ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( @@ -687,3 +770,97 @@ if res.portal_config is not None: **[operations.UpsertPortalResponse](../../models/operations/upsertportalresponse.md)** + +## upsert_portal_widget + +Upsert widget for a portal of an organization. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.UpsertPortalWidgetRequest( + upsert_portal_widget=shared.UpsertPortalWidget( + widgets=[ + shared.ContentWidget( + address='2613 Marguerite Plain', + email='Britney94@gmail.com', + headline=shared.ContentWidgetHeadline( + de='ipsam', + en='id', + ), + id='d019da1f-fe78-4f09-bb00-74f15471b5e6', + list_index=918236, + phone='(365) 682-5590', + sub_headline=shared.ContentWidgetSubHeadline( + de='repudiandae', + en='sint', + ), + type=shared.ContentWidgetType.ACTION_WIDGET, + ), + shared.TeaserWidget( + actions=[ + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='enim', + en='consequatur', + ), + url='est', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='quibusdam', + en='explicabo', + ), + url='deserunt', + ), + ], + headline=shared.TeaserWidgetHeadline( + de='distinctio', + en='quibusdam', + ), + id='44269802-d502-4a94-bb4f-63c969e9a3ef', + left=shared.TeaserWidgetLeft( + show=False, + show_button=False, + ), + list_index=680056, + right=shared.TeaserWidgetRight( + show=False, + show_button=False, + ), + sub_headline=shared.TeaserWidgetSubHeadline( + de='in', + en='in', + ), + type=shared.TeaserWidgetType.TEASER_WIDGET, + ), + ], + ), + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurity( + epilot_auth="", +)) + +if res.upsert_portal_widget is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `request` | [operations.UpsertPortalWidgetRequest](../../models/operations/upsertportalwidgetrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.UpsertPortalWidgetSecurity](../../models/operations/upsertportalwidgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.UpsertPortalWidgetResponse](../../models/operations/upsertportalwidgetresponse.md)** + diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 52e61aaf9..6242b3ff6 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -12,6 +12,7 @@ Public APIs * [get_count_by_email](#get_count_by_email) - getCountByEmail * [get_portal_config_by_domain](#get_portal_config_by_domain) - getPortalConfigByDomain * [get_public_portal_config](#get_public_portal_config) - getPublicPortalConfig +* [get_public_portal_widgets](#get_public_portal_widgets) - getPublicPortalWidgets * [user_exists](#user_exists) - userExists ## confirm_user @@ -74,10 +75,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "architecto": 'mollitia', - "dolorem": 'culpa', - "consequuntur": 'repellat', - "mollitia": 'occaecati', + "magnam": 'cumque', }, email='testemail921@yopmail.com', first_name='John', @@ -86,7 +84,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -126,12 +124,12 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "quam": 'molestiae', - "velit": 'error', + "aliquid": 'laborum', + "accusamus": 'non', }, org_id='728', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_contact_count(req) @@ -268,6 +266,45 @@ if res.portal_config is not None: **[operations.GetPublicPortalConfigResponse](../../models/operations/getpublicportalconfigresponse.md)** +## get_public_portal_widgets + +Retrieves the public widgets of a portal + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetPublicPortalWidgetsRequest( + org_id='123', + origin=shared.Origin.INSTALLER_PORTAL, +) + +res = s.public.get_public_portal_widgets(req) + +if res.upsert_portal_widget is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetPublicPortalWidgetsRequest](../../models/operations/getpublicportalwidgetsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetPublicPortalWidgetsResponse](../../models/operations/getpublicportalwidgetsresponse.md)** + + ## user_exists Checks whether a user exists in the portal diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 243c17f4c..e6b7eeddb 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -15,6 +15,7 @@ src/epilot/models/operations/addendcustomerrelationtoentity.py src/epilot/models/operations/deleteentityfile.py src/epilot/models/operations/deleteportaluser.py src/epilot/models/operations/getallcontracts.py +src/epilot/models/operations/getallfiles.py src/epilot/models/operations/getallopportunities.py src/epilot/models/operations/getallorders.py src/epilot/models/operations/getcontact.py @@ -25,6 +26,7 @@ src/epilot/models/operations/getorder.py src/epilot/models/operations/getorganizationsettings.py src/epilot/models/operations/getportalconfig.py src/epilot/models/operations/getportaluser.py +src/epilot/models/operations/getportalwidgets.py src/epilot/models/operations/getschemas.py src/epilot/models/operations/saveentityfile.py src/epilot/models/operations/updatecontact.py @@ -46,12 +48,14 @@ src/epilot/models/operations/replaceecptemplatevariables.py src/epilot/models/operations/saveportalfiles.py src/epilot/models/operations/upsertemailtemplates.py src/epilot/models/operations/upsertportal.py +src/epilot/models/operations/upsertportalwidget.py src/epilot/models/operations/confirmuser.py src/epilot/models/operations/createuser.py src/epilot/models/operations/getcontactcount.py src/epilot/models/operations/getcountbyemail.py src/epilot/models/operations/getportalconfigbydomain.py src/epilot/models/operations/getpublicportalconfig.py +src/epilot/models/operations/getpublicportalwidgets.py src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py src/epilot/models/shared/errorresp.py @@ -62,6 +66,12 @@ src/epilot/models/shared/portalconfig.py src/epilot/models/shared/origin.py src/epilot/models/shared/grant.py src/epilot/models/shared/emailtemplates.py +src/epilot/models/shared/upsertportalwidget.py +src/epilot/models/shared/entitywidget.py +src/epilot/models/shared/contentwidget.py +src/epilot/models/shared/actionwidget.py +src/epilot/models/shared/widgetaction.py +src/epilot/models/shared/teaserwidget.py src/epilot/models/shared/saveentityfile.py src/epilot/models/shared/createssouserrequest.py src/epilot/models/shared/extraschemaattributes.py @@ -91,6 +101,9 @@ docs/models/operations/deleteportaluserresponse.md docs/models/operations/getallcontractssecurity.md docs/models/operations/getallcontracts200applicationjson.md docs/models/operations/getallcontractsresponse.md +docs/models/operations/getallfilessecurity.md +docs/models/operations/getallfiles200applicationjson.md +docs/models/operations/getallfilesresponse.md docs/models/operations/getallopportunitiessecurity.md docs/models/operations/getallopportunities200applicationjson.md docs/models/operations/getallopportunitiesresponse.md @@ -125,6 +138,9 @@ docs/models/operations/getportalconfigresponse.md docs/models/operations/getportalusersecurity.md docs/models/operations/getportaluser200applicationjson.md docs/models/operations/getportaluserresponse.md +docs/models/operations/getportalwidgetssecurity.md +docs/models/operations/getportalwidgetsrequest.md +docs/models/operations/getportalwidgetsresponse.md docs/models/operations/getschemassecurity.md docs/models/operations/getschemas200applicationjson.md docs/models/operations/getschemasresponse.md @@ -203,6 +219,9 @@ docs/models/operations/upsertemailtemplatesresponse.md docs/models/operations/upsertportalsecurity.md docs/models/operations/upsertportalrequest.md docs/models/operations/upsertportalresponse.md +docs/models/operations/upsertportalwidgetsecurity.md +docs/models/operations/upsertportalwidgetrequest.md +docs/models/operations/upsertportalwidgetresponse.md docs/models/operations/confirmuserrequest.md docs/models/operations/confirmuserresponse.md docs/models/operations/createuserrequest.md @@ -219,6 +238,8 @@ docs/models/operations/getportalconfigbydomainrequest.md docs/models/operations/getportalconfigbydomainresponse.md docs/models/operations/getpublicportalconfigrequest.md docs/models/operations/getpublicportalconfigresponse.md +docs/models/operations/getpublicportalwidgetsrequest.md +docs/models/operations/getpublicportalwidgetsresponse.md docs/models/operations/userexistsrequest.md docs/models/operations/userexists200applicationjson.md docs/models/operations/userexistsresponse.md @@ -261,6 +282,27 @@ docs/models/shared/origin.md docs/models/shared/granteffect.md docs/models/shared/grant.md docs/models/shared/emailtemplates.md +docs/models/shared/upsertportalwidget.md +docs/models/shared/entitywidgetheadline.md +docs/models/shared/entitywidgetsubheadline.md +docs/models/shared/entitywidgettype.md +docs/models/shared/entitywidget.md +docs/models/shared/contentwidgetheadline.md +docs/models/shared/contentwidgetsubheadline.md +docs/models/shared/contentwidgettype.md +docs/models/shared/contentwidget.md +docs/models/shared/actionwidgetheadline.md +docs/models/shared/actionwidgetsubheadline.md +docs/models/shared/actionwidgettype.md +docs/models/shared/actionwidget.md +docs/models/shared/widgetactionlabel.md +docs/models/shared/widgetaction.md +docs/models/shared/teaserwidgetheadline.md +docs/models/shared/teaserwidgetleft.md +docs/models/shared/teaserwidgetright.md +docs/models/shared/teaserwidgetsubheadline.md +docs/models/shared/teaserwidgettype.md +docs/models/shared/teaserwidget.md docs/models/shared/saveentityfilefilesaccesscontrol.md docs/models/shared/saveentityfilefiless3ref.md docs/models/shared/saveentityfilefiles.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d0317c27e..f3d7a209c 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: a7c39e59d9186fd4ec398c9b6fb9eed0 + docChecksum: dc21fe820cfe7c84a949bad012cb9015 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/customer_portal/setup.py b/customer_portal/setup.py index c04b06ad1..70a847243 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.37.0", + version="1.38.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index f8940d219..41ee9a5b7 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -154,6 +154,40 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope return res + def get_all_files(self, security: operations.GetAllFilesSecurity) -> operations.GetAllFilesResponse: + r"""getAllFiles + Fetch all documents under the related entities of a contact + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/user/files' + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetAllFilesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.GetAllFiles200ApplicationJSON]) + res.get_all_files_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities Get all opportunities of a portal user @@ -500,6 +534,41 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati return res + def get_portal_widgets(self, request: operations.GetPortalWidgetsRequest, security: operations.GetPortalWidgetsSecurity) -> operations.GetPortalWidgetsResponse: + r"""getPortalWidgets + Retrieves the widgets of a portal + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/widgets' + headers = {} + query_params = utils.get_query_params(operations.GetPortalWidgetsRequest, request) + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetPortalWidgetsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.UpsertPortalWidget]) + res.upsert_portal_widget = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.GetSchemasResponse: r"""getSchemas Retrieves the schemas. diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index a946837b5..43851f347 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -361,6 +361,41 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security return res + def get_portal_widgets(self, request: operations.GetPortalWidgetsRequest, security: operations.GetPortalWidgetsSecurity) -> operations.GetPortalWidgetsResponse: + r"""getPortalWidgets + Retrieves the widgets of a portal + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/widgets' + headers = {} + query_params = utils.get_query_params(operations.GetPortalWidgetsRequest, request) + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetPortalWidgetsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.UpsertPortalWidget]) + res.upsert_portal_widget = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryAttributesSecurity) -> operations.GetValidSecondaryAttributesResponse: r"""getValidSecondaryAttributes Get valid secondary attributes that are used while mapping a contact on registration @@ -552,4 +587,44 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera return res + + def upsert_portal_widget(self, request: operations.UpsertPortalWidgetRequest, security: operations.UpsertPortalWidgetSecurity) -> operations.UpsertPortalWidgetResponse: + r"""upsertPortalWidget + Upsert widget for a portal of an organization. + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/widgets' + headers = {} + req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_widget", 'json') + if req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + query_params = utils.get_query_params(operations.UpsertPortalWidgetRequest, request) + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.UpsertPortalWidgetResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 201: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.UpsertPortalWidget]) + res.upsert_portal_widget = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [400, 401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index ca70befe7..369b30ecf 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -10,6 +10,7 @@ from .deleteportaluser import * from .extrapermissionattributes import * from .getallcontracts import * +from .getallfiles import * from .getallopportunities import * from .getallorders import * from .getallportalconfigs import * @@ -28,7 +29,9 @@ from .getportalconfig import * from .getportalconfigbydomain import * from .getportaluser import * +from .getportalwidgets import * from .getpublicportalconfig import * +from .getpublicportalwidgets import * from .getschemas import * from .getvalidsecondaryattributes import * from .replaceecptemplatevariables import * @@ -41,6 +44,7 @@ from .updateportaluser import * from .upsertemailtemplates import * from .upsertportal import * +from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getallfiles.py b/customer_portal/src/epilot/models/operations/getallfiles.py new file mode 100755 index 000000000..5297e0a5a --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getallfiles.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Optional + + + +@dataclasses.dataclass +class GetAllFilesSecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class GetAllFiles200ApplicationJSON: + r"""The files have been fetched successfully.""" + files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + + + + + +@dataclasses.dataclass +class GetAllFilesResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + get_all_files_200_application_json_object: Optional[GetAllFiles200ApplicationJSON] = dataclasses.field(default=None) + r"""The files have been fetched successfully.""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + diff --git a/customer_portal/src/epilot/models/operations/getportalwidgets.py b/customer_portal/src/epilot/models/operations/getportalwidgets.py new file mode 100755 index 000000000..a189ec582 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getportalwidgets.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from ..shared import origin as shared_origin +from ..shared import upsertportalwidget as shared_upsertportalwidget +from typing import Optional + + + +@dataclasses.dataclass +class GetPortalWidgetsSecurity: + epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + portal_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class GetPortalWidgetsRequest: + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" + + + + + +@dataclasses.dataclass +class GetPortalWidgetsResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) + r"""Retrieved the portal widgets successfully.""" + + diff --git a/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py new file mode 100755 index 000000000..3c6a9cb2c --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from ..shared import origin as shared_origin +from ..shared import upsertportalwidget as shared_upsertportalwidget +from typing import Optional + + + +@dataclasses.dataclass +class GetPublicPortalWidgetsRequest: + org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" + + + + + +@dataclasses.dataclass +class GetPublicPortalWidgetsResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) + r"""Retrieved the portal public widgets successfully.""" + + diff --git a/customer_portal/src/epilot/models/operations/upsertportalwidget.py b/customer_portal/src/epilot/models/operations/upsertportalwidget.py new file mode 100755 index 000000000..8af6bb8bd --- /dev/null +++ b/customer_portal/src/epilot/models/operations/upsertportalwidget.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from ..shared import origin as shared_origin +from ..shared import upsertportalwidget as shared_upsertportalwidget +from typing import Optional + + + +@dataclasses.dataclass +class UpsertPortalWidgetSecurity: + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class UpsertPortalWidgetRequest: + origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Origin of the portal""" + upsert_portal_widget: shared_upsertportalwidget.UpsertPortalWidget = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + r"""Portal widgets payload""" + + + + + +@dataclasses.dataclass +class UpsertPortalWidgetResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""The request could not be validated""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) + r"""Portal widget configuration upserted successfully.""" + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 6cace7527..5e5a458e8 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -1,11 +1,14 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +from .actionwidget import * from .contactcountrequest import * +from .contentwidget import * from .createssouserrequest import * from .createuserrequest import * from .deleteentityfile import * from .emailtemplates import * from .entityslug import * +from .entitywidget import * from .errorresp import * from .extraschemaattributes import * from .grant import * @@ -15,6 +18,9 @@ from .saveentityfile import * from .saveportalfile import * from .security import * +from .teaserwidget import * from .upsertportalconfig import * +from .upsertportalwidget import * +from .widgetaction import * -__all__ = ["ContactCountRequest","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel"] diff --git a/customer_portal/src/epilot/models/shared/actionwidget.py b/customer_portal/src/epilot/models/shared/actionwidget.py new file mode 100755 index 000000000..1cf435849 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/actionwidget.py @@ -0,0 +1,50 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from ..shared import widgetaction as shared_widgetaction +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActionWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActionWidgetSubHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + +class ActionWidgetType(str, Enum): + ACTION_WIDGET = 'ACTION_WIDGET' + CONTENT_WIDGET = 'CONTENT_WIDGET' + ENTITY_WIDGET = 'ENTITY_WIDGET' + TEASER_WIDGET = 'TEASER_WIDGET' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActionWidget: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) + r"""Index of the widget in the list, used for ordering (left or right)""" + type: ActionWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + actions: Optional[list[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) + headline: Optional[ActionWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) + sub_headline: Optional[ActionWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/contentwidget.py b/customer_portal/src/epilot/models/shared/contentwidget.py new file mode 100755 index 000000000..4a50e6d0f --- /dev/null +++ b/customer_portal/src/epilot/models/shared/contentwidget.py @@ -0,0 +1,51 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ContentWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ContentWidgetSubHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + +class ContentWidgetType(str, Enum): + ACTION_WIDGET = 'ACTION_WIDGET' + CONTENT_WIDGET = 'CONTENT_WIDGET' + ENTITY_WIDGET = 'ENTITY_WIDGET' + TEASER_WIDGET = 'TEASER_WIDGET' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ContentWidget: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) + r"""Index of the widget in the list, used for ordering (left or right)""" + type: ContentWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + address: Optional[str] = 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 }}) + headline: Optional[ContentWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), '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 }}) + sub_headline: Optional[ContentWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/entitywidget.py b/customer_portal/src/epilot/models/shared/entitywidget.py new file mode 100755 index 000000000..6697f3276 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/entitywidget.py @@ -0,0 +1,49 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class EntityWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class EntityWidgetSubHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + +class EntityWidgetType(str, Enum): + ACTION_WIDGET = 'ACTION_WIDGET' + CONTENT_WIDGET = 'CONTENT_WIDGET' + ENTITY_WIDGET = 'ENTITY_WIDGET' + TEASER_WIDGET = 'TEASER_WIDGET' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class EntityWidget: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) + r"""Index of the widget in the list, used for ordering (left or right)""" + type: EntityWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + headline: Optional[EntityWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) + schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) + sub_headline: Optional[EntityWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/teaserwidget.py b/customer_portal/src/epilot/models/shared/teaserwidget.py new file mode 100755 index 000000000..4ea168134 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/teaserwidget.py @@ -0,0 +1,72 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from ..shared import widgetaction as shared_widgetaction +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TeaserWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TeaserWidgetLeft: + show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) + show_button: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('showButton'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TeaserWidgetRight: + show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) + show_button: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('showButton'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TeaserWidgetSubHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + +class TeaserWidgetType(str, Enum): + ACTION_WIDGET = 'ACTION_WIDGET' + CONTENT_WIDGET = 'CONTENT_WIDGET' + ENTITY_WIDGET = 'ENTITY_WIDGET' + TEASER_WIDGET = 'TEASER_WIDGET' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TeaserWidget: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) + r"""Index of the widget in the list, used for ordering (left or right)""" + type: TeaserWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + actions: Optional[list[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) + headline: Optional[TeaserWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) + left: Optional[TeaserWidgetLeft] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('left'), 'exclude': lambda f: f is None }}) + right: Optional[TeaserWidgetRight] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('right'), 'exclude': lambda f: f is None }}) + sub_headline: Optional[TeaserWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/upsertportalwidget.py b/customer_portal/src/epilot/models/shared/upsertportalwidget.py new file mode 100755 index 000000000..aeea067bc --- /dev/null +++ b/customer_portal/src/epilot/models/shared/upsertportalwidget.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class UpsertPortalWidget: + r"""Retrieved the portal public widgets successfully.""" + widgets: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) + + diff --git a/customer_portal/src/epilot/models/shared/widgetaction.py b/customer_portal/src/epilot/models/shared/widgetaction.py new file mode 100755 index 000000000..234eb30c9 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/widgetaction.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class WidgetActionLabel: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class WidgetAction: + label: WidgetActionLabel = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) + url: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('url') }}) + + diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index b62d76bf3..9f63b0964 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -229,6 +229,41 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ return res + def get_public_portal_widgets(self, request: operations.GetPublicPortalWidgetsRequest) -> operations.GetPublicPortalWidgetsResponse: + r"""getPublicPortalWidgets + Retrieves the public widgets of a portal + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/public-widgets' + headers = {} + query_params = utils.get_query_params(operations.GetPublicPortalWidgetsRequest, request) + 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}' + + client = self.sdk_configuration.client + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetPublicPortalWidgetsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.UpsertPortalWidget]) + res.upsert_portal_widget = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def user_exists(self, request: operations.UserExistsRequest) -> operations.UserExistsResponse: r"""userExists Checks whether a user exists in the portal diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 7e99f24d1..e3dbb0a8c 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 6b39ecf74..3456af651 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 cb3fa38b1a067d7a88213aff1a83236e2cb7e6b0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 8 Aug 2023 00:34:27 +0000 Subject: [PATCH 63/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.69.1 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 8 ++- .../getallfiles200applicationjson.md | 7 +-- .../models/operations/getallfilesrequest.md | 9 ++++ .../getfilebyid200applicationjson.md | 10 ++++ .../models/operations/getfilebyidrequest.md | 8 +++ .../models/operations/getfilebyidresponse.md | 12 +++++ .../models/operations/getfilebyidsecurity.md | 8 +++ .../docs/models/shared/widgetaction.md | 9 ++-- .../docs/models/shared/widgetactiontype.md | 9 ++++ customer_portal/docs/sdks/ecp/README.md | 45 ++++++++++++++++- customer_portal/docs/sdks/ecpadmin/README.md | 26 +++++----- customer_portal/docs/sdks/public/README.md | 15 ++++-- customer_portal/files.gen | 7 +++ customer_portal/gen.yaml | 15 ++++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 39 ++++++++++++++- .../src/epilot/models/operations/__init__.py | 3 +- .../epilot/models/operations/getallfiles.py | 13 ++++- .../epilot/models/operations/getfilebyid.py | 50 +++++++++++++++++++ .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/widgetaction.py | 6 +++ .../src/epilot/sdkconfiguration.py | 4 +- 23 files changed, 270 insertions(+), 38 deletions(-) create mode 100755 customer_portal/docs/models/operations/getallfilesrequest.md create mode 100755 customer_portal/docs/models/operations/getfilebyid200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getfilebyidrequest.md create mode 100755 customer_portal/docs/models/operations/getfilebyidresponse.md create mode 100755 customer_portal/docs/models/operations/getfilebyidsecurity.md create mode 100755 customer_portal/docs/models/shared/widgetactiontype.md create mode 100755 customer_portal/src/epilot/models/operations/getfilebyid.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 2bc18d7f7..e85730177 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -48,6 +48,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_contact](docs/sdks/ecp/README.md#get_contact) - getContact * [get_contract](docs/sdks/ecp/README.md#get_contract) - getContract * [get_entities_by_identifiers](docs/sdks/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_file_by_id](docs/sdks/ecp/README.md#get_file_by_id) - getFileById * [get_opportunity](docs/sdks/ecp/README.md#get_opportunity) - getOpportunity * [get_order](docs/sdks/ecp/README.md#get_order) - getOrder * [get_organization_settings](docs/sdks/ecp/README.md#get_organization_settings) - getOrganizationSettings diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 3191e4887..aa0aa7b2c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -406,4 +406,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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:34:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfiles200applicationjson.md b/customer_portal/docs/models/operations/getallfiles200applicationjson.md index 80d8a1aa6..f219c76f9 100755 --- a/customer_portal/docs/models/operations/getallfiles200applicationjson.md +++ b/customer_portal/docs/models/operations/getallfiles200applicationjson.md @@ -5,6 +5,7 @@ The files have been fetched successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of files for pagination | 50 | +| `results` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md new file mode 100755 index 000000000..816849855 --- /dev/null +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -0,0 +1,9 @@ +# GetAllFilesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from_` | *float* | :heavy_check_mark: | N/A | 0 | +| `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyid200applicationjson.md b/customer_portal/docs/models/operations/getfilebyid200applicationjson.md new file mode 100755 index 000000000..c81d011d8 --- /dev/null +++ b/customer_portal/docs/models/operations/getfilebyid200applicationjson.md @@ -0,0 +1,10 @@ +# GetFileByID200ApplicationJSON + +The files have been fetched successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `file` | dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidrequest.md b/customer_portal/docs/models/operations/getfilebyidrequest.md new file mode 100755 index 000000000..a74d83b37 --- /dev/null +++ b/customer_portal/docs/models/operations/getfilebyidrequest.md @@ -0,0 +1,8 @@ +# GetFileByIDRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidresponse.md b/customer_portal/docs/models/operations/getfilebyidresponse.md new file mode 100755 index 000000000..18b19a319 --- /dev/null +++ b/customer_portal/docs/models/operations/getfilebyidresponse.md @@ -0,0 +1,12 @@ +# GetFileByIDResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_file_by_id_200_application_json_object` | [Optional[GetFileByID200ApplicationJSON]](../../models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidsecurity.md b/customer_portal/docs/models/operations/getfilebyidsecurity.md new file mode 100755 index 000000000..3c3c60e88 --- /dev/null +++ b/customer_portal/docs/models/operations/getfilebyidsecurity.md @@ -0,0 +1,8 @@ +# GetFileByIDSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md index 0339275a8..32667f854 100755 --- a/customer_portal/docs/models/shared/widgetaction.md +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `type` | [Optional[WidgetActionType]](../../models/shared/widgetactiontype.md) | :heavy_minus_sign: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetactiontype.md b/customer_portal/docs/models/shared/widgetactiontype.md new file mode 100755 index 000000000..5439d7e21 --- /dev/null +++ b/customer_portal/docs/models/shared/widgetactiontype.md @@ -0,0 +1,9 @@ +# WidgetActionType + + +## Values + +| Name | Value | +| --------- | --------- | +| `LINK` | link | +| `JOURNEY` | journey | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 0cca44337..8231ca8d4 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -16,6 +16,7 @@ APIs defined for a portal user * [get_contact](#get_contact) - getContact * [get_contract](#get_contract) - getContract * [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers +* [get_file_by_id](#get_file_by_id) - getFileById * [get_opportunity](#get_opportunity) - getOpportunity * [get_order](#get_order) - getOrder * [get_organization_settings](#get_organization_settings) - getOrganizationSettings @@ -189,8 +190,12 @@ from epilot.models import operations s = epilot.Epilot() +req = operations.GetAllFilesRequest( + from_=0, + size=0, +) -res = s.ecp.get_all_files(operations.GetAllFilesSecurity( +res = s.ecp.get_all_files(req, operations.GetAllFilesSecurity( portal_auth="", )) @@ -202,6 +207,7 @@ if res.get_all_files_200_application_json_object is not None: | Parameter | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `request` | [operations.GetAllFilesRequest](../../models/operations/getallfilesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.GetAllFilesSecurity](../../models/operations/getallfilessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | @@ -388,6 +394,43 @@ if res.get_entities_by_identifiers_200_application_json_object is not None: **[operations.GetEntitiesByIdentifiersResponse](../../models/operations/getentitiesbyidentifiersresponse.md)** +## get_file_by_id + +Fetch a document with ID + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetFileByIDRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.get_file_by_id(req, operations.GetFileByIDSecurity( + portal_auth="", +)) + +if res.get_file_by_id_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `request` | [operations.GetFileByIDRequest](../../models/operations/getfilebyidrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetFileByIDSecurity](../../models/operations/getfilebyidsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetFileByIDResponse](../../models/operations/getfilebyidresponse.md)** + + ## get_opportunity Get an opportunity by id diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 472af6f5a..3690913bc 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -809,39 +809,41 @@ req = operations.UpsertPortalWidgetRequest( de='enim', en='consequatur', ), - url='est', + type=shared.WidgetActionType.JOURNEY, + url='quibusdam', ), shared.WidgetAction( label=shared.WidgetActionLabel( - de='quibusdam', - en='explicabo', + de='explicabo', + en='deserunt', ), - url='deserunt', + type=shared.WidgetActionType.JOURNEY, + url='quibusdam', ), ], headline=shared.TeaserWidgetHeadline( - de='distinctio', - en='quibusdam', + de='labore', + en='modi', ), - id='44269802-d502-4a94-bb4f-63c969e9a3ef', + id='269802d5-02a9-44bb-8f63-c969e9a3efa7', left=shared.TeaserWidgetLeft( show=False, show_button=False, ), - list_index=680056, + list_index=449198, right=shared.TeaserWidgetRight( show=False, show_button=False, ), sub_headline=shared.TeaserWidgetSubHeadline( - de='in', - en='in', + de='illum', + en='maiores', ), - type=shared.TeaserWidgetType.TEASER_WIDGET, + type=shared.TeaserWidgetType.ENTITY_WIDGET, ), ], ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurity( diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 6242b3ff6..0b0003568 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -34,7 +34,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,7 +75,10 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "magnam": 'cumque', + "facere": 'ea', + "aliquid": 'laborum', + "accusamus": 'non', + "occaecati": 'enim', }, email='testemail921@yopmail.com', first_name='John', @@ -124,8 +127,10 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "aliquid": 'laborum', - "accusamus": 'non', + "quidem": 'provident', + "nam": 'id', + "blanditiis": 'deleniti', + "sapiente": 'amet', }, org_id='728', ), @@ -284,7 +289,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_widgets(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index e6b7eeddb..47e75594f 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -21,6 +21,7 @@ src/epilot/models/operations/getallorders.py src/epilot/models/operations/getcontact.py src/epilot/models/operations/getcontract.py src/epilot/models/operations/getentitiesbyidentifiers.py +src/epilot/models/operations/getfilebyid.py src/epilot/models/operations/getopportunity.py src/epilot/models/operations/getorder.py src/epilot/models/operations/getorganizationsettings.py @@ -102,6 +103,7 @@ docs/models/operations/getallcontractssecurity.md docs/models/operations/getallcontracts200applicationjson.md docs/models/operations/getallcontractsresponse.md docs/models/operations/getallfilessecurity.md +docs/models/operations/getallfilesrequest.md docs/models/operations/getallfiles200applicationjson.md docs/models/operations/getallfilesresponse.md docs/models/operations/getallopportunitiessecurity.md @@ -121,6 +123,10 @@ docs/models/operations/getentitiesbyidentifierssecurity.md docs/models/operations/getentitiesbyidentifiersrequest.md docs/models/operations/getentitiesbyidentifiers200applicationjson.md docs/models/operations/getentitiesbyidentifiersresponse.md +docs/models/operations/getfilebyidsecurity.md +docs/models/operations/getfilebyidrequest.md +docs/models/operations/getfilebyid200applicationjson.md +docs/models/operations/getfilebyidresponse.md docs/models/operations/getopportunitysecurity.md docs/models/operations/getopportunityrequest.md docs/models/operations/getopportunity200applicationjson.md @@ -296,6 +302,7 @@ docs/models/shared/actionwidgetsubheadline.md docs/models/shared/actionwidgettype.md docs/models/shared/actionwidget.md docs/models/shared/widgetactionlabel.md +docs/models/shared/widgetactiontype.md docs/models/shared/widgetaction.md docs/models/shared/teaserwidgetheadline.md docs/models/shared/teaserwidgetleft.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index f3d7a209c..ef8e6ec0c 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,15 +1,22 @@ configVersion: 1.0.0 management: - docChecksum: dc21fe820cfe7c84a949bad012cb9015 + docChecksum: b091c825835b706213d706b485af584a 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 + deprecations: 2.81.1 + globalSecurity: 2.81.1 + globalServerURLs: 2.81.1 + methodSecurity: 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/customer_portal/setup.py b/customer_portal/setup.py index 70a847243..f5441d004 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.38.0", + version="1.39.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 41ee9a5b7..a46c1ac8a 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -154,7 +154,7 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope return res - def get_all_files(self, security: operations.GetAllFilesSecurity) -> operations.GetAllFilesResponse: + def get_all_files(self, request: operations.GetAllFilesRequest, security: operations.GetAllFilesSecurity) -> operations.GetAllFilesResponse: r"""getAllFiles Fetch all documents under the related entities of a contact """ @@ -162,12 +162,13 @@ def get_all_files(self, security: operations.GetAllFilesSecurity) -> operations. url = base_url + '/v2/portal/user/files' headers = {} + query_params = utils.get_query_params(operations.GetAllFilesRequest, request) 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) - http_res = client.request('GET', url, headers=headers) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllFilesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -363,6 +364,40 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie return res + def get_file_by_id(self, request: operations.GetFileByIDRequest, security: operations.GetFileByIDSecurity) -> operations.GetFileByIDResponse: + r"""getFileById + Fetch a document with ID + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(operations.GetFileByIDRequest, base_url, '/v2/portal/user/file/{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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetFileByIDResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.GetFileByID200ApplicationJSON]) + res.get_file_by_id_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_opportunity(self, request: operations.GetOpportunityRequest, security: operations.GetOpportunitySecurity) -> operations.GetOpportunityResponse: r"""getOpportunity Get an opportunity by id diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 369b30ecf..455d56c57 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -22,6 +22,7 @@ from .getemailtemplates import * from .getentitiesbyidentifiers import * from .getentityidentifiers import * +from .getfilebyid import * from .getopportunity import * from .getorder import * from .getorganizationsettings import * @@ -47,4 +48,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getallfiles.py b/customer_portal/src/epilot/models/operations/getallfiles.py index 5297e0a5a..df45c0c15 100755 --- a/customer_portal/src/epilot/models/operations/getallfiles.py +++ b/customer_portal/src/epilot/models/operations/getallfiles.py @@ -17,12 +17,23 @@ class GetAllFilesSecurity: + +@dataclasses.dataclass +class GetAllFilesRequest: + from_: float = dataclasses.field(metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: float = dataclasses.field(metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class GetAllFiles200ApplicationJSON: r"""The files have been fetched successfully.""" - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) + r"""Total number of files for pagination""" + results: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/operations/getfilebyid.py b/customer_portal/src/epilot/models/operations/getfilebyid.py new file mode 100755 index 000000000..bc63dc103 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getfilebyid.py @@ -0,0 +1,50 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Optional + + + +@dataclasses.dataclass +class GetFileByIDSecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class GetFileByIDRequest: + id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) + r"""The Id of a file""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class GetFileByID200ApplicationJSON: + r"""The files have been fetched successfully.""" + file: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) + + + + + +@dataclasses.dataclass +class GetFileByIDResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + get_file_by_id_200_application_json_object: Optional[GetFileByID200ApplicationJSON] = dataclasses.field(default=None) + r"""The files have been fetched successfully.""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 5e5a458e8..585ff625f 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -23,4 +23,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/widgetaction.py b/customer_portal/src/epilot/models/shared/widgetaction.py index 234eb30c9..4dfeef68e 100755 --- a/customer_portal/src/epilot/models/shared/widgetaction.py +++ b/customer_portal/src/epilot/models/shared/widgetaction.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils from typing import Optional @@ -16,6 +17,10 @@ class WidgetActionLabel: +class WidgetActionType(str, Enum): + LINK = 'link' + JOURNEY = 'journey' + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,5 +28,6 @@ class WidgetActionLabel: class WidgetAction: label: WidgetActionLabel = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) url: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('url') }}) + type: Optional[WidgetActionType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index e3dbb0a8c..7d76e0d2e 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 4f93046c8d428cee2f25bae1b654f807318fddf1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 11 Aug 2023 00:28:20 +0000 Subject: [PATCH 64/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.71.0 --- customer_portal/RELEASES.md | 10 ++- .../docs/models/shared/contentwidget.md | 4 +- customer_portal/docs/sdks/ecpadmin/README.md | 63 ++++++------------- customer_portal/docs/sdks/public/README.md | 20 +++--- customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/contentwidget.py | 4 +- .../src/epilot/sdkconfiguration.py | 4 +- 8 files changed, 46 insertions(+), 69 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index aa0aa7b2c..2dcd38123 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -412,4 +412,12 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.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-11 00:28:03 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.71.0 (2.83.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.39.1] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidget.md b/customer_portal/docs/models/shared/contentwidget.md index a4a1ee0f3..3c0483cc3 100755 --- a/customer_portal/docs/models/shared/contentwidget.md +++ b/customer_portal/docs/models/shared/contentwidget.md @@ -5,11 +5,9 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `address` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `email` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | | `headline` | [Optional[ContentWidgetHeadline]](../../models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | | `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | | `sub_headline` | [Optional[ContentWidgetSubHeadline]](../../models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | | `type` | [ContentWidgetType](../../models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 3690913bc..a37f57789 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -787,59 +787,32 @@ req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ shared.ContentWidget( - address='2613 Marguerite Plain', - email='Britney94@gmail.com', + content='molestiae', headline=shared.ContentWidgetHeadline( - de='ipsam', - en='id', + de='velit', + en='error', ), - id='d019da1f-fe78-4f09-bb00-74f15471b5e6', - list_index=918236, - phone='(365) 682-5590', + id='251aa52c-3f5a-4d01-9da1-ffe78f097b00', + list_index=441711, sub_headline=shared.ContentWidgetSubHeadline( - de='repudiandae', - en='sint', + de='ut', + en='maiores', ), type=shared.ContentWidgetType.ACTION_WIDGET, ), - shared.TeaserWidget( - actions=[ - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='enim', - en='consequatur', - ), - type=shared.WidgetActionType.JOURNEY, - url='quibusdam', - ), - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='explicabo', - en='deserunt', - ), - type=shared.WidgetActionType.JOURNEY, - url='quibusdam', - ), - ], - headline=shared.TeaserWidgetHeadline( - de='labore', - en='modi', - ), - id='269802d5-02a9-44bb-8f63-c969e9a3efa7', - left=shared.TeaserWidgetLeft( - show=False, - show_button=False, - ), - list_index=449198, - right=shared.TeaserWidgetRight( - show=False, - show_button=False, + shared.ContentWidget( + content='dolore', + headline=shared.ContentWidgetHeadline( + de='iusto', + en='dicta', ), - sub_headline=shared.TeaserWidgetSubHeadline( - de='illum', - en='maiores', + id='b5e6e13b-99d4-488e-9e91-e450ad2abd44', + list_index=183191, + sub_headline=shared.ContentWidgetSubHeadline( + de='aliquid', + en='cupiditate', ), - type=shared.TeaserWidgetType.ENTITY_WIDGET, + type=shared.ContentWidgetType.ENTITY_WIDGET, ), ], ), diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 0b0003568..ee746828b 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -75,10 +75,10 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "facere": 'ea', - "aliquid": 'laborum', - "accusamus": 'non', - "occaecati": 'enim', + "ipsam": 'alias', + "fugit": 'dolorum', + "excepturi": 'tempora', + "facilis": 'tempore', }, email='testemail921@yopmail.com', first_name='John', @@ -87,7 +87,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) @@ -127,10 +127,10 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "quidem": 'provident', - "nam": 'id', - "blanditiis": 'deleniti', - "sapiente": 'amet', + "eum": 'non', + "eligendi": 'sint', + "aliquid": 'provident', + "necessitatibus": 'sint', }, org_id='728', ), @@ -289,7 +289,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_widgets(req) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index ef8e6ec0c..c5a3af54b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: b091c825835b706213d706b485af584a + docChecksum: 956344e0f4435e6b480073731f7caa9b docVersion: 1.0.0 - speakeasyVersion: 1.69.1 - generationVersion: 2.82.0 + speakeasyVersion: 1.71.0 + generationVersion: 2.83.3 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.81.1 methodSecurity: 2.81.1 python: - version: 1.39.0 + version: 1.39.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index f5441d004..c3d88c5f0 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.39.0", + version="1.39.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/contentwidget.py b/customer_portal/src/epilot/models/shared/contentwidget.py index 4a50e6d0f..4288726f0 100755 --- a/customer_portal/src/epilot/models/shared/contentwidget.py +++ b/customer_portal/src/epilot/models/shared/contentwidget.py @@ -42,10 +42,8 @@ class ContentWidget: list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) r"""Index of the widget in the list, used for ordering (left or right)""" type: ContentWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - address: Optional[str] = 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 }}) + content: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('content'), 'exclude': lambda f: f is None }}) headline: Optional[ContentWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), '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 }}) sub_headline: Optional[ContentWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 7d76e0d2e..fa014e3ab 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.39.1' + gen_version: str = '2.83.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 19c75de91cd1cd695f79d86fb4d3e072e6828698 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 15 Aug 2023 00:28:53 +0000 Subject: [PATCH 65/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.72.0 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 2dcd38123..bdde30c5c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -420,4 +420,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.71.0 (2.83.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.39.1] customer_portal \ No newline at end of file +- [python v1.39.1] customer_portal + +## 2023-08-15 00:28:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.0] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index c5a3af54b..8011ad16c 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 956344e0f4435e6b480073731f7caa9b docVersion: 1.0.0 - speakeasyVersion: 1.71.0 - generationVersion: 2.83.3 + speakeasyVersion: 1.72.0 + generationVersion: 2.84.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -13,10 +13,10 @@ features: core: 2.82.0 deprecations: 2.81.1 globalSecurity: 2.81.1 - globalServerURLs: 2.81.1 + globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.39.1 + version: 1.40.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index c3d88c5f0..9112dfa8c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.39.1", + version="1.40.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index fa014e3ab..e483270d0 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.1' - gen_version: str = '2.83.3' + 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 2fc24f7d73d71f3f67efc240309eadba00931640 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 17 Aug 2023 00:28:30 +0000 Subject: [PATCH 66/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.73.1 --- customer_portal/RELEASES.md | 10 ++- .../docs/models/shared/actionwidgettype.md | 13 ++-- .../docs/models/shared/contentwidgettype.md | 13 ++-- .../docs/models/shared/documentwidget.md | 12 ++++ .../models/shared/documentwidgetheadline.md | 9 +++ .../shared/documentwidgetsubheadline.md | 9 +++ .../docs/models/shared/documentwidgettype.md | 12 ++++ .../docs/models/shared/entitywidgettype.md | 13 ++-- .../docs/models/shared/teaserwidgettype.md | 13 ++-- customer_portal/docs/sdks/ecpadmin/README.md | 62 ++++++++++++------- customer_portal/docs/sdks/public/README.md | 19 +++--- customer_portal/files.gen | 5 ++ customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 3 +- .../src/epilot/models/shared/actionwidget.py | 1 + .../src/epilot/models/shared/contentwidget.py | 1 + .../epilot/models/shared/documentwidget.py | 49 +++++++++++++++ .../src/epilot/models/shared/entitywidget.py | 1 + .../src/epilot/models/shared/teaserwidget.py | 1 + .../src/epilot/sdkconfiguration.py | 4 +- 21 files changed, 193 insertions(+), 67 deletions(-) create mode 100755 customer_portal/docs/models/shared/documentwidget.md create mode 100755 customer_portal/docs/models/shared/documentwidgetheadline.md create mode 100755 customer_portal/docs/models/shared/documentwidgetsubheadline.md create mode 100755 customer_portal/docs/models/shared/documentwidgettype.md create mode 100755 customer_portal/src/epilot/models/shared/documentwidget.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index bdde30c5c..c246967fc 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -428,4 +428,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.0] customer_portal \ No newline at end of file +- [python v1.40.0] customer_portal + +## 2023-08-17 00:28:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.73.1 (2.84.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.1] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidgettype.md b/customer_portal/docs/models/shared/actionwidgettype.md index 5f129a78c..f68e26910 100755 --- a/customer_portal/docs/models/shared/actionwidgettype.md +++ b/customer_portal/docs/models/shared/actionwidgettype.md @@ -3,9 +3,10 @@ ## Values -| Name | Value | -| ---------------- | ---------------- | -| `ACTION_WIDGET` | ACTION_WIDGET | -| `CONTENT_WIDGET` | CONTENT_WIDGET | -| `ENTITY_WIDGET` | ENTITY_WIDGET | -| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file +| Name | Value | +| ----------------- | ----------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | +| `DOCUMENT_WIDGET` | DOCUMENT_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidgettype.md b/customer_portal/docs/models/shared/contentwidgettype.md index 549bb6a3f..05c88ea92 100755 --- a/customer_portal/docs/models/shared/contentwidgettype.md +++ b/customer_portal/docs/models/shared/contentwidgettype.md @@ -3,9 +3,10 @@ ## Values -| Name | Value | -| ---------------- | ---------------- | -| `ACTION_WIDGET` | ACTION_WIDGET | -| `CONTENT_WIDGET` | CONTENT_WIDGET | -| `ENTITY_WIDGET` | ENTITY_WIDGET | -| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file +| Name | Value | +| ----------------- | ----------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | +| `DOCUMENT_WIDGET` | DOCUMENT_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidget.md b/customer_portal/docs/models/shared/documentwidget.md new file mode 100755 index 000000000..19eed7304 --- /dev/null +++ b/customer_portal/docs/models/shared/documentwidget.md @@ -0,0 +1,12 @@ +# DocumentWidget + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `headline` | [Optional[DocumentWidgetHeadline]](../../models/shared/documentwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[DocumentWidgetSubHeadline]](../../models/shared/documentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [DocumentWidgetType](../../models/shared/documentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidgetheadline.md b/customer_portal/docs/models/shared/documentwidgetheadline.md new file mode 100755 index 000000000..014de6f6b --- /dev/null +++ b/customer_portal/docs/models/shared/documentwidgetheadline.md @@ -0,0 +1,9 @@ +# DocumentWidgetHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidgetsubheadline.md b/customer_portal/docs/models/shared/documentwidgetsubheadline.md new file mode 100755 index 000000000..75bb88844 --- /dev/null +++ b/customer_portal/docs/models/shared/documentwidgetsubheadline.md @@ -0,0 +1,9 @@ +# DocumentWidgetSubHeadline + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidgettype.md b/customer_portal/docs/models/shared/documentwidgettype.md new file mode 100755 index 000000000..d32d9b3c0 --- /dev/null +++ b/customer_portal/docs/models/shared/documentwidgettype.md @@ -0,0 +1,12 @@ +# DocumentWidgetType + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | +| `DOCUMENT_WIDGET` | DOCUMENT_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidgettype.md b/customer_portal/docs/models/shared/entitywidgettype.md index 20c82cb80..a13f5851f 100755 --- a/customer_portal/docs/models/shared/entitywidgettype.md +++ b/customer_portal/docs/models/shared/entitywidgettype.md @@ -3,9 +3,10 @@ ## Values -| Name | Value | -| ---------------- | ---------------- | -| `ACTION_WIDGET` | ACTION_WIDGET | -| `CONTENT_WIDGET` | CONTENT_WIDGET | -| `ENTITY_WIDGET` | ENTITY_WIDGET | -| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file +| Name | Value | +| ----------------- | ----------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | +| `DOCUMENT_WIDGET` | DOCUMENT_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgettype.md b/customer_portal/docs/models/shared/teaserwidgettype.md index a36da4af6..cd89256e8 100755 --- a/customer_portal/docs/models/shared/teaserwidgettype.md +++ b/customer_portal/docs/models/shared/teaserwidgettype.md @@ -3,9 +3,10 @@ ## Values -| Name | Value | -| ---------------- | ---------------- | -| `ACTION_WIDGET` | ACTION_WIDGET | -| `CONTENT_WIDGET` | CONTENT_WIDGET | -| `ENTITY_WIDGET` | ENTITY_WIDGET | -| `TEASER_WIDGET` | TEASER_WIDGET | \ No newline at end of file +| Name | Value | +| ----------------- | ----------------- | +| `ACTION_WIDGET` | ACTION_WIDGET | +| `CONTENT_WIDGET` | CONTENT_WIDGET | +| `ENTITY_WIDGET` | ENTITY_WIDGET | +| `TEASER_WIDGET` | TEASER_WIDGET | +| `DOCUMENT_WIDGET` | DOCUMENT_WIDGET | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index a37f57789..8b9a2b34d 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -786,37 +786,53 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.ContentWidget( - content='molestiae', - headline=shared.ContentWidgetHeadline( - de='velit', - en='error', + shared.ActionWidget( + actions=[ + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='velit', + en='error', + ), + type=shared.WidgetActionType.LINK, + url='quis', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='vitae', + en='laborum', + ), + type=shared.WidgetActionType.JOURNEY, + url='enim', + ), + ], + headline=shared.ActionWidgetHeadline( + de='odit', + en='quo', ), - id='251aa52c-3f5a-4d01-9da1-ffe78f097b00', - list_index=441711, - sub_headline=shared.ContentWidgetSubHeadline( - de='ut', - en='maiores', + id='3f5ad019-da1f-4fe7-8f09-7b0074f15471', + list_index=688661, + sub_headline=shared.ActionWidgetSubHeadline( + de='enim', + en='accusamus', ), - type=shared.ContentWidgetType.ACTION_WIDGET, + type=shared.ActionWidgetType.ENTITY_WIDGET, ), - shared.ContentWidget( - content='dolore', - headline=shared.ContentWidgetHeadline( - de='iusto', - en='dicta', + shared.DocumentWidget( + headline=shared.DocumentWidgetHeadline( + de='quae', + en='ipsum', ), - id='b5e6e13b-99d4-488e-9e91-e450ad2abd44', - list_index=183191, - sub_headline=shared.ContentWidgetSubHeadline( - de='aliquid', - en='cupiditate', + id='b99d488e-1e91-4e45-8ad2-abd44269802d', + list_index=369808, + sub_headline=shared.DocumentWidgetSubHeadline( + de='alias', + en='fugit', ), - type=shared.ContentWidgetType.ENTITY_WIDGET, + type=shared.DocumentWidgetType.TEASER_WIDGET, ), ], ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurity( diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index ee746828b..6d4cc4d2c 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -75,10 +75,9 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "ipsam": 'alias', - "fugit": 'dolorum', - "excepturi": 'tempora', - "facilis": 'tempore', + "tempore": 'labore', + "delectus": 'eum', + "non": 'eligendi', }, email='testemail921@yopmail.com', first_name='John', @@ -87,7 +86,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -127,14 +126,12 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "eum": 'non', - "eligendi": 'sint', - "aliquid": 'provident', - "necessitatibus": 'sint', + "provident": 'necessitatibus', + "sint": 'officia', }, org_id='728', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_contact_count(req) @@ -250,7 +247,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_config(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 47e75594f..63d2bb334 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -73,6 +73,7 @@ src/epilot/models/shared/contentwidget.py src/epilot/models/shared/actionwidget.py src/epilot/models/shared/widgetaction.py src/epilot/models/shared/teaserwidget.py +src/epilot/models/shared/documentwidget.py src/epilot/models/shared/saveentityfile.py src/epilot/models/shared/createssouserrequest.py src/epilot/models/shared/extraschemaattributes.py @@ -310,6 +311,10 @@ docs/models/shared/teaserwidgetright.md docs/models/shared/teaserwidgetsubheadline.md docs/models/shared/teaserwidgettype.md docs/models/shared/teaserwidget.md +docs/models/shared/documentwidgetheadline.md +docs/models/shared/documentwidgetsubheadline.md +docs/models/shared/documentwidgettype.md +docs/models/shared/documentwidget.md docs/models/shared/saveentityfilefilesaccesscontrol.md docs/models/shared/saveentityfilefiless3ref.md docs/models/shared/saveentityfilefiles.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 8011ad16c..d201b17cd 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 956344e0f4435e6b480073731f7caa9b + docChecksum: 7752ca348a63d262bd676b62eb2c289d docVersion: 1.0.0 - speakeasyVersion: 1.72.0 - generationVersion: 2.84.1 + speakeasyVersion: 1.73.1 + generationVersion: 2.84.3 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.40.0 + version: 1.40.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 9112dfa8c..98f848d4c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.40.0", + version="1.40.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 585ff625f..e925f4361 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -6,6 +6,7 @@ from .createssouserrequest import * from .createuserrequest import * from .deleteentityfile import * +from .documentwidget import * from .emailtemplates import * from .entityslug import * from .entitywidget import * @@ -23,4 +24,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/actionwidget.py b/customer_portal/src/epilot/models/shared/actionwidget.py index 1cf435849..675dbb822 100755 --- a/customer_portal/src/epilot/models/shared/actionwidget.py +++ b/customer_portal/src/epilot/models/shared/actionwidget.py @@ -33,6 +33,7 @@ class ActionWidgetType(str, Enum): CONTENT_WIDGET = 'CONTENT_WIDGET' ENTITY_WIDGET = 'ENTITY_WIDGET' TEASER_WIDGET = 'TEASER_WIDGET' + DOCUMENT_WIDGET = 'DOCUMENT_WIDGET' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/models/shared/contentwidget.py b/customer_portal/src/epilot/models/shared/contentwidget.py index 4288726f0..2c09660af 100755 --- a/customer_portal/src/epilot/models/shared/contentwidget.py +++ b/customer_portal/src/epilot/models/shared/contentwidget.py @@ -32,6 +32,7 @@ class ContentWidgetType(str, Enum): CONTENT_WIDGET = 'CONTENT_WIDGET' ENTITY_WIDGET = 'ENTITY_WIDGET' TEASER_WIDGET = 'TEASER_WIDGET' + DOCUMENT_WIDGET = 'DOCUMENT_WIDGET' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/models/shared/documentwidget.py b/customer_portal/src/epilot/models/shared/documentwidget.py new file mode 100755 index 000000000..0b28cd330 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/documentwidget.py @@ -0,0 +1,49 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class DocumentWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class DocumentWidgetSubHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) + + + +class DocumentWidgetType(str, Enum): + ACTION_WIDGET = 'ACTION_WIDGET' + CONTENT_WIDGET = 'CONTENT_WIDGET' + ENTITY_WIDGET = 'ENTITY_WIDGET' + TEASER_WIDGET = 'TEASER_WIDGET' + DOCUMENT_WIDGET = 'DOCUMENT_WIDGET' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class DocumentWidget: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) + r"""Index of the widget in the list, used for ordering (left or right)""" + type: DocumentWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + headline: Optional[DocumentWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) + sub_headline: Optional[DocumentWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/entitywidget.py b/customer_portal/src/epilot/models/shared/entitywidget.py index 6697f3276..86807cead 100755 --- a/customer_portal/src/epilot/models/shared/entitywidget.py +++ b/customer_portal/src/epilot/models/shared/entitywidget.py @@ -32,6 +32,7 @@ class EntityWidgetType(str, Enum): CONTENT_WIDGET = 'CONTENT_WIDGET' ENTITY_WIDGET = 'ENTITY_WIDGET' TEASER_WIDGET = 'TEASER_WIDGET' + DOCUMENT_WIDGET = 'DOCUMENT_WIDGET' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/models/shared/teaserwidget.py b/customer_portal/src/epilot/models/shared/teaserwidget.py index 4ea168134..3aafcbc0e 100755 --- a/customer_portal/src/epilot/models/shared/teaserwidget.py +++ b/customer_portal/src/epilot/models/shared/teaserwidget.py @@ -53,6 +53,7 @@ class TeaserWidgetType(str, Enum): CONTENT_WIDGET = 'CONTENT_WIDGET' ENTITY_WIDGET = 'ENTITY_WIDGET' TEASER_WIDGET = 'TEASER_WIDGET' + DOCUMENT_WIDGET = 'DOCUMENT_WIDGET' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index e483270d0..9accfec7a 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.84.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c837e4deff2e4ec8428c7ffc2dc4bfd0da99222c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 18 Aug 2023 00:28:40 +0000 Subject: [PATCH 67/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.73.1 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 10 +- .../models/operations/getallfilesrequest.md | 9 +- .../getfilescountbyentityresponse.md | 12 + .../getfilescountbyentitysecurity.md | 8 + .../docs/models/shared/entityfilecount.md | 11 + customer_portal/docs/sdks/ecp/README.md | 105 +++++++-- customer_portal/docs/sdks/ecpadmin/README.md | 215 +++++++++++------- customer_portal/docs/sdks/public/README.md | 18 +- customer_portal/files.gen | 5 + customer_portal/gen.yaml | 4 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 34 +++ .../src/epilot/models/operations/__init__.py | 3 +- .../epilot/models/operations/getallfiles.py | 2 + .../operations/getfilescountbyentity.py | 30 +++ .../src/epilot/models/shared/__init__.py | 3 +- .../epilot/models/shared/entityfilecount.py | 24 ++ .../src/epilot/sdkconfiguration.py | 2 +- 19 files changed, 371 insertions(+), 127 deletions(-) create mode 100755 customer_portal/docs/models/operations/getfilescountbyentityresponse.md create mode 100755 customer_portal/docs/models/operations/getfilescountbyentitysecurity.md create mode 100755 customer_portal/docs/models/shared/entityfilecount.md create mode 100755 customer_portal/src/epilot/models/operations/getfilescountbyentity.py create mode 100755 customer_portal/src/epilot/models/shared/entityfilecount.py diff --git a/customer_portal/README.md b/customer_portal/README.md index e85730177..56a456a4b 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -49,6 +49,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_contract](docs/sdks/ecp/README.md#get_contract) - getContract * [get_entities_by_identifiers](docs/sdks/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers * [get_file_by_id](docs/sdks/ecp/README.md#get_file_by_id) - getFileById +* [get_files_count_by_entity](docs/sdks/ecp/README.md#get_files_count_by_entity) - getFileCountByEntity * [get_opportunity](docs/sdks/ecp/README.md#get_opportunity) - getOpportunity * [get_order](docs/sdks/ecp/README.md#get_order) - getOrder * [get_organization_settings](docs/sdks/ecp/README.md#get_organization_settings) - getOrganizationSettings diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index c246967fc..e5a50c2ad 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -436,4 +436,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.73.1 (2.84.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.1] customer_portal \ No newline at end of file +- [python v1.40.1] customer_portal + +## 2023-08-18 00:28:23 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.73.1 (2.84.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.2] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md index 816849855..3830fa6f1 100755 --- a/customer_portal/docs/models/operations/getallfilesrequest.md +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `from_` | *float* | :heavy_check_mark: | N/A | 0 | -| `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | | +| `from_` | *float* | :heavy_check_mark: | N/A | 0 | +| `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md new file mode 100755 index 000000000..4c264f27f --- /dev/null +++ b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md @@ -0,0 +1,12 @@ +# GetFilesCountByEntityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `entity_file_counts` | list[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md new file mode 100755 index 000000000..ee39ccc91 --- /dev/null +++ b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md @@ -0,0 +1,8 @@ +# GetFilesCountByEntitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityfilecount.md b/customer_portal/docs/models/shared/entityfilecount.md new file mode 100755 index 000000000..b143cb6ea --- /dev/null +++ b/customer_portal/docs/models/shared/entityfilecount.md @@ -0,0 +1,11 @@ +# EntityFileCount + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `schema` | [EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | +| `title` | *Optional[str]* | :heavy_minus_sign: | The title of the parent entity | Opportunity ABC | +| `entity_id` | *str* | :heavy_check_mark: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | +| `file_count` | *int* | :heavy_check_mark: | Number of files associated with the entity and shared with portal user | 2 | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 8231ca8d4..c6a646dae 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -17,6 +17,7 @@ APIs defined for a portal user * [get_contract](#get_contract) - getContract * [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers * [get_file_by_id](#get_file_by_id) - getFileById +* [get_files_count_by_entity](#get_files_count_by_entity) - getFileCountByEntity * [get_opportunity](#get_opportunity) - getOpportunity * [get_order](#get_order) - getOrder * [get_organization_settings](#get_organization_settings) - getOrganizationSettings @@ -191,6 +192,11 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetAllFilesRequest( + entity_ids=[ + 'distinctio', + 'quibusdam', + 'unde', + ], from_=0, size=0, ) @@ -366,9 +372,10 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "distinctio": 'quibusdam', - "unde": 'nulla', "corrupti": 'illum', + "vel": 'error', + "deserunt": 'suscipit', + "iure": 'magnam', }, slug=shared.EntitySlug.CONTACT, ) @@ -431,6 +438,39 @@ if res.get_file_by_id_200_application_json_object is not None: **[operations.GetFileByIDResponse](../../models/operations/getfilebyidresponse.md)** +## get_files_count_by_entity + +Fetch file counts for all ECP user related entities + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + + +res = s.ecp.get_files_count_by_entity(operations.GetFilesCountByEntitySecurity( + portal_auth="", +)) + +if res.entity_file_counts is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `security` | [operations.GetFilesCountByEntitySecurity](../../models/operations/getfilescountbyentitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetFilesCountByEntityResponse](../../models/operations/getfilescountbyentityresponse.md)** + + ## get_opportunity Get an opportunity by id @@ -551,7 +591,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -621,7 +661,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( @@ -696,8 +736,24 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'iure', - 'magnam', + 'suscipit', + 'molestiae', + ], + access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, + document_type='12345', + file_entity_id='12345', + filename='12345', + s3ref=shared.SaveEntityFileFilesS3ref( + bucket='12345', + key='12345', + ), + ), + shared.SaveEntityFileFiles( + tags=[ + 'voluptatum', + 'iusto', + 'excepturi', + 'nisi', ], access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, document_type='12345', @@ -710,7 +766,10 @@ req = shared.SaveEntityFile( ), shared.SaveEntityFileFiles( tags=[ - 'delectus', + 'ab', + 'quis', + 'veritatis', + 'deserunt', ], access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', @@ -723,8 +782,8 @@ req = shared.SaveEntityFile( ), shared.SaveEntityFileFiles( tags=[ - 'molestiae', - 'minus', + 'repellendus', + 'sapiente', ], access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, document_type='12345', @@ -772,9 +831,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "iusto": 'excepturi', - "nisi": 'recusandae', - "temporibus": 'ab', + "at": 'at', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -812,8 +869,10 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "veritatis": 'deserunt', - "perferendis": 'ipsam', + "molestiae": 'quod', + "quod": 'esse', + "totam": 'porro', + "dolorum": 'dicta', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -853,10 +912,9 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "sapiente": 'quo', - "odit": 'at', - "at": 'maiores', - "molestiae": 'quod', + "officia": 'occaecati', + "fugit": 'deleniti', + "hic": 'optio', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -896,10 +954,9 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "esse": 'totam', - "porro": 'dolorum', - "dicta": 'nam', - "officia": 'occaecati', + "beatae": 'commodi', + "molestiae": 'modi', + "qui": 'impedit', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -938,7 +995,9 @@ from epilot.models import operations s = epilot.Epilot() req = { - "deleniti": 'hic', + "esse": 'ipsum', + "excepturi": 'aspernatur', + "perferendis": 'ad', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 8b9a2b34d..cc4326f67 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -79,7 +79,7 @@ req = operations.CreateSSOUserRequest( first_name='John', last_name='Doe', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( @@ -116,7 +116,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.DeletePortalRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -330,7 +330,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetOrgPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( @@ -404,7 +404,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( @@ -514,9 +514,9 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'esse', - 'ipsum', - 'excepturi', + 'in', + 'corporis', + 'iste', ], file_type='orderRightTeaser', filename='12345', @@ -527,7 +527,8 @@ req = shared.SavePortalFile( ), shared.SavePortalFileFiles( tags=[ - 'perferendis', + 'saepe', + 'quidem', ], file_type='orderRightTeaser', filename='12345', @@ -538,8 +539,7 @@ req = shared.SavePortalFile( ), shared.SavePortalFileFiles( tags=[ - 'natus', - 'sed', + 'ipsa', ], file_type='orderRightTeaser', filename='12345', @@ -550,9 +550,10 @@ req = shared.SavePortalFile( ), shared.SavePortalFileFiles( tags=[ - 'dolor', - 'natus', - 'laboriosam', + 'est', + 'mollitia', + 'laborum', + 'dolores', ], file_type='orderRightTeaser', filename='12345', @@ -562,7 +563,7 @@ req = shared.SavePortalFile( ), ), ], - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -606,7 +607,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -649,22 +650,29 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='fuga', + config='explicabo', contact_identifiers=[ - 'corporis', - 'iste', + 'enim', + 'omnis', + 'nemo', + 'minima', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "quidem": 'architecto', - "ipsa": 'reiciendis', - "est": 'mollitia', - "laborum": 'dolores', + "iure": 'culpa', }, { - "corporis": 'explicabo', + "sapiente": 'architecto', + "mollitia": 'dolorem', + "culpa": 'consequuntur', + "repellat": 'mollitia', + }, + { + "numquam": 'commodi', + "quam": 'molestiae', + "velit": 'error', }, ], ), @@ -681,34 +689,10 @@ req = operations.UpsertPortalRequest( entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='enim', - en='omnis', - ), - journey_id='nemo', - slug=shared.EntitySlug.CONTACT, - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='minima', - en='excepturi', + de='quis', + en='vitae', ), - journey_id='accusantium', - slug=shared.EntitySlug.CONTACT, - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='iure', - en='culpa', - ), - journey_id='doloribus', - slug=shared.EntitySlug.CONTACT, - ), - shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='sapiente', - en='architecto', - ), - journey_id='mollitia', + journey_id='laborum', slug=shared.EntitySlug.CONTACT, ), ], @@ -716,6 +700,8 @@ req = operations.UpsertPortalRequest( type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ 'contract_number', + 'contract_number', + 'contract_number', ], is_enabled=False, ), @@ -731,11 +717,6 @@ req = operations.UpsertPortalRequest( effect=shared.GrantEffect.DENY, resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.DENY, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), ], images=shared.UpsertPortalConfigImages( order_left_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-left-teaser.jpeg', @@ -745,9 +726,9 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITHOUT_CONTACT_CREATION, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( @@ -786,49 +767,115 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.ActionWidget( + shared.TeaserWidget( actions=[ shared.WidgetAction( label=shared.WidgetActionLabel( - de='velit', - en='error', + de='aut', + en='quasi', ), - type=shared.WidgetActionType.LINK, - url='quis', + type=shared.WidgetActionType.JOURNEY, + url='temporibus', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='laborum', + en='quasi', + ), + type=shared.WidgetActionType.JOURNEY, + url='voluptatibus', ), shared.WidgetAction( label=shared.WidgetActionLabel( - de='vitae', - en='laborum', + de='vero', + en='nihil', ), type=shared.WidgetActionType.JOURNEY, - url='enim', + url='voluptatibus', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='ipsa', + en='omnis', + ), + type=shared.WidgetActionType.LINK, + url='cum', ), ], - headline=shared.ActionWidgetHeadline( - de='odit', - en='quo', + headline=shared.TeaserWidgetHeadline( + de='perferendis', + en='doloremque', + ), + id='74f15471-b5e6-4e13-b99d-488e1e91e450', + left=shared.TeaserWidgetLeft( + show=False, + show_button=False, ), - id='3f5ad019-da1f-4fe7-8f09-7b0074f15471', - list_index=688661, - sub_headline=shared.ActionWidgetSubHeadline( - de='enim', - en='accusamus', + list_index=667411, + right=shared.TeaserWidgetRight( + show=False, + show_button=False, ), - type=shared.ActionWidgetType.ENTITY_WIDGET, + sub_headline=shared.TeaserWidgetSubHeadline( + de='quibusdam', + en='explicabo', + ), + type=shared.TeaserWidgetType.TEASER_WIDGET, ), - shared.DocumentWidget( - headline=shared.DocumentWidgetHeadline( - de='quae', - en='ipsum', + shared.TeaserWidget( + actions=[ + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='labore', + en='modi', + ), + type=shared.WidgetActionType.LINK, + url='aliquid', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='cupiditate', + en='quos', + ), + type=shared.WidgetActionType.LINK, + url='magni', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='assumenda', + en='ipsam', + ), + type=shared.WidgetActionType.LINK, + url='fugit', + ), + shared.WidgetAction( + label=shared.WidgetActionLabel( + de='dolorum', + en='excepturi', + ), + type=shared.WidgetActionType.LINK, + url='facilis', + ), + ], + headline=shared.TeaserWidgetHeadline( + de='tempore', + en='labore', + ), + id='f63c969e-9a3e-4fa7-bdfb-14cd66ae395e', + left=shared.TeaserWidgetLeft( + show=False, + show_button=False, + ), + list_index=965417, + right=shared.TeaserWidgetRight( + show=False, + show_button=False, ), - id='b99d488e-1e91-4e45-8ad2-abd44269802d', - list_index=369808, - sub_headline=shared.DocumentWidgetSubHeadline( - de='alias', - en='fugit', + sub_headline=shared.TeaserWidgetSubHeadline( + de='quidem', + en='provident', ), - type=shared.DocumentWidgetType.TEASER_WIDGET, + type=shared.TeaserWidgetType.TEASER_WIDGET, ), ], ), diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 6d4cc4d2c..c149e4f27 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -34,7 +34,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,9 +75,9 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "tempore": 'labore', - "delectus": 'eum', - "non": 'eligendi', + "sapiente": 'amet', + "deserunt": 'nisi', + "vel": 'natus', }, email='testemail921@yopmail.com', first_name='John', @@ -126,12 +126,12 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "provident": 'necessitatibus', - "sint": 'officia', + "perferendis": 'nihil', + "magnam": 'distinctio', }, org_id='728', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_contact_count(req) @@ -247,7 +247,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_config(req) @@ -286,7 +286,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_widgets(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 63d2bb334..1e1a231c0 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -22,6 +22,7 @@ src/epilot/models/operations/getcontact.py src/epilot/models/operations/getcontract.py src/epilot/models/operations/getentitiesbyidentifiers.py src/epilot/models/operations/getfilebyid.py +src/epilot/models/operations/getfilescountbyentity.py src/epilot/models/operations/getopportunity.py src/epilot/models/operations/getorder.py src/epilot/models/operations/getorganizationsettings.py @@ -62,6 +63,7 @@ src/epilot/models/operations/__init__.py src/epilot/models/shared/errorresp.py src/epilot/models/shared/entityslug.py src/epilot/models/shared/deleteentityfile.py +src/epilot/models/shared/entityfilecount.py src/epilot/models/shared/organizationsettings.py src/epilot/models/shared/portalconfig.py src/epilot/models/shared/origin.py @@ -128,6 +130,8 @@ docs/models/operations/getfilebyidsecurity.md docs/models/operations/getfilebyidrequest.md docs/models/operations/getfilebyid200applicationjson.md docs/models/operations/getfilebyidresponse.md +docs/models/operations/getfilescountbyentitysecurity.md +docs/models/operations/getfilescountbyentityresponse.md docs/models/operations/getopportunitysecurity.md docs/models/operations/getopportunityrequest.md docs/models/operations/getopportunity200applicationjson.md @@ -253,6 +257,7 @@ docs/models/operations/userexistsresponse.md docs/models/shared/errorresp.md docs/models/shared/entityslug.md docs/models/shared/deleteentityfile.md +docs/models/shared/entityfilecount.md docs/models/shared/organizationsettingsautomationentitymapping.md docs/models/shared/organizationsettingsautomationpreview.md docs/models/shared/organizationsettingscentralinboxpreviewsetting.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d201b17cd..cc9bae415 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 7752ca348a63d262bd676b62eb2c289d + docChecksum: 790f689140ae6bf641c65a7f165f21fa docVersion: 1.0.0 speakeasyVersion: 1.73.1 generationVersion: 2.84.3 @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.40.1 + version: 1.40.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 98f848d4c..1684c2a0b 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.40.1", + version="1.40.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index a46c1ac8a..c2a4f3e0f 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -398,6 +398,40 @@ def get_file_by_id(self, request: operations.GetFileByIDRequest, security: opera return res + def get_files_count_by_entity(self, security: operations.GetFilesCountByEntitySecurity) -> operations.GetFilesCountByEntityResponse: + r"""getFileCountByEntity + Fetch file counts for all ECP user related entities + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/user/files/count-by-entity' + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetFilesCountByEntityResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[list[shared.EntityFileCount]]) + res.entity_file_counts = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_opportunity(self, request: operations.GetOpportunityRequest, security: operations.GetOpportunitySecurity) -> operations.GetOpportunityResponse: r"""getOpportunity Get an opportunity by id diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 455d56c57..1c3aa645d 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -23,6 +23,7 @@ from .getentitiesbyidentifiers import * from .getentityidentifiers import * from .getfilebyid import * +from .getfilescountbyentity import * from .getopportunity import * from .getorder import * from .getorganizationsettings import * @@ -48,4 +49,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getallfiles.py b/customer_portal/src/epilot/models/operations/getallfiles.py index df45c0c15..ae631583a 100755 --- a/customer_portal/src/epilot/models/operations/getallfiles.py +++ b/customer_portal/src/epilot/models/operations/getallfiles.py @@ -22,6 +22,8 @@ class GetAllFilesSecurity: class GetAllFilesRequest: from_: float = dataclasses.field(metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) size: float = dataclasses.field(metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + entity_ids: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_ids', 'style': 'form', 'explode': True }}) + r"""List of entity ids to filter the results""" diff --git a/customer_portal/src/epilot/models/operations/getfilescountbyentity.py b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py new file mode 100755 index 000000000..12a455f0c --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py @@ -0,0 +1,30 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import entityfilecount as shared_entityfilecount +from ..shared import errorresp as shared_errorresp +from typing import Optional + + + +@dataclasses.dataclass +class GetFilesCountByEntitySecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class GetFilesCountByEntityResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + entity_file_counts: Optional[list[shared_entityfilecount.EntityFileCount]] = dataclasses.field(default=None) + r"""The file counts have been fetched successfully.""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index e925f4361..55f1a029b 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -8,6 +8,7 @@ from .deleteentityfile import * from .documentwidget import * from .emailtemplates import * +from .entityfilecount import * from .entityslug import * from .entitywidget import * from .errorresp import * @@ -24,4 +25,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/entityfilecount.py b/customer_portal/src/epilot/models/shared/entityfilecount.py new file mode 100755 index 000000000..de27890bc --- /dev/null +++ b/customer_portal/src/epilot/models/shared/entityfilecount.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from ..shared import entityslug as shared_entityslug +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class EntityFileCount: + schema: shared_entityslug.EntitySlug = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + r"""URL-friendly identifier for the entity schema""" + entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) + r"""The ID of the parent entity""" + file_count: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_count') }}) + r"""Number of files associated with the entity and shared with portal user""" + title: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title'), 'exclude': lambda f: f is None }}) + r"""The title of the parent entity""" + + diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 9accfec7a..a490f27dd 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -17,7 +17,7 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.40.1' + sdk_version: str = '1.40.2' gen_version: str = '2.84.3' def get_server_details(self) -> tuple[str, dict[str, str]]: From c354119a470f709f18c42dcecf6557f51b16322f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 19 Aug 2023 00:27:25 +0000 Subject: [PATCH 68/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.3 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- customer_portal/src/epilot/utils/utils.py | 4 ++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index e5a50c2ad..ee13817f5 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -444,4 +444,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.73.1 (2.84.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.2] customer_portal \ No newline at end of file +- [python v1.40.2] customer_portal + +## 2023-08-19 00:27:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.3] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index cc9bae415..1509d4181 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 790f689140ae6bf641c65a7f165f21fa docVersion: 1.0.0 - speakeasyVersion: 1.73.1 - generationVersion: 2.84.3 + 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.40.2 + version: 1.40.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 1684c2a0b..98db51c35 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.40.2", + version="1.40.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index a490f27dd..2d617a9da 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.84.3' + sdk_version: str = '1.40.3' + gen_version: str = '2.86.6' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 3456af651..ea9792d0d 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 b2b2b087fb7e42c08c2b37016cd7fd0b0d7d6f12 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 26 Aug 2023 00:27:56 +0000 Subject: [PATCH 69/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.15 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ee13817f5..4ec29052c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -452,4 +452,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.3] customer_portal \ No newline at end of file +- [python v1.40.3] customer_portal + +## 2023-08-26 00:27:39 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.0] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 1509d4181..3d649ccf0 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 790f689140ae6bf641c65a7f165f21fa docVersion: 1.0.0 - speakeasyVersion: 1.74.3 - generationVersion: 2.86.6 + speakeasyVersion: 1.74.15 + generationVersion: 2.88.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.1 + core: 2.83.1 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.40.3 + version: 1.41.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 98db51c35..5d5f67ee0 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.40.3", + version="1.41.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 2d617a9da..d78c87d82 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.3' - gen_version: str = '2.86.6' + 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 af2b8c078fb652d2bf429489ce7322b9b9cff095 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 29 Aug 2023 00:29:44 +0000 Subject: [PATCH 70/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.17 --- customer_portal/RELEASES.md | 10 +- .../models/operations/userexistsrequest.md | 9 +- .../docs/models/shared/widgetaction.md | 11 +- customer_portal/docs/sdks/ecpadmin/README.md | 104 ++++++------------ customer_portal/docs/sdks/public/README.md | 19 ++-- customer_portal/gen.yaml | 10 +- customer_portal/pylintrc | 2 +- customer_portal/setup.py | 2 +- .../epilot/models/operations/userexists.py | 3 + .../src/epilot/models/shared/widgetaction.py | 3 +- .../src/epilot/sdkconfiguration.py | 4 +- 11 files changed, 77 insertions(+), 100 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 4ec29052c..52eacdcf7 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -460,4 +460,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.0] customer_portal \ No newline at end of file +- [python v1.41.0] customer_portal + +## 2023-08-29 00:29:23 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.1] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md index 66373fb5d..b3c006e85 100755 --- a/customer_portal/docs/models/operations/userexistsrequest.md +++ b/customer_portal/docs/models/operations/userexistsrequest.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *str* | :heavy_check_mark: | N/A | user@example.com | -| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `email` | *str* | :heavy_check_mark: | N/A | user@example.com | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Checkes if user exists in the given portal origin. If not provided, checks in all origins. | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md index 32667f854..291b8f3ca 100755 --- a/customer_portal/docs/models/shared/widgetaction.md +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -3,8 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | -| `type` | [Optional[WidgetActionType]](../../models/shared/widgetactiontype.md) | :heavy_minus_sign: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `type` | [WidgetActionType](../../models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index cc4326f67..6f6fbea59 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -770,112 +770,74 @@ req = operations.UpsertPortalWidgetRequest( shared.TeaserWidget( actions=[ shared.WidgetAction( + id='019da1ff-e78f-4097-b007-4f15471b5e6e', label=shared.WidgetActionLabel( - de='aut', - en='quasi', + de='quae', + en='ipsum', ), type=shared.WidgetActionType.JOURNEY, - url='temporibus', + url='molestias', ), shared.WidgetAction( + id='9d488e1e-91e4-450a-92ab-d44269802d50', label=shared.WidgetActionLabel( - de='laborum', - en='quasi', + de='fugit', + en='dolorum', ), type=shared.WidgetActionType.JOURNEY, - url='voluptatibus', + url='tempora', ), shared.WidgetAction( + id='bb4f63c9-69e9-4a3e-ba77-dfb14cd66ae3', label=shared.WidgetActionLabel( - de='vero', - en='nihil', + de='occaecati', + en='enim', ), type=shared.WidgetActionType.JOURNEY, - url='voluptatibus', + url='delectus', ), shared.WidgetAction( + id='b9ba88f3-a669-4970-b4ba-4469b6e21419', label=shared.WidgetActionLabel( - de='ipsa', - en='omnis', + de='ullam', + en='provident', ), - type=shared.WidgetActionType.LINK, - url='cum', + type=shared.WidgetActionType.JOURNEY, + url='sint', ), ], headline=shared.TeaserWidgetHeadline( - de='perferendis', - en='doloremque', + de='accusantium', + en='mollitia', ), - id='74f15471-b5e6-4e13-b99d-488e1e91e450', + id='fa563e25-16fe-44c8-b711-e5b7fd2ed028', left=shared.TeaserWidgetLeft( show=False, show_button=False, ), - list_index=667411, + list_index=615560, right=shared.TeaserWidgetRight( show=False, show_button=False, ), sub_headline=shared.TeaserWidgetSubHeadline( - de='quibusdam', - en='explicabo', + de='magni', + en='sunt', ), type=shared.TeaserWidgetType.TEASER_WIDGET, ), - shared.TeaserWidget( - actions=[ - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='labore', - en='modi', - ), - type=shared.WidgetActionType.LINK, - url='aliquid', - ), - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='cupiditate', - en='quos', - ), - type=shared.WidgetActionType.LINK, - url='magni', - ), - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='assumenda', - en='ipsam', - ), - type=shared.WidgetActionType.LINK, - url='fugit', - ), - shared.WidgetAction( - label=shared.WidgetActionLabel( - de='dolorum', - en='excepturi', - ), - type=shared.WidgetActionType.LINK, - url='facilis', - ), - ], - headline=shared.TeaserWidgetHeadline( - de='tempore', - en='labore', + shared.DocumentWidget( + headline=shared.DocumentWidgetHeadline( + de='pariatur', + en='maxime', ), - id='f63c969e-9a3e-4fa7-bdfb-14cd66ae395e', - left=shared.TeaserWidgetLeft( - show=False, - show_button=False, + id='692601fb-576b-40d5-b0d3-0c5fbb258705', + list_index=199996, + sub_headline=shared.DocumentWidgetSubHeadline( + de='eos', + en='perferendis', ), - list_index=965417, - right=shared.TeaserWidgetRight( - show=False, - show_button=False, - ), - sub_headline=shared.TeaserWidgetSubHeadline( - de='quidem', - en='provident', - ), - type=shared.TeaserWidgetType.TEASER_WIDGET, + type=shared.DocumentWidgetType.ACTION_WIDGET, ), ], ), diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index c149e4f27..3385f4c99 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -34,7 +34,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,9 +75,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "sapiente": 'amet', - "deserunt": 'nisi', - "vel": 'natus', + "vero": 'nostrum', }, email='testemail921@yopmail.com', first_name='John', @@ -126,12 +124,14 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "perferendis": 'nihil', - "magnam": 'distinctio', + "omnis": 'facilis', + "perspiciatis": 'voluptatem', + "porro": 'consequuntur', + "blanditiis": 'error', }, org_id='728', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_contact_count(req) @@ -247,7 +247,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_config(req) @@ -286,7 +286,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_widgets(req) @@ -326,6 +326,7 @@ s = epilot.Epilot( req = operations.UserExistsRequest( email='user@example.com', org_id='123', + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.user_exists(req) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 3d649ccf0..2e995b1a5 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,22 +1,22 @@ configVersion: 1.0.0 management: - docChecksum: 790f689140ae6bf641c65a7f165f21fa + docChecksum: b3d2bc4297bdadc79cb0cf327f54275c 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.41.0 + version: 1.41.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/pylintrc b/customer_portal/pylintrc index 5a4935ab7..2442b9d91 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/pylintrc @@ -623,7 +623,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/customer_portal/setup.py b/customer_portal/setup.py index 5d5f67ee0..a9b94d7ec 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.41.0", + version="1.41.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index 5ea8ad56a..83a1a7ba9 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -4,6 +4,7 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -14,6 +15,8 @@ class UserExistsRequest: email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) + r"""Checkes if user exists in the given portal origin. If not provided, checks in all origins.""" diff --git a/customer_portal/src/epilot/models/shared/widgetaction.py b/customer_portal/src/epilot/models/shared/widgetaction.py index 4dfeef68e..378d40329 100755 --- a/customer_portal/src/epilot/models/shared/widgetaction.py +++ b/customer_portal/src/epilot/models/shared/widgetaction.py @@ -26,8 +26,9 @@ class WidgetActionType(str, Enum): @dataclasses.dataclass class WidgetAction: + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) label: WidgetActionLabel = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) + type: WidgetActionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) url: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('url') }}) - type: Optional[WidgetActionType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index d78c87d82..099629cb1 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 64522004bf64562040584024fae12e44f78c16cc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 31 Aug 2023 00:29:46 +0000 Subject: [PATCH 71/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.76.0 --- customer_portal/.gitattributes | 2 ++ customer_portal/RELEASES.md | 10 +++++++++- customer_portal/files.gen | 3 ++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 20 insertions(+), 9 deletions(-) create mode 100755 customer_portal/.gitattributes diff --git a/customer_portal/.gitattributes b/customer_portal/.gitattributes new file mode 100755 index 000000000..4d75d5900 --- /dev/null +++ b/customer_portal/.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/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 52eacdcf7..073fd7fd1 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -468,4 +468,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.1] customer_portal \ No newline at end of file +- [python v1.41.1] customer_portal + +## 2023-08-31 00:29:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.76.0 (2.89.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.42.0] customer_portal \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 1e1a231c0..0114d9a65 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -340,4 +340,5 @@ docs/models/shared/upsertportalconfigselfregistrationsetting.md docs/models/shared/upsertportalconfig.md docs/models/shared/createuserrequest.md docs/models/shared/contactcountrequest.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/customer_portal/gen.yaml b/customer_portal/gen.yaml index 2e995b1a5..2f75602f5 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: b3d2bc4297bdadc79cb0cf327f54275c docVersion: 1.0.0 - speakeasyVersion: 1.74.17 - generationVersion: 2.88.5 + speakeasyVersion: 1.76.0 + generationVersion: 2.89.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.83.2 + core: 2.84.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.41.1 + version: 1.42.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index a9b94d7ec..773bbdf1c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.41.1", + version="1.42.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 099629cb1..ea172d65a 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 e484d81ea04f96407cef74b60f581f3e6be710c2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 1 Sep 2023 00:31:54 +0000 Subject: [PATCH 72/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.0 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 073fd7fd1..ba30477ae 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -476,4 +476,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.76.0 (2.89.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.42.0] customer_portal \ No newline at end of file +- [python v1.42.0] customer_portal + +## 2023-09-01 00:31:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.0] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 2f75602f5..dc1d5d7f8 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: b3d2bc4297bdadc79cb0cf327f54275c docVersion: 1.0.0 - speakeasyVersion: 1.76.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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.42.0 + version: 1.43.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 773bbdf1c..40e386d68 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.42.0", + version="1.43.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index ea172d65a..65cb878b8 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 1e367215ae665461afd961acd31c87bbbcf22420 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 2 Sep 2023 00:28:24 +0000 Subject: [PATCH 73/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.2 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ba30477ae..f1aad1357 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -484,4 +484,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.0] customer_portal \ No newline at end of file +- [python v1.43.0] customer_portal + +## 2023-09-02 00:28:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.1] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index dc1d5d7f8..aa92e9e2e 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: b3d2bc4297bdadc79cb0cf327f54275c 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.0 + version: 1.43.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 40e386d68..2ec1b2112 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.0", + version="1.43.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 65cb878b8..9db57922d 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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 1673385f3440cfa455fa8a7bef1d90165e8c1548 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 5 Sep 2023 00:29:14 +0000 Subject: [PATCH 74/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.78.3 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 4 ++-- customer_portal/src/epilot/utils/utils.py | 19 +++++++++++-------- 5 files changed, 27 insertions(+), 16 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index f1aad1357..bcbf9b0b3 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -492,4 +492,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.1] customer_portal \ No newline at end of file +- [python v1.43.1] customer_portal + +## 2023-09-05 00:28:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.2] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index aa92e9e2e..49d689e48 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: b3d2bc4297bdadc79cb0cf327f54275c 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.1 + version: 1.43.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 2ec1b2112..74ff02b61 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.1", + version="1.43.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 9db57922d..bb331a346 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index ea9792d0d..c91b0c049 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 2d5129218ce0355b04d2093e5a0fe48565ae0dd2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 6 Sep 2023 00:29:45 +0000 Subject: [PATCH 75/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.78.8 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/docs/models/shared/portalconfig.md | 1 + .../models/shared/portalconfigfeaturesettings.md | 10 ++++++++++ .../docs/models/shared/upsertportalconfig.md | 1 + .../shared/upsertportalconfigfeaturesettings.md | 10 ++++++++++ customer_portal/docs/sdks/ecpadmin/README.md | 3 +++ customer_portal/files.gen | 2 ++ customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 13 +++++++++++++ .../src/epilot/models/shared/upsertportalconfig.py | 13 +++++++++++++ customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 13 files changed, 70 insertions(+), 9 deletions(-) create mode 100755 customer_portal/docs/models/shared/portalconfigfeaturesettings.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index bcbf9b0b3..74c38af8c 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -500,4 +500,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.2] customer_portal \ No newline at end of file +- [python v1.43.2] customer_portal + +## 2023-09-06 00:29:27 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.78.8 (2.96.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.3] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 79b2c40f1..ba6d4f8c3 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -18,6 +18,7 @@ Portal config retrieved successfully. | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | | `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | | `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[PortalConfigFeatureSettings]](../../models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | | `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | | `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | diff --git a/customer_portal/docs/models/shared/portalconfigfeaturesettings.md b/customer_portal/docs/models/shared/portalconfigfeaturesettings.md new file mode 100755 index 000000000..f5907ff4a --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigfeaturesettings.md @@ -0,0 +1,10 @@ +# PortalConfigFeatureSettings + +Feature settings for the portal + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `start_page` | *Optional[bool]* | :heavy_minus_sign: | Start page feature flag | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index eade61db5..4a8a4e38e 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -18,6 +18,7 @@ Portal payload | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | | `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | | `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[UpsertPortalConfigFeatureSettings]](../../models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | | `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | diff --git a/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md b/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md new file mode 100755 index 000000000..9a7b2d0a9 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigFeatureSettings + +Feature settings for the portal + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `start_page` | *Optional[bool]* | :heavy_minus_sign: | Start page feature flag | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 6f6fbea59..b202c2591 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -706,6 +706,9 @@ req = operations.UpsertPortalRequest( is_enabled=False, ), ), + feature_settings=shared.UpsertPortalConfigFeatureSettings( + start_page=False, + ), grants=[ shared.Grant( action='entity-read', diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 0114d9a65..e42b702ad 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -284,6 +284,7 @@ docs/models/shared/portalconfigentityactionsactionlabel.md docs/models/shared/portalconfigentityactions.md docs/models/shared/portalconfigentityidentifierstype.md docs/models/shared/portalconfigentityidentifiers.md +docs/models/shared/portalconfigfeaturesettings.md docs/models/shared/portalconfigimages.md docs/models/shared/portalconfigorgsettingscanary.md docs/models/shared/portalconfigorgsettingsreleasecandidate.md @@ -335,6 +336,7 @@ docs/models/shared/upsertportalconfigentityactionsactionlabel.md docs/models/shared/upsertportalconfigentityactions.md docs/models/shared/upsertportalconfigentityidentifierstype.md docs/models/shared/upsertportalconfigentityidentifiers.md +docs/models/shared/upsertportalconfigfeaturesettings.md docs/models/shared/upsertportalconfigimages.md docs/models/shared/upsertportalconfigselfregistrationsetting.md docs/models/shared/upsertportalconfig.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 49d689e48..d692f0576 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: b3d2bc4297bdadc79cb0cf327f54275c + docChecksum: c5f9f5a4cf2b56624b5b709c10c423bc docVersion: 1.0.0 - speakeasyVersion: 1.78.3 - generationVersion: 2.96.3 + speakeasyVersion: 1.78.8 + generationVersion: 2.96.6 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.2 + version: 1.43.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 74ff02b61..06f709f76 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.2", + version="1.43.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 55f1a029b..9d43dc328 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -25,4 +25,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index f7556af07..09444b4f5 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -82,6 +82,17 @@ class PortalConfigEntityIdentifiers: +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class PortalConfigFeatureSettings: + r"""Feature settings for the portal""" + start_page: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_page'), 'exclude': lambda f: f is None }}) + r"""Start page feature flag""" + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass @@ -167,6 +178,8 @@ class PortalConfig: r"""Journey actions allowed on an entity by a portal user""" entity_identifiers: Optional[PortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" + feature_settings: Optional[PortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) + r"""Feature settings for the portal""" grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) r"""Permissions granted to a portal user while accessing entities""" id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 7ca7e4fc5..348e7311e 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -81,6 +81,17 @@ class UpsertPortalConfigEntityIdentifiers: +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class UpsertPortalConfigFeatureSettings: + r"""Feature settings for the portal""" + start_page: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_page'), 'exclude': lambda f: f is None }}) + r"""Start page feature flag""" + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass @@ -131,6 +142,8 @@ class UpsertPortalConfig: r"""Journey actions allowed on an entity by a portal user""" entity_identifiers: Optional[UpsertPortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" + feature_settings: Optional[UpsertPortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) + r"""Feature settings for the portal""" grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) r"""Permissions granted to a portal user while accessing entities""" images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index bb331a346..2f6898b04 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.2' - gen_version: str = '2.96.3' + sdk_version: str = '1.43.3' + gen_version: str = '2.96.6' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d76cb0f88cc0a4d27fd1850503872d6ffbc31086 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 12 Sep 2023 00:28:28 +0000 Subject: [PATCH 76/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.82.5 --- customer_portal/RELEASES.md | 10 +- .../docs/models/shared/contactcountrequest.md | 2 - .../models/shared/createssouserrequest.md | 2 - .../docs/models/shared/createuserrequest.md | 2 - .../docs/models/shared/deleteentityfile.md | 2 - .../docs/models/shared/errorresp.md | 2 - .../docs/models/shared/portalconfig.md | 2 - .../docs/models/shared/saveentityfile.md | 2 - .../docs/models/shared/saveportalfile.md | 2 - .../docs/models/shared/upsertportalconfig.md | 2 - .../docs/models/shared/upsertportalwidget.md | 2 - customer_portal/docs/sdks/ecp/README.md | 81 +-------- customer_portal/docs/sdks/ecpadmin/README.md | 168 +++--------------- customer_portal/docs/sdks/public/README.md | 15 +- customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 2 +- .../models/shared/contactcountrequest.py | 1 - .../models/shared/createssouserrequest.py | 1 - .../epilot/models/shared/createuserrequest.py | 1 - .../epilot/models/shared/deleteentityfile.py | 1 - .../src/epilot/models/shared/errorresp.py | 1 - .../src/epilot/models/shared/portalconfig.py | 1 - .../epilot/models/shared/saveentityfile.py | 1 - .../epilot/models/shared/saveportalfile.py | 1 - .../models/shared/upsertportalconfig.py | 1 - .../models/shared/upsertportalwidget.py | 1 - customer_portal/src/epilot/sdk.py | 9 +- .../src/epilot/sdkconfiguration.py | 7 +- customer_portal/src/epilot/utils/utils.py | 33 +++- 29 files changed, 97 insertions(+), 266 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 74c38af8c..d8a47b3ae 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -508,4 +508,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.78.8 (2.96.6) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.3] customer_portal \ No newline at end of file +- [python v1.43.3] customer_portal + +## 2023-09-12 00:28:11 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.4] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md index 58d5b1d44..6e99709b9 100755 --- a/customer_portal/docs/models/shared/contactcountrequest.md +++ b/customer_portal/docs/models/shared/contactcountrequest.md @@ -1,7 +1,5 @@ # ContactCountRequest -Request payload - ## Fields diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md index d51f93c2f..13cbc11ac 100755 --- a/customer_portal/docs/models/shared/createssouserrequest.md +++ b/customer_portal/docs/models/shared/createssouserrequest.md @@ -1,7 +1,5 @@ # CreateSSOUserRequest -Portal user payload - ## Fields diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md index ddaf08a43..d908f12c1 100755 --- a/customer_portal/docs/models/shared/createuserrequest.md +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -1,7 +1,5 @@ # CreateUserRequest -Portal user payload - ## Fields diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md index cb46b6a1b..67757fab3 100755 --- a/customer_portal/docs/models/shared/deleteentityfile.md +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -1,7 +1,5 @@ # DeleteEntityFile -Delete file - ## Fields diff --git a/customer_portal/docs/models/shared/errorresp.md b/customer_portal/docs/models/shared/errorresp.md index 4734ab37f..376d59b43 100755 --- a/customer_portal/docs/models/shared/errorresp.md +++ b/customer_portal/docs/models/shared/errorresp.md @@ -1,7 +1,5 @@ # ErrorResp -Could not authenticate the user - ## Fields diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index ba6d4f8c3..ee24b7372 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -1,7 +1,5 @@ # PortalConfig -Portal config retrieved successfully. - ## Fields diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md index 78b342bdf..ca1d86abd 100755 --- a/customer_portal/docs/models/shared/saveentityfile.md +++ b/customer_portal/docs/models/shared/saveentityfile.md @@ -1,7 +1,5 @@ # SaveEntityFile -The request of an file entity - ## Fields diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md index 942057e58..6cb85b3f7 100755 --- a/customer_portal/docs/models/shared/saveportalfile.md +++ b/customer_portal/docs/models/shared/saveportalfile.md @@ -1,7 +1,5 @@ # SavePortalFile -portal files request - ## Fields diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 4a8a4e38e..04db51252 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -1,7 +1,5 @@ # UpsertPortalConfig -Portal payload - ## Fields diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 78484ebca..3b16bab35 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -1,7 +1,5 @@ # UpsertPortalWidget -Retrieved the portal public widgets successfully. - ## Fields diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index c6a646dae..69ead3cce 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -87,8 +87,6 @@ req = shared.DeleteEntityFile( entity_type='order', file_entity_ids=[ '12345', - '12345', - '12345', ], ) @@ -193,9 +191,7 @@ s = epilot.Epilot() req = operations.GetAllFilesRequest( entity_ids=[ - 'distinctio', - 'quibusdam', - 'unde', + 'corrupti', ], from_=0, size=0, @@ -372,10 +368,7 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "corrupti": 'illum', - "vel": 'error', - "deserunt": 'suscipit', - "iure": 'magnam', + "provident": 'distinctio', }, slug=shared.EntitySlug.CONTACT, ) @@ -661,7 +654,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( @@ -736,54 +729,7 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'suscipit', - 'molestiae', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SaveEntityFileFiles( - tags=[ - 'voluptatum', - 'iusto', - 'excepturi', - 'nisi', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SaveEntityFileFiles( - tags=[ - 'ab', - 'quis', - 'veritatis', - 'deserunt', - ], - access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, - document_type='12345', - file_entity_id='12345', - filename='12345', - s3ref=shared.SaveEntityFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SaveEntityFileFiles( - tags=[ - 'repellendus', - 'sapiente', + 'nulla', ], access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, document_type='12345', @@ -831,7 +777,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "at": 'at', + "illum": 'vel', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -869,10 +815,7 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "molestiae": 'quod', - "quod": 'esse', - "totam": 'porro', - "dolorum": 'dicta', + "error": 'deserunt', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -912,9 +855,7 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "officia": 'occaecati', - "fugit": 'deleniti', - "hic": 'optio', + "suscipit": 'iure', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -954,9 +895,7 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "beatae": 'commodi', - "molestiae": 'modi', - "qui": 'impedit', + "magnam": 'debitis', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -995,9 +934,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "esse": 'ipsum', - "excepturi": 'aspernatur', - "perferendis": 'ad', + "ipsa": 'delectus', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index b202c2591..a6f508768 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -37,7 +37,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.ConfigureDistributionRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( @@ -116,7 +116,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.DeletePortalRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -256,7 +256,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetEmailTemplatesRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( @@ -367,7 +367,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -404,7 +404,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( @@ -514,46 +514,7 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'in', - 'corporis', - 'iste', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'saepe', - 'quidem', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'ipsa', - ], - file_type='orderRightTeaser', - filename='12345', - s3ref=shared.SavePortalFileFilesS3ref( - bucket='12345', - key='12345', - ), - ), - shared.SavePortalFileFiles( - tags=[ - 'est', - 'mollitia', - 'laborum', - 'dolores', + 'excepturi', ], file_type='orderRightTeaser', filename='12345', @@ -607,7 +568,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -650,29 +611,15 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='explicabo', + config='temporibus', contact_identifiers=[ - 'enim', - 'omnis', - 'nemo', - 'minima', + 'ab', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "iure": 'culpa', - }, - { - "sapiente": 'architecto', - "mollitia": 'dolorem', - "culpa": 'consequuntur', - "repellat": 'mollitia', - }, - { - "numquam": 'commodi', - "quam": 'molestiae', - "velit": 'error', + "quis": 'veritatis', }, ], ), @@ -689,10 +636,10 @@ req = operations.UpsertPortalRequest( entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='quis', - en='vitae', + de='deserunt', + en='perferendis', ), - journey_id='laborum', + journey_id='ipsam', slug=shared.EntitySlug.CONTACT, ), ], @@ -700,8 +647,6 @@ req = operations.UpsertPortalRequest( type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ 'contract_number', - 'contract_number', - 'contract_number', ], is_enabled=False, ), @@ -710,11 +655,6 @@ req = operations.UpsertPortalRequest( start_page=False, ), grants=[ - shared.Grant( - action='entity-read', - effect=shared.GrantEffect.ALLOW, - resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', - ), shared.Grant( action='entity-read', effect=shared.GrantEffect.DENY, @@ -729,7 +669,7 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.DENY, ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -770,77 +710,19 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.TeaserWidget( - actions=[ - shared.WidgetAction( - id='019da1ff-e78f-4097-b007-4f15471b5e6e', - label=shared.WidgetActionLabel( - de='quae', - en='ipsum', - ), - type=shared.WidgetActionType.JOURNEY, - url='molestias', - ), - shared.WidgetAction( - id='9d488e1e-91e4-450a-92ab-d44269802d50', - label=shared.WidgetActionLabel( - de='fugit', - en='dolorum', - ), - type=shared.WidgetActionType.JOURNEY, - url='tempora', - ), - shared.WidgetAction( - id='bb4f63c9-69e9-4a3e-ba77-dfb14cd66ae3', - label=shared.WidgetActionLabel( - de='occaecati', - en='enim', - ), - type=shared.WidgetActionType.JOURNEY, - url='delectus', - ), - shared.WidgetAction( - id='b9ba88f3-a669-4970-b4ba-4469b6e21419', - label=shared.WidgetActionLabel( - de='ullam', - en='provident', - ), - type=shared.WidgetActionType.JOURNEY, - url='sint', - ), - ], - headline=shared.TeaserWidgetHeadline( - de='accusantium', - en='mollitia', - ), - id='fa563e25-16fe-44c8-b711-e5b7fd2ed028', - left=shared.TeaserWidgetLeft( - show=False, - show_button=False, - ), - list_index=615560, - right=shared.TeaserWidgetRight( - show=False, - show_button=False, - ), - sub_headline=shared.TeaserWidgetSubHeadline( - de='magni', - en='sunt', + shared.EntityWidget( + headline=shared.EntityWidgetHeadline( + de='at', + en='at', ), - type=shared.TeaserWidgetType.TEASER_WIDGET, - ), - shared.DocumentWidget( - headline=shared.DocumentWidgetHeadline( - de='pariatur', - en='maxime', - ), - id='692601fb-576b-40d5-b0d3-0c5fbb258705', - list_index=199996, - sub_headline=shared.DocumentWidgetSubHeadline( - de='eos', - en='perferendis', + id='f7cc78ca-1ba9-428f-8816-742cb7392059', + list_index=149675, + schema='iste', + sub_headline=shared.EntityWidgetSubHeadline( + de='dolor', + en='natus', ), - type=shared.DocumentWidgetType.ACTION_WIDGET, + type=shared.EntityWidgetType.CONTENT_WIDGET, ), ], ), diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 3385f4c99..227dccb2f 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -34,7 +34,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,7 +75,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "vero": 'nostrum', + "fuga": 'in', }, email='testemail921@yopmail.com', first_name='John', @@ -84,7 +84,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) @@ -124,14 +124,11 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "omnis": 'facilis', - "perspiciatis": 'voluptatem', - "porro": 'consequuntur', - "blanditiis": 'error', + "iste": 'iure', }, org_id='728', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_contact_count(req) @@ -286,7 +283,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_widgets(req) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d692f0576..06dd618bb 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: c5f9f5a4cf2b56624b5b709c10c423bc docVersion: 1.0.0 - speakeasyVersion: 1.78.8 - generationVersion: 2.96.6 + 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.3 + version: 1.43.4 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 06f709f76..7eaf8f59a 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.3", + version="1.43.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/contactcountrequest.py b/customer_portal/src/epilot/models/shared/contactcountrequest.py index 0458096e7..a29b6a89c 100755 --- a/customer_portal/src/epilot/models/shared/contactcountrequest.py +++ b/customer_portal/src/epilot/models/shared/contactcountrequest.py @@ -10,7 +10,6 @@ @dataclasses.dataclass class ContactCountRequest: - r"""Request payload""" contact_identifiers: dict[str, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers') }}) r"""Identifiers to identify a contact""" org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py index db65f663b..1d1307c27 100755 --- a/customer_portal/src/epilot/models/shared/createssouserrequest.py +++ b/customer_portal/src/epilot/models/shared/createssouserrequest.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class CreateSSOUserRequest: - r"""Portal user payload""" email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) r"""User's email address""" first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py index 190450613..d2fda5289 100755 --- a/customer_portal/src/epilot/models/shared/createuserrequest.py +++ b/customer_portal/src/epilot/models/shared/createuserrequest.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class CreateUserRequest: - r"""Portal user payload""" email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) r"""User's email address""" org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index a5629193c..c52f43434 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -10,7 +10,6 @@ @dataclasses.dataclass class DeleteEntityFile: - r"""Delete file""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index ebf21481c..4d119bc28 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class ErrorResp: - r"""Could not authenticate the user""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) r"""Error message""" diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 09444b4f5..ee8d776b3 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -152,7 +152,6 @@ class PortalConfigSelfRegistrationSetting(str, Enum): @dataclasses.dataclass class PortalConfig: - r"""Portal config retrieved successfully.""" design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) r"""ID of the design used to build the portal""" cognito_details: Optional[PortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 9763f15f5..0086ef95a 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -48,7 +48,6 @@ class SaveEntityFileFiles: @dataclasses.dataclass class SaveEntityFile: - r"""The request of an file entity""" entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index 9e4f544aa..dc1ba2c20 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -39,7 +39,6 @@ class SavePortalFileFiles: @dataclasses.dataclass class SavePortalFile: - r"""portal files request""" files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) origin: shared_origin.Origin = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 348e7311e..08c2e06f6 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -116,7 +116,6 @@ class UpsertPortalConfigSelfRegistrationSetting(str, Enum): @dataclasses.dataclass class UpsertPortalConfig: - r"""Portal payload""" design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) r"""ID of the design used to build the portal""" cognito_details: Optional[UpsertPortalConfigCognitoDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito_details'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalwidget.py b/customer_portal/src/epilot/models/shared/upsertportalwidget.py index aeea067bc..8c63e0bd2 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/shared/upsertportalwidget.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class UpsertPortalWidget: - r"""Retrieved the portal public widgets successfully.""" widgets: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index e90004d72..6537d4eda 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -24,7 +24,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. @@ -37,7 +38,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() @@ -48,7 +51,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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 2f6898b04..3ba6e134f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -3,6 +3,8 @@ import requests from dataclasses import dataclass +from .utils.retries import RetryConfig + SERVERS = [ 'https://customer-portal-api.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.3' - gen_version: str = '2.96.6' + sdk_version: str = '1.43.4' + 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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index c91b0c049..05eafba6c 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 f58d5ac02f667c1aaade661ffebb19859420d856 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 16 Sep 2023 00:28:56 +0000 Subject: [PATCH 77/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.86.0 --- customer_portal/README.md | 6 +++--- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/docs/sdks/ecp/README.md | 2 +- customer_portal/docs/sdks/ecpadmin/README.md | 2 +- customer_portal/docs/sdks/public/README.md | 2 +- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 8 files changed, 22 insertions(+), 14 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 56a456a4b..82d06e2f4 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -36,7 +36,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ## Available Resources and Operations -### [ecp](docs/sdks/ecp/README.md) +### [Ecp](docs/sdks/ecp/README.md) * [add_end_customer_relation_to_entity](docs/sdks/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity * [delete_entity_file](docs/sdks/ecp/README.md#delete_entity_file) - deleteEntityFile @@ -64,7 +64,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [update_order](docs/sdks/ecp/README.md#update_order) - updateOrder * [update_portal_user](docs/sdks/ecp/README.md#update_portal_user) - updatePortalUser -### [ecp_admin](docs/sdks/ecpadmin/README.md) +### [ECPAdmin](docs/sdks/ecpadmin/README.md) * [configure_distribution](docs/sdks/ecpadmin/README.md#configure_distribution) - configureDistribution * [create_sso_user](docs/sdks/ecpadmin/README.md#create_sso_user) - createSSOUser @@ -84,7 +84,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [upsert_portal](docs/sdks/ecpadmin/README.md#upsert_portal) - upsertPortal * [upsert_portal_widget](docs/sdks/ecpadmin/README.md#upsert_portal_widget) - upsertPortalWidget -### [public](docs/sdks/public/README.md) +### [Public](docs/sdks/public/README.md) * [confirm_user](docs/sdks/public/README.md#confirm_user) - confirmUser * [create_user](docs/sdks/public/README.md#create_user) - createUser diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d8a47b3ae..d12cf7553 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -516,4 +516,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.4] customer_portal \ No newline at end of file +- [python v1.43.4] customer_portal + +## 2023-09-16 00:28:39 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.5] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 69ead3cce..060b2cda0 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -1,4 +1,4 @@ -# ecp +# Ecp ## Overview diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index a6f508768..733ac5439 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -1,4 +1,4 @@ -# ecp_admin +# ECPAdmin ## Overview diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 227dccb2f..168cd3b44 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -1,4 +1,4 @@ -# public +# Public ## Overview diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 06dd618bb..91c4bce9f 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: c5f9f5a4cf2b56624b5b709c10c423bc 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.4 + version: 1.43.5 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 7eaf8f59a..fb0915827 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.4", + version="1.43.5", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 3ba6e134f..fc9345b2d 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.108.3' + sdk_version: str = '1.43.5' + gen_version: str = '2.115.2' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 2257413ab8da5e36f205e635c7935cfab2a23235 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 20 Sep 2023 00:30:00 +0000 Subject: [PATCH 78/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.88.0 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d12cf7553..98322be73 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -524,4 +524,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.5] customer_portal \ No newline at end of file +- [python v1.43.5] customer_portal + +## 2023-09-20 00:29:41 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.6] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 91c4bce9f..f2601c3ee 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: c5f9f5a4cf2b56624b5b709c10c423bc 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.5 + version: 1.43.6 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index fb0915827..b6ed68f68 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.5", + version="1.43.6", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index fc9345b2d..b69154e4f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.115.2' + sdk_version: str = '1.43.6' + gen_version: str = '2.118.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 71af09e320053be40d3cf750e590fac29faaec0d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 21 Sep 2023 00:29:56 +0000 Subject: [PATCH 79/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.88.1 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 10 ++- .../createcustomentityactivityrequest.md | 9 +++ .../createcustomentityactivityresponse.md | 12 ++++ .../createcustomentityactivitysecurity.md | 8 +++ .../docs/models/shared/activity.md | 11 ++++ .../docs/models/shared/activityitem.md | 13 ++++ .../docs/models/shared/activityitempayload.md | 9 +++ .../shared/activityitempayloadentity.md | 9 +++ customer_portal/docs/sdks/ecp/README.md | 66 ++++++++++++++++--- customer_portal/docs/sdks/ecpadmin/README.md | 47 +++++++------ customer_portal/docs/sdks/public/README.md | 10 +-- customer_portal/files.gen | 10 +++ customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 38 +++++++++++ .../src/epilot/models/operations/__init__.py | 3 +- .../operations/createcustomentityactivity.py | 41 ++++++++++++ .../src/epilot/models/shared/__init__.py | 4 +- .../src/epilot/models/shared/activity.py | 21 ++++++ .../src/epilot/models/shared/activityitem.py | 46 +++++++++++++ .../src/epilot/sdkconfiguration.py | 4 +- 22 files changed, 334 insertions(+), 48 deletions(-) create mode 100755 customer_portal/docs/models/operations/createcustomentityactivityrequest.md create mode 100755 customer_portal/docs/models/operations/createcustomentityactivityresponse.md create mode 100755 customer_portal/docs/models/operations/createcustomentityactivitysecurity.md create mode 100755 customer_portal/docs/models/shared/activity.md create mode 100755 customer_portal/docs/models/shared/activityitem.md create mode 100755 customer_portal/docs/models/shared/activityitempayload.md create mode 100755 customer_portal/docs/models/shared/activityitempayloadentity.md create mode 100755 customer_portal/src/epilot/models/operations/createcustomentityactivity.py create mode 100755 customer_portal/src/epilot/models/shared/activity.py create mode 100755 customer_portal/src/epilot/models/shared/activityitem.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 82d06e2f4..ecfc86941 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -39,6 +39,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ### [Ecp](docs/sdks/ecp/README.md) * [add_end_customer_relation_to_entity](docs/sdks/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [create_custom_entity_activity](docs/sdks/ecp/README.md#create_custom_entity_activity) - createCustomEntityActivity * [delete_entity_file](docs/sdks/ecp/README.md#delete_entity_file) - deleteEntityFile * [delete_portal_user](docs/sdks/ecp/README.md#delete_portal_user) - deletePortalUser * [get_all_contracts](docs/sdks/ecp/README.md#get_all_contracts) - getAllContracts diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 98322be73..e6282de8d 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -532,4 +532,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.6] customer_portal \ No newline at end of file +- [python v1.43.6] customer_portal + +## 2023-09-21 00:29:39 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.88.1 (2.122.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.7] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createcustomentityactivityrequest.md b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md new file mode 100755 index 000000000..544ca4251 --- /dev/null +++ b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md @@ -0,0 +1,9 @@ +# CreateCustomEntityActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `activity` | [Optional[shared.Activity]](../../models/shared/activity.md) | :heavy_minus_sign: | N/A | +| `entities` | list[*str*] | :heavy_minus_sign: | Comma-separated list of entities which the activity primarily concerns | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md new file mode 100755 index 000000000..6b5e27ef9 --- /dev/null +++ b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md @@ -0,0 +1,12 @@ +# CreateCustomEntityActivityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `activity_item` | [Optional[shared.ActivityItem]](../../models/shared/activityitem.md) | :heavy_minus_sign: | Success | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md new file mode 100755 index 000000000..c63cdef81 --- /dev/null +++ b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md @@ -0,0 +1,8 @@ +# CreateCustomEntityActivitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activity.md b/customer_portal/docs/models/shared/activity.md new file mode 100755 index 000000000..f7027948d --- /dev/null +++ b/customer_portal/docs/models/shared/activity.md @@ -0,0 +1,11 @@ +# Activity + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitem.md b/customer_portal/docs/models/shared/activityitem.md new file mode 100755 index 000000000..7f6669449 --- /dev/null +++ b/customer_portal/docs/models/shared/activityitem.md @@ -0,0 +1,13 @@ +# ActivityItem + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | See https://github.com/ulid/spec | 01F130Q52Q6MWSNS8N2AVXV4JN | +| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `payload` | [Optional[ActivityItemPayload]](../../models/shared/activityitempayload.md) | :heavy_minus_sign: | N/A | | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | | +| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitempayload.md b/customer_portal/docs/models/shared/activityitempayload.md new file mode 100755 index 000000000..e5bcf3f02 --- /dev/null +++ b/customer_portal/docs/models/shared/activityitempayload.md @@ -0,0 +1,9 @@ +# ActivityItemPayload + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `entity` | [Optional[ActivityItemPayloadEntity]](../../models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitempayloadentity.md b/customer_portal/docs/models/shared/activityitempayloadentity.md new file mode 100755 index 000000000..dc09562d7 --- /dev/null +++ b/customer_portal/docs/models/shared/activityitempayloadentity.md @@ -0,0 +1,9 @@ +# ActivityItemPayloadEntity + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 060b2cda0..0951458d8 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -7,6 +7,7 @@ APIs defined for a portal user ### Available Operations * [add_end_customer_relation_to_entity](#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity +* [create_custom_entity_activity](#create_custom_entity_activity) - createCustomEntityActivity * [delete_entity_file](#delete_entity_file) - deleteEntityFile * [delete_portal_user](#delete_portal_user) - deletePortalUser * [get_all_contracts](#get_all_contracts) - getAllContracts @@ -70,6 +71,53 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No **[operations.AddEndCustomerRelationToEntityResponse](../../models/operations/addendcustomerrelationtoentityresponse.md)** +## create_custom_entity_activity + +Create a custom activity that can be displayed in activity feed of an entity. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.CreateCustomEntityActivityRequest( + activity=shared.Activity( + message='{{caller}} did something with {{entity payload.entity.id}}.', + payload={ + "corrupti": 'provident', + }, + title='My custom activity', + type='MyCustomActivity', + ), + entities=[ + '5da0a718-c822-403d-9f5d-20d4584e0528', + ], +) + +res = s.ecp.create_custom_entity_activity(req, operations.CreateCustomEntityActivitySecurity( + portal_auth="", +)) + +if res.activity_item is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `request` | [operations.CreateCustomEntityActivityRequest](../../models/operations/createcustomentityactivityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.CreateCustomEntityActivitySecurity](../../models/operations/createcustomentityactivitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.CreateCustomEntityActivityResponse](../../models/operations/createcustomentityactivityresponse.md)** + + ## delete_entity_file Delete files from an entity @@ -191,7 +239,7 @@ s = epilot.Epilot() req = operations.GetAllFilesRequest( entity_ids=[ - 'corrupti', + 'distinctio', ], from_=0, size=0, @@ -368,7 +416,7 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "provident": 'distinctio', + "quibusdam": 'unde', }, slug=shared.EntitySlug.CONTACT, ) @@ -729,9 +777,9 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'nulla', + 'illum', ], - access_control=shared.SaveEntityFileFilesAccessControl.PUBLIC_READ, + access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', file_entity_id='12345', filename='12345', @@ -777,7 +825,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "illum": 'vel', + "error": 'deserunt', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -815,7 +863,7 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "error": 'deserunt', + "suscipit": 'iure', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -855,7 +903,7 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "suscipit": 'iure', + "magnam": 'debitis', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -895,7 +943,7 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "magnam": 'debitis', + "ipsa": 'delectus', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -934,7 +982,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "ipsa": 'delectus', + "tempora": 'suscipit', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 733ac5439..82f42ab5b 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -79,7 +79,7 @@ req = operations.CreateSSOUserRequest( first_name='John', last_name='Doe', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( @@ -116,7 +116,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.DeletePortalRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -330,7 +330,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetOrgPortalConfigRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( @@ -514,7 +514,7 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'excepturi', + 'recusandae', ], file_type='orderRightTeaser', filename='12345', @@ -524,7 +524,7 @@ req = shared.SavePortalFile( ), ), ], - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( @@ -568,7 +568,7 @@ req = operations.UpsertEmailTemplatesRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSecurity( @@ -611,15 +611,15 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='temporibus', + config='quis', contact_identifiers=[ - 'ab', + 'veritatis', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "quis": 'veritatis', + "deserunt": 'perferendis', }, ], ), @@ -636,10 +636,10 @@ req = operations.UpsertPortalRequest( entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='deserunt', - en='perferendis', + de='ipsam', + en='repellendus', ), - journey_id='ipsam', + journey_id='sapiente', slug=shared.EntitySlug.CONTACT, ), ], @@ -669,7 +669,7 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.DENY, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -710,19 +710,18 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.EntityWidget( - headline=shared.EntityWidgetHeadline( - de='at', - en='at', + shared.DocumentWidget( + headline=shared.DocumentWidgetHeadline( + de='maiores', + en='molestiae', ), - id='f7cc78ca-1ba9-428f-8816-742cb7392059', - list_index=149675, - schema='iste', - sub_headline=shared.EntityWidgetSubHeadline( - de='dolor', - en='natus', + id='cc78ca1b-a928-4fc8-9674-2cb739205929', + list_index=222321, + sub_headline=shared.DocumentWidgetSubHeadline( + de='natus', + en='laboriosam', ), - type=shared.EntityWidgetType.CONTENT_WIDGET, + type=shared.DocumentWidgetType.DOCUMENT_WIDGET, ), ], ), diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 168cd3b44..a65d578df 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -75,7 +75,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "fuga": 'in', + "in": 'corporis', }, email='testemail921@yopmail.com', first_name='John', @@ -84,7 +84,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -124,7 +124,7 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "iste": 'iure', + "iure": 'saepe', }, org_id='728', ), @@ -244,7 +244,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_config(req) @@ -323,7 +323,7 @@ s = epilot.Epilot( req = operations.UserExistsRequest( email='user@example.com', org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.user_exists(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index e42b702ad..bf737311c 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -12,6 +12,7 @@ src/epilot/utils/__init__.py src/epilot/utils/retries.py src/epilot/utils/utils.py src/epilot/models/operations/addendcustomerrelationtoentity.py +src/epilot/models/operations/createcustomentityactivity.py src/epilot/models/operations/deleteentityfile.py src/epilot/models/operations/deleteportaluser.py src/epilot/models/operations/getallcontracts.py @@ -62,6 +63,8 @@ src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py src/epilot/models/shared/errorresp.py src/epilot/models/shared/entityslug.py +src/epilot/models/shared/activityitem.py +src/epilot/models/shared/activity.py src/epilot/models/shared/deleteentityfile.py src/epilot/models/shared/entityfilecount.py src/epilot/models/shared/organizationsettings.py @@ -95,6 +98,9 @@ docs/models/operations/addendcustomerrelationtoentitysecurity.md docs/models/operations/addendcustomerrelationtoentityrequest.md docs/models/operations/addendcustomerrelationtoentity200applicationjson.md docs/models/operations/addendcustomerrelationtoentityresponse.md +docs/models/operations/createcustomentityactivitysecurity.md +docs/models/operations/createcustomentityactivityrequest.md +docs/models/operations/createcustomentityactivityresponse.md docs/models/operations/deleteentityfilesecurity.md docs/models/operations/deleteentityfile202applicationjson.md docs/models/operations/deleteentityfileresponse.md @@ -256,6 +262,10 @@ docs/models/operations/userexists200applicationjson.md docs/models/operations/userexistsresponse.md docs/models/shared/errorresp.md docs/models/shared/entityslug.md +docs/models/shared/activityitempayloadentity.md +docs/models/shared/activityitempayload.md +docs/models/shared/activityitem.md +docs/models/shared/activity.md docs/models/shared/deleteentityfile.md docs/models/shared/entityfilecount.md docs/models/shared/organizationsettingsautomationentitymapping.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index f2601c3ee..490e1689f 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: c5f9f5a4cf2b56624b5b709c10c423bc + docChecksum: 4fbaef130a30e6f48f62d827eef28d8e docVersion: 1.0.0 - speakeasyVersion: 1.88.0 - generationVersion: 2.118.1 + speakeasyVersion: 1.88.1 + generationVersion: 2.122.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.81.1 python: - version: 1.43.6 + version: 1.43.7 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index b6ed68f68..0523f9a14 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.6", + version="1.43.7", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index c2a4f3e0f..8f9fe44c7 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -47,6 +47,44 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer return res + def create_custom_entity_activity(self, request: operations.CreateCustomEntityActivityRequest, security: operations.CreateCustomEntityActivitySecurity) -> operations.CreateCustomEntityActivityResponse: + r"""createCustomEntityActivity + Create a custom activity that can be displayed in activity feed of an entity. + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/entity/activity' + headers = {} + req_content_type, data, form = utils.serialize_request_body(request, "activity", 'json') + if req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + query_params = utils.get_query_params(operations.CreateCustomEntityActivityRequest, request) + 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}' + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('PUT', url, params=query_params, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.CreateCustomEntityActivityResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 201: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ActivityItem]) + res.activity_item = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def delete_entity_file(self, request: shared.DeleteEntityFile, security: operations.DeleteEntityFileSecurity) -> operations.DeleteEntityFileResponse: r"""deleteEntityFile Delete files from an entity diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 1c3aa645d..9bdcdb9a4 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -3,6 +3,7 @@ from .addendcustomerrelationtoentity import * from .configuredistribution import * from .confirmuser import * +from .createcustomentityactivity import * from .createssouser import * from .createuser import * from .deleteentityfile import * @@ -49,4 +50,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/createcustomentityactivity.py b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py new file mode 100755 index 000000000..0cd94d26e --- /dev/null +++ b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import activity as shared_activity +from ..shared import activityitem as shared_activityitem +from ..shared import errorresp as shared_errorresp +from typing import Optional + + + +@dataclasses.dataclass +class CreateCustomEntityActivitySecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class CreateCustomEntityActivityRequest: + activity: Optional[shared_activity.Activity] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + entities: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entities', 'style': 'form', 'explode': False }}) + r"""Comma-separated list of entities which the activity primarily concerns""" + + + + + +@dataclasses.dataclass +class CreateCustomEntityActivityResponse: + content_type: str = dataclasses.field() + status_code: int = dataclasses.field() + activity_item: Optional[shared_activityitem.ActivityItem] = dataclasses.field(default=None) + r"""Success""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 9d43dc328..5f6aa29eb 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -1,6 +1,8 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" from .actionwidget import * +from .activity import * +from .activityitem import * from .contactcountrequest import * from .contentwidget import * from .createssouserrequest import * @@ -25,4 +27,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/activity.py b/customer_portal/src/epilot/models/shared/activity.py new file mode 100755 index 000000000..f8a872f59 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/activity.py @@ -0,0 +1,21 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class Activity: + message: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + r"""Message for activity. Supports handlebars syntax.""" + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + r"""Title for activity. Supports handlebars syntax.""" + type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + payload: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('payload'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/activityitem.py b/customer_portal/src/epilot/models/shared/activityitem.py new file mode 100755 index 000000000..0719dabf5 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/activityitem.py @@ -0,0 +1,46 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from epilot import utils +from typing import Any, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActivityItemPayloadEntity: + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActivityItemPayload: + caller: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('caller'), 'exclude': lambda f: f is None }}) + entity: Optional[ActivityItemPayloadEntity] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class ActivityItem: + message: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + r"""Message for activity. Supports handlebars syntax.""" + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + r"""Title for activity. Supports handlebars syntax.""" + type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id'), 'exclude': lambda f: f is None }}) + r"""See https://github.com/ulid/spec""" + payload: Optional[ActivityItemPayload] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('payload'), 'exclude': lambda f: f is None }}) + timestamp: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timestamp'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index b69154e4f..4b3d557ea 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.6' - gen_version: str = '2.118.1' + sdk_version: str = '1.43.7' + gen_version: str = '2.122.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From e7c5733e03e0b5db14ff9eb4407344dbeb25615a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 22 Sep 2023 00:30:23 +0000 Subject: [PATCH 80/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.89.0 --- customer_portal/README.md | 28 +++++++++++++++++-- customer_portal/RELEASES.md | 10 ++++++- customer_portal/files.gen | 8 +++--- customer_portal/gen.yaml | 8 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/public.py | 16 +++++------ .../src/epilot/sdkconfiguration.py | 4 +-- 7 files changed, 54 insertions(+), 22 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index ecfc86941..b0b3211ab 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -10,8 +10,6 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ## SDK Example Usage - - ```python import epilot from epilot.models import operations, shared @@ -97,4 +95,30 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [user_exists](docs/sdks/public/README.md#user_exists) - userExists + + + + + + + + + + + +# 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/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index e6282de8d..7e95a82de 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -540,4 +540,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.88.1 (2.122.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.7] customer_portal \ No newline at end of file +- [python v1.43.7] customer_portal + +## 2023-09-22 00:30:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.89.0 (2.125.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.0] customer_portal \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index bf737311c..b3a8518e3 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -89,10 +89,6 @@ src/epilot/models/shared/contactcountrequest.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/ecp/README.md -docs/sdks/ecpadmin/README.md -docs/sdks/public/README.md USAGE.md docs/models/operations/addendcustomerrelationtoentitysecurity.md docs/models/operations/addendcustomerrelationtoentityrequest.md @@ -353,4 +349,8 @@ docs/models/shared/upsertportalconfig.md docs/models/shared/createuserrequest.md docs/models/shared/contactcountrequest.md docs/models/shared/security.md +docs/sdks/epilot/README.md +docs/sdks/ecp/README.md +docs/sdks/ecpadmin/README.md +docs/sdks/public/README.md .gitattributes \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 490e1689f..5a277ef01 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 4fbaef130a30e6f48f62d827eef28d8e docVersion: 1.0.0 - speakeasyVersion: 1.88.1 - generationVersion: 2.122.1 + speakeasyVersion: 1.89.0 + generationVersion: 2.125.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -14,9 +14,9 @@ features: deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 - methodSecurity: 2.81.1 + methodSecurity: 2.82.0 python: - version: 1.43.7 + version: 1.44.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 0523f9a14..a5f14b6b3 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.43.7", + version="1.44.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 9f63b0964..88263dd83 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -25,7 +25,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -61,7 +61,7 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -101,7 +101,7 @@ def get_contact_count(self, request: operations.GetContactCountRequest) -> opera 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, params=query_params, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -136,7 +136,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -171,7 +171,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -206,7 +206,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -241,7 +241,7 @@ def get_public_portal_widgets(self, request: operations.GetPublicPortalWidgetsRe 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -276,7 +276,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE 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}' - client = self.sdk_configuration.client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 4b3d557ea..1641eeac8 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.7' - gen_version: str = '2.122.1' + sdk_version: str = '1.44.0' + gen_version: str = '2.125.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 94d3429552ee2dc8f7f232f9085d0e927d788c97 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 23 Sep 2023 00:28:52 +0000 Subject: [PATCH 81/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.90.0 --- customer_portal/README.md | 4 -- customer_portal/RELEASES.md | 10 +++- .../operations/getallcontractsrequest.md | 9 ++++ .../operations/getallopportunitiesrequest.md | 9 ++++ .../models/operations/getallordersrequest.md | 9 ++++ .../docs/models/shared/portalconfig.md | 1 + .../shared/portalconfigentityeditrules.md | 17 +++++++ ...lconfigentityeditrulescadenceperiodtype.md | 10 ++++ .../portalconfigentityeditrulesruletype.md | 11 +++++ .../docs/models/shared/upsertportalconfig.md | 1 + .../upsertportalconfigentityeditrules.md | 17 +++++++ ...lconfigentityeditrulescadenceperiodtype.md | 10 ++++ ...sertportalconfigentityeditrulesruletype.md | 11 +++++ customer_portal/docs/sdks/ecp/README.md | 21 ++++++-- customer_portal/docs/sdks/ecpadmin/README.md | 49 ++++++++++++++----- customer_portal/docs/sdks/public/README.md | 12 ++--- customer_portal/files.gen | 9 ++++ customer_portal/gen.yaml | 6 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 15 +++--- .../src/epilot/models/operations/__init__.py | 2 +- .../models/operations/getallcontracts.py | 9 ++++ .../models/operations/getallopportunities.py | 9 ++++ .../epilot/models/operations/getallorders.py | 9 ++++ .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 32 ++++++++++++ .../models/shared/upsertportalconfig.py | 32 ++++++++++++ .../src/epilot/sdkconfiguration.py | 2 +- 28 files changed, 291 insertions(+), 39 deletions(-) create mode 100755 customer_portal/docs/models/operations/getallcontractsrequest.md create mode 100755 customer_portal/docs/models/operations/getallopportunitiesrequest.md create mode 100755 customer_portal/docs/models/operations/getallordersrequest.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityeditrules.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityeditrulescadenceperiodtype.md create mode 100755 customer_portal/docs/models/shared/portalconfigentityeditrulesruletype.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md create mode 100755 customer_portal/docs/models/shared/upsertportalconfigentityeditrulesruletype.md diff --git a/customer_portal/README.md b/customer_portal/README.md index b0b3211ab..41ed935fd 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -99,8 +99,6 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No - - @@ -113,8 +111,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/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 7e95a82de..80b321f34 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -548,4 +548,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.89.0 (2.125.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.0] customer_portal \ No newline at end of file +- [python v1.44.0] customer_portal + +## 2023-09-23 00:28:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.90.0 (2.125.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.1] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractsrequest.md b/customer_portal/docs/models/operations/getallcontractsrequest.md new file mode 100755 index 000000000..6a757a699 --- /dev/null +++ b/customer_portal/docs/models/operations/getallcontractsrequest.md @@ -0,0 +1,9 @@ +# GetAllContractsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from_` | *Optional[float]* | :heavy_minus_sign: | N/A | 0 | +| `size` | *Optional[float]* | :heavy_minus_sign: | N/A | 100 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiesrequest.md b/customer_portal/docs/models/operations/getallopportunitiesrequest.md new file mode 100755 index 000000000..f65e6b580 --- /dev/null +++ b/customer_portal/docs/models/operations/getallopportunitiesrequest.md @@ -0,0 +1,9 @@ +# GetAllOpportunitiesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from_` | *Optional[float]* | :heavy_minus_sign: | N/A | 0 | +| `size` | *Optional[float]* | :heavy_minus_sign: | N/A | 100 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallordersrequest.md b/customer_portal/docs/models/operations/getallordersrequest.md new file mode 100755 index 000000000..4dba294c5 --- /dev/null +++ b/customer_portal/docs/models/operations/getallordersrequest.md @@ -0,0 +1,9 @@ +# GetAllOrdersRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `from_` | *Optional[float]* | :heavy_minus_sign: | N/A | 0 | +| `size` | *Optional[float]* | :heavy_minus_sign: | N/A | 100 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index ee24b7372..5181d6b41 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -15,6 +15,7 @@ | `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | | `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[PortalConfigEntityEditRules](../../models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | | `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | | `feature_settings` | [Optional[PortalConfigFeatureSettings]](../../models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | | `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | diff --git a/customer_portal/docs/models/shared/portalconfigentityeditrules.md b/customer_portal/docs/models/shared/portalconfigentityeditrules.md new file mode 100755 index 000000000..c4f440579 --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityeditrules.md @@ -0,0 +1,17 @@ +# PortalConfigEntityEditRules + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[PortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/portalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[PortalConfigEntityEditRulesRuleType]](../../models/shared/portalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityeditrulescadenceperiodtype.md b/customer_portal/docs/models/shared/portalconfigentityeditrulescadenceperiodtype.md new file mode 100755 index 000000000..dad864c2a --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityeditrulescadenceperiodtype.md @@ -0,0 +1,10 @@ +# PortalConfigEntityEditRulesCadencePeriodType + + +## Values + +| Name | Value | +| -------- | -------- | +| `DAYS` | days | +| `WEEKS` | weeks | +| `MONTHS` | months | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityeditrulesruletype.md b/customer_portal/docs/models/shared/portalconfigentityeditrulesruletype.md new file mode 100755 index 000000000..69e50a98c --- /dev/null +++ b/customer_portal/docs/models/shared/portalconfigentityeditrulesruletype.md @@ -0,0 +1,11 @@ +# PortalConfigEntityEditRulesRuleType + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `CADENCE` | cadence | +| `RELATIVE_TO_CURRENT_VALUE` | relative_to_current_value | +| `DAYS_BEFORE_DATE` | days_before_date | +| `OVERDUE_PAYMENTS` | overdue_payments | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 04db51252..61caade9b 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -15,6 +15,7 @@ | `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | | `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[UpsertPortalConfigEntityEditRules](../../models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | | `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | | `feature_settings` | [Optional[UpsertPortalConfigFeatureSettings]](../../models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | | `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md new file mode 100755 index 000000000..9fc774825 --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md @@ -0,0 +1,17 @@ +# UpsertPortalConfigEntityEditRules + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[UpsertPortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[UpsertPortalConfigEntityEditRulesRuleType]](../../models/shared/upsertportalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md b/customer_portal/docs/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md new file mode 100755 index 000000000..1dd45955f --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md @@ -0,0 +1,10 @@ +# UpsertPortalConfigEntityEditRulesCadencePeriodType + + +## Values + +| Name | Value | +| -------- | -------- | +| `DAYS` | days | +| `WEEKS` | weeks | +| `MONTHS` | months | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityeditrulesruletype.md b/customer_portal/docs/models/shared/upsertportalconfigentityeditrulesruletype.md new file mode 100755 index 000000000..cd4ff746c --- /dev/null +++ b/customer_portal/docs/models/shared/upsertportalconfigentityeditrulesruletype.md @@ -0,0 +1,11 @@ +# UpsertPortalConfigEntityEditRulesRuleType + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `CADENCE` | cadence | +| `RELATIVE_TO_CURRENT_VALUE` | relative_to_current_value | +| `DAYS_BEFORE_DATE` | days_before_date | +| `OVERDUE_PAYMENTS` | overdue_payments | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 0951458d8..0547fa24f 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -204,8 +204,12 @@ from epilot.models import operations s = epilot.Epilot() +req = operations.GetAllContractsRequest( + from_=0, + size=100, +) -res = s.ecp.get_all_contracts(operations.GetAllContractsSecurity( +res = s.ecp.get_all_contracts(req, operations.GetAllContractsSecurity( portal_auth="", )) @@ -217,6 +221,7 @@ if res.get_all_contracts_200_application_json_object is not None: | Parameter | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `request` | [operations.GetAllContractsRequest](../../models/operations/getallcontractsrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.GetAllContractsSecurity](../../models/operations/getallcontractssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | @@ -278,8 +283,12 @@ from epilot.models import operations s = epilot.Epilot() +req = operations.GetAllOpportunitiesRequest( + from_=0, + size=100, +) -res = s.ecp.get_all_opportunities(operations.GetAllOpportunitiesSecurity( +res = s.ecp.get_all_opportunities(req, operations.GetAllOpportunitiesSecurity( portal_auth="", )) @@ -291,6 +300,7 @@ if res.get_all_opportunities_200_application_json_object is not None: | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetAllOpportunitiesRequest](../../models/operations/getallopportunitiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.GetAllOpportunitiesSecurity](../../models/operations/getallopportunitiessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | @@ -311,8 +321,12 @@ from epilot.models import operations s = epilot.Epilot() +req = operations.GetAllOrdersRequest( + from_=0, + size=100, +) -res = s.ecp.get_all_orders(operations.GetAllOrdersSecurity( +res = s.ecp.get_all_orders(req, operations.GetAllOrdersSecurity( portal_auth="", )) @@ -324,6 +338,7 @@ if res.get_all_orders_200_application_json_object is not None: | Parameter | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `request` | [operations.GetAllOrdersRequest](../../models/operations/getallordersrequest.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.GetAllOrdersSecurity](../../models/operations/getallorderssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 82f42ab5b..b1f244bfc 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -643,6 +643,20 @@ req = operations.UpsertPortalRequest( slug=shared.EntitySlug.CONTACT, ), ], + entity_edit_rules=[ + shared.UpsertPortalConfigEntityEditRules( + allowed_decrement='10%', + allowed_increment='10%', + attribute='first_name', + cadence_period=1, + cadence_period_type=shared.UpsertPortalConfigEntityEditRulesCadencePeriodType.MONTHS, + changes_allowed=1, + grace_period=1, + number_of_days_before_restriction=10, + rule_type=shared.UpsertPortalConfigEntityEditRulesRuleType.CADENCE, + slug=shared.EntitySlug.CONTACT, + ), + ], entity_identifiers=shared.UpsertPortalConfigEntityIdentifiers( type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ @@ -669,7 +683,7 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.DENY, ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -710,22 +724,33 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.DocumentWidget( - headline=shared.DocumentWidgetHeadline( - de='maiores', - en='molestiae', + shared.ActionWidget( + actions=[ + shared.WidgetAction( + id='cc78ca1b-a928-4fc8-9674-2cb739205929', + label=shared.WidgetActionLabel( + de='dolor', + en='natus', + ), + type=shared.WidgetActionType.LINK, + url='hic', + ), + ], + headline=shared.ActionWidgetHeadline( + de='saepe', + en='fuga', ), - id='cc78ca1b-a928-4fc8-9674-2cb739205929', - list_index=222321, - sub_headline=shared.DocumentWidgetSubHeadline( - de='natus', - en='laboriosam', + id='7596eb10-faaa-4235-ac59-55907aff1a3a', + list_index=161309, + sub_headline=shared.ActionWidgetSubHeadline( + de='repellat', + en='mollitia', ), - type=shared.DocumentWidgetType.DOCUMENT_WIDGET, + type=shared.ActionWidgetType.ENTITY_WIDGET, ), ], ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurity( diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index a65d578df..aae4773fc 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -34,7 +34,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,7 +75,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "in": 'corporis', + "quam": 'molestiae', }, email='testemail921@yopmail.com', first_name='John', @@ -84,7 +84,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) @@ -124,11 +124,11 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "iure": 'saepe', + "error": 'quia', }, org_id='728', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_contact_count(req) @@ -283,7 +283,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_widgets(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index b3a8518e3..9a02c77f2 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -105,6 +105,7 @@ docs/models/operations/deleteportaluser200applicationjsonmessage.md docs/models/operations/deleteportaluser200applicationjson.md docs/models/operations/deleteportaluserresponse.md docs/models/operations/getallcontractssecurity.md +docs/models/operations/getallcontractsrequest.md docs/models/operations/getallcontracts200applicationjson.md docs/models/operations/getallcontractsresponse.md docs/models/operations/getallfilessecurity.md @@ -112,9 +113,11 @@ docs/models/operations/getallfilesrequest.md docs/models/operations/getallfiles200applicationjson.md docs/models/operations/getallfilesresponse.md docs/models/operations/getallopportunitiessecurity.md +docs/models/operations/getallopportunitiesrequest.md docs/models/operations/getallopportunities200applicationjson.md docs/models/operations/getallopportunitiesresponse.md docs/models/operations/getallorderssecurity.md +docs/models/operations/getallordersrequest.md docs/models/operations/getallorders200applicationjson.md docs/models/operations/getallordersresponse.md docs/models/operations/getcontactsecurity.md @@ -288,6 +291,9 @@ docs/models/shared/portalconfigcognitodetails.md docs/models/shared/portalconfigdefaultusertonotify.md docs/models/shared/portalconfigentityactionsactionlabel.md docs/models/shared/portalconfigentityactions.md +docs/models/shared/portalconfigentityeditrulescadenceperiodtype.md +docs/models/shared/portalconfigentityeditrulesruletype.md +docs/models/shared/portalconfigentityeditrules.md docs/models/shared/portalconfigentityidentifierstype.md docs/models/shared/portalconfigentityidentifiers.md docs/models/shared/portalconfigfeaturesettings.md @@ -340,6 +346,9 @@ docs/models/shared/upsertportalconfigcognitodetails.md docs/models/shared/upsertportalconfigdefaultusertonotify.md docs/models/shared/upsertportalconfigentityactionsactionlabel.md docs/models/shared/upsertportalconfigentityactions.md +docs/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md +docs/models/shared/upsertportalconfigentityeditrulesruletype.md +docs/models/shared/upsertportalconfigentityeditrules.md docs/models/shared/upsertportalconfigentityidentifierstype.md docs/models/shared/upsertportalconfigentityidentifiers.md docs/models/shared/upsertportalconfigfeaturesettings.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 5a277ef01..84d881677 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,8 +1,8 @@ configVersion: 1.0.0 management: - docChecksum: 4fbaef130a30e6f48f62d827eef28d8e + docChecksum: 827b8fdc7cfc08d73a213e7eca4fdc2f docVersion: 1.0.0 - speakeasyVersion: 1.89.0 + speakeasyVersion: 1.90.0 generationVersion: 2.125.1 generation: sdkClassName: epilot @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 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/customer_portal/setup.py b/customer_portal/setup.py index a5f14b6b3..dabad6cd9 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.44.0", + version="1.44.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 8f9fe44c7..0ae80f6ab 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -158,7 +158,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o return res - def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> operations.GetAllContractsResponse: + def get_all_contracts(self, request: operations.GetAllContractsRequest, security: operations.GetAllContractsSecurity) -> operations.GetAllContractsResponse: r"""getAllContracts Get all contracts for a portal user """ @@ -166,12 +166,13 @@ def get_all_contracts(self, security: operations.GetAllContractsSecurity) -> ope url = base_url + '/v2/portal/contract' headers = {} + query_params = utils.get_query_params(operations.GetAllContractsRequest, request) 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) - http_res = client.request('GET', url, headers=headers) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllContractsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -227,7 +228,7 @@ def get_all_files(self, request: operations.GetAllFilesRequest, security: operat return res - def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: + def get_all_opportunities(self, request: operations.GetAllOpportunitiesRequest, security: operations.GetAllOpportunitiesSecurity) -> operations.GetAllOpportunitiesResponse: r"""getAllOpportunities Get all opportunities of a portal user """ @@ -235,12 +236,13 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity url = base_url + '/v2/portal/opportunity' headers = {} + query_params = utils.get_query_params(operations.GetAllOpportunitiesRequest, request) 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) - http_res = client.request('GET', url, headers=headers) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllOpportunitiesResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -261,7 +263,7 @@ def get_all_opportunities(self, security: operations.GetAllOpportunitiesSecurity return res - def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operations.GetAllOrdersResponse: + def get_all_orders(self, request: operations.GetAllOrdersRequest, security: operations.GetAllOrdersSecurity) -> operations.GetAllOrdersResponse: r"""getAllOrders Get all orders for the portal user """ @@ -269,12 +271,13 @@ def get_all_orders(self, security: operations.GetAllOrdersSecurity) -> operation url = base_url + '/v2/portal/order' headers = {} + query_params = utils.get_query_params(operations.GetAllOrdersRequest, request) 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}' client = utils.configure_security_client(self.sdk_configuration.client, security) - http_res = client.request('GET', url, headers=headers) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetAllOrdersResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 9bdcdb9a4..9f0294382 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -50,4 +50,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index ce0e5bb82..96525259f 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -17,6 +17,15 @@ class GetAllContractsSecurity: + +@dataclasses.dataclass +class GetAllContractsRequest: + from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 0c53964f9..27dbb721a 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -17,6 +17,15 @@ class GetAllOpportunitiesSecurity: + +@dataclasses.dataclass +class GetAllOpportunitiesRequest: + from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index 81836da7a..efed15c7d 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -17,6 +17,15 @@ class GetAllOrdersSecurity: + +@dataclasses.dataclass +class GetAllOrdersRequest: + from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 5f6aa29eb..fb47e059a 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -27,4 +27,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index ee8d776b3..04ac97390 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -59,6 +59,36 @@ class PortalConfigEntityActions: +class PortalConfigEntityEditRulesCadencePeriodType(str, Enum): + DAYS = 'days' + WEEKS = 'weeks' + MONTHS = 'months' + +class PortalConfigEntityEditRulesRuleType(str, Enum): + CADENCE = 'cadence' + RELATIVE_TO_CURRENT_VALUE = 'relative_to_current_value' + DAYS_BEFORE_DATE = 'days_before_date' + OVERDUE_PAYMENTS = 'overdue_payments' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class PortalConfigEntityEditRules: + allowed_decrement: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_decrement'), 'exclude': lambda f: f is None }}) + allowed_increment: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_increment'), 'exclude': lambda f: f is None }}) + attribute: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attribute'), 'exclude': lambda f: f is None }}) + cadence_period: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cadence_period'), 'exclude': lambda f: f is None }}) + cadence_period_type: Optional[PortalConfigEntityEditRulesCadencePeriodType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cadence_period_type'), 'exclude': lambda f: f is None }}) + changes_allowed: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('changes_allowed'), 'exclude': lambda f: f is None }}) + grace_period: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grace_period'), 'exclude': lambda f: f is None }}) + number_of_days_before_restriction: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('number_of_days_before_restriction'), 'exclude': lambda f: f is None }}) + rule_type: Optional[PortalConfigEntityEditRulesRuleType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('rule_type'), 'exclude': lambda f: f is None }}) + slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) + r"""URL-friendly identifier for the entity schema""" + + + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -175,6 +205,8 @@ class PortalConfig: r"""Enable/Disable the portal access""" entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) r"""Journey actions allowed on an entity by a portal user""" + entity_edit_rules: Optional[list[PortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) + r"""Rules for editing an entity by a portal user""" entity_identifiers: Optional[PortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" feature_settings: Optional[PortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 08c2e06f6..411d68838 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -58,6 +58,36 @@ class UpsertPortalConfigEntityActions: +class UpsertPortalConfigEntityEditRulesCadencePeriodType(str, Enum): + DAYS = 'days' + WEEKS = 'weeks' + MONTHS = 'months' + +class UpsertPortalConfigEntityEditRulesRuleType(str, Enum): + CADENCE = 'cadence' + RELATIVE_TO_CURRENT_VALUE = 'relative_to_current_value' + DAYS_BEFORE_DATE = 'days_before_date' + OVERDUE_PAYMENTS = 'overdue_payments' + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class UpsertPortalConfigEntityEditRules: + allowed_decrement: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_decrement'), 'exclude': lambda f: f is None }}) + allowed_increment: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_increment'), 'exclude': lambda f: f is None }}) + attribute: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attribute'), 'exclude': lambda f: f is None }}) + cadence_period: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cadence_period'), 'exclude': lambda f: f is None }}) + cadence_period_type: Optional[UpsertPortalConfigEntityEditRulesCadencePeriodType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cadence_period_type'), 'exclude': lambda f: f is None }}) + changes_allowed: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('changes_allowed'), 'exclude': lambda f: f is None }}) + grace_period: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grace_period'), 'exclude': lambda f: f is None }}) + number_of_days_before_restriction: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('number_of_days_before_restriction'), 'exclude': lambda f: f is None }}) + rule_type: Optional[UpsertPortalConfigEntityEditRulesRuleType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('rule_type'), 'exclude': lambda f: f is None }}) + slug: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) + r"""URL-friendly identifier for the entity schema""" + + + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -139,6 +169,8 @@ class UpsertPortalConfig: r"""Enable/Disable the portal access""" entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) r"""Journey actions allowed on an entity by a portal user""" + entity_edit_rules: Optional[list[UpsertPortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) + r"""Rules for editing an entity by a portal user""" entity_identifiers: Optional[UpsertPortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" feature_settings: Optional[UpsertPortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 1641eeac8..6be74eba0 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/src/epilot/sdkconfiguration.py @@ -19,7 +19,7 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.0' + sdk_version: str = '1.44.1' gen_version: str = '2.125.1' retry_config: RetryConfig = None From 01d716b9d47920769abed154ce9b4c30f3f539b8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 26 Sep 2023 00:30:47 +0000 Subject: [PATCH 82/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.0 --- customer_portal/RELEASES.md | 10 +++++++++- .../addendcustomerrelationtoentityresponse.md | 6 +++--- .../models/operations/configuredistributionresponse.md | 6 +++--- .../docs/models/operations/confirmuserresponse.md | 6 +++--- .../operations/createcustomentityactivityresponse.md | 6 +++--- .../docs/models/operations/createssouserresponse.md | 6 +++--- .../docs/models/operations/createuserresponse.md | 6 +++--- .../docs/models/operations/deleteentityfileresponse.md | 6 +++--- .../docs/models/operations/deleteportalresponse.md | 6 +++--- .../docs/models/operations/deleteportaluserresponse.md | 6 +++--- .../operations/extrapermissionattributesresponse.md | 6 +++--- .../docs/models/operations/getallcontractsresponse.md | 6 +++--- .../docs/models/operations/getallfilesresponse.md | 6 +++--- .../models/operations/getallopportunitiesresponse.md | 6 +++--- .../docs/models/operations/getallordersresponse.md | 6 +++--- .../models/operations/getallportalconfigsresponse.md | 6 +++--- .../docs/models/operations/getcontactcountresponse.md | 6 +++--- .../docs/models/operations/getcontactresponse.md | 6 +++--- .../docs/models/operations/getcontractresponse.md | 6 +++--- .../docs/models/operations/getcountbyemailresponse.md | 6 +++--- .../docs/models/operations/getecpcontactresponse.md | 6 +++--- .../models/operations/getemailtemplatesresponse.md | 6 +++--- .../operations/getentitiesbyidentifiersresponse.md | 6 +++--- .../models/operations/getentityidentifiersresponse.md | 6 +++--- .../docs/models/operations/getfilebyidresponse.md | 6 +++--- .../models/operations/getfilescountbyentityresponse.md | 6 +++--- .../docs/models/operations/getopportunityresponse.md | 6 +++--- .../docs/models/operations/getorderresponse.md | 6 +++--- .../operations/getorganizationsettingsresponse.md | 6 +++--- .../models/operations/getorgportalconfigresponse.md | 6 +++--- .../operations/getportalconfigbydomainresponse.md | 6 +++--- .../docs/models/operations/getportalconfigresponse.md | 6 +++--- .../docs/models/operations/getportaluserresponse.md | 6 +++--- .../docs/models/operations/getportalwidgetsresponse.md | 6 +++--- .../models/operations/getpublicportalconfigresponse.md | 6 +++--- .../operations/getpublicportalwidgetsresponse.md | 6 +++--- .../docs/models/operations/getschemasresponse.md | 6 +++--- .../operations/getvalidsecondaryattributesresponse.md | 6 +++--- .../operations/replaceecptemplatevariablesresponse.md | 6 +++--- .../docs/models/operations/saveentityfileresponse.md | 6 +++--- .../docs/models/operations/saveportalfilesresponse.md | 6 +++--- .../docs/models/operations/updatecontactresponse.md | 6 +++--- .../docs/models/operations/updatecontractresponse.md | 6 +++--- .../models/operations/updateopportunityresponse.md | 6 +++--- .../docs/models/operations/updateorderresponse.md | 6 +++--- .../docs/models/operations/updateportaluserresponse.md | 6 +++--- .../models/operations/upsertemailtemplatesresponse.md | 6 +++--- .../docs/models/operations/upsertportalresponse.md | 6 +++--- .../models/operations/upsertportalwidgetresponse.md | 6 +++--- .../docs/models/operations/userexistsresponse.md | 6 +++--- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- .../operations/addendcustomerrelationtoentity.py | 3 +++ .../epilot/models/operations/configuredistribution.py | 3 +++ .../src/epilot/models/operations/confirmuser.py | 3 +++ .../models/operations/createcustomentityactivity.py | 3 +++ .../src/epilot/models/operations/createssouser.py | 3 +++ .../src/epilot/models/operations/createuser.py | 3 +++ .../src/epilot/models/operations/deleteentityfile.py | 3 +++ .../src/epilot/models/operations/deleteportal.py | 3 +++ .../src/epilot/models/operations/deleteportaluser.py | 3 +++ .../models/operations/extrapermissionattributes.py | 3 +++ .../src/epilot/models/operations/getallcontracts.py | 3 +++ .../src/epilot/models/operations/getallfiles.py | 3 +++ .../epilot/models/operations/getallopportunities.py | 3 +++ .../src/epilot/models/operations/getallorders.py | 3 +++ .../epilot/models/operations/getallportalconfigs.py | 3 +++ .../src/epilot/models/operations/getcontact.py | 3 +++ .../src/epilot/models/operations/getcontactcount.py | 3 +++ .../src/epilot/models/operations/getcontract.py | 3 +++ .../src/epilot/models/operations/getcountbyemail.py | 3 +++ .../src/epilot/models/operations/getecpcontact.py | 3 +++ .../src/epilot/models/operations/getemailtemplates.py | 3 +++ .../models/operations/getentitiesbyidentifiers.py | 3 +++ .../epilot/models/operations/getentityidentifiers.py | 3 +++ .../src/epilot/models/operations/getfilebyid.py | 3 +++ .../epilot/models/operations/getfilescountbyentity.py | 3 +++ .../src/epilot/models/operations/getopportunity.py | 3 +++ .../src/epilot/models/operations/getorder.py | 3 +++ .../models/operations/getorganizationsettings.py | 3 +++ .../src/epilot/models/operations/getorgportalconfig.py | 3 +++ .../src/epilot/models/operations/getportalconfig.py | 3 +++ .../models/operations/getportalconfigbydomain.py | 3 +++ .../src/epilot/models/operations/getportaluser.py | 3 +++ .../src/epilot/models/operations/getportalwidgets.py | 3 +++ .../epilot/models/operations/getpublicportalconfig.py | 3 +++ .../epilot/models/operations/getpublicportalwidgets.py | 3 +++ .../src/epilot/models/operations/getschemas.py | 3 +++ .../models/operations/getvalidsecondaryattributes.py | 3 +++ .../models/operations/replaceecptemplatevariables.py | 3 +++ .../src/epilot/models/operations/saveentityfile.py | 3 +++ .../src/epilot/models/operations/saveportalfiles.py | 3 +++ .../src/epilot/models/operations/updatecontact.py | 3 +++ .../src/epilot/models/operations/updatecontract.py | 3 +++ .../src/epilot/models/operations/updateopportunity.py | 3 +++ .../src/epilot/models/operations/updateorder.py | 3 +++ .../src/epilot/models/operations/updateportaluser.py | 3 +++ .../epilot/models/operations/upsertemailtemplates.py | 3 +++ .../src/epilot/models/operations/upsertportal.py | 3 +++ .../src/epilot/models/operations/upsertportalwidget.py | 3 +++ .../src/epilot/models/operations/userexists.py | 3 +++ customer_portal/src/epilot/sdkconfiguration.py | 4 ++-- 102 files changed, 310 insertions(+), 155 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 80b321f34..4f6183378 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -556,4 +556,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.90.0 (2.125.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.1] customer_portal \ No newline at end of file +- [python v1.44.1] customer_portal + +## 2023-09-26 00:30:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.45.0] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md index 06ce47d79..30c4b0224 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[AddEndCustomerRelationToEntity200ApplicationJSON]](../../models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md index 40a91dda2..c8108aab4 100755 --- a/customer_portal/docs/models/operations/configuredistributionresponse.md +++ b/customer_portal/docs/models/operations/configuredistributionresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `configure_distribution_200_application_json_object` | [Optional[ConfigureDistribution200ApplicationJSON]](../../models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md index 019684efa..13ed575d9 100755 --- a/customer_portal/docs/models/operations/confirmuserresponse.md +++ b/customer_portal/docs/models/operations/confirmuserresponse.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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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/customer_portal/docs/models/operations/createcustomentityactivityresponse.md b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md index 6b5e27ef9..587f069b4 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `activity_item` | [Optional[shared.ActivityItem]](../../models/shared/activityitem.md) | :heavy_minus_sign: | Success | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md index c0cd247de..6cc4a3ba3 100755 --- a/customer_portal/docs/models/operations/createssouserresponse.md +++ b/customer_portal/docs/models/operations/createssouserresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `create_sso_user_201_application_json_object` | [Optional[CreateSSOUser201ApplicationJSON]](../../models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md index d3909dd37..e198a343b 100755 --- a/customer_portal/docs/models/operations/createuserresponse.md +++ b/customer_portal/docs/models/operations/createuserresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `create_user_201_application_json_object` | [Optional[CreateUser201ApplicationJSON]](../../models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md index 95b6326c5..411f75a86 100755 --- a/customer_portal/docs/models/operations/deleteentityfileresponse.md +++ b/customer_portal/docs/models/operations/deleteentityfileresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `delete_entity_file_202_application_json_object` | [Optional[DeleteEntityFile202ApplicationJSON]](../../models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md index 24e17388e..838d556aa 100755 --- a/customer_portal/docs/models/operations/deleteportalresponse.md +++ b/customer_portal/docs/models/operations/deleteportalresponse.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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md index 230e81621..aa68b7660 100755 --- a/customer_portal/docs/models/operations/deleteportaluserresponse.md +++ b/customer_portal/docs/models/operations/deleteportaluserresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `delete_portal_user_200_application_json_object` | [Optional[DeletePortalUser200ApplicationJSON]](../../models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md index c366352ee..0354214fa 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md +++ b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | +| `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 | | `extra_permission_attributes_200_application_json_object` | [Optional[ExtraPermissionAttributes200ApplicationJSON]](../../models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md index 58b01931b..f433032a4 100755 --- a/customer_portal/docs/models/operations/getallcontractsresponse.md +++ b/customer_portal/docs/models/operations/getallcontractsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_all_contracts_200_application_json_object` | [Optional[GetAllContracts200ApplicationJSON]](../../models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesresponse.md b/customer_portal/docs/models/operations/getallfilesresponse.md index 9913c13e6..5da07245e 100755 --- a/customer_portal/docs/models/operations/getallfilesresponse.md +++ b/customer_portal/docs/models/operations/getallfilesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_all_files_200_application_json_object` | [Optional[GetAllFiles200ApplicationJSON]](../../models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md index f9a6cde44..cc585c575 100755 --- a/customer_portal/docs/models/operations/getallopportunitiesresponse.md +++ b/customer_portal/docs/models/operations/getallopportunitiesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_all_opportunities_200_application_json_object` | [Optional[GetAllOpportunities200ApplicationJSON]](../../models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md index 9c37a5b52..066513bc7 100755 --- a/customer_portal/docs/models/operations/getallordersresponse.md +++ b/customer_portal/docs/models/operations/getallordersresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_all_orders_200_application_json_object` | [Optional[GetAllOrders200ApplicationJSON]](../../models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md index 481fd66e1..4d8fe024e 100755 --- a/customer_portal/docs/models/operations/getallportalconfigsresponse.md +++ b/customer_portal/docs/models/operations/getallportalconfigsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_all_portal_configs_200_application_json_object` | [Optional[GetAllPortalConfigs200ApplicationJSON]](../../models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md index 607608d6e..e8a7a80b7 100755 --- a/customer_portal/docs/models/operations/getcontactcountresponse.md +++ b/customer_portal/docs/models/operations/getcontactcountresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `get_contact_count_200_application_json_object` | [Optional[GetContactCount200ApplicationJSON]](../../models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md index 6c33087de..dcca393a1 100755 --- a/customer_portal/docs/models/operations/getcontactresponse.md +++ b/customer_portal/docs/models/operations/getcontactresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_contact_200_application_json_object` | [Optional[GetContact200ApplicationJSON]](../../models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md index 91def2250..2b36c3d17 100755 --- a/customer_portal/docs/models/operations/getcontractresponse.md +++ b/customer_portal/docs/models/operations/getcontractresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_contract_200_application_json_object` | [Optional[GetContract200ApplicationJSON]](../../models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md index 985a0eb7a..380d8e277 100755 --- a/customer_portal/docs/models/operations/getcountbyemailresponse.md +++ b/customer_portal/docs/models/operations/getcountbyemailresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | +| `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 | | `get_count_by_email_200_application_json_object` | [Optional[GetCountByEmail200ApplicationJSON]](../../models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md index cefa4df16..61bd61965 100755 --- a/customer_portal/docs/models/operations/getecpcontactresponse.md +++ b/customer_portal/docs/models/operations/getecpcontactresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_ecp_contact_200_application_json_object` | [Optional[GetECPContact200ApplicationJSON]](../../models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md index 21193ba93..ab23dfc33 100755 --- a/customer_portal/docs/models/operations/getemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/getemailtemplatesresponse.md @@ -5,8 +5,8 @@ | 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 | | `email_templates` | [Optional[shared.EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md index cf00bb5df..4b79dfc66 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `get_entities_by_identifiers_200_application_json_object` | [Optional[GetEntitiesByIdentifiers200ApplicationJSON]](../../models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md index 46e1b8ccd..602a3185d 100755 --- a/customer_portal/docs/models/operations/getentityidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentityidentifiersresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_entity_identifiers_200_application_json_object` | [Optional[GetEntityIdentifiers200ApplicationJSON]](../../models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidresponse.md b/customer_portal/docs/models/operations/getfilebyidresponse.md index 18b19a319..962865759 100755 --- a/customer_portal/docs/models/operations/getfilebyidresponse.md +++ b/customer_portal/docs/models/operations/getfilebyidresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_file_by_id_200_application_json_object` | [Optional[GetFileByID200ApplicationJSON]](../../models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md index 4c264f27f..e2c06aff0 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md +++ b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md @@ -5,8 +5,8 @@ | 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 | | `entity_file_counts` | list[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md index 7ea2791cb..0a4db27a0 100755 --- a/customer_portal/docs/models/operations/getopportunityresponse.md +++ b/customer_portal/docs/models/operations/getopportunityresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_opportunity_200_application_json_object` | [Optional[GetOpportunity200ApplicationJSON]](../../models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md index 08d192705..da6419160 100755 --- a/customer_portal/docs/models/operations/getorderresponse.md +++ b/customer_portal/docs/models/operations/getorderresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_order_200_application_json_object` | [Optional[GetOrder200ApplicationJSON]](../../models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md index 732c821aa..78d09f0ea 100755 --- a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md +++ b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_organization_settings_200_application_json_object` | [Optional[GetOrganizationSettings200ApplicationJSON]](../../models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md index 64605eea4..09cf5537c 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getorgportalconfigresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | | `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md index 27b2aa862..6e6bd8004 100755 --- a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | | `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md index bbf6ea08c..1f3a01469 100755 --- a/customer_portal/docs/models/operations/getportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | | `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md index d444bd78c..0c826eb24 100755 --- a/customer_portal/docs/models/operations/getportaluserresponse.md +++ b/customer_portal/docs/models/operations/getportaluserresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_portal_user_200_application_json_object` | [Optional[GetPortalUser200ApplicationJSON]](../../models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsresponse.md b/customer_portal/docs/models/operations/getportalwidgetsresponse.md index 5dc6fb14b..f44f3351f 100755 --- a/customer_portal/docs/models/operations/getportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getportalwidgetsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md index e288f56c7..4bc942eec 100755 --- a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | | `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md index 7dcde1a7f..3f9fa9c3c 100755 --- a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md index 9c9c0760a..fd247dc28 100755 --- a/customer_portal/docs/models/operations/getschemasresponse.md +++ b/customer_portal/docs/models/operations/getschemasresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_schemas_200_application_json_object` | [Optional[GetSchemas200ApplicationJSON]](../../models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md index 03859d8f4..c7b9dace4 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `get_valid_secondary_attributes_200_application_json_object` | [Optional[GetValidSecondaryAttributes200ApplicationJSON]](../../models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md index b66372d86..072babe3c 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `replace_ecp_template_variables_200_application_json_object` | [Optional[ReplaceECPTemplateVariables200ApplicationJSON]](../../models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md index bd039d5bc..247318513 100755 --- a/customer_portal/docs/models/operations/saveentityfileresponse.md +++ b/customer_portal/docs/models/operations/saveentityfileresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `save_entity_file_201_application_json_object` | [Optional[SaveEntityFile201ApplicationJSON]](../../models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md index a2c519b8c..a041eb11b 100755 --- a/customer_portal/docs/models/operations/saveportalfilesresponse.md +++ b/customer_portal/docs/models/operations/saveportalfilesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `save_portal_files_201_application_json_object` | [Optional[SavePortalFiles201ApplicationJSON]](../../models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md index 85c92b57a..2351d3bb6 100755 --- a/customer_portal/docs/models/operations/updatecontactresponse.md +++ b/customer_portal/docs/models/operations/updatecontactresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md index 552ae8836..34a813489 100755 --- a/customer_portal/docs/models/operations/updatecontractresponse.md +++ b/customer_portal/docs/models/operations/updatecontractresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md index 87f5f387a..289f44d7e 100755 --- a/customer_portal/docs/models/operations/updateopportunityresponse.md +++ b/customer_portal/docs/models/operations/updateopportunityresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `update_opportunity_200_application_json_object` | [Optional[UpdateOpportunity200ApplicationJSON]](../../models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md index 676f8bec0..de89a98fb 100755 --- a/customer_portal/docs/models/operations/updateorderresponse.md +++ b/customer_portal/docs/models/operations/updateorderresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `update_order_200_application_json_object` | [Optional[UpdateOrder200ApplicationJSON]](../../models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md index c9adc4b29..096b36afc 100755 --- a/customer_portal/docs/models/operations/updateportaluserresponse.md +++ b/customer_portal/docs/models/operations/updateportaluserresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `update_portal_user_200_application_json_object` | [Optional[UpdatePortalUser200ApplicationJSON]](../../models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md index 0c6dceb2a..3648f1404 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `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 | | `upsert_email_templates_200_application_json_object` | [Optional[UpsertEmailTemplates200ApplicationJSON]](../../models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md index 6e3b60fd7..c809dc9c7 100755 --- a/customer_portal/docs/models/operations/upsertportalresponse.md +++ b/customer_portal/docs/models/operations/upsertportalresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | | `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | -| `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/customer_portal/docs/models/operations/upsertportalwidgetresponse.md b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md index e16b6bc10..e6963c7ff 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `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 | | `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md index 3f4070929..e142e956c 100755 --- a/customer_portal/docs/models/operations/userexistsresponse.md +++ b/customer_portal/docs/models/operations/userexistsresponse.md @@ -5,8 +5,8 @@ | 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 | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | +| `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 | | `user_exists_200_application_json_object` | [Optional[UserExists200ApplicationJSON]](../../models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 84d881677..459464e69 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 827b8fdc7cfc08d73a213e7eca4fdc2f docVersion: 1.0.0 - speakeasyVersion: 1.90.0 - generationVersion: 2.125.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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 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/customer_portal/setup.py b/customer_portal/setup.py index dabad6cd9..4e6b13357 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.44.1", + version="1.45.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index 9f9424f8b..2add1e78e 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -44,11 +44,14 @@ class AddEndCustomerRelationToEntity200ApplicationJSON: @dataclasses.dataclass class AddEndCustomerRelationToEntityResponse: 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""" add_end_customer_relation_to_entity_200_application_json_object: Optional[AddEndCustomerRelationToEntity200ApplicationJSON] = dataclasses.field(default=None) r"""Portal user is added as a relation to the requested entity successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 7bdf46790..266efdbe8 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -42,11 +42,14 @@ class ConfigureDistribution200ApplicationJSON: @dataclasses.dataclass class ConfigureDistributionResponse: 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""" configure_distribution_200_application_json_object: Optional[ConfigureDistribution200ApplicationJSON] = dataclasses.field(default=None) r"""The cloudfront distribution has been configure successfully for the custom domain.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index c70dea5f6..106be2135 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -25,9 +25,12 @@ class ConfirmUserRequest: @dataclasses.dataclass class ConfirmUserResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/createcustomentityactivity.py b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py index 0cd94d26e..ad03c1c28 100755 --- a/customer_portal/src/epilot/models/operations/createcustomentityactivity.py +++ b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py @@ -31,11 +31,14 @@ class CreateCustomEntityActivityRequest: @dataclasses.dataclass class CreateCustomEntityActivityResponse: 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""" activity_item: Optional[shared_activityitem.ActivityItem] = dataclasses.field(default=None) r"""Success""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 267d03071..6a0e81435 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -45,11 +45,14 @@ class CreateSSOUser201ApplicationJSON: @dataclasses.dataclass class CreateSSOUserResponse: 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""" create_sso_user_201_application_json_object: Optional[CreateSSOUser201ApplicationJSON] = dataclasses.field(default=None) r"""SSO User created successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index 55692c688..b1a6449d9 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -42,11 +42,14 @@ class CreateUser201ApplicationJSON: @dataclasses.dataclass class CreateUserResponse: 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""" create_user_201_application_json_object: Optional[CreateUser201ApplicationJSON] = dataclasses.field(default=None) r"""User created successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index 467400ad8..82f000c06 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -31,11 +31,14 @@ class DeleteEntityFile202ApplicationJSON: @dataclasses.dataclass class DeleteEntityFileResponse: 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""" delete_entity_file_202_application_json_object: Optional[DeleteEntityFile202ApplicationJSON] = dataclasses.field(default=None) r"""The files are removed from the requested entity successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index 2b38e5735..42cbbc5b1 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -29,9 +29,12 @@ class DeletePortalRequest: @dataclasses.dataclass class DeletePortalResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index e2bc5d0ea..bb02d2f0c 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -37,11 +37,14 @@ class DeletePortalUser200ApplicationJSON: @dataclasses.dataclass class DeletePortalUserResponse: 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""" delete_portal_user_200_application_json_object: Optional[DeletePortalUser200ApplicationJSON] = dataclasses.field(default=None) r"""Portal user deleted successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index 9c101d92b..b4021ea6a 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -46,11 +46,14 @@ class ExtraPermissionAttributes200ApplicationJSON: @dataclasses.dataclass class ExtraPermissionAttributesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" extra_permission_attributes_200_application_json_object: Optional[ExtraPermissionAttributes200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved extra permission attributes successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 96525259f..970fc60d1 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -40,11 +40,14 @@ class GetAllContracts200ApplicationJSON: @dataclasses.dataclass class GetAllContractsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_all_contracts_200_application_json_object: Optional[GetAllContracts200ApplicationJSON] = dataclasses.field(default=None) r"""Contracts have been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getallfiles.py b/customer_portal/src/epilot/models/operations/getallfiles.py index ae631583a..cf4819090 100755 --- a/customer_portal/src/epilot/models/operations/getallfiles.py +++ b/customer_portal/src/epilot/models/operations/getallfiles.py @@ -44,11 +44,14 @@ class GetAllFiles200ApplicationJSON: @dataclasses.dataclass class GetAllFilesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_all_files_200_application_json_object: Optional[GetAllFiles200ApplicationJSON] = dataclasses.field(default=None) r"""The files have been fetched successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 27dbb721a..a6ca5d9d9 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -40,11 +40,14 @@ class GetAllOpportunities200ApplicationJSON: @dataclasses.dataclass class GetAllOpportunitiesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_all_opportunities_200_application_json_object: Optional[GetAllOpportunities200ApplicationJSON] = dataclasses.field(default=None) r"""The opportunities is retrieved successfully for the portal user.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index efed15c7d..1eb1852a9 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -40,11 +40,14 @@ class GetAllOrders200ApplicationJSON: @dataclasses.dataclass class GetAllOrdersResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_all_orders_200_application_json_object: Optional[GetAllOrders200ApplicationJSON] = dataclasses.field(default=None) r"""The orders for the portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index b55f27ea3..d27fd9abb 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -32,11 +32,14 @@ class GetAllPortalConfigs200ApplicationJSON: @dataclasses.dataclass class GetAllPortalConfigsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_all_portal_configs_200_application_json_object: Optional[GetAllPortalConfigs200ApplicationJSON] = dataclasses.field(default=None) r"""All portal configs retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index ca3dceb96..e8d6bd4fe 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -34,11 +34,14 @@ class GetContact200ApplicationJSON: @dataclasses.dataclass class GetContactResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_contact_200_application_json_object: Optional[GetContact200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieves the mapped contact of the logged in user successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getcontactcount.py b/customer_portal/src/epilot/models/operations/getcontactcount.py index 312d789fe..a9ecb0f21 100755 --- a/customer_portal/src/epilot/models/operations/getcontactcount.py +++ b/customer_portal/src/epilot/models/operations/getcontactcount.py @@ -37,11 +37,14 @@ class GetContactCount200ApplicationJSON: @dataclasses.dataclass class GetContactCountResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" get_contact_count_200_application_json_object: Optional[GetContactCount200ApplicationJSON] = dataclasses.field(default=None) r"""Contact count for the request successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index f12ffbbcd..f4510a143 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -48,11 +48,14 @@ class GetContract200ApplicationJSON: @dataclasses.dataclass class GetContractResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_contract_200_application_json_object: Optional[GetContract200ApplicationJSON] = dataclasses.field(default=None) r"""The requested contract returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index 54326c8ab..f793bfc72 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -33,11 +33,14 @@ class GetCountByEmail200ApplicationJSON: @dataclasses.dataclass class GetCountByEmailResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" get_count_by_email_200_application_json_object: Optional[GetCountByEmail200ApplicationJSON] = dataclasses.field(default=None) r"""Contact count for the requested email successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index b0cc98424..b8a44e6fb 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -40,11 +40,14 @@ class GetECPContact200ApplicationJSON: @dataclasses.dataclass class GetECPContactResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_ecp_contact_200_application_json_object: Optional[GetECPContact200ApplicationJSON] = dataclasses.field(default=None) r"""The contact returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index 3c00bc2c9..a934b627f 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -30,11 +30,14 @@ class GetEmailTemplatesRequest: @dataclasses.dataclass class GetEmailTemplatesResponse: 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""" email_templates: Optional[shared_emailtemplates.EmailTemplates] = dataclasses.field(default=None) r"""Retrieved the email templates successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 5a389eb22..1395bd4ad 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -43,11 +43,14 @@ class GetEntitiesByIdentifiers200ApplicationJSON: @dataclasses.dataclass class GetEntitiesByIdentifiersResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" get_entities_by_identifiers_200_application_json_object: Optional[GetEntitiesByIdentifiers200ApplicationJSON] = dataclasses.field(default=None) r"""The returned Entities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index fb9184d64..5849a140b 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -53,11 +53,14 @@ class GetEntityIdentifiers200ApplicationJSON: @dataclasses.dataclass class GetEntityIdentifiersResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_entity_identifiers_200_application_json_object: Optional[GetEntityIdentifiers200ApplicationJSON] = dataclasses.field(default=None) r"""The identifiers of the requested entity returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getfilebyid.py b/customer_portal/src/epilot/models/operations/getfilebyid.py index bc63dc103..d9f58e96e 100755 --- a/customer_portal/src/epilot/models/operations/getfilebyid.py +++ b/customer_portal/src/epilot/models/operations/getfilebyid.py @@ -40,11 +40,14 @@ class GetFileByID200ApplicationJSON: @dataclasses.dataclass class GetFileByIDResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_file_by_id_200_application_json_object: Optional[GetFileByID200ApplicationJSON] = dataclasses.field(default=None) r"""The files have been fetched successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getfilescountbyentity.py b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py index 12a455f0c..44d7f8bda 100755 --- a/customer_portal/src/epilot/models/operations/getfilescountbyentity.py +++ b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py @@ -20,11 +20,14 @@ class GetFilesCountByEntitySecurity: @dataclasses.dataclass class GetFilesCountByEntityResponse: 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""" entity_file_counts: Optional[list[shared_entityfilecount.EntityFileCount]] = dataclasses.field(default=None) r"""The file counts have been fetched successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index b53d491d6..9e5c489ed 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -49,11 +49,14 @@ class GetOpportunity200ApplicationJSON: @dataclasses.dataclass class GetOpportunityResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_opportunity_200_application_json_object: Optional[GetOpportunity200ApplicationJSON] = dataclasses.field(default=None) r"""The returned opportunities""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index f9bac58b2..c2d2ab8f6 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -51,11 +51,14 @@ class GetOrder200ApplicationJSON: @dataclasses.dataclass class GetOrderResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_order_200_application_json_object: Optional[GetOrder200ApplicationJSON] = dataclasses.field(default=None) r"""The requested order has been retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 792748903..79d5cedb4 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -32,11 +32,14 @@ class GetOrganizationSettings200ApplicationJSON: @dataclasses.dataclass class GetOrganizationSettingsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_organization_settings_200_application_json_object: Optional[GetOrganizationSettings200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved the settings for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index 0394acc95..a00b15600 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -30,11 +30,14 @@ class GetOrgPortalConfigRequest: @dataclasses.dataclass class GetOrgPortalConfigResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index 750a80c00..4c6c4b159 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -31,11 +31,14 @@ class GetPortalConfigRequest: @dataclasses.dataclass class GetPortalConfigResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index 2b3fb3c4c..bfbaa5ec1 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -20,11 +20,14 @@ class GetPortalConfigByDomainRequest: @dataclasses.dataclass class GetPortalConfigByDomainResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index 8be969f78..917644864 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -32,11 +32,14 @@ class GetPortalUser200ApplicationJSON: @dataclasses.dataclass class GetPortalUserResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_portal_user_200_application_json_object: Optional[GetPortalUser200ApplicationJSON] = dataclasses.field(default=None) r"""Portal user returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getportalwidgets.py b/customer_portal/src/epilot/models/operations/getportalwidgets.py index a189ec582..e4f8a1f93 100755 --- a/customer_portal/src/epilot/models/operations/getportalwidgets.py +++ b/customer_portal/src/epilot/models/operations/getportalwidgets.py @@ -31,10 +31,13 @@ class GetPortalWidgetsRequest: @dataclasses.dataclass class GetPortalWidgetsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) r"""Retrieved the portal widgets successfully.""" diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 3469d7063..5d0db30ef 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -23,11 +23,14 @@ class GetPublicPortalConfigRequest: @dataclasses.dataclass class GetPublicPortalConfigResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal config retrieved successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py index 3c6a9cb2c..a61d2098b 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py @@ -23,10 +23,13 @@ class GetPublicPortalWidgetsRequest: @dataclasses.dataclass class GetPublicPortalWidgetsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) r"""Retrieved the portal public widgets successfully.""" diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index 9b209ea91..541b9dd06 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -31,11 +31,14 @@ class GetSchemas200ApplicationJSON: @dataclasses.dataclass class GetSchemasResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_schemas_200_application_json_object: Optional[GetSchemas200ApplicationJSON] = dataclasses.field(default=None) r"""Retrieved schemas for an organization successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index 1ce21bcc8..4c9068a5b 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -43,11 +43,14 @@ class GetValidSecondaryAttributes200ApplicationJSON: @dataclasses.dataclass class GetValidSecondaryAttributesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" get_valid_secondary_attributes_200_application_json_object: Optional[GetValidSecondaryAttributes200ApplicationJSON] = dataclasses.field(default=None) r"""Valid secondary attributes for the contact entity are returned successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 175515e78..17e6b985f 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -61,10 +61,13 @@ class ReplaceECPTemplateVariables200ApplicationJSON: @dataclasses.dataclass class ReplaceECPTemplateVariablesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" replace_ecp_template_variables_200_application_json_object: Optional[ReplaceECPTemplateVariables200ApplicationJSON] = dataclasses.field(default=None) r"""Replaced portal template variables successfully.""" diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index 8e1351b3d..c4d60840f 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -31,10 +31,13 @@ class SaveEntityFile201ApplicationJSON: @dataclasses.dataclass class SaveEntityFileResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" save_entity_file_201_application_json_object: Optional[SaveEntityFile201ApplicationJSON] = dataclasses.field(default=None) r"""The files have been saved to the entitiy successfully.""" diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index 75367d259..a0bf36535 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -31,10 +31,13 @@ class SavePortalFiles201ApplicationJSON: @dataclasses.dataclass class SavePortalFilesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" save_portal_files_201_application_json_object: Optional[SavePortalFiles201ApplicationJSON] = dataclasses.field(default=None) r"""The files have been saved to the portal successfully.""" diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index 9f82eb16e..1e05db2e3 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -32,10 +32,13 @@ class UpdateContact200ApplicationJSON: @dataclasses.dataclass class UpdateContactResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" update_contact_200_application_json_object: Optional[UpdateContact200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contact details successfully.""" diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index fb682e06f..bd47564c4 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -43,10 +43,13 @@ class UpdateContract200ApplicationJSON: @dataclasses.dataclass class UpdateContractResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contract successfully.""" diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 32aacacb4..9e28979b3 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -43,10 +43,13 @@ class UpdateOpportunity200ApplicationJSON: @dataclasses.dataclass class UpdateOpportunityResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" update_opportunity_200_application_json_object: Optional[UpdateOpportunity200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the opportunity successfully.""" diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index 7426edc36..91ad944d5 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -42,10 +42,13 @@ class UpdateOrder200ApplicationJSON: @dataclasses.dataclass class UpdateOrderResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" update_order_200_application_json_object: Optional[UpdateOrder200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the order details successfully.""" diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index 9952ebb28..ee375bdd6 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -32,10 +32,13 @@ class UpdatePortalUser200ApplicationJSON: @dataclasses.dataclass class UpdatePortalUserResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" update_portal_user_200_application_json_object: Optional[UpdatePortalUser200ApplicationJSON] = dataclasses.field(default=None) r"""The portal user updated successfully.""" diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 52137ee0d..0c4de03b7 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -50,10 +50,13 @@ class UpsertEmailTemplates200ApplicationJSON: @dataclasses.dataclass class UpsertEmailTemplatesResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" upsert_email_templates_200_application_json_object: Optional[UpsertEmailTemplates200ApplicationJSON] = dataclasses.field(default=None) r"""Upserted email templates of the portal successfully.""" diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index 16700f983..ceea3cb55 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -33,11 +33,14 @@ class UpsertPortalRequest: @dataclasses.dataclass class UpsertPortalResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" portal_config: Optional[shared_portalconfig.PortalConfig] = dataclasses.field(default=None) r"""Portal upserted successfully.""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/customer_portal/src/epilot/models/operations/upsertportalwidget.py b/customer_portal/src/epilot/models/operations/upsertportalwidget.py index 8af6bb8bd..6f79f3b6b 100755 --- a/customer_portal/src/epilot/models/operations/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/operations/upsertportalwidget.py @@ -32,10 +32,13 @@ class UpsertPortalWidgetRequest: @dataclasses.dataclass class UpsertPortalWidgetResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""The request could not be validated""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" upsert_portal_widget: Optional[shared_upsertportalwidget.UpsertPortalWidget] = dataclasses.field(default=None) r"""Portal widget configuration upserted successfully.""" diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index 83a1a7ba9..d5c0e6f02 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -38,10 +38,13 @@ class UserExists200ApplicationJSON: @dataclasses.dataclass class UserExistsResponse: 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""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Server Error""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" user_exists_200_application_json_object: Optional[UserExists200ApplicationJSON] = dataclasses.field(default=None) r"""Returned whether the user exists in the portal or not successfully.""" diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 6be74eba0..4463201af 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.1' - gen_version: str = '2.125.1' + sdk_version: str = '1.45.0' + gen_version: str = '2.129.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From a4591d012214010bd2a75bfa3c681ee793d19413 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Sep 2023 00:30:43 +0000 Subject: [PATCH 83/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.2 --- customer_portal/README.md | 6 ++-- customer_portal/RELEASES.md | 10 +++++- .../docs/models/shared/portalwidget.md | 35 +++++++++++++++++++ .../docs/models/shared/upsertportalwidget.md | 6 ++-- customer_portal/docs/sdks/ecp/README.md | 1 + customer_portal/docs/sdks/ecpadmin/README.md | 26 ++------------ customer_portal/docs/sdks/epilot/README.md | 1 + customer_portal/docs/sdks/public/README.md | 11 +++--- customer_portal/files.gen | 1 + customer_portal/gen.yaml | 8 ++--- customer_portal/setup.py | 4 +-- .../models/shared/upsertportalwidget.py | 9 +++-- .../src/epilot/sdkconfiguration.py | 4 +-- customer_portal/src/epilot/utils/utils.py | 8 +++++ 14 files changed, 84 insertions(+), 46 deletions(-) create mode 100755 customer_portal/docs/models/shared/portalwidget.md diff --git a/customer_portal/README.md b/customer_portal/README.md index 41ed935fd..2588d87f4 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -34,7 +34,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ## Available Resources and Operations -### [Ecp](docs/sdks/ecp/README.md) +### [ecp](docs/sdks/ecp/README.md) * [add_end_customer_relation_to_entity](docs/sdks/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity * [create_custom_entity_activity](docs/sdks/ecp/README.md#create_custom_entity_activity) - createCustomEntityActivity @@ -63,7 +63,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [update_order](docs/sdks/ecp/README.md#update_order) - updateOrder * [update_portal_user](docs/sdks/ecp/README.md#update_portal_user) - updatePortalUser -### [ECPAdmin](docs/sdks/ecpadmin/README.md) +### [ecp_admin](docs/sdks/ecpadmin/README.md) * [configure_distribution](docs/sdks/ecpadmin/README.md#configure_distribution) - configureDistribution * [create_sso_user](docs/sdks/ecpadmin/README.md#create_sso_user) - createSSOUser @@ -83,7 +83,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [upsert_portal](docs/sdks/ecpadmin/README.md#upsert_portal) - upsertPortal * [upsert_portal_widget](docs/sdks/ecpadmin/README.md#upsert_portal_widget) - upsertPortalWidget -### [Public](docs/sdks/public/README.md) +### [public](docs/sdks/public/README.md) * [confirm_user](docs/sdks/public/README.md#confirm_user) - confirmUser * [create_user](docs/sdks/public/README.md#create_user) - createUser diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 4f6183378..f9f546736 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -564,4 +564,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.45.0] customer_portal \ No newline at end of file +- [python v1.45.0] customer_portal + +## 2023-09-27 00:30:26 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.45.1] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalwidget.md b/customer_portal/docs/models/shared/portalwidget.md new file mode 100755 index 000000000..bea1372d2 --- /dev/null +++ b/customer_portal/docs/models/shared/portalwidget.md @@ -0,0 +1,35 @@ +# PortalWidget + + +## Supported Types + +### EntityWidget + +```python +portalWidget: shared.EntityWidget = /* values here */ +``` + +### ContentWidget + +```python +portalWidget: shared.ContentWidget = /* values here */ +``` + +### ActionWidget + +```python +portalWidget: shared.ActionWidget = /* values here */ +``` + +### TeaserWidget + +```python +portalWidget: shared.TeaserWidget = /* values here */ +``` + +### DocumentWidget + +```python +portalWidget: shared.DocumentWidget = /* values here */ +``` + diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 3b16bab35..33713fe38 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `widgets` | list[*Any*] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `widgets` | list[[Union[EntityWidget, ContentWidget, ActionWidget, TeaserWidget, DocumentWidget]](../../models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 0547fa24f..10fef0e1f 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -1,4 +1,5 @@ # Ecp +(*ecp*) ## Overview diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index b1f244bfc..30f3b7269 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -1,4 +1,5 @@ # ECPAdmin +(*ecp_admin*) ## Overview @@ -724,30 +725,7 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - shared.ActionWidget( - actions=[ - shared.WidgetAction( - id='cc78ca1b-a928-4fc8-9674-2cb739205929', - label=shared.WidgetActionLabel( - de='dolor', - en='natus', - ), - type=shared.WidgetActionType.LINK, - url='hic', - ), - ], - headline=shared.ActionWidgetHeadline( - de='saepe', - en='fuga', - ), - id='7596eb10-faaa-4235-ac59-55907aff1a3a', - list_index=161309, - sub_headline=shared.ActionWidgetSubHeadline( - de='repellat', - en='mollitia', - ), - type=shared.ActionWidgetType.ENTITY_WIDGET, - ), + [], ], ), origin=shared.Origin.END_CUSTOMER_PORTAL, diff --git a/customer_portal/docs/sdks/epilot/README.md b/customer_portal/docs/sdks/epilot/README.md index e45d182d2..0460aed8f 100755 --- a/customer_portal/docs/sdks/epilot/README.md +++ b/customer_portal/docs/sdks/epilot/README.md @@ -1,5 +1,6 @@ # Epilot SDK + ## Overview Portal API: Backend for epilot portals - End Customer Portal & Installer Portal diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index aae4773fc..e65d2b9d3 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -1,4 +1,5 @@ # Public +(*public*) ## Overview @@ -34,7 +35,7 @@ s = epilot.Epilot( req = operations.ConfirmUserRequest( id='5da0a718-c822-403d-9f5d-20d4584e0528', org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.confirm_user(req) @@ -75,7 +76,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "quam": 'molestiae', + "quod": 'esse', }, email='testemail921@yopmail.com', first_name='John', @@ -84,7 +85,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -124,7 +125,7 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "error": 'quia', + "porro": 'dolorum', }, org_id='728', ), @@ -244,7 +245,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalConfigRequest( org_id='12324', - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_public_portal_config(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 9a02c77f2..61875efce 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -308,6 +308,7 @@ docs/models/shared/granteffect.md docs/models/shared/grant.md docs/models/shared/emailtemplates.md docs/models/shared/upsertportalwidget.md +docs/models/shared/portalwidget.md docs/models/shared/entitywidgetheadline.md docs/models/shared/entitywidgetsubheadline.md docs/models/shared/entitywidgettype.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 459464e69..fa6bd9d37 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 827b8fdc7cfc08d73a213e7eca4fdc2f 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.45.0 + version: 1.45.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 4e6b13357..814cd437c 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.45.0", + version="1.45.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/customer_portal/src/epilot/models/shared/upsertportalwidget.py b/customer_portal/src/epilot/models/shared/upsertportalwidget.py index 8c63e0bd2..0f933592f 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/shared/upsertportalwidget.py @@ -2,15 +2,20 @@ from __future__ import annotations import dataclasses +from ..shared import actionwidget as shared_actionwidget +from ..shared import contentwidget as shared_contentwidget +from ..shared import documentwidget as shared_documentwidget +from ..shared import entitywidget as shared_entitywidget +from ..shared import teaserwidget as shared_teaserwidget from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any +from typing import Union @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpsertPortalWidget: - widgets: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) + widgets: list[Union[shared_entitywidget.EntityWidget, shared_contentwidget.ContentWidget, shared_actionwidget.ActionWidget, shared_teaserwidget.TeaserWidget, shared_documentwidget.DocumentWidget]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 4463201af..cf6da8b9a 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.45.0' - gen_version: str = '2.129.1' + sdk_version: str = '1.45.1' + gen_version: str = '2.131.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 05eafba6c..b0aeb54de 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 527643de983aced0d16d85887ce0fa349b8979d6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 29 Sep 2023 00:30:33 +0000 Subject: [PATCH 84/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.3 --- customer_portal/RELEASES.md | 10 ++- .../addendcustomerrelationtoentityrequest.md | 8 +- .../addendcustomerrelationtoentityresponse.md | 14 ++-- .../addendcustomerrelationtoentitysecurity.md | 2 +- .../configuredistributionrequest.md | 6 +- .../configuredistributionresponse.md | 14 ++-- .../configuredistributionsecurity.md | 2 +- .../models/operations/confirmuserrequest.md | 10 +-- .../models/operations/confirmuserresponse.md | 6 +- .../createcustomentityactivityrequest.md | 2 +- .../createcustomentityactivityresponse.md | 8 +- .../createcustomentityactivitysecurity.md | 2 +- .../models/operations/createssouserrequest.md | 8 +- .../operations/createssouserresponse.md | 14 ++-- .../operations/createssousersecurity.md | 2 +- .../createuser201applicationjson.md | 8 +- .../createuser201applicationjsonmessage.md | 8 -- .../models/operations/createuserrequest.md | 8 +- .../models/operations/createuserresponse.md | 14 ++-- .../operations/deleteentityfileresponse.md | 14 ++-- .../operations/deleteentityfilesecurity.md | 2 +- .../models/operations/deleteportalrequest.md | 6 +- .../models/operations/deleteportalresponse.md | 6 +- .../models/operations/deleteportalsecurity.md | 2 +- .../deleteportaluser200applicationjson.md | 8 +- ...leteportaluser200applicationjsonmessage.md | 8 -- .../operations/deleteportaluserresponse.md | 14 ++-- .../operations/deleteportalusersecurity.md | 2 +- ...apermissionattributes200applicationjson.md | 6 +- ...missionattributes200applicationjsondata.md | 16 ++-- .../extrapermissionattributesresponse.md | 14 ++-- .../extrapermissionattributessecurity.md | 2 +- .../operations/getallcontractsresponse.md | 14 ++-- .../operations/getallcontractssecurity.md | 2 +- .../models/operations/getallfilesrequest.md | 4 +- .../models/operations/getallfilesresponse.md | 14 ++-- .../models/operations/getallfilessecurity.md | 2 +- .../operations/getallopportunitiesresponse.md | 14 ++-- .../operations/getallopportunitiessecurity.md | 2 +- .../models/operations/getallordersresponse.md | 14 ++-- .../models/operations/getallorderssecurity.md | 2 +- .../getallportalconfigs200applicationjson.md | 6 +- .../operations/getallportalconfigsresponse.md | 14 ++-- .../operations/getallportalconfigssecurity.md | 2 +- .../operations/getcontactcountrequest.md | 8 +- .../operations/getcontactcountresponse.md | 14 ++-- .../models/operations/getcontactresponse.md | 14 ++-- .../models/operations/getcontactsecurity.md | 2 +- .../models/operations/getcontractrequest.md | 2 +- .../models/operations/getcontractresponse.md | 14 ++-- .../models/operations/getcontractsecurity.md | 2 +- .../operations/getcountbyemailrequest.md | 4 +- .../operations/getcountbyemailresponse.md | 14 ++-- .../models/operations/getecpcontactrequest.md | 2 +- .../operations/getecpcontactresponse.md | 14 ++-- .../operations/getecpcontactsecurity.md | 2 +- .../operations/getemailtemplatesrequest.md | 6 +- .../operations/getemailtemplatesresponse.md | 8 +- .../operations/getemailtemplatessecurity.md | 2 +- .../getentitiesbyidentifiersrequest.md | 8 +- .../getentitiesbyidentifiersresponse.md | 14 ++-- .../getentitiesbyidentifierssecurity.md | 2 +- .../getentityidentifiers200applicationjson.md | 6 +- .../operations/getentityidentifiersrequest.md | 6 +- .../getentityidentifiersresponse.md | 14 ++-- .../getentityidentifierssecurity.md | 2 +- .../models/operations/getfilebyidrequest.md | 2 +- .../models/operations/getfilebyidresponse.md | 14 ++-- .../models/operations/getfilebyidsecurity.md | 2 +- .../getfilescountbyentityresponse.md | 8 +- .../getfilescountbyentitysecurity.md | 2 +- .../operations/getopportunityrequest.md | 2 +- .../operations/getopportunityresponse.md | 14 ++-- .../operations/getopportunitysecurity.md | 2 +- .../docs/models/operations/getorderrequest.md | 2 +- .../models/operations/getorderresponse.md | 14 ++-- .../models/operations/getordersecurity.md | 2 +- ...torganizationsettings200applicationjson.md | 6 +- .../getorganizationsettingsresponse.md | 14 ++-- .../getorganizationsettingssecurity.md | 2 +- .../operations/getorgportalconfigrequest.md | 6 +- .../operations/getorgportalconfigresponse.md | 8 +- .../operations/getorgportalconfigsecurity.md | 2 +- .../getportalconfigbydomainrequest.md | 2 +- .../getportalconfigbydomainresponse.md | 8 +- .../operations/getportalconfigrequest.md | 6 +- .../operations/getportalconfigresponse.md | 8 +- .../operations/getportaluserresponse.md | 14 ++-- .../operations/getportalusersecurity.md | 2 +- .../operations/getportalwidgetsrequest.md | 6 +- .../operations/getportalwidgetsresponse.md | 8 +- .../getpublicportalconfigrequest.md | 8 +- .../getpublicportalconfigresponse.md | 8 +- .../getpublicportalwidgetsrequest.md | 8 +- .../getpublicportalwidgetsresponse.md | 8 +- .../models/operations/getschemasresponse.md | 14 ++-- .../models/operations/getschemassecurity.md | 2 +- ...idsecondaryattributes200applicationjson.md | 6 +- .../getvalidsecondaryattributesresponse.md | 14 ++-- .../getvalidsecondaryattributessecurity.md | 2 +- ...eecptemplatevariables200applicationjson.md | 8 +- .../replaceecptemplatevariablesresponse.md | 14 ++-- .../replaceecptemplatevariablessecurity.md | 2 +- .../operations/saveentityfileresponse.md | 14 ++-- .../operations/saveentityfilesecurity.md | 2 +- .../operations/saveportalfilesresponse.md | 14 ++-- .../operations/saveportalfilessecurity.md | 2 +- .../operations/updatecontactresponse.md | 14 ++-- .../operations/updatecontactsecurity.md | 2 +- .../operations/updatecontractrequest.md | 2 +- .../operations/updatecontractresponse.md | 14 ++-- .../operations/updatecontractsecurity.md | 2 +- .../operations/updateopportunityrequest.md | 2 +- .../operations/updateopportunityresponse.md | 14 ++-- .../operations/updateopportunitysecurity.md | 2 +- .../models/operations/updateorderrequest.md | 2 +- .../models/operations/updateorderresponse.md | 14 ++-- .../models/operations/updateordersecurity.md | 2 +- .../operations/updateportaluserresponse.md | 14 ++-- .../operations/updateportalusersecurity.md | 2 +- .../upsertemailtemplates200applicationjson.md | 8 +- ...emailtemplates200applicationjsonmessage.md | 8 -- .../operations/upsertemailtemplatesrequest.md | 8 +- .../upsertemailtemplatesresponse.md | 14 ++-- .../upsertemailtemplatessecurity.md | 2 +- .../models/operations/upsertportalrequest.md | 8 +- .../models/operations/upsertportalresponse.md | 8 +- .../models/operations/upsertportalsecurity.md | 2 +- .../operations/upsertportalwidgetrequest.md | 8 +- .../operations/upsertportalwidgetresponse.md | 8 +- .../operations/upsertportalwidgetsecurity.md | 2 +- .../userexists200applicationjson.md | 2 +- .../models/operations/userexistsrequest.md | 6 +- .../models/operations/userexistsresponse.md | 14 ++-- .../docs/models/shared/actionwidget.md | 16 ++-- .../docs/models/shared/activity.md | 6 +- .../docs/models/shared/activityitem.md | 16 ++-- .../docs/models/shared/activityitempayload.md | 8 +- .../docs/models/shared/contactcountrequest.md | 2 +- .../docs/models/shared/contentwidget.md | 16 ++-- .../models/shared/createssouserrequest.md | 2 +- .../docs/models/shared/createuserrequest.md | 6 +- .../docs/models/shared/deleteentityfile.md | 4 +- .../docs/models/shared/documentwidget.md | 14 ++-- .../docs/models/shared/entityfilecount.md | 6 +- .../docs/models/shared/entitywidget.md | 16 ++-- .../models/shared/extraschemaattributes.md | 6 +- customer_portal/docs/models/shared/grant.md | 10 +-- .../models/shared/organizationsettings.md | 42 +++++----- .../docs/models/shared/portalconfig.md | 26 +++--- .../shared/portalconfigentityactions.md | 10 +-- .../shared/portalconfigentityeditrules.md | 24 +++--- .../shared/portalconfigentityidentifiers.md | 6 +- .../models/shared/portalconfigorgsettings.md | 8 +- .../docs/models/shared/saveentityfile.md | 10 +-- .../docs/models/shared/saveentityfilefiles.md | 16 ++-- .../models/shared/saveentityfilefiless3ref.md | 4 +- .../docs/models/shared/saveportalfile.md | 8 +- .../docs/models/shared/saveportalfilefiles.md | 12 +-- .../models/shared/saveportalfilefiless3ref.md | 4 +- .../docs/models/shared/teaserwidget.md | 20 ++--- .../docs/models/shared/upsertportalconfig.md | 22 +++--- .../shared/upsertportalconfigentityactions.md | 10 +-- .../upsertportalconfigentityeditrules.md | 24 +++--- .../upsertportalconfigentityidentifiers.md | 6 +- .../docs/models/shared/upsertportalwidget.md | 6 +- .../docs/models/shared/widgetaction.md | 12 +-- customer_portal/docs/sdks/ecp/README.md | 22 +++--- customer_portal/docs/sdks/ecpadmin/README.md | 34 ++++---- customer_portal/docs/sdks/public/README.md | 10 +-- customer_portal/files.gen | 3 - customer_portal/gen.yaml | 8 +- customer_portal/pylintrc | 4 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 70 ++++++++-------- customer_portal/src/epilot/ecp_admin.py | 46 +++++------ .../src/epilot/models/operations/__init__.py | 2 +- .../epilot/models/operations/createuser.py | 8 +- .../models/operations/deleteportaluser.py | 8 +- .../models/operations/getallcontracts.py | 4 +- .../models/operations/getallopportunities.py | 4 +- .../epilot/models/operations/getallorders.py | 4 +- .../models/operations/upsertemailtemplates.py | 8 +- .../src/epilot/models/shared/grant.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 6 +- .../epilot/models/shared/saveentityfile.py | 2 +- .../models/shared/upsertportalconfig.py | 6 +- customer_portal/src/epilot/public.py | 20 ++--- .../src/epilot/sdkconfiguration.py | 5 +- customer_portal/src/epilot/utils/utils.py | 79 ++++++++++++++++--- 190 files changed, 873 insertions(+), 844 deletions(-) delete mode 100755 customer_portal/docs/models/operations/createuser201applicationjsonmessage.md delete mode 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md delete mode 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index f9f546736..294ddd057 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -572,4 +572,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.45.1] customer_portal \ No newline at end of file +- [python v1.45.1] customer_portal + +## 2023-09-29 00:30:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.0] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md index 121af0f78..3e3564d64 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `id` | *str* | :heavy_check_mark: | The ID of the Entity | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the Entity | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md index 30c4b0224..0ffd87908 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[AddEndCustomerRelationToEntity200ApplicationJSON]](../../models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[operations.AddEndCustomerRelationToEntity200ApplicationJSON]](undefined/models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md index 757f431ba..b8445117c 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionrequest.md b/customer_portal/docs/models/operations/configuredistributionrequest.md index a9159643c..3e14c53fa 100755 --- a/customer_portal/docs/models/operations/configuredistributionrequest.md +++ b/customer_portal/docs/models/operations/configuredistributionrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md index c8108aab4..a9a336fce 100755 --- a/customer_portal/docs/models/operations/configuredistributionresponse.md +++ b/customer_portal/docs/models/operations/configuredistributionresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `configure_distribution_200_application_json_object` | [Optional[ConfigureDistribution200ApplicationJSON]](../../models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `configure_distribution_200_application_json_object` | [Optional[operations.ConfigureDistribution200ApplicationJSON]](undefined/models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionsecurity.md b/customer_portal/docs/models/operations/configuredistributionsecurity.md index ae8f09d62..01aac76d8 100755 --- a/customer_portal/docs/models/operations/configuredistributionsecurity.md +++ b/customer_portal/docs/models/operations/configuredistributionsecurity.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/customer_portal/docs/models/operations/confirmuserrequest.md b/customer_portal/docs/models/operations/confirmuserrequest.md index c1921893a..a7f6142dd 100755 --- a/customer_portal/docs/models/operations/confirmuserrequest.md +++ b/customer_portal/docs/models/operations/confirmuserrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The ID of portal user id | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `org_id` | *str* | :heavy_check_mark: | Organization ID | 123 | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of portal user id | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org_id` | *Optional[str]* | :heavy_check_mark: | Organization ID | 123 | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md index 13ed575d9..990ee6d0d 100755 --- a/customer_portal/docs/models/operations/confirmuserresponse.md +++ b/customer_portal/docs/models/operations/confirmuserresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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/customer_portal/docs/models/operations/createcustomentityactivityrequest.md b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md index 544ca4251..104b204e2 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityrequest.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `activity` | [Optional[shared.Activity]](../../models/shared/activity.md) | :heavy_minus_sign: | N/A | +| `activity` | [Optional[shared.Activity]](undefined/models/shared/activity.md) | :heavy_minus_sign: | N/A | | `entities` | list[*str*] | :heavy_minus_sign: | Comma-separated list of entities which the activity primarily concerns | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md index 587f069b4..cd0689f63 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `activity_item` | [Optional[shared.ActivityItem]](../../models/shared/activityitem.md) | :heavy_minus_sign: | Success | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `activity_item` | [Optional[shared.ActivityItem]](undefined/models/shared/activityitem.md) | :heavy_minus_sign: | Success | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md index c63cdef81..45f71bcda 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md +++ b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserrequest.md b/customer_portal/docs/models/operations/createssouserrequest.md index d761e97d2..32652637a 100755 --- a/customer_portal/docs/models/operations/createssouserrequest.md +++ b/customer_portal/docs/models/operations/createssouserrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `create_sso_user_request` | [shared.CreateSSOUserRequest](../../models/shared/createssouserrequest.md) | :heavy_check_mark: | Portal user payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `create_sso_user_request` | [Optional[shared.CreateSSOUserRequest]](undefined/models/shared/createssouserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md index 6cc4a3ba3..a318f0bf6 100755 --- a/customer_portal/docs/models/operations/createssouserresponse.md +++ b/customer_portal/docs/models/operations/createssouserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `create_sso_user_201_application_json_object` | [Optional[CreateSSOUser201ApplicationJSON]](../../models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_sso_user_201_application_json_object` | [Optional[operations.CreateSSOUser201ApplicationJSON]](undefined/models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssousersecurity.md b/customer_portal/docs/models/operations/createssousersecurity.md index 42e9555a3..4755227f4 100755 --- a/customer_portal/docs/models/operations/createssousersecurity.md +++ b/customer_portal/docs/models/operations/createssousersecurity.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/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md index f2ec9c9c2..e36837b68 100755 --- a/customer_portal/docs/models/operations/createuser201applicationjson.md +++ b/customer_portal/docs/models/operations/createuser201applicationjson.md @@ -5,7 +5,7 @@ User created successfully. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `message` | [CreateUser201ApplicationJSONMessage](../../models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | -| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `message` | *Optional[str]* | :heavy_check_mark: | N/A | +| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md deleted file mode 100755 index caba31659..000000000 --- a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md +++ /dev/null @@ -1,8 +0,0 @@ -# CreateUser201ApplicationJSONMessage - - -## Values - -| Name | Value | -| --------------------------- | --------------------------- | -| `USER_CREATED_SUCCESSFULLY` | User created successfully | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserrequest.md b/customer_portal/docs/models/operations/createuserrequest.md index 2251b5519..5112f253a 100755 --- a/customer_portal/docs/models/operations/createuserrequest.md +++ b/customer_portal/docs/models/operations/createuserrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `create_user_request` | [shared.CreateUserRequest](../../models/shared/createuserrequest.md) | :heavy_check_mark: | Portal user payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `create_user_request` | [Optional[shared.CreateUserRequest]](undefined/models/shared/createuserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md index e198a343b..db9462759 100755 --- a/customer_portal/docs/models/operations/createuserresponse.md +++ b/customer_portal/docs/models/operations/createuserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `create_user_201_application_json_object` | [Optional[CreateUser201ApplicationJSON]](../../models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_user_201_application_json_object` | [Optional[operations.CreateUser201ApplicationJSON]](undefined/models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md index 411f75a86..034ddba3b 100755 --- a/customer_portal/docs/models/operations/deleteentityfileresponse.md +++ b/customer_portal/docs/models/operations/deleteentityfileresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `delete_entity_file_202_application_json_object` | [Optional[DeleteEntityFile202ApplicationJSON]](../../models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `delete_entity_file_202_application_json_object` | [Optional[operations.DeleteEntityFile202ApplicationJSON]](undefined/models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfilesecurity.md b/customer_portal/docs/models/operations/deleteentityfilesecurity.md index 67841fc0e..2829134b1 100755 --- a/customer_portal/docs/models/operations/deleteentityfilesecurity.md +++ b/customer_portal/docs/models/operations/deleteentityfilesecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalrequest.md b/customer_portal/docs/models/operations/deleteportalrequest.md index 40381b067..eb6082fea 100755 --- a/customer_portal/docs/models/operations/deleteportalrequest.md +++ b/customer_portal/docs/models/operations/deleteportalrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md index 838d556aa..d14aef5be 100755 --- a/customer_portal/docs/models/operations/deleteportalresponse.md +++ b/customer_portal/docs/models/operations/deleteportalresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/deleteportalsecurity.md b/customer_portal/docs/models/operations/deleteportalsecurity.md index 0e0a7611f..ce5822592 100755 --- a/customer_portal/docs/models/operations/deleteportalsecurity.md +++ b/customer_portal/docs/models/operations/deleteportalsecurity.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/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md index 920f11e50..4d7f6abb0 100755 --- a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md @@ -5,7 +5,7 @@ Portal user deleted successfully. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `message` | [Optional[DeletePortalUser200ApplicationJSONMessage]](../../models/operations/deleteportaluser200applicationjsonmessage.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `message` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md deleted file mode 100755 index 70f160dca..000000000 --- a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md +++ /dev/null @@ -1,8 +0,0 @@ -# DeletePortalUser200ApplicationJSONMessage - - -## Values - -| Name | Value | -| -------------------------- | -------------------------- | -| `USER_SUCCESFULLY_DELETED` | User Succesfully Deleted | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md index aa68b7660..df0ad9c59 100755 --- a/customer_portal/docs/models/operations/deleteportaluserresponse.md +++ b/customer_portal/docs/models/operations/deleteportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `delete_portal_user_200_application_json_object` | [Optional[DeletePortalUser200ApplicationJSON]](../../models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `delete_portal_user_200_application_json_object` | [Optional[operations.DeletePortalUser200ApplicationJSON]](undefined/models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalusersecurity.md b/customer_portal/docs/models/operations/deleteportalusersecurity.md index 1c3197673..ce43ca56f 100755 --- a/customer_portal/docs/models/operations/deleteportalusersecurity.md +++ b/customer_portal/docs/models/operations/deleteportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md index 2591a9a54..88964e385 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md @@ -5,6 +5,6 @@ Retrieved extra permission attributes successfully. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | [Optional[ExtraPermissionAttributes200ApplicationJSONData]](../../models/operations/extrapermissionattributes200applicationjsondata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `data` | [Optional[operations.ExtraPermissionAttributes200ApplicationJSONData]](undefined/models/operations/extrapermissionattributes200applicationjsondata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md index 8097e36c9..6081cd78d 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `contact` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `contract` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter_counter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `opportunity` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `order` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `contact` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `contract` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter_counter` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `opportunity` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `order` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md index 0354214fa..e6039b99a 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md +++ b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `extra_permission_attributes_200_application_json_object` | [Optional[ExtraPermissionAttributes200ApplicationJSON]](../../models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `extra_permission_attributes_200_application_json_object` | [Optional[operations.ExtraPermissionAttributes200ApplicationJSON]](undefined/models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md index 76cf8e353..99f0b42a9 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md +++ b/customer_portal/docs/models/operations/extrapermissionattributessecurity.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/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md index f433032a4..979c1bad4 100755 --- a/customer_portal/docs/models/operations/getallcontractsresponse.md +++ b/customer_portal/docs/models/operations/getallcontractsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_contracts_200_application_json_object` | [Optional[GetAllContracts200ApplicationJSON]](../../models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_contracts_200_application_json_object` | [Optional[operations.GetAllContracts200ApplicationJSON]](undefined/models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractssecurity.md b/customer_portal/docs/models/operations/getallcontractssecurity.md index 2747ecee7..e604fe8ee 100755 --- a/customer_portal/docs/models/operations/getallcontractssecurity.md +++ b/customer_portal/docs/models/operations/getallcontractssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md index 3830fa6f1..cd92a4d23 100755 --- a/customer_portal/docs/models/operations/getallfilesrequest.md +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | | `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | | -| `from_` | *float* | :heavy_check_mark: | N/A | 0 | -| `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file +| `from_` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | +| `size` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesresponse.md b/customer_portal/docs/models/operations/getallfilesresponse.md index 5da07245e..946851525 100755 --- a/customer_portal/docs/models/operations/getallfilesresponse.md +++ b/customer_portal/docs/models/operations/getallfilesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_files_200_application_json_object` | [Optional[GetAllFiles200ApplicationJSON]](../../models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_files_200_application_json_object` | [Optional[operations.GetAllFiles200ApplicationJSON]](undefined/models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilessecurity.md b/customer_portal/docs/models/operations/getallfilessecurity.md index 253bf5e71..ac320b068 100755 --- a/customer_portal/docs/models/operations/getallfilessecurity.md +++ b/customer_portal/docs/models/operations/getallfilessecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md index cc585c575..48ae4b4ae 100755 --- a/customer_portal/docs/models/operations/getallopportunitiesresponse.md +++ b/customer_portal/docs/models/operations/getallopportunitiesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_opportunities_200_application_json_object` | [Optional[GetAllOpportunities200ApplicationJSON]](../../models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_opportunities_200_application_json_object` | [Optional[operations.GetAllOpportunities200ApplicationJSON]](undefined/models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiessecurity.md b/customer_portal/docs/models/operations/getallopportunitiessecurity.md index d6d1884eb..9284c3743 100755 --- a/customer_portal/docs/models/operations/getallopportunitiessecurity.md +++ b/customer_portal/docs/models/operations/getallopportunitiessecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md index 066513bc7..5e836c8d0 100755 --- a/customer_portal/docs/models/operations/getallordersresponse.md +++ b/customer_portal/docs/models/operations/getallordersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_orders_200_application_json_object` | [Optional[GetAllOrders200ApplicationJSON]](../../models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_orders_200_application_json_object` | [Optional[operations.GetAllOrders200ApplicationJSON]](undefined/models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallorderssecurity.md b/customer_portal/docs/models/operations/getallorderssecurity.md index 64712a5c5..9a799c404 100755 --- a/customer_portal/docs/models/operations/getallorderssecurity.md +++ b/customer_portal/docs/models/operations/getallorderssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md index 85f25ff36..07faa5920 100755 --- a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md +++ b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md @@ -5,6 +5,6 @@ All portal configs retrieved successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `data` | list[[shared.PortalConfig](../../models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | list[[shared.PortalConfig](undefined/models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md index 4d8fe024e..c62135e94 100755 --- a/customer_portal/docs/models/operations/getallportalconfigsresponse.md +++ b/customer_portal/docs/models/operations/getallportalconfigsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_portal_configs_200_application_json_object` | [Optional[GetAllPortalConfigs200ApplicationJSON]](../../models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_portal_configs_200_application_json_object` | [Optional[operations.GetAllPortalConfigs200ApplicationJSON]](undefined/models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigssecurity.md b/customer_portal/docs/models/operations/getallportalconfigssecurity.md index f0f1c8f86..8c6c9d56b 100755 --- a/customer_portal/docs/models/operations/getallportalconfigssecurity.md +++ b/customer_portal/docs/models/operations/getallportalconfigssecurity.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/customer_portal/docs/models/operations/getcontactcountrequest.md b/customer_portal/docs/models/operations/getcontactcountrequest.md index 701ab90c5..3c2983431 100755 --- a/customer_portal/docs/models/operations/getcontactcountrequest.md +++ b/customer_portal/docs/models/operations/getcontactcountrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `contact_count_request` | [shared.ContactCountRequest](../../models/shared/contactcountrequest.md) | :heavy_check_mark: | Request payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `contact_count_request` | [Optional[shared.ContactCountRequest]](undefined/models/shared/contactcountrequest.md) | :heavy_check_mark: | Request payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md index e8a7a80b7..1972deb4b 100755 --- a/customer_portal/docs/models/operations/getcontactcountresponse.md +++ b/customer_portal/docs/models/operations/getcontactcountresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `get_contact_count_200_application_json_object` | [Optional[GetContactCount200ApplicationJSON]](../../models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_contact_count_200_application_json_object` | [Optional[operations.GetContactCount200ApplicationJSON]](undefined/models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md index dcca393a1..17f74d2b5 100755 --- a/customer_portal/docs/models/operations/getcontactresponse.md +++ b/customer_portal/docs/models/operations/getcontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_contact_200_application_json_object` | [Optional[GetContact200ApplicationJSON]](../../models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contact_200_application_json_object` | [Optional[operations.GetContact200ApplicationJSON]](undefined/models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactsecurity.md b/customer_portal/docs/models/operations/getcontactsecurity.md index 208abba2b..15fb2c400 100755 --- a/customer_portal/docs/models/operations/getcontactsecurity.md +++ b/customer_portal/docs/models/operations/getcontactsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractrequest.md b/customer_portal/docs/models/operations/getcontractrequest.md index 44ce41301..b3781c262 100755 --- a/customer_portal/docs/models/operations/getcontractrequest.md +++ b/customer_portal/docs/models/operations/getcontractrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md index 2b36c3d17..1b9b16104 100755 --- a/customer_portal/docs/models/operations/getcontractresponse.md +++ b/customer_portal/docs/models/operations/getcontractresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_contract_200_application_json_object` | [Optional[GetContract200ApplicationJSON]](../../models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contract_200_application_json_object` | [Optional[operations.GetContract200ApplicationJSON]](undefined/models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractsecurity.md b/customer_portal/docs/models/operations/getcontractsecurity.md index b0ab9cb2a..9e70c2781 100755 --- a/customer_portal/docs/models/operations/getcontractsecurity.md +++ b/customer_portal/docs/models/operations/getcontractsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailrequest.md b/customer_portal/docs/models/operations/getcountbyemailrequest.md index ba949760c..2c00a60cf 100755 --- a/customer_portal/docs/models/operations/getcountbyemailrequest.md +++ b/customer_portal/docs/models/operations/getcountbyemailrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *str* | :heavy_check_mark: | N/A | test@test.com | -| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file +| `email` | *Optional[str]* | :heavy_check_mark: | N/A | test@test.com | +| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md index 380d8e277..a78fa59ba 100755 --- a/customer_portal/docs/models/operations/getcountbyemailresponse.md +++ b/customer_portal/docs/models/operations/getcountbyemailresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `get_count_by_email_200_application_json_object` | [Optional[GetCountByEmail200ApplicationJSON]](../../models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `get_count_by_email_200_application_json_object` | [Optional[operations.GetCountByEmail200ApplicationJSON]](undefined/models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactrequest.md b/customer_portal/docs/models/operations/getecpcontactrequest.md index f739f1c68..ebf3b29af 100755 --- a/customer_portal/docs/models/operations/getecpcontactrequest.md +++ b/customer_portal/docs/models/operations/getecpcontactrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | 1234 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | 1234 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md index 61bd61965..cb6eac71b 100755 --- a/customer_portal/docs/models/operations/getecpcontactresponse.md +++ b/customer_portal/docs/models/operations/getecpcontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_ecp_contact_200_application_json_object` | [Optional[GetECPContact200ApplicationJSON]](../../models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_ecp_contact_200_application_json_object` | [Optional[operations.GetECPContact200ApplicationJSON]](undefined/models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactsecurity.md b/customer_portal/docs/models/operations/getecpcontactsecurity.md index 5ce01e351..44afe370f 100755 --- a/customer_portal/docs/models/operations/getecpcontactsecurity.md +++ b/customer_portal/docs/models/operations/getecpcontactsecurity.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/customer_portal/docs/models/operations/getemailtemplatesrequest.md b/customer_portal/docs/models/operations/getemailtemplatesrequest.md index 42556a9c1..9c2851cef 100755 --- a/customer_portal/docs/models/operations/getemailtemplatesrequest.md +++ b/customer_portal/docs/models/operations/getemailtemplatesrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md index ab23dfc33..d184faed8 100755 --- a/customer_portal/docs/models/operations/getemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/getemailtemplatesresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `email_templates` | [Optional[shared.EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getemailtemplatessecurity.md b/customer_portal/docs/models/operations/getemailtemplatessecurity.md index bd6883f48..8d59db570 100755 --- a/customer_portal/docs/models/operations/getemailtemplatessecurity.md +++ b/customer_portal/docs/models/operations/getemailtemplatessecurity.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/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md index 67ee1181a..efca1744b 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | -| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md index 4b79dfc66..e72dc8042 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `get_entities_by_identifiers_200_application_json_object` | [Optional[GetEntitiesByIdentifiers200ApplicationJSON]](../../models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_entities_by_identifiers_200_application_json_object` | [Optional[operations.GetEntitiesByIdentifiers200ApplicationJSON]](undefined/models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md index 4ab00c8bd..204747718 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md index bc8532461..04cd6f12e 100755 --- a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md +++ b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md @@ -5,6 +5,6 @@ The identifiers of the requested entity returned successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `data` | list[[GetEntityIdentifiers200ApplicationJSONData](../../models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | list[[operations.GetEntityIdentifiers200ApplicationJSONData](undefined/models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersrequest.md b/customer_portal/docs/models/operations/getentityidentifiersrequest.md index d5315c4bc..67cf25f3d 100755 --- a/customer_portal/docs/models/operations/getentityidentifiersrequest.md +++ b/customer_portal/docs/models/operations/getentityidentifiersrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md index 602a3185d..6f72b4b06 100755 --- a/customer_portal/docs/models/operations/getentityidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentityidentifiersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_entity_identifiers_200_application_json_object` | [Optional[GetEntityIdentifiers200ApplicationJSON]](../../models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_entity_identifiers_200_application_json_object` | [Optional[operations.GetEntityIdentifiers200ApplicationJSON]](undefined/models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifierssecurity.md b/customer_portal/docs/models/operations/getentityidentifierssecurity.md index b1a61e24d..a82eafe66 100755 --- a/customer_portal/docs/models/operations/getentityidentifierssecurity.md +++ b/customer_portal/docs/models/operations/getentityidentifierssecurity.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/customer_portal/docs/models/operations/getfilebyidrequest.md b/customer_portal/docs/models/operations/getfilebyidrequest.md index a74d83b37..b9198265a 100755 --- a/customer_portal/docs/models/operations/getfilebyidrequest.md +++ b/customer_portal/docs/models/operations/getfilebyidrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *str* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidresponse.md b/customer_portal/docs/models/operations/getfilebyidresponse.md index 962865759..29f80c2fe 100755 --- a/customer_portal/docs/models/operations/getfilebyidresponse.md +++ b/customer_portal/docs/models/operations/getfilebyidresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_file_by_id_200_application_json_object` | [Optional[GetFileByID200ApplicationJSON]](../../models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_file_by_id_200_application_json_object` | [Optional[operations.GetFileByID200ApplicationJSON]](undefined/models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidsecurity.md b/customer_portal/docs/models/operations/getfilebyidsecurity.md index 3c3c60e88..725b9cf78 100755 --- a/customer_portal/docs/models/operations/getfilebyidsecurity.md +++ b/customer_portal/docs/models/operations/getfilebyidsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md index e2c06aff0..dc9b69c89 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md +++ b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `entity_file_counts` | list[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `entity_file_counts` | list[[shared.EntityFileCount](undefined/models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md index ee39ccc91..87cbd4bad 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md +++ b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityrequest.md b/customer_portal/docs/models/operations/getopportunityrequest.md index bf49a4120..020637b86 100755 --- a/customer_portal/docs/models/operations/getopportunityrequest.md +++ b/customer_portal/docs/models/operations/getopportunityrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md index 0a4db27a0..987f0cc58 100755 --- a/customer_portal/docs/models/operations/getopportunityresponse.md +++ b/customer_portal/docs/models/operations/getopportunityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_opportunity_200_application_json_object` | [Optional[GetOpportunity200ApplicationJSON]](../../models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_opportunity_200_application_json_object` | [Optional[operations.GetOpportunity200ApplicationJSON]](undefined/models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunitysecurity.md b/customer_portal/docs/models/operations/getopportunitysecurity.md index 142935d35..d2ff2301f 100755 --- a/customer_portal/docs/models/operations/getopportunitysecurity.md +++ b/customer_portal/docs/models/operations/getopportunitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderrequest.md b/customer_portal/docs/models/operations/getorderrequest.md index 5dcbb06e4..e84989d43 100755 --- a/customer_portal/docs/models/operations/getorderrequest.md +++ b/customer_portal/docs/models/operations/getorderrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md index da6419160..58ed686ab 100755 --- a/customer_portal/docs/models/operations/getorderresponse.md +++ b/customer_portal/docs/models/operations/getorderresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_order_200_application_json_object` | [Optional[GetOrder200ApplicationJSON]](../../models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_order_200_application_json_object` | [Optional[operations.GetOrder200ApplicationJSON]](undefined/models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getordersecurity.md b/customer_portal/docs/models/operations/getordersecurity.md index c1ac1ff73..f8b1901ec 100755 --- a/customer_portal/docs/models/operations/getordersecurity.md +++ b/customer_portal/docs/models/operations/getordersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md index 97b440f2e..56fce26f3 100755 --- a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md +++ b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md @@ -5,6 +5,6 @@ Retrieved the settings for an organization successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `data` | [Optional[shared.OrganizationSettings]](../../models/shared/organizationsettings.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `data` | [Optional[shared.OrganizationSettings]](undefined/models/shared/organizationsettings.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md index 78d09f0ea..16c86f4c1 100755 --- a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md +++ b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_organization_settings_200_application_json_object` | [Optional[GetOrganizationSettings200ApplicationJSON]](../../models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_organization_settings_200_application_json_object` | [Optional[operations.GetOrganizationSettings200ApplicationJSON]](undefined/models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md index 52c0458cd..253ce7822 100755 --- a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md +++ b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigrequest.md b/customer_portal/docs/models/operations/getorgportalconfigrequest.md index 0ec918976..dc1bff002 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getorgportalconfigrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md index 09cf5537c..74a05a462 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getorgportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getorgportalconfigsecurity.md b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md index 32e76cbc6..64800cd8b 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigsecurity.md +++ b/customer_portal/docs/models/operations/getorgportalconfigsecurity.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/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md index 4ee811e1f..b25684071 100755 --- a/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md +++ b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *str* | :heavy_check_mark: | N/A | example.com | \ No newline at end of file +| `domain` | *Optional[str]* | :heavy_check_mark: | N/A | example.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md index 6e6bd8004..91e378778 100755 --- a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportalconfigrequest.md b/customer_portal/docs/models/operations/getportalconfigrequest.md index d325d4206..c7910a2c0 100755 --- a/customer_portal/docs/models/operations/getportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getportalconfigrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md index 1f3a01469..7bd5a97ac 100755 --- a/customer_portal/docs/models/operations/getportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md index 0c826eb24..5524dbfe5 100755 --- a/customer_portal/docs/models/operations/getportaluserresponse.md +++ b/customer_portal/docs/models/operations/getportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_portal_user_200_application_json_object` | [Optional[GetPortalUser200ApplicationJSON]](../../models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_portal_user_200_application_json_object` | [Optional[operations.GetPortalUser200ApplicationJSON]](undefined/models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalusersecurity.md b/customer_portal/docs/models/operations/getportalusersecurity.md index b07637f14..c75fcc232 100755 --- a/customer_portal/docs/models/operations/getportalusersecurity.md +++ b/customer_portal/docs/models/operations/getportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsrequest.md b/customer_portal/docs/models/operations/getportalwidgetsrequest.md index 705a91ceb..7a147ce6e 100755 --- a/customer_portal/docs/models/operations/getportalwidgetsrequest.md +++ b/customer_portal/docs/models/operations/getportalwidgetsrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsresponse.md b/customer_portal/docs/models/operations/getportalwidgetsresponse.md index f44f3351f..3da7fdb51 100755 --- a/customer_portal/docs/models/operations/getportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getportalwidgetsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md index af8275a9a..61b4ece61 100755 --- a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `org_id` | *str* | :heavy_check_mark: | N/A | 12324 | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 12324 | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md index 4bc942eec..59d4f2e24 100755 --- a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md index 53b069e32..b42293528 100755 --- a/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md index 3f9fa9c3c..dae72fee7 100755 --- a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md index fd247dc28..1a1ea947b 100755 --- a/customer_portal/docs/models/operations/getschemasresponse.md +++ b/customer_portal/docs/models/operations/getschemasresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_schemas_200_application_json_object` | [Optional[GetSchemas200ApplicationJSON]](../../models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_schemas_200_application_json_object` | [Optional[operations.GetSchemas200ApplicationJSON]](undefined/models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemassecurity.md b/customer_portal/docs/models/operations/getschemassecurity.md index 8862341f3..20816b446 100755 --- a/customer_portal/docs/models/operations/getschemassecurity.md +++ b/customer_portal/docs/models/operations/getschemassecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md index 7b671ed1d..854253d4c 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md @@ -5,6 +5,6 @@ Valid secondary attributes for the contact entity are returned successfully. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | list[[GetValidSecondaryAttributes200ApplicationJSONData](../../models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `data` | list[[operations.GetValidSecondaryAttributes200ApplicationJSONData](undefined/models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md index c7b9dace4..5aa387eb6 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_valid_secondary_attributes_200_application_json_object` | [Optional[GetValidSecondaryAttributes200ApplicationJSON]](../../models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_valid_secondary_attributes_200_application_json_object` | [Optional[operations.GetValidSecondaryAttributes200ApplicationJSON]](undefined/models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md index e9d8448dc..2494b3411 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.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/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md index 9cfbd9127..ed723fc74 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md @@ -5,7 +5,7 @@ Replaced portal template variables successfully. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `customer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md) | :heavy_minus_sign: | N/A | -| `installer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `customer_portal` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal]](undefined/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal]](undefined/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md index 072babe3c..24cc7b1d0 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `replace_ecp_template_variables_200_application_json_object` | [Optional[ReplaceECPTemplateVariables200ApplicationJSON]](../../models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `replace_ecp_template_variables_200_application_json_object` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSON]](undefined/models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md index 5ad90c80a..9ebd017a4 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.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/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md index 247318513..9a2f9000f 100755 --- a/customer_portal/docs/models/operations/saveentityfileresponse.md +++ b/customer_portal/docs/models/operations/saveentityfileresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `save_entity_file_201_application_json_object` | [Optional[SaveEntityFile201ApplicationJSON]](../../models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_entity_file_201_application_json_object` | [Optional[operations.SaveEntityFile201ApplicationJSON]](undefined/models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfilesecurity.md b/customer_portal/docs/models/operations/saveentityfilesecurity.md index da79e628a..eaf5d1756 100755 --- a/customer_portal/docs/models/operations/saveentityfilesecurity.md +++ b/customer_portal/docs/models/operations/saveentityfilesecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md index a041eb11b..06a634204 100755 --- a/customer_portal/docs/models/operations/saveportalfilesresponse.md +++ b/customer_portal/docs/models/operations/saveportalfilesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `save_portal_files_201_application_json_object` | [Optional[SavePortalFiles201ApplicationJSON]](../../models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_portal_files_201_application_json_object` | [Optional[operations.SavePortalFiles201ApplicationJSON]](undefined/models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilessecurity.md b/customer_portal/docs/models/operations/saveportalfilessecurity.md index f0a9a24bc..1d90bf0cb 100755 --- a/customer_portal/docs/models/operations/saveportalfilessecurity.md +++ b/customer_portal/docs/models/operations/saveportalfilessecurity.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/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md index 2351d3bb6..4e3c61767 100755 --- a/customer_portal/docs/models/operations/updatecontactresponse.md +++ b/customer_portal/docs/models/operations/updatecontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contact_200_application_json_object` | [Optional[operations.UpdateContact200ApplicationJSON]](undefined/models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactsecurity.md b/customer_portal/docs/models/operations/updatecontactsecurity.md index 0090c61b3..7f91d6168 100755 --- a/customer_portal/docs/models/operations/updatecontactsecurity.md +++ b/customer_portal/docs/models/operations/updatecontactsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md index 4fbbcce0d..362ccf8e6 100755 --- a/customer_portal/docs/models/operations/updatecontractrequest.md +++ b/customer_portal/docs/models/operations/updatecontractrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested contract body to update | | -| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md index 34a813489..018f40865 100755 --- a/customer_portal/docs/models/operations/updatecontractresponse.md +++ b/customer_portal/docs/models/operations/updatecontractresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contract_200_application_json_object` | [Optional[operations.UpdateContract200ApplicationJSON]](undefined/models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractsecurity.md b/customer_portal/docs/models/operations/updatecontractsecurity.md index 96ce6796e..3e7aa6249 100755 --- a/customer_portal/docs/models/operations/updatecontractsecurity.md +++ b/customer_portal/docs/models/operations/updatecontractsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md index e7ce79093..7b67239a5 100755 --- a/customer_portal/docs/models/operations/updateopportunityrequest.md +++ b/customer_portal/docs/models/operations/updateopportunityrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested opportunity body to update | | -| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md index 289f44d7e..4b03dc4a4 100755 --- a/customer_portal/docs/models/operations/updateopportunityresponse.md +++ b/customer_portal/docs/models/operations/updateopportunityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_opportunity_200_application_json_object` | [Optional[UpdateOpportunity200ApplicationJSON]](../../models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_opportunity_200_application_json_object` | [Optional[operations.UpdateOpportunity200ApplicationJSON]](undefined/models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunitysecurity.md b/customer_portal/docs/models/operations/updateopportunitysecurity.md index c837a4e45..74e7c5b3f 100755 --- a/customer_portal/docs/models/operations/updateopportunitysecurity.md +++ b/customer_portal/docs/models/operations/updateopportunitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md index da87be5eb..ecdd49133 100755 --- a/customer_portal/docs/models/operations/updateorderrequest.md +++ b/customer_portal/docs/models/operations/updateorderrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | -| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md index de89a98fb..003c92672 100755 --- a/customer_portal/docs/models/operations/updateorderresponse.md +++ b/customer_portal/docs/models/operations/updateorderresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_order_200_application_json_object` | [Optional[UpdateOrder200ApplicationJSON]](../../models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_order_200_application_json_object` | [Optional[operations.UpdateOrder200ApplicationJSON]](undefined/models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateordersecurity.md b/customer_portal/docs/models/operations/updateordersecurity.md index e078329c4..14910fc16 100755 --- a/customer_portal/docs/models/operations/updateordersecurity.md +++ b/customer_portal/docs/models/operations/updateordersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md index 096b36afc..710c45e32 100755 --- a/customer_portal/docs/models/operations/updateportaluserresponse.md +++ b/customer_portal/docs/models/operations/updateportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_portal_user_200_application_json_object` | [Optional[UpdatePortalUser200ApplicationJSON]](../../models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_portal_user_200_application_json_object` | [Optional[operations.UpdatePortalUser200ApplicationJSON]](undefined/models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportalusersecurity.md b/customer_portal/docs/models/operations/updateportalusersecurity.md index 0c2c20dfe..393edb00c 100755 --- a/customer_portal/docs/models/operations/updateportalusersecurity.md +++ b/customer_portal/docs/models/operations/updateportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md index 5681c4846..dc156ea27 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md @@ -5,7 +5,7 @@ Upserted email templates of the portal successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | -| `message` | [UpsertEmailTemplates200ApplicationJSONMessage](../../models/operations/upsertemailtemplates200applicationjsonmessage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | +| `message` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md deleted file mode 100755 index 796d39479..000000000 --- a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md +++ /dev/null @@ -1,8 +0,0 @@ -# UpsertEmailTemplates200ApplicationJSONMessage - - -## Values - -| Name | Value | -| --------------------------------------- | --------------------------------------- | -| `EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY` | Email Templates upserted successfully | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md index 2c0bac06c..9a9cc4a06 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md index 3648f1404..e639c3787 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `upsert_email_templates_200_application_json_object` | [Optional[UpsertEmailTemplates200ApplicationJSON]](../../models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `upsert_email_templates_200_application_json_object` | [Optional[operations.UpsertEmailTemplates200ApplicationJSON]](undefined/models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md index e0f5643a3..281052c83 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.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/customer_portal/docs/models/operations/upsertportalrequest.md b/customer_portal/docs/models/operations/upsertportalrequest.md index a0b625cc0..9131db6c4 100755 --- a/customer_portal/docs/models/operations/upsertportalrequest.md +++ b/customer_portal/docs/models/operations/upsertportalrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `upsert_portal_config` | [shared.UpsertPortalConfig](../../models/shared/upsertportalconfig.md) | :heavy_check_mark: | Portal payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `upsert_portal_config` | [Optional[shared.UpsertPortalConfig]](undefined/models/shared/upsertportalconfig.md) | :heavy_check_mark: | Portal payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md index c809dc9c7..eb718db3d 100755 --- a/customer_portal/docs/models/operations/upsertportalresponse.md +++ b/customer_portal/docs/models/operations/upsertportalresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | +| `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/customer_portal/docs/models/operations/upsertportalsecurity.md b/customer_portal/docs/models/operations/upsertportalsecurity.md index a0644bcfe..9c3b931d5 100755 --- a/customer_portal/docs/models/operations/upsertportalsecurity.md +++ b/customer_portal/docs/models/operations/upsertportalsecurity.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/customer_portal/docs/models/operations/upsertportalwidgetrequest.md b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md index 68d5a2cf7..815037c39 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetrequest.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `upsert_portal_widget` | [shared.UpsertPortalWidget](../../models/shared/upsertportalwidget.md) | :heavy_check_mark: | Portal widgets payload | -| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_check_mark: | Portal widgets payload | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md index e6963c7ff..cade74ec5 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md index 3fe646c2c..e720c8bb1 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.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/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md index 755e59b5b..a92b8ca3c 100755 --- a/customer_portal/docs/models/operations/userexists200applicationjson.md +++ b/customer_portal/docs/models/operations/userexists200applicationjson.md @@ -7,5 +7,5 @@ Returned whether the user exists in the portal or not successfully. | Field | Type | Required | Description | Example | | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `exists` | *bool* | :heavy_check_mark: | Whether the user exists in the portal | true | +| `exists` | *Optional[bool]* | :heavy_check_mark: | Whether the user exists in the portal | true | | `user` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md index b3c006e85..86076a22a 100755 --- a/customer_portal/docs/models/operations/userexistsrequest.md +++ b/customer_portal/docs/models/operations/userexistsrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `email` | *str* | :heavy_check_mark: | N/A | user@example.com | -| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | -| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Checkes if user exists in the given portal origin. If not provided, checks in all origins. | | \ No newline at end of file +| `email` | *Optional[str]* | :heavy_check_mark: | N/A | user@example.com | +| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Checkes if user exists in the given portal origin. If not provided, checks in all origins. | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md index e142e956c..07f8c4f79 100755 --- a/customer_portal/docs/models/operations/userexistsresponse.md +++ b/customer_portal/docs/models/operations/userexistsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `user_exists_200_application_json_object` | [Optional[UserExists200ApplicationJSON]](../../models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `user_exists_200_application_json_object` | [Optional[operations.UserExists200ApplicationJSON]](undefined/models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidget.md b/customer_portal/docs/models/shared/actionwidget.md index 4cffcdda0..fb075984d 100755 --- a/customer_portal/docs/models/shared/actionwidget.md +++ b/customer_portal/docs/models/shared/actionwidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | -| `headline` | [Optional[ActionWidgetHeadline]](../../models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[ActionWidgetSubHeadline]](../../models/shared/actionwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [ActionWidgetType](../../models/shared/actionwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `actions` | list[[shared.WidgetAction](undefined/models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[shared.ActionWidgetHeadline]](undefined/models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[shared.ActionWidgetSubHeadline]](undefined/models/shared/actionwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ActionWidgetType]](undefined/models/shared/actionwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activity.md b/customer_portal/docs/models/shared/activity.md index f7027948d..1daebfb91 100755 --- a/customer_portal/docs/models/shared/activity.md +++ b/customer_portal/docs/models/shared/activity.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `message` | *Optional[str]* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | | `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | -| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | -| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file +| `title` | *Optional[str]* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *Optional[str]* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitem.md b/customer_portal/docs/models/shared/activityitem.md index 7f6669449..26abe402e 100755 --- a/customer_portal/docs/models/shared/activityitem.md +++ b/customer_portal/docs/models/shared/activityitem.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | See https://github.com/ulid/spec | 01F130Q52Q6MWSNS8N2AVXV4JN | -| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | -| `payload` | [Optional[ActivityItemPayload]](../../models/shared/activityitempayload.md) | :heavy_minus_sign: | N/A | | -| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | | -| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | -| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | See https://github.com/ulid/spec | 01F130Q52Q6MWSNS8N2AVXV4JN | +| `message` | *Optional[str]* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `payload` | [Optional[shared.ActivityItemPayload]](undefined/models/shared/activityitempayload.md) | :heavy_minus_sign: | N/A | | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | | +| `title` | *Optional[str]* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *Optional[str]* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitempayload.md b/customer_portal/docs/models/shared/activityitempayload.md index e5bcf3f02..8b8bdcd18 100755 --- a/customer_portal/docs/models/shared/activityitempayload.md +++ b/customer_portal/docs/models/shared/activityitempayload.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | -| `entity` | [Optional[ActivityItemPayloadEntity]](../../models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `entity` | [Optional[shared.ActivityItemPayloadEntity]](undefined/models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md index 6e99709b9..3747f6185 100755 --- a/customer_portal/docs/models/shared/contactcountrequest.md +++ b/customer_portal/docs/models/shared/contactcountrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | | `contact_identifiers` | dict[str, *str*] | :heavy_check_mark: | Identifiers to identify a contact | | -| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file +| `org_id` | *Optional[str]* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidget.md b/customer_portal/docs/models/shared/contentwidget.md index 3c0483cc3..ebe17faad 100755 --- a/customer_portal/docs/models/shared/contentwidget.md +++ b/customer_portal/docs/models/shared/contentwidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `headline` | [Optional[ContentWidgetHeadline]](../../models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[ContentWidgetSubHeadline]](../../models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [ContentWidgetType](../../models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `headline` | [Optional[shared.ContentWidgetHeadline]](undefined/models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[shared.ContentWidgetSubHeadline]](undefined/models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ContentWidgetType]](undefined/models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md index 13cbc11ac..11acbe48b 100755 --- a/customer_portal/docs/models/shared/createssouserrequest.md +++ b/customer_portal/docs/models/shared/createssouserrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `email` | *Optional[str]* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md index d908f12c1..9d08ee3cd 100755 --- a/customer_portal/docs/models/shared/createuserrequest.md +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -7,9 +7,9 @@ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | | `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 123456 | | `contact_identifiers` | dict[str, *str*] | :heavy_minus_sign: | Identifiers to identify a contact | | -| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `email` | *Optional[str]* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | -| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | -| `password` | *str* | :heavy_check_mark: | User's password | 124n$aAJs*d41h4 | +| `org_id` | *Optional[str]* | :heavy_check_mark: | ID of the organization | 728 | +| `password` | *Optional[str]* | :heavy_check_mark: | User's password | 124n$aAJs*d41h4 | | `secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact | 123456 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md index 67757fab3..6221b2db9 100755 --- a/customer_portal/docs/models/shared/deleteentityfile.md +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | -| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | +| `entity_id` | *Optional[str]* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *Optional[str]* | :heavy_check_mark: | Entity type | order | | `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidget.md b/customer_portal/docs/models/shared/documentwidget.md index 19eed7304..74ebb1413 100755 --- a/customer_portal/docs/models/shared/documentwidget.md +++ b/customer_portal/docs/models/shared/documentwidget.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `headline` | [Optional[DocumentWidgetHeadline]](../../models/shared/documentwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[DocumentWidgetSubHeadline]](../../models/shared/documentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [DocumentWidgetType](../../models/shared/documentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `headline` | [Optional[shared.DocumentWidgetHeadline]](undefined/models/shared/documentwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[shared.DocumentWidgetSubHeadline]](undefined/models/shared/documentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.DocumentWidgetType]](undefined/models/shared/documentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityfilecount.md b/customer_portal/docs/models/shared/entityfilecount.md index b143cb6ea..4753aef21 100755 --- a/customer_portal/docs/models/shared/entityfilecount.md +++ b/customer_portal/docs/models/shared/entityfilecount.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `schema` | [EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | +| `schema` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | | `title` | *Optional[str]* | :heavy_minus_sign: | The title of the parent entity | Opportunity ABC | -| `entity_id` | *str* | :heavy_check_mark: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | -| `file_count` | *int* | :heavy_check_mark: | Number of files associated with the entity and shared with portal user | 2 | \ No newline at end of file +| `entity_id` | *Optional[str]* | :heavy_check_mark: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | +| `file_count` | *Optional[int]* | :heavy_check_mark: | Number of files associated with the entity and shared with portal user | 2 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidget.md b/customer_portal/docs/models/shared/entitywidget.md index 78c2ab5a1..f1d5cfb0a 100755 --- a/customer_portal/docs/models/shared/entitywidget.md +++ b/customer_portal/docs/models/shared/entitywidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `headline` | [Optional[EntityWidgetHeadline]](../../models/shared/entitywidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `sub_headline` | [Optional[EntityWidgetSubHeadline]](../../models/shared/entitywidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [EntityWidgetType](../../models/shared/entitywidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `headline` | [Optional[shared.EntityWidgetHeadline]](undefined/models/shared/entitywidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[shared.EntityWidgetSubHeadline]](undefined/models/shared/entitywidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.EntityWidgetType]](undefined/models/shared/entitywidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/extraschemaattributes.md b/customer_portal/docs/models/shared/extraschemaattributes.md index 3ddf533a5..3360daf79 100755 --- a/customer_portal/docs/models/shared/extraschemaattributes.md +++ b/customer_portal/docs/models/shared/extraschemaattributes.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `group` | *str* | :heavy_check_mark: | Attribute group | -| `label` | *str* | :heavy_check_mark: | Attribute label | -| `name` | *str* | :heavy_check_mark: | Attribute name | \ No newline at end of file +| `group` | *Optional[str]* | :heavy_check_mark: | Attribute group | +| `label` | *Optional[str]* | :heavy_check_mark: | Attribute label | +| `name` | *Optional[str]* | :heavy_check_mark: | Attribute name | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/grant.md b/customer_portal/docs/models/shared/grant.md index 37f7ee110..4616ece2a 100755 --- a/customer_portal/docs/models/shared/grant.md +++ b/customer_portal/docs/models/shared/grant.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `action` | *str* | :heavy_check_mark: | Action for granting permission | entity-read | -| `effect` | [Optional[GrantEffect]](../../models/shared/granteffect.md) | :heavy_minus_sign: | Effect of the permission | | -| `resource` | *Optional[str]* | :heavy_minus_sign: | Resource for granting permission | entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `action` | *Optional[str]* | :heavy_check_mark: | Action for granting permission | entity-read | +| `effect` | [Optional[shared.GrantEffect]](undefined/models/shared/granteffect.md) | :heavy_minus_sign: | Effect of the permission | | +| `resource` | *Optional[str]* | :heavy_minus_sign: | Resource for granting permission | entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettings.md b/customer_portal/docs/models/shared/organizationsettings.md index ea8ca3d52..a4d6cd92b 100755 --- a/customer_portal/docs/models/shared/organizationsettings.md +++ b/customer_portal/docs/models/shared/organizationsettings.md @@ -3,24 +3,24 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `automation_entity_mapping` | [Optional[OrganizationSettingsAutomationEntityMapping]](../../models/shared/organizationsettingsautomationentitymapping.md) | :heavy_minus_sign: | N/A | -| `automation_preview` | [Optional[OrganizationSettingsAutomationPreview]](../../models/shared/organizationsettingsautomationpreview.md) | :heavy_minus_sign: | N/A | -| `central_inbox_preview_setting` | [Optional[OrganizationSettingsCentralInboxPreviewSetting]](../../models/shared/organizationsettingscentralinboxpreviewsetting.md) | :heavy_minus_sign: | N/A | -| `contracts_preview_setting` | [Optional[OrganizationSettingsContractsPreviewSetting]](../../models/shared/organizationsettingscontractspreviewsetting.md) | :heavy_minus_sign: | N/A | -| `disable_ivy` | [Optional[OrganizationSettingsDisableIvy]](../../models/shared/organizationsettingsdisableivy.md) | :heavy_minus_sign: | N/A | -| `double_opt_in` | [Optional[OrganizationSettingsDoubleOptIn]](../../models/shared/organizationsettingsdoubleoptin.md) | :heavy_minus_sign: | N/A | -| `ecommerce_catalog_preview` | [Optional[OrganizationSettingsEcommerceCatalogPreview]](../../models/shared/organizationsettingsecommercecatalogpreview.md) | :heavy_minus_sign: | N/A | -| `ecommerce_opportunities_preview` | [Optional[OrganizationSettingsEcommerceOpportunitiesPreview]](../../models/shared/organizationsettingsecommerceopportunitiespreview.md) | :heavy_minus_sign: | N/A | -| `ecommerce_preview` | [Optional[OrganizationSettingsEcommercePreview]](../../models/shared/organizationsettingsecommercepreview.md) | :heavy_minus_sign: | N/A | -| `end_customer_portal` | [Optional[OrganizationSettingsEndCustomerPortal]](../../models/shared/organizationsettingsendcustomerportal.md) | :heavy_minus_sign: | N/A | -| `entity_schema_builder` | [Optional[OrganizationSettingsEntitySchemaBuilder]](../../models/shared/organizationsettingsentityschemabuilder.md) | :heavy_minus_sign: | N/A | -| `installer_portal` | [Optional[OrganizationSettingsInstallerPortal]](../../models/shared/organizationsettingsinstallerportal.md) | :heavy_minus_sign: | N/A | -| `logic_editor_preview` | [Optional[OrganizationSettingsLogicEditorPreview]](../../models/shared/organizationsettingslogiceditorpreview.md) | :heavy_minus_sign: | N/A | -| `new_navigation` | [Optional[OrganizationSettingsNewNavigation]](../../models/shared/organizationsettingsnewnavigation.md) | :heavy_minus_sign: | N/A | -| `partnering` | [Optional[OrganizationSettingsPartnering]](../../models/shared/organizationsettingspartnering.md) | :heavy_minus_sign: | N/A | -| `product_availability` | [Optional[OrganizationSettingsProductAvailability]](../../models/shared/organizationsettingsproductavailability.md) | :heavy_minus_sign: | N/A | -| `sso` | [Optional[OrganizationSettingsSso]](../../models/shared/organizationsettingssso.md) | :heavy_minus_sign: | N/A | -| `submission_preview` | [Optional[OrganizationSettingsSubmissionPreview]](../../models/shared/organizationsettingssubmissionpreview.md) | :heavy_minus_sign: | N/A | -| `user_roles_preview` | [Optional[OrganizationSettingsUserRolesPreview]](../../models/shared/organizationsettingsuserrolespreview.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `automation_entity_mapping` | [Optional[shared.OrganizationSettingsAutomationEntityMapping]](undefined/models/shared/organizationsettingsautomationentitymapping.md) | :heavy_minus_sign: | N/A | +| `automation_preview` | [Optional[shared.OrganizationSettingsAutomationPreview]](undefined/models/shared/organizationsettingsautomationpreview.md) | :heavy_minus_sign: | N/A | +| `central_inbox_preview_setting` | [Optional[shared.OrganizationSettingsCentralInboxPreviewSetting]](undefined/models/shared/organizationsettingscentralinboxpreviewsetting.md) | :heavy_minus_sign: | N/A | +| `contracts_preview_setting` | [Optional[shared.OrganizationSettingsContractsPreviewSetting]](undefined/models/shared/organizationsettingscontractspreviewsetting.md) | :heavy_minus_sign: | N/A | +| `disable_ivy` | [Optional[shared.OrganizationSettingsDisableIvy]](undefined/models/shared/organizationsettingsdisableivy.md) | :heavy_minus_sign: | N/A | +| `double_opt_in` | [Optional[shared.OrganizationSettingsDoubleOptIn]](undefined/models/shared/organizationsettingsdoubleoptin.md) | :heavy_minus_sign: | N/A | +| `ecommerce_catalog_preview` | [Optional[shared.OrganizationSettingsEcommerceCatalogPreview]](undefined/models/shared/organizationsettingsecommercecatalogpreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_opportunities_preview` | [Optional[shared.OrganizationSettingsEcommerceOpportunitiesPreview]](undefined/models/shared/organizationsettingsecommerceopportunitiespreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_preview` | [Optional[shared.OrganizationSettingsEcommercePreview]](undefined/models/shared/organizationsettingsecommercepreview.md) | :heavy_minus_sign: | N/A | +| `end_customer_portal` | [Optional[shared.OrganizationSettingsEndCustomerPortal]](undefined/models/shared/organizationsettingsendcustomerportal.md) | :heavy_minus_sign: | N/A | +| `entity_schema_builder` | [Optional[shared.OrganizationSettingsEntitySchemaBuilder]](undefined/models/shared/organizationsettingsentityschemabuilder.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[shared.OrganizationSettingsInstallerPortal]](undefined/models/shared/organizationsettingsinstallerportal.md) | :heavy_minus_sign: | N/A | +| `logic_editor_preview` | [Optional[shared.OrganizationSettingsLogicEditorPreview]](undefined/models/shared/organizationsettingslogiceditorpreview.md) | :heavy_minus_sign: | N/A | +| `new_navigation` | [Optional[shared.OrganizationSettingsNewNavigation]](undefined/models/shared/organizationsettingsnewnavigation.md) | :heavy_minus_sign: | N/A | +| `partnering` | [Optional[shared.OrganizationSettingsPartnering]](undefined/models/shared/organizationsettingspartnering.md) | :heavy_minus_sign: | N/A | +| `product_availability` | [Optional[shared.OrganizationSettingsProductAvailability]](undefined/models/shared/organizationsettingsproductavailability.md) | :heavy_minus_sign: | N/A | +| `sso` | [Optional[shared.OrganizationSettingsSso]](undefined/models/shared/organizationsettingssso.md) | :heavy_minus_sign: | N/A | +| `submission_preview` | [Optional[shared.OrganizationSettingsSubmissionPreview]](undefined/models/shared/organizationsettingssubmissionpreview.md) | :heavy_minus_sign: | N/A | +| `user_roles_preview` | [Optional[shared.OrganizationSettingsUserRolesPreview]](undefined/models/shared/organizationsettingsuserrolespreview.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 5181d6b41..9d883731f 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -5,26 +5,26 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `cognito_details` | [Optional[shared.PortalConfigCognitoDetails]](undefined/models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | | `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `default_user_to_notify` | [Optional[shared.PortalConfigDefaultUserToNotify]](undefined/models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[PortalConfigEntityEditRules](../../models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | -| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `feature_settings` | [Optional[PortalConfigFeatureSettings]](../../models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `entity_actions` | list[[shared.PortalConfigEntityActions](undefined/models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[shared.PortalConfigEntityEditRules](undefined/models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_identifiers` | [Optional[shared.PortalConfigEntityIdentifiers]](undefined/models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[shared.PortalConfigFeatureSettings]](undefined/models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | +| `grants` | list[[shared.Grant](undefined/models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | -| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `images` | [Optional[shared.PortalConfigImages]](undefined/models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | | `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | -| `org_settings` | [Optional[PortalConfigOrgSettings]](../../models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | -| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | +| `org_settings` | [Optional[shared.PortalConfigOrgSettings]](undefined/models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | | ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `self_registration_setting` | [Optional[shared.PortalConfigSelfRegistrationSetting]](undefined/models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityactions.md b/customer_portal/docs/models/shared/portalconfigentityactions.md index 20cf38fdf..35d865ea3 100755 --- a/customer_portal/docs/models/shared/portalconfigentityactions.md +++ b/customer_portal/docs/models/shared/portalconfigentityactions.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `action_label` | [Optional[PortalConfigEntityActionsActionLabel]](../../models/shared/portalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | -| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `action_label` | [Optional[shared.PortalConfigEntityActionsActionLabel]](undefined/models/shared/portalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityeditrules.md b/customer_portal/docs/models/shared/portalconfigentityeditrules.md index c4f440579..345994203 100755 --- a/customer_portal/docs/models/shared/portalconfigentityeditrules.md +++ b/customer_portal/docs/models/shared/portalconfigentityeditrules.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | -| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | -| `cadence_period_type` | [Optional[PortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/portalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | -| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | -| `rule_type` | [Optional[PortalConfigEntityEditRulesRuleType]](../../models/shared/portalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[shared.PortalConfigEntityEditRulesCadencePeriodType]](undefined/models/shared/portalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[shared.PortalConfigEntityEditRulesRuleType]](undefined/models/shared/portalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md index 63161bea3..e2a92c509 100755 --- a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md +++ b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md @@ -5,6 +5,6 @@ Identifiers used to identify an entity by a portal user ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `type` | [Optional[PortalConfigEntityIdentifiersType]](../../models/shared/portalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional[shared.PortalConfigEntityIdentifiersType]](undefined/models/shared/portalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigorgsettings.md b/customer_portal/docs/models/shared/portalconfigorgsettings.md index 9a8d4932b..88ff805af 100755 --- a/customer_portal/docs/models/shared/portalconfigorgsettings.md +++ b/customer_portal/docs/models/shared/portalconfigorgsettings.md @@ -5,7 +5,7 @@ Organization settings ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `canary` | [Optional[PortalConfigOrgSettingsCanary]](../../models/shared/portalconfigorgsettingscanary.md) | :heavy_minus_sign: | Canary feature flag | -| `release_candidate` | [Optional[PortalConfigOrgSettingsReleaseCandidate]](../../models/shared/portalconfigorgsettingsreleasecandidate.md) | :heavy_minus_sign: | Release candidate settings | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `canary` | [Optional[shared.PortalConfigOrgSettingsCanary]](undefined/models/shared/portalconfigorgsettingscanary.md) | :heavy_minus_sign: | Canary feature flag | +| `release_candidate` | [Optional[shared.PortalConfigOrgSettingsReleaseCandidate]](undefined/models/shared/portalconfigorgsettingsreleasecandidate.md) | :heavy_minus_sign: | Release candidate settings | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md index ca1d86abd..a03cf3eda 100755 --- a/customer_portal/docs/models/shared/saveentityfile.md +++ b/customer_portal/docs/models/shared/saveentityfile.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | -| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | -| `files` | list[[SaveEntityFileFiles](../../models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `entity_id` | *Optional[str]* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *Optional[str]* | :heavy_check_mark: | Entity type | order | +| `files` | list[[shared.SaveEntityFileFiles](undefined/models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md index debd8bd3b..abecc9fd0 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiles.md +++ b/customer_portal/docs/models/shared/saveentityfilefiles.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | -| `access_control` | [Optional[SaveEntityFileFilesAccessControl]](../../models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | -| `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | -| `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | -| `filename` | *str* | :heavy_check_mark: | File name | 12345 | -| `s3ref` | [SaveEntityFileFilesS3ref](../../models/shared/saveentityfilefiless3ref.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `access_control` | [Optional[shared.SaveEntityFileFilesAccessControl]](undefined/models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | +| `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | +| `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | +| `filename` | *Optional[str]* | :heavy_check_mark: | File name | 12345 | +| `s3ref` | [Optional[shared.SaveEntityFileFilesS3ref]](undefined/models/shared/saveentityfilefiless3ref.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md index 3821d0c87..4e5018d4e 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md +++ b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | -| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file +| `bucket` | *Optional[str]* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *Optional[str]* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md index 6cb85b3f7..da83a8480 100755 --- a/customer_portal/docs/models/shared/saveportalfile.md +++ b/customer_portal/docs/models/shared/saveportalfile.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `files` | list[[SavePortalFileFiles](../../models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | -| `origin` | [Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `files` | list[[shared.SavePortalFileFiles](undefined/models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md index dd5c0194d..a51a54c18 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiles.md +++ b/customer_portal/docs/models/shared/saveportalfilefiles.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | -| `file_type` | *str* | :heavy_check_mark: | File type | orderRightTeaser | -| `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | -| `s3ref` | [Optional[SavePortalFileFilesS3ref]](../../models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `file_type` | *Optional[str]* | :heavy_check_mark: | File type | orderRightTeaser | +| `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | +| `s3ref` | [Optional[shared.SavePortalFileFilesS3ref]](undefined/models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md index 4242b36fb..364c1c6b5 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md +++ b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | -| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file +| `bucket` | *Optional[str]* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *Optional[str]* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidget.md b/customer_portal/docs/models/shared/teaserwidget.md index bcb650d57..6a2d832fb 100755 --- a/customer_portal/docs/models/shared/teaserwidget.md +++ b/customer_portal/docs/models/shared/teaserwidget.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | -| `headline` | [Optional[TeaserWidgetHeadline]](../../models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `left` | [Optional[TeaserWidgetLeft]](../../models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | -| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `right` | [Optional[TeaserWidgetRight]](../../models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | -| `sub_headline` | [Optional[TeaserWidgetSubHeadline]](../../models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [TeaserWidgetType](../../models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `actions` | list[[shared.WidgetAction](undefined/models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[shared.TeaserWidgetHeadline]](undefined/models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `left` | [Optional[shared.TeaserWidgetLeft]](undefined/models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `right` | [Optional[shared.TeaserWidgetRight]](undefined/models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[shared.TeaserWidgetSubHeadline]](undefined/models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.TeaserWidgetType]](undefined/models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 61caade9b..0581a6e22 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -5,22 +5,22 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `cognito_details` | [Optional[shared.UpsertPortalConfigCognitoDetails]](undefined/models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | | `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `default_user_to_notify` | [Optional[shared.UpsertPortalConfigDefaultUserToNotify]](undefined/models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[UpsertPortalConfigEntityEditRules](../../models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | -| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `feature_settings` | [Optional[UpsertPortalConfigFeatureSettings]](../../models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `entity_actions` | list[[shared.UpsertPortalConfigEntityActions](undefined/models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[shared.UpsertPortalConfigEntityEditRules](undefined/models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_identifiers` | [Optional[shared.UpsertPortalConfigEntityIdentifiers]](undefined/models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[shared.UpsertPortalConfigFeatureSettings]](undefined/models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | +| `grants` | list[[shared.Grant](undefined/models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `images` | [Optional[shared.UpsertPortalConfigImages]](undefined/models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | | ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[UpsertPortalConfigSelfRegistrationSetting]](../../models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `self_registration_setting` | [Optional[shared.UpsertPortalConfigSelfRegistrationSetting]](undefined/models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md index 9fdfb1a7c..a69f4d7b6 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `action_label` | [Optional[UpsertPortalConfigEntityActionsActionLabel]](../../models/shared/upsertportalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | -| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `action_label` | [Optional[shared.UpsertPortalConfigEntityActionsActionLabel]](undefined/models/shared/upsertportalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md index 9fc774825..9d5f5fac8 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | -| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | -| `cadence_period_type` | [Optional[UpsertPortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | -| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | -| `rule_type` | [Optional[UpsertPortalConfigEntityEditRulesRuleType]](../../models/shared/upsertportalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[shared.UpsertPortalConfigEntityEditRulesCadencePeriodType]](undefined/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[shared.UpsertPortalConfigEntityEditRulesRuleType]](undefined/models/shared/upsertportalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md index ae04544f4..eec8e6854 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md @@ -5,6 +5,6 @@ Identifiers used to identify an entity by a portal user ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `type` | [Optional[UpsertPortalConfigEntityIdentifiersType]](../../models/shared/upsertportalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [Optional[shared.UpsertPortalConfigEntityIdentifiersType]](undefined/models/shared/upsertportalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 33713fe38..1eaf40d98 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `widgets` | list[[Union[EntityWidget, ContentWidget, ActionWidget, TeaserWidget, DocumentWidget]](../../models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `widgets` | list[[Union[shared.EntityWidget, shared.ContentWidget, shared.ActionWidget, shared.TeaserWidget, shared.DocumentWidget]](undefined/models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md index 291b8f3ca..01e279ae0 100755 --- a/customer_portal/docs/models/shared/widgetaction.md +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | -| `type` | [WidgetActionType](../../models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `label` | [Optional[shared.WidgetActionLabel]](undefined/models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `type` | [Optional[shared.WidgetActionType]](undefined/models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | +| `url` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 10fef0e1f..72327be7a 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -88,7 +88,7 @@ req = operations.CreateCustomEntityActivityRequest( activity=shared.Activity( message='{{caller}} did something with {{entity payload.entity.id}}.', payload={ - "corrupti": 'provident', + "ratione": 'incidentally', }, title='My custom activity', type='MyCustomActivity', @@ -245,7 +245,7 @@ s = epilot.Epilot() req = operations.GetAllFilesRequest( entity_ids=[ - 'distinctio', + 'invoice', ], from_=0, size=0, @@ -432,7 +432,7 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "quibusdam": 'unde', + "facilis": 'News', }, slug=shared.EntitySlug.CONTACT, ) @@ -648,7 +648,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -718,7 +718,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( @@ -793,7 +793,7 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'illum', + 'Mobility', ], access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', @@ -841,7 +841,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "error": 'deserunt', + "quia": 'Moroccan', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -879,7 +879,7 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "suscipit": 'iure', + "sed": 'fatally', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -919,7 +919,7 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "magnam": 'debitis', + "animi": 'kilogram', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -959,7 +959,7 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "ipsa": 'delectus', + "recusandae": 'North', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -998,7 +998,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "tempora": 'suscipit', + "harum": 'Generic', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 30f3b7269..c0ac7e2c1 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -38,7 +38,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.ConfigureDistributionRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSecurity( @@ -80,7 +80,7 @@ req = operations.CreateSSOUserRequest( first_name='John', last_name='Doe', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( @@ -117,7 +117,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.DeletePortalRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( @@ -257,7 +257,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetEmailTemplatesRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( @@ -331,7 +331,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetOrgPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecurity( @@ -368,7 +368,7 @@ from epilot.models import operations, shared s = epilot.Epilot() req = operations.GetPortalConfigRequest( - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( @@ -515,7 +515,7 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'recusandae', + 'save', ], file_type='orderRightTeaser', filename='12345', @@ -612,15 +612,15 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='quis', + config='male Rancho', contact_identifiers=[ - 'veritatis', + 'applications', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "deserunt": 'perferendis', + "illum": 'plum', }, ], ), @@ -637,10 +637,10 @@ req = operations.UpsertPortalRequest( entity_actions=[ shared.UpsertPortalConfigEntityActions( action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='ipsam', - en='repellendus', + de='Global katal', + en='female New leverage', ), - journey_id='sapiente', + journey_id='Loan', slug=shared.EntitySlug.CONTACT, ), ], @@ -650,7 +650,7 @@ req = operations.UpsertPortalRequest( allowed_increment='10%', attribute='first_name', cadence_period=1, - cadence_period_type=shared.UpsertPortalConfigEntityEditRulesCadencePeriodType.MONTHS, + cadence_period_type=shared.UpsertPortalConfigEntityEditRulesCadencePeriodType.DAYS, changes_allowed=1, grace_period=1, number_of_days_before_restriction=10, @@ -672,7 +672,7 @@ req = operations.UpsertPortalRequest( grants=[ shared.Grant( action='entity-read', - effect=shared.GrantEffect.DENY, + effect=shared.GrantEffect.ALLOW, resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), ], @@ -684,7 +684,7 @@ req = operations.UpsertPortalRequest( is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.DENY, + self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -728,7 +728,7 @@ req = operations.UpsertPortalWidgetRequest( [], ], ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurity( diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index e65d2b9d3..c1087e6cf 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -76,7 +76,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "quod": 'esse', + "blanditiis": 'Account', }, email='testemail921@yopmail.com', first_name='John', @@ -85,7 +85,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.create_user(req) @@ -125,7 +125,7 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "porro": 'dolorum', + "ratione": 'Gourde', }, org_id='728', ), @@ -284,7 +284,7 @@ s = epilot.Epilot( req = operations.GetPublicPortalWidgetsRequest( org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_public_portal_widgets(req) @@ -324,7 +324,7 @@ s = epilot.Epilot( req = operations.UserExistsRequest( email='user@example.com', org_id='123', - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.user_exists(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 61875efce..e085ec38d 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -101,7 +101,6 @@ docs/models/operations/deleteentityfilesecurity.md docs/models/operations/deleteentityfile202applicationjson.md docs/models/operations/deleteentityfileresponse.md docs/models/operations/deleteportalusersecurity.md -docs/models/operations/deleteportaluser200applicationjsonmessage.md docs/models/operations/deleteportaluser200applicationjson.md docs/models/operations/deleteportaluserresponse.md docs/models/operations/getallcontractssecurity.md @@ -229,7 +228,6 @@ docs/models/operations/saveportalfiles201applicationjson.md docs/models/operations/saveportalfilesresponse.md docs/models/operations/upsertemailtemplatessecurity.md docs/models/operations/upsertemailtemplatesrequest.md -docs/models/operations/upsertemailtemplates200applicationjsonmessage.md docs/models/operations/upsertemailtemplates200applicationjson.md docs/models/operations/upsertemailtemplatesresponse.md docs/models/operations/upsertportalsecurity.md @@ -241,7 +239,6 @@ docs/models/operations/upsertportalwidgetresponse.md docs/models/operations/confirmuserrequest.md docs/models/operations/confirmuserresponse.md docs/models/operations/createuserrequest.md -docs/models/operations/createuser201applicationjsonmessage.md docs/models/operations/createuser201applicationjson.md docs/models/operations/createuserresponse.md docs/models/operations/getcontactcountrequest.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index fa6bd9d37..7c1591bd9 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 827b8fdc7cfc08d73a213e7eca4fdc2f 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.45.1 + version: 1.46.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/pylintrc b/customer_portal/pylintrc index 2442b9d91..3e601a4ed 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/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/customer_portal/setup.py b/customer_portal/setup.py index 814cd437c..2809a561a 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.45.1", + version="1.46.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 0ae80f6ab..299ef20af 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -22,7 +22,7 @@ def add_end_customer_relation_to_entity(self, request: operations.AddEndCustomer url = utils.generate_url(operations.AddEndCustomerRelationToEntityRequest, base_url, '/v2/portal/entity/add-end-customer/{slug}/{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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -55,12 +55,12 @@ def create_custom_entity_activity(self, request: operations.CreateCustomEntityAc url = base_url + '/v2/portal/entity/activity' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "activity", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "activity", False, True, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type query_params = utils.get_query_params(operations.CreateCustomEntityActivityRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -93,13 +93,13 @@ def delete_entity_file(self, request: shared.DeleteEntityFile, security: operati url = base_url + '/v2/portal/entity/file' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -133,7 +133,7 @@ def delete_portal_user(self, security: operations.DeletePortalUserSecurity) -> o url = base_url + '/v2/portal/user' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -168,7 +168,7 @@ def get_all_contracts(self, request: operations.GetAllContractsRequest, security headers = {} query_params = utils.get_query_params(operations.GetAllContractsRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -203,7 +203,7 @@ def get_all_files(self, request: operations.GetAllFilesRequest, security: operat headers = {} query_params = utils.get_query_params(operations.GetAllFilesRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -238,7 +238,7 @@ def get_all_opportunities(self, request: operations.GetAllOpportunitiesRequest, headers = {} query_params = utils.get_query_params(operations.GetAllOpportunitiesRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -273,7 +273,7 @@ def get_all_orders(self, request: operations.GetAllOrdersRequest, security: oper headers = {} query_params = utils.get_query_params(operations.GetAllOrdersRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -307,7 +307,7 @@ def get_contact(self, security: operations.GetContactSecurity) -> operations.Get url = base_url + '/v2/portal/contact' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -341,7 +341,7 @@ def get_contract(self, request: operations.GetContractRequest, security: operati url = utils.generate_url(operations.GetContractRequest, base_url, '/v2/portal/contract/{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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -374,13 +374,13 @@ def get_entities_by_identifiers(self, request: operations.GetEntitiesByIdentifie url = utils.generate_url(operations.GetEntitiesByIdentifiersRequest, base_url, '/v2/portal/entity/by-identifiers/{slug}', 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, "request_body", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -414,7 +414,7 @@ def get_file_by_id(self, request: operations.GetFileByIDRequest, security: opera url = utils.generate_url(operations.GetFileByIDRequest, base_url, '/v2/portal/user/file/{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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -448,7 +448,7 @@ def get_files_count_by_entity(self, security: operations.GetFilesCountByEntitySe url = base_url + '/v2/portal/user/files/count-by-entity' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -482,7 +482,7 @@ def get_opportunity(self, request: operations.GetOpportunityRequest, security: o url = utils.generate_url(operations.GetOpportunityRequest, base_url, '/v2/portal/opportunities/{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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -516,7 +516,7 @@ def get_order(self, request: operations.GetOrderRequest, security: operations.Ge url = utils.generate_url(operations.GetOrderRequest, base_url, '/v2/portal/order/{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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -550,7 +550,7 @@ def get_organization_settings(self, security: operations.GetOrganizationSettings url = base_url + '/v2/portal/org/settings' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -585,7 +585,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -619,7 +619,7 @@ def get_portal_user(self, security: operations.GetPortalUserSecurity) -> operati url = base_url + '/v2/portal/user' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -654,7 +654,7 @@ def get_portal_widgets(self, request: operations.GetPortalWidgetsRequest, securi headers = {} query_params = utils.get_query_params(operations.GetPortalWidgetsRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -688,7 +688,7 @@ def get_schemas(self, security: operations.GetSchemasSecurity) -> operations.Get url = base_url + '/v2/portal/schemas' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -721,13 +721,13 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. url = base_url + '/v2/portal/entity/file' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -760,11 +760,11 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon url = base_url + '/v2/portal/contact' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -797,13 +797,13 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o url = utils.generate_url(operations.UpdateContractRequest, base_url, '/v2/portal/contract/{id}', 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, "request_body", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -836,13 +836,13 @@ def update_opportunity(self, request: operations.UpdateOpportunityRequest, secur url = utils.generate_url(operations.UpdateOpportunityRequest, base_url, '/v2/portal/opportunities/{id}', 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, "request_body", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -875,11 +875,11 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati url = utils.generate_url(operations.UpdateOrderRequest, base_url, '/v2/portal/order/{id}', 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, "request_body", 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -912,11 +912,11 @@ def update_portal_user(self, request: dict[str, Any], security: operations.Updat url = base_url + '/v2/portal/user' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", 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 = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 43851f347..b67b7d611 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -23,7 +23,7 @@ def configure_distribution(self, request: operations.ConfigureDistributionReques headers = {} query_params = utils.get_query_params(operations.ConfigureDistributionRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -56,14 +56,14 @@ def create_sso_user(self, request: operations.CreateSSOUserRequest, security: op url = base_url + '/v2/portal/sso/user' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "create_sso_user_request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "create_sso_user_request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateSSOUserRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -98,7 +98,7 @@ def delete_portal(self, request: operations.DeletePortalRequest, security: opera headers = {} query_params = utils.get_query_params(operations.DeletePortalRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -128,7 +128,7 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib url = base_url + '/v2/portal/extra-permission-attributes' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -162,7 +162,7 @@ def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurit url = base_url + '/v2/portal/configs' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -197,7 +197,7 @@ def get_ecp_contact(self, request: operations.GetECPContactRequest, security: op headers = {} query_params = utils.get_query_params(operations.GetECPContactRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -232,7 +232,7 @@ def get_email_templates(self, request: operations.GetEmailTemplatesRequest, secu headers = {} query_params = utils.get_query_params(operations.GetEmailTemplatesRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -266,7 +266,7 @@ def get_entity_identifiers(self, request: operations.GetEntityIdentifiersRequest url = utils.generate_url(operations.GetEntityIdentifiersRequest, base_url, '/v2/portal/entity/identifiers/{slug}', 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -301,7 +301,7 @@ def get_org_portal_config(self, request: operations.GetOrgPortalConfigRequest, s headers = {} query_params = utils.get_query_params(operations.GetOrgPortalConfigRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -336,7 +336,7 @@ def get_portal_config(self, request: operations.GetPortalConfigRequest, security headers = {} query_params = utils.get_query_params(operations.GetPortalConfigRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -371,7 +371,7 @@ def get_portal_widgets(self, request: operations.GetPortalWidgetsRequest, securi headers = {} query_params = utils.get_query_params(operations.GetPortalWidgetsRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -405,7 +405,7 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA url = base_url + '/v2/portal/contact/valid/secondary/attributes' 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -438,13 +438,13 @@ def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateV url = base_url + '/v2/portal/replace-ecp-template-variables' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -477,13 +477,13 @@ def save_portal_files(self, request: shared.SavePortalFile, security: operations url = base_url + '/v2/portal/portal/files' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -516,14 +516,14 @@ def upsert_email_templates(self, request: operations.UpsertEmailTemplatesRequest url = base_url + '/v2/portal/email-templates' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "email_templates", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "email_templates", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertEmailTemplatesRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -556,14 +556,14 @@ def upsert_portal(self, request: operations.UpsertPortalRequest, security: opera url = base_url + '/v2/portal/portal' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_config", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_config", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) @@ -596,14 +596,14 @@ def upsert_portal_widget(self, request: operations.UpsertPortalWidgetRequest, se url = base_url + '/v2/portal/widgets' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_widget", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "upsert_portal_widget", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.UpsertPortalWidgetRequest, request) 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 = utils.configure_security_client(self.sdk_configuration.client, security) diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 9f0294382..dcdbb8387 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -50,4 +50,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index b1a6449d9..a2058a9bc 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -7,9 +7,8 @@ from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json -from enum import Enum from epilot import utils -from typing import Any, Optional +from typing import Any, Final, Optional @@ -22,18 +21,15 @@ class CreateUserRequest: -class CreateUser201ApplicationJSONMessage(str, Enum): - USER_CREATED_SUCCESSFULLY = 'User created successfully' - @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class CreateUser201ApplicationJSON: r"""User created successfully.""" - message: CreateUser201ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) response: dict[str, Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) r"""The portal user entity""" + MESSAGE: Final[str] = dataclasses.field(default='User created successfully', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index bb02d2f0c..d6e23abd3 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -5,9 +5,8 @@ import requests as requests_http from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json -from enum import Enum from epilot import utils -from typing import Optional +from typing import Final, Optional @@ -17,9 +16,6 @@ class DeletePortalUserSecurity: -class DeletePortalUser200ApplicationJSONMessage(str, Enum): - USER_SUCCESFULLY_DELETED = 'User Succesfully Deleted' - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -28,7 +24,7 @@ class DeletePortalUser200ApplicationJSON: r"""Portal user deleted successfully.""" data: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""Entity ID""" - message: Optional[DeletePortalUser200ApplicationJSONMessage] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + MESSAGE: Final[Optional[str]] = dataclasses.field(default='User Succesfully Deleted', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 970fc60d1..713a20c88 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -20,8 +20,8 @@ class GetAllContractsSecurity: @dataclasses.dataclass class GetAllContractsRequest: - from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) - size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=100, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index a6ca5d9d9..0aa164ce2 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -20,8 +20,8 @@ class GetAllOpportunitiesSecurity: @dataclasses.dataclass class GetAllOpportunitiesRequest: - from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) - size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=100, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index 1eb1852a9..bfbec8cae 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -20,8 +20,8 @@ class GetAllOrdersSecurity: @dataclasses.dataclass class GetAllOrdersRequest: - from_: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) - size: Optional[float] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + size: Optional[float] = dataclasses.field(default=100, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 0c4de03b7..8f8f96b57 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -7,9 +7,8 @@ from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json -from enum import Enum from epilot import utils -from typing import Optional +from typing import Final, Optional @@ -30,9 +29,6 @@ class UpsertEmailTemplatesRequest: -class UpsertEmailTemplates200ApplicationJSONMessage(str, Enum): - EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY = 'Email Templates upserted successfully' - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -41,7 +37,7 @@ class UpsertEmailTemplates200ApplicationJSON: r"""Upserted email templates of the portal successfully.""" email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates') }}) r"""Email templates used for authentication and internal processes""" - message: UpsertEmailTemplates200ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + MESSAGE: Final[str] = dataclasses.field(default='Email Templates upserted successfully', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index 11c8a393f..5aade86b5 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -19,7 +19,7 @@ class GrantEffect(str, Enum): class Grant: action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) r"""Action for granting permission""" - effect: Optional[GrantEffect] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) + effect: Optional[GrantEffect] = dataclasses.field(default=GrantEffect.ALLOW, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('effect'), 'exclude': lambda f: f is None }}) r"""Effect of the permission""" resource: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('resource'), 'exclude': lambda f: f is None }}) r"""Resource for granting permission""" diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 04ac97390..5811af301 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -128,11 +128,11 @@ class PortalConfigFeatureSettings: @dataclasses.dataclass class PortalConfigImages: r"""Teaser & Banner Image web links""" - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser') }}) r"""URL of the order left teaser image""" - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser') }}) r"""URL of the order right teaser image""" - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner') }}) r"""URL of the welcome banner image""" diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 0086ef95a..2db30d69e 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -34,7 +34,7 @@ class SaveEntityFileFiles: s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) r"""Array of file tags""" - access_control: Optional[SaveEntityFileFilesAccessControl] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) + access_control: Optional[SaveEntityFileFilesAccessControl] = dataclasses.field(default=SaveEntityFileFilesAccessControl.PRIVATE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) r"""Access control level for the file""" document_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('document_type'), 'exclude': lambda f: f is None }}) r"""Document type""" diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 411d68838..e4f61468e 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -127,11 +127,11 @@ class UpsertPortalConfigFeatureSettings: @dataclasses.dataclass class UpsertPortalConfigImages: r"""Teaser & Banner Image web links""" - order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser'), 'exclude': lambda f: f is None }}) + order_left_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderLeftTeaser') }}) r"""URL of the order left teaser image""" - order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser'), 'exclude': lambda f: f is None }}) + order_right_teaser: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orderRightTeaser') }}) r"""URL of the order right teaser image""" - welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner'), 'exclude': lambda f: f is None }}) + welcome_banner: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('welcomeBanner') }}) r"""URL of the welcome banner image""" diff --git a/customer_portal/src/epilot/public.py b/customer_portal/src/epilot/public.py index 88263dd83..e23601fc4 100755 --- a/customer_portal/src/epilot/public.py +++ b/customer_portal/src/epilot/public.py @@ -23,7 +23,7 @@ def confirm_user(self, request: operations.ConfirmUserRequest) -> operations.Con headers = {} query_params = utils.get_query_params(operations.ConfirmUserRequest, request) 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 @@ -52,14 +52,14 @@ def create_user(self, request: operations.CreateUserRequest) -> operations.Creat url = base_url + '/v2/portal/public/user' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "create_user_request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "create_user_request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.CreateUserRequest, request) 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 @@ -92,14 +92,14 @@ def get_contact_count(self, request: operations.GetContactCountRequest) -> opera url = base_url + '/v2/portal/public/contact/count' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "contact_count_request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "contact_count_request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') query_params = utils.get_query_params(operations.GetContactCountRequest, request) 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 @@ -134,7 +134,7 @@ def get_count_by_email(self, request: operations.GetCountByEmailRequest) -> oper headers = {} query_params = utils.get_query_params(operations.GetCountByEmailRequest, request) 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 @@ -169,7 +169,7 @@ def get_portal_config_by_domain(self, request: operations.GetPortalConfigByDomai headers = {} query_params = utils.get_query_params(operations.GetPortalConfigByDomainRequest, request) 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 @@ -204,7 +204,7 @@ def get_public_portal_config(self, request: operations.GetPublicPortalConfigRequ headers = {} query_params = utils.get_query_params(operations.GetPublicPortalConfigRequest, request) 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 @@ -239,7 +239,7 @@ def get_public_portal_widgets(self, request: operations.GetPublicPortalWidgetsRe headers = {} query_params = utils.get_query_params(operations.GetPublicPortalWidgetsRequest, request) 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 @@ -274,7 +274,7 @@ def user_exists(self, request: operations.UserExistsRequest) -> operations.UserE headers = {} query_params = utils.get_query_params(operations.UserExistsRequest, request) 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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index cf6da8b9a..9f8207034 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.45.1' - gen_version: str = '2.131.1' + sdk_version: str = '1.46.0' + gen_version: str = '2.139.1' + user_agent: str = 'speakeasy-sdk/python 1.46.0 2.139.1 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index b0aeb54de..4388f3b74 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 30756defb9caff2ba587c26c76b2ade0f97aefe9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 30 Sep 2023 00:29:23 +0000 Subject: [PATCH 85/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.4 --- customer_portal/README.md | 19 +++--- customer_portal/RELEASES.md | 10 ++- customer_portal/USAGE.md | 13 ++-- .../getbillingevents200applicationjson.md | 11 ++++ .../operations/getbillingeventseventtype.md | 11 ++++ .../operations/getbillingeventsrequest.md | 12 ++++ .../operations/getbillingeventsresponse.md | 11 ++++ .../operations/getbillingeventssecurity.md | 8 +++ .../operations/getcustomerbalancerequest.md | 8 +++ .../operations/getcustomerbalanceresponse.md | 11 ++++ .../operations/getcustomerbalancesecurity.md | 8 +++ .../logintoportalasuser200applicationjson.md | 10 +++ .../logintoportalasuserrequestbody.md | 11 ++++ .../operations/logintoportalasuserresponse.md | 11 ++++ .../operations/logintoportalasusersecurity.md | 8 +++ customer_portal/docs/models/shared/balance.md | 10 +++ customer_portal/docs/sdks/balance/README.md | 43 +++++++++++++ customer_portal/docs/sdks/ecp/README.md | 47 ++++++++++++++ customer_portal/docs/sdks/ecpadmin/README.md | 42 +++++++++++++ customer_portal/files.gen | 19 ++++++ customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/balance.py | 42 +++++++++++++ customer_portal/src/epilot/ecp.py | 29 +++++++++ customer_portal/src/epilot/ecp_admin.py | 35 +++++++++++ .../src/epilot/models/operations/__init__.py | 5 +- .../models/operations/getbillingevents.py | 62 +++++++++++++++++++ .../models/operations/getcustomerbalance.py | 39 ++++++++++++ .../models/operations/logintoportalasuser.py | 56 +++++++++++++++++ .../src/epilot/models/shared/__init__.py | 3 +- .../src/epilot/models/shared/balance.py | 21 +++++++ customer_portal/src/epilot/sdk.py | 3 + .../src/epilot/sdkconfiguration.py | 6 +- 33 files changed, 609 insertions(+), 25 deletions(-) create mode 100755 customer_portal/docs/models/operations/getbillingevents200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getbillingeventseventtype.md create mode 100755 customer_portal/docs/models/operations/getbillingeventsrequest.md create mode 100755 customer_portal/docs/models/operations/getbillingeventsresponse.md create mode 100755 customer_portal/docs/models/operations/getbillingeventssecurity.md create mode 100755 customer_portal/docs/models/operations/getcustomerbalancerequest.md create mode 100755 customer_portal/docs/models/operations/getcustomerbalanceresponse.md create mode 100755 customer_portal/docs/models/operations/getcustomerbalancesecurity.md create mode 100755 customer_portal/docs/models/operations/logintoportalasuser200applicationjson.md create mode 100755 customer_portal/docs/models/operations/logintoportalasuserrequestbody.md create mode 100755 customer_portal/docs/models/operations/logintoportalasuserresponse.md create mode 100755 customer_portal/docs/models/operations/logintoportalasusersecurity.md create mode 100755 customer_portal/docs/models/shared/balance.md create mode 100755 customer_portal/docs/sdks/balance/README.md create mode 100755 customer_portal/src/epilot/balance.py create mode 100755 customer_portal/src/epilot/models/operations/getbillingevents.py create mode 100755 customer_portal/src/epilot/models/operations/getcustomerbalance.py create mode 100755 customer_portal/src/epilot/models/operations/logintoportalasuser.py create mode 100755 customer_portal/src/epilot/models/shared/balance.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 2588d87f4..a9ad44b16 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -12,20 +12,19 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot() -req = operations.AddEndCustomerRelationToEntityRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', - slug=shared.EntitySlug.CONTACT, +req = operations.GetCustomerBalanceRequest( + customer_entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', ) -res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="", +res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( + epilot_auth="", )) -if res.add_end_customer_relation_to_entity_200_application_json_object is not None: +if res.balance is not None: # handle response ``` @@ -34,6 +33,10 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No ## Available Resources and Operations +### [balance](docs/sdks/balance/README.md) + +* [get_customer_balance](docs/sdks/balance/README.md#get_customer_balance) - getCustomerBalance + ### [ecp](docs/sdks/ecp/README.md) * [add_end_customer_relation_to_entity](docs/sdks/ecp/README.md#add_end_customer_relation_to_entity) - addEndCustomerRelationToEntity @@ -44,6 +47,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_all_files](docs/sdks/ecp/README.md#get_all_files) - getAllFiles * [get_all_opportunities](docs/sdks/ecp/README.md#get_all_opportunities) - getAllOpportunities * [get_all_orders](docs/sdks/ecp/README.md#get_all_orders) - getAllOrders +* [get_billing_events](docs/sdks/ecp/README.md#get_billing_events) - getBillingEvents * [get_contact](docs/sdks/ecp/README.md#get_contact) - getContact * [get_contract](docs/sdks/ecp/README.md#get_contract) - getContract * [get_entities_by_identifiers](docs/sdks/ecp/README.md#get_entities_by_identifiers) - getEntitiesByIdentifiers @@ -77,6 +81,7 @@ if res.add_end_customer_relation_to_entity_200_application_json_object is not No * [get_portal_config](docs/sdks/ecpadmin/README.md#get_portal_config) - getPortalConfig * [get_portal_widgets](docs/sdks/ecpadmin/README.md#get_portal_widgets) - getPortalWidgets * [get_valid_secondary_attributes](docs/sdks/ecpadmin/README.md#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [login_to_portal_as_user](docs/sdks/ecpadmin/README.md#login_to_portal_as_user) - loginToPortalAsUser * [replace_ecp_template_variables](docs/sdks/ecpadmin/README.md#replace_ecp_template_variables) - replaceECPTemplateVariables * [save_portal_files](docs/sdks/ecpadmin/README.md#save_portal_files) - savePortalFiles * [upsert_email_templates](docs/sdks/ecpadmin/README.md#upsert_email_templates) - upsertEmailTemplates diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 294ddd057..50a0c59ee 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -580,4 +580,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.0] customer_portal \ No newline at end of file +- [python v1.46.0] customer_portal + +## 2023-09-30 00:29:04 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.91.4 (2.139.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.1] customer_portal \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index ddd4cfc97..74d3fb7ea 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -3,20 +3,19 @@ ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot() -req = operations.AddEndCustomerRelationToEntityRequest( - id='5da0a718-c822-403d-9f5d-20d4584e0528', - slug=shared.EntitySlug.CONTACT, +req = operations.GetCustomerBalanceRequest( + customer_entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', ) -res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRelationToEntitySecurity( - portal_auth="", +res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( + epilot_auth="", )) -if res.add_end_customer_relation_to_entity_200_application_json_object is not None: +if res.balance is not None: # handle response ``` \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingevents200applicationjson.md b/customer_portal/docs/models/operations/getbillingevents200applicationjson.md new file mode 100755 index 000000000..6ac5c45af --- /dev/null +++ b/customer_portal/docs/models/operations/getbillingevents200applicationjson.md @@ -0,0 +1,11 @@ +# GetBillingEvents200ApplicationJSON + +List billing events for all contracts/orders of specific customer + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of billing events for pagination | 50 | +| `results` | list[*Any*] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventseventtype.md b/customer_portal/docs/models/operations/getbillingeventseventtype.md new file mode 100755 index 000000000..4945c4ad1 --- /dev/null +++ b/customer_portal/docs/models/operations/getbillingeventseventtype.md @@ -0,0 +1,11 @@ +# GetBillingEventsEventType + +Type of billing event to filter by + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `INSTALLMENT` | installment | +| `REIMBURSEMENT` | reimbursement | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventsrequest.md b/customer_portal/docs/models/operations/getbillingeventsrequest.md new file mode 100755 index 000000000..0515c6082 --- /dev/null +++ b/customer_portal/docs/models/operations/getbillingeventsrequest.md @@ -0,0 +1,12 @@ +# GetBillingEventsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `date_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `date_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `entity_id` | list[*str*] | :heavy_minus_sign: | N/A | +| `event_type` | list[[operations.GetBillingEventsEventType](undefined/models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventsresponse.md b/customer_portal/docs/models/operations/getbillingeventsresponse.md new file mode 100755 index 000000000..a7bf18545 --- /dev/null +++ b/customer_portal/docs/models/operations/getbillingeventsresponse.md @@ -0,0 +1,11 @@ +# GetBillingEventsResponse + + +## Fields + +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_billing_events_200_application_json_object` | [Optional[operations.GetBillingEvents200ApplicationJSON]](undefined/models/operations/getbillingevents200applicationjson.md) | :heavy_minus_sign: | List billing events for all contracts/orders of specific customer | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventssecurity.md b/customer_portal/docs/models/operations/getbillingeventssecurity.md new file mode 100755 index 000000000..c108425f4 --- /dev/null +++ b/customer_portal/docs/models/operations/getbillingeventssecurity.md @@ -0,0 +1,8 @@ +# GetBillingEventsSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcustomerbalancerequest.md b/customer_portal/docs/models/operations/getcustomerbalancerequest.md new file mode 100755 index 000000000..fabc46cd7 --- /dev/null +++ b/customer_portal/docs/models/operations/getcustomerbalancerequest.md @@ -0,0 +1,8 @@ +# GetCustomerBalanceRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `customer_entity_id` | *Optional[str]* | :heavy_check_mark: | Customer entity ID (contact or account) | 1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcustomerbalanceresponse.md b/customer_portal/docs/models/operations/getcustomerbalanceresponse.md new file mode 100755 index 000000000..e0d31e38b --- /dev/null +++ b/customer_portal/docs/models/operations/getcustomerbalanceresponse.md @@ -0,0 +1,11 @@ +# GetCustomerBalanceResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `balance` | [Optional[shared.Balance]](undefined/models/shared/balance.md) | :heavy_minus_sign: | OK | +| `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/customer_portal/docs/models/operations/getcustomerbalancesecurity.md b/customer_portal/docs/models/operations/getcustomerbalancesecurity.md new file mode 100755 index 000000000..1d32d751b --- /dev/null +++ b/customer_portal/docs/models/operations/getcustomerbalancesecurity.md @@ -0,0 +1,8 @@ +# GetCustomerBalanceSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasuser200applicationjson.md b/customer_portal/docs/models/operations/logintoportalasuser200applicationjson.md new file mode 100755 index 000000000..39cf4565f --- /dev/null +++ b/customer_portal/docs/models/operations/logintoportalasuser200applicationjson.md @@ -0,0 +1,10 @@ +# LoginToPortalAsUser200ApplicationJSON + +The token has been generated successfully. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `login_as_token` | *Optional[str]* | :heavy_minus_sign: | A generated login_as_token to log in to a portal impersonating a user. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md b/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md new file mode 100755 index 000000000..fe979034f --- /dev/null +++ b/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md @@ -0,0 +1,11 @@ +# LoginToPortalAsUserRequestBody + +The request body to log in to a portal impersonating a user + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `email` | *Optional[str]* | :heavy_minus_sign: | The email address of the user to log in as | portal-customer@email.com | +| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasuserresponse.md b/customer_portal/docs/models/operations/logintoportalasuserresponse.md new file mode 100755 index 000000000..cd47912d9 --- /dev/null +++ b/customer_portal/docs/models/operations/logintoportalasuserresponse.md @@ -0,0 +1,11 @@ +# LoginToPortalAsUserResponse + + +## Fields + +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `login_to_portal_as_user_200_application_json_object` | [Optional[operations.LoginToPortalAsUser200ApplicationJSON]](undefined/models/operations/logintoportalasuser200applicationjson.md) | :heavy_minus_sign: | The token has been generated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasusersecurity.md b/customer_portal/docs/models/operations/logintoportalasusersecurity.md new file mode 100755 index 000000000..f097eb93c --- /dev/null +++ b/customer_portal/docs/models/operations/logintoportalasusersecurity.md @@ -0,0 +1,8 @@ +# LoginToPortalAsUserSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/balance.md b/customer_portal/docs/models/shared/balance.md new file mode 100755 index 000000000..435ab2e15 --- /dev/null +++ b/customer_portal/docs/models/shared/balance.md @@ -0,0 +1,10 @@ +# Balance + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `balance` | *Optional[int]* | :heavy_minus_sign: | Current balance of the customer in cents. (precision 2) | 8990 | +| `balance_currency` | *Optional[str]* | :heavy_minus_sign: | Currency code in ISO 4217 format | EUR | +| `balance_decimal` | *Optional[float]* | :heavy_minus_sign: | Current balance of the customer in decimal string representation. | 89.90 | \ No newline at end of file diff --git a/customer_portal/docs/sdks/balance/README.md b/customer_portal/docs/sdks/balance/README.md new file mode 100755 index 000000000..acc77992f --- /dev/null +++ b/customer_portal/docs/sdks/balance/README.md @@ -0,0 +1,43 @@ +# Balance +(*balance*) + +### Available Operations + +* [get_customer_balance](#get_customer_balance) - getCustomerBalance + +## get_customer_balance + +Get total balance across all contracts and orders of a customer entity. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetCustomerBalanceRequest( + customer_entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', +) + +res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( + epilot_auth="", +)) + +if res.balance is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `request` | [operations.GetCustomerBalanceRequest](../../models/operations/getcustomerbalancerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetCustomerBalanceSecurity](../../models/operations/getcustomerbalancesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetCustomerBalanceResponse](../../models/operations/getcustomerbalanceresponse.md)** + diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 72327be7a..548adcb37 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -15,6 +15,7 @@ APIs defined for a portal user * [get_all_files](#get_all_files) - getAllFiles * [get_all_opportunities](#get_all_opportunities) - getAllOpportunities * [get_all_orders](#get_all_orders) - getAllOrders +* [get_billing_events](#get_billing_events) - getBillingEvents * [get_contact](#get_contact) - getContact * [get_contract](#get_contract) - getContract * [get_entities_by_identifiers](#get_entities_by_identifiers) - getEntitiesByIdentifiers @@ -348,6 +349,52 @@ if res.get_all_orders_200_application_json_object is not None: **[operations.GetAllOrdersResponse](../../models/operations/getallordersresponse.md)** +## get_billing_events + +Fetch billing events for a portal user + +### Example Usage + +```python +import epilot +import dateutil.parser +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.GetBillingEventsRequest( + customer_id='International', + date_after=dateutil.parser.isoparse('2023-08-05T02:14:33.017Z'), + date_before=dateutil.parser.isoparse('2021-09-29T09:53:56.308Z'), + entity_id=[ + 'Sedan', + ], + event_type=[ + operations.GetBillingEventsEventType.REIMBURSEMENT, + ], +) + +res = s.ecp.get_billing_events(req, operations.GetBillingEventsSecurity( + portal_auth="", +)) + +if res.get_billing_events_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `request` | [operations.GetBillingEventsRequest](../../models/operations/getbillingeventsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.GetBillingEventsSecurity](../../models/operations/getbillingeventssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.GetBillingEventsResponse](../../models/operations/getbillingeventsresponse.md)** + + ## get_contact Retrieves the contact by ID. diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index c0ac7e2c1..5dbd63697 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -19,6 +19,7 @@ APIs defined for a ECP Admin * [get_portal_config](#get_portal_config) - getPortalConfig * [get_portal_widgets](#get_portal_widgets) - getPortalWidgets * [get_valid_secondary_attributes](#get_valid_secondary_attributes) - getValidSecondaryAttributes +* [login_to_portal_as_user](#login_to_portal_as_user) - loginToPortalAsUser * [replace_ecp_template_variables](#replace_ecp_template_variables) - replaceECPTemplateVariables * [save_portal_files](#save_portal_files) - savePortalFiles * [upsert_email_templates](#upsert_email_templates) - upsertEmailTemplates @@ -462,6 +463,47 @@ if res.get_valid_secondary_attributes_200_application_json_object is not None: **[operations.GetValidSecondaryAttributesResponse](../../models/operations/getvalidsecondaryattributesresponse.md)** +## login_to_portal_as_user + +Generate a token to log in to a portal impersonating a users. + +Token is valid for 5 minutes. + + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.LoginToPortalAsUserRequestBody( + email='portal-customer@email.com', + origin=shared.Origin.END_CUSTOMER_PORTAL, +) + +res = s.ecp_admin.login_to_portal_as_user(req, operations.LoginToPortalAsUserSecurity( + epilot_auth="", +)) + +if res.login_to_portal_as_user_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `request` | [operations.LoginToPortalAsUserRequestBody](../../models/operations/logintoportalasuserrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.LoginToPortalAsUserSecurity](../../models/operations/logintoportalasusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.LoginToPortalAsUserResponse](../../models/operations/logintoportalasuserresponse.md)** + + ## replace_ecp_template_variables Replaces the template variables of a portal diff --git a/customer_portal/files.gen b/customer_portal/files.gen index e085ec38d..36452d1e3 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -1,4 +1,5 @@ src/epilot/sdkconfiguration.py +src/epilot/balance.py src/epilot/ecp.py src/epilot/ecp_admin.py src/epilot/public.py @@ -11,6 +12,7 @@ src/epilot/models/errors/sdkerror.py src/epilot/utils/__init__.py src/epilot/utils/retries.py src/epilot/utils/utils.py +src/epilot/models/operations/getcustomerbalance.py src/epilot/models/operations/addendcustomerrelationtoentity.py src/epilot/models/operations/createcustomentityactivity.py src/epilot/models/operations/deleteentityfile.py @@ -19,6 +21,7 @@ src/epilot/models/operations/getallcontracts.py src/epilot/models/operations/getallfiles.py src/epilot/models/operations/getallopportunities.py src/epilot/models/operations/getallorders.py +src/epilot/models/operations/getbillingevents.py src/epilot/models/operations/getcontact.py src/epilot/models/operations/getcontract.py src/epilot/models/operations/getentitiesbyidentifiers.py @@ -47,6 +50,7 @@ src/epilot/models/operations/getemailtemplates.py src/epilot/models/operations/getentityidentifiers.py src/epilot/models/operations/getorgportalconfig.py src/epilot/models/operations/getvalidsecondaryattributes.py +src/epilot/models/operations/logintoportalasuser.py src/epilot/models/operations/replaceecptemplatevariables.py src/epilot/models/operations/saveportalfiles.py src/epilot/models/operations/upsertemailtemplates.py @@ -61,6 +65,7 @@ src/epilot/models/operations/getpublicportalconfig.py src/epilot/models/operations/getpublicportalwidgets.py src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py +src/epilot/models/shared/balance.py src/epilot/models/shared/errorresp.py src/epilot/models/shared/entityslug.py src/epilot/models/shared/activityitem.py @@ -90,6 +95,9 @@ src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py src/epilot/models/errors/__init__.py USAGE.md +docs/models/operations/getcustomerbalancesecurity.md +docs/models/operations/getcustomerbalancerequest.md +docs/models/operations/getcustomerbalanceresponse.md docs/models/operations/addendcustomerrelationtoentitysecurity.md docs/models/operations/addendcustomerrelationtoentityrequest.md docs/models/operations/addendcustomerrelationtoentity200applicationjson.md @@ -119,6 +127,11 @@ docs/models/operations/getallorderssecurity.md docs/models/operations/getallordersrequest.md docs/models/operations/getallorders200applicationjson.md docs/models/operations/getallordersresponse.md +docs/models/operations/getbillingeventssecurity.md +docs/models/operations/getbillingeventseventtype.md +docs/models/operations/getbillingeventsrequest.md +docs/models/operations/getbillingevents200applicationjson.md +docs/models/operations/getbillingeventsresponse.md docs/models/operations/getcontactsecurity.md docs/models/operations/getcontact200applicationjson.md docs/models/operations/getcontactresponse.md @@ -217,6 +230,10 @@ docs/models/operations/getvalidsecondaryattributessecurity.md docs/models/operations/getvalidsecondaryattributes200applicationjsondata.md docs/models/operations/getvalidsecondaryattributes200applicationjson.md docs/models/operations/getvalidsecondaryattributesresponse.md +docs/models/operations/logintoportalasusersecurity.md +docs/models/operations/logintoportalasuserrequestbody.md +docs/models/operations/logintoportalasuser200applicationjson.md +docs/models/operations/logintoportalasuserresponse.md docs/models/operations/replaceecptemplatevariablessecurity.md docs/models/operations/replaceecptemplatevariablesrequestbody.md docs/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md @@ -256,6 +273,7 @@ docs/models/operations/getpublicportalwidgetsresponse.md docs/models/operations/userexistsrequest.md docs/models/operations/userexists200applicationjson.md docs/models/operations/userexistsresponse.md +docs/models/shared/balance.md docs/models/shared/errorresp.md docs/models/shared/entityslug.md docs/models/shared/activityitempayloadentity.md @@ -357,6 +375,7 @@ docs/models/shared/createuserrequest.md docs/models/shared/contactcountrequest.md docs/models/shared/security.md docs/sdks/epilot/README.md +docs/sdks/balance/README.md docs/sdks/ecp/README.md docs/sdks/ecpadmin/README.md docs/sdks/public/README.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 7c1591bd9..5b84d8716 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 827b8fdc7cfc08d73a213e7eca4fdc2f + docChecksum: fcba7bc98f61f23131ae863c6525c40a docVersion: 1.0.0 - speakeasyVersion: 1.91.3 - generationVersion: 2.139.1 + speakeasyVersion: 1.91.4 + generationVersion: 2.139.2 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 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/customer_portal/setup.py b/customer_portal/setup.py index 2809a561a..bf51a6f23 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.46.0", + version="1.46.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/balance.py b/customer_portal/src/epilot/balance.py new file mode 100755 index 000000000..861fab4c2 --- /dev/null +++ b/customer_portal/src/epilot/balance.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from .sdkconfiguration import SDKConfiguration +from epilot import utils +from epilot.models import errors, operations, shared +from typing import Optional + +class Balance: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + def get_customer_balance(self, request: operations.GetCustomerBalanceRequest, security: operations.GetCustomerBalanceSecurity) -> operations.GetCustomerBalanceResponse: + r"""getCustomerBalance + Get total balance across all contracts and orders of a customer entity. + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(operations.GetCustomerBalanceRequest, base_url, '/v2/portal/billing/customers/{customer_entity_id}/balance', request) + headers = {} + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetCustomerBalanceResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.Balance]) + res.balance = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + \ No newline at end of file diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 299ef20af..185cf5ab2 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -298,6 +298,35 @@ def get_all_orders(self, request: operations.GetAllOrdersRequest, security: oper return res + def get_billing_events(self, request: operations.GetBillingEventsRequest, security: operations.GetBillingEventsSecurity) -> operations.GetBillingEventsResponse: + r"""getBillingEvents + Fetch billing events for a portal user + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/billing/events' + headers = {} + query_params = utils.get_query_params(operations.GetBillingEventsRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetBillingEventsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.GetBillingEvents200ApplicationJSON]) + res.get_billing_events_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_contact(self, security: operations.GetContactSecurity) -> operations.GetContactResponse: r"""getContact Retrieves the contact by ID. diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index b67b7d611..7088e2449 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -430,6 +430,41 @@ def get_valid_secondary_attributes(self, security: operations.GetValidSecondaryA return res + def login_to_portal_as_user(self, request: operations.LoginToPortalAsUserRequestBody, security: operations.LoginToPortalAsUserSecurity) -> operations.LoginToPortalAsUserResponse: + r"""loginToPortalAsUser + Generate a token to log in to a portal impersonating a users. + + Token is valid for 5 minutes. + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/admin:login-as-user' + headers = {} + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') + if req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('POST', url, data=data, files=form, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.LoginToPortalAsUserResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.LoginToPortalAsUser200ApplicationJSON]) + res.login_to_portal_as_user_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def replace_ecp_template_variables(self, request: operations.ReplaceECPTemplateVariablesRequestBody, security: operations.ReplaceECPTemplateVariablesSecurity) -> operations.ReplaceECPTemplateVariablesResponse: r"""replaceECPTemplateVariables Replaces the template variables of a portal diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index dcdbb8387..a80e62826 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -15,10 +15,12 @@ from .getallopportunities import * from .getallorders import * from .getallportalconfigs import * +from .getbillingevents import * from .getcontact import * from .getcontactcount import * from .getcontract import * from .getcountbyemail import * +from .getcustomerbalance import * from .getecpcontact import * from .getemailtemplates import * from .getentitiesbyidentifiers import * @@ -37,6 +39,7 @@ from .getpublicportalwidgets import * from .getschemas import * from .getvalidsecondaryattributes import * +from .logintoportalasuser import * from .replaceecptemplatevariables import * from .saveentityfile import * from .saveportalfiles import * @@ -50,4 +53,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getbillingevents.py b/customer_portal/src/epilot/models/operations/getbillingevents.py new file mode 100755 index 000000000..80d0eb3ea --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getbillingevents.py @@ -0,0 +1,62 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Optional + + + +@dataclasses.dataclass +class GetBillingEventsSecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + +class GetBillingEventsEventType(str, Enum): + r"""Type of billing event to filter by""" + INSTALLMENT = 'installment' + REIMBURSEMENT = 'reimbursement' + + + +@dataclasses.dataclass +class GetBillingEventsRequest: + customer_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'customer_id', 'style': 'form', 'explode': True }}) + date_after: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_after', 'style': 'form', 'explode': True }}) + date_before: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_before', 'style': 'form', 'explode': True }}) + entity_id: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) + event_type: Optional[list[GetBillingEventsEventType]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'event_type', 'style': 'form', 'explode': True }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class GetBillingEvents200ApplicationJSON: + r"""List billing events for all contracts/orders of specific customer""" + hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) + r"""Total number of billing events for pagination""" + results: Optional[list[Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + + + + + +@dataclasses.dataclass +class GetBillingEventsResponse: + 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""" + get_billing_events_200_application_json_object: Optional[GetBillingEvents200ApplicationJSON] = dataclasses.field(default=None) + r"""List billing events for all contracts/orders of specific customer""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/customer_portal/src/epilot/models/operations/getcustomerbalance.py b/customer_portal/src/epilot/models/operations/getcustomerbalance.py new file mode 100755 index 000000000..a58ba1a90 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getcustomerbalance.py @@ -0,0 +1,39 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import balance as shared_balance +from typing import Optional + + + +@dataclasses.dataclass +class GetCustomerBalanceSecurity: + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class GetCustomerBalanceRequest: + customer_entity_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'customer_entity_id', 'style': 'simple', 'explode': False }}) + r"""Customer entity ID (contact or account)""" + + + + + +@dataclasses.dataclass +class GetCustomerBalanceResponse: + 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""" + balance: Optional[shared_balance.Balance] = dataclasses.field(default=None) + r"""OK""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/customer_portal/src/epilot/models/operations/logintoportalasuser.py b/customer_portal/src/epilot/models/operations/logintoportalasuser.py new file mode 100755 index 000000000..6be207cfd --- /dev/null +++ b/customer_portal/src/epilot/models/operations/logintoportalasuser.py @@ -0,0 +1,56 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import origin as shared_origin +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + + +@dataclasses.dataclass +class LoginToPortalAsUserSecurity: + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class LoginToPortalAsUserRequestBody: + r"""The request body to log in to a portal impersonating a user""" + email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) + r"""The email address of the user to log in as""" + origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin'), 'exclude': lambda f: f is None }}) + r"""Origin of the portal""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class LoginToPortalAsUser200ApplicationJSON: + r"""The token has been generated successfully.""" + login_as_token: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('login_as_token'), 'exclude': lambda f: f is None }}) + r"""A generated login_as_token to log in to a portal impersonating a user.""" + + + + + +@dataclasses.dataclass +class LoginToPortalAsUserResponse: + 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""" + login_to_portal_as_user_200_application_json_object: Optional[LoginToPortalAsUser200ApplicationJSON] = dataclasses.field(default=None) + r"""The token has been generated successfully.""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index fb47e059a..0773a39ef 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -3,6 +3,7 @@ from .actionwidget import * from .activity import * from .activityitem import * +from .balance import * from .contactcountrequest import * from .contentwidget import * from .createssouserrequest import * @@ -27,4 +28,4 @@ from .upsertportalwidget import * from .widgetaction import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] diff --git a/customer_portal/src/epilot/models/shared/balance.py b/customer_portal/src/epilot/models/shared/balance.py new file mode 100755 index 000000000..f907fa203 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/balance.py @@ -0,0 +1,21 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class Balance: + balance: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }}) + r"""Current balance of the customer in cents. (precision 2)""" + balance_currency: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance_currency'), 'exclude': lambda f: f is None }}) + r"""Currency code in ISO 4217 format""" + balance_decimal: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance_decimal'), 'exclude': lambda f: f is None }}) + r"""Current balance of the customer in decimal string representation.""" + + diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 6537d4eda..f2880f0c0 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests as requests_http +from .balance import Balance from .ecp import Ecp from .ecp_admin import ECPAdmin from .public import Public @@ -10,6 +11,7 @@ class Epilot: r"""Portal API: Backend for epilot portals - End Customer Portal & Installer Portal""" + balance: Balance ecp: Ecp r"""APIs defined for a portal user""" ecp_admin: ECPAdmin @@ -56,6 +58,7 @@ def __init__(self, self._init_sdks() def _init_sdks(self): + self.balance = Balance(self.sdk_configuration) self.ecp = Ecp(self.sdk_configuration) self.ecp_admin = ECPAdmin(self.sdk_configuration) self.public = Public(self.sdk_configuration) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 9f8207034..8c8d06fa9 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.139.1' - user_agent: str = 'speakeasy-sdk/python 1.46.0 2.139.1 1.0.0 epilot-customer-portal' + sdk_version: str = '1.46.1' + gen_version: str = '2.139.2' + user_agent: str = 'speakeasy-sdk/python 1.46.1 2.139.2 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 5df4aec354aecb2da493b36e36a3a62c5c669b65 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 1 Oct 2023 00:35:28 +0000 Subject: [PATCH 86/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.2 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 50a0c59ee..195babd68 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -588,4 +588,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.91.4 (2.139.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.1] customer_portal \ No newline at end of file +- [python v1.46.1] customer_portal + +## 2023-10-01 00:35:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.0] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 5b84d8716..3498ed359 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: fcba7bc98f61f23131ae863c6525c40a docVersion: 1.0.0 - speakeasyVersion: 1.91.4 - generationVersion: 2.139.2 + 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.46.1 + version: 1.47.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index bf51a6f23..5af3be1cf 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.46.1", + version="1.47.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 8c8d06fa9..89c760f46 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.139.2' - user_agent: str = 'speakeasy-sdk/python 1.46.1 2.139.2 1.0.0 epilot-customer-portal' + sdk_version: str = '1.47.0' + gen_version: str = '2.142.2' + user_agent: str = 'speakeasy-sdk/python 1.47.0 2.142.2 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 49f2494be21484923394e410a659dd1961bbe063 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 2 Oct 2023 00:30:57 +0000 Subject: [PATCH 87/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.3 --- customer_portal/RELEASES.md | 10 +++++++++- customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 195babd68..7b6a29740 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -596,4 +596,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.0] customer_portal \ No newline at end of file +- [python v1.47.0] customer_portal + +## 2023-10-02 00:30:39 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.1] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 3498ed359..1d49a9908 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: fcba7bc98f61f23131ae863c6525c40a 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.47.0 + version: 1.47.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 5af3be1cf..f4f92d2a2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.47.0", + version="1.47.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 89c760f46..00b6ae802 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.142.2' - user_agent: str = 'speakeasy-sdk/python 1.47.0 2.142.2 1.0.0 epilot-customer-portal' + sdk_version: str = '1.47.1' + gen_version: str = '2.143.2' + user_agent: str = 'speakeasy-sdk/python 1.47.1 2.143.2 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From bc6262c12e6630daff80a5c8379b7a5efd988e2e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 5 Oct 2023 00:30:38 +0000 Subject: [PATCH 88/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.94.0 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 10 +++- .../createuser201applicationjson.md | 8 +-- .../createuser201applicationjsonmessage.md | 8 +++ .../deleteportaluser200applicationjson.md | 8 +-- ...leteportaluser200applicationjsonmessage.md | 8 +++ .../trackfiledownloaded200applicationjson.md | 10 ++++ .../operations/trackfiledownloadedrequest.md | 8 +++ .../operations/trackfiledownloadedresponse.md | 12 +++++ .../operations/trackfiledownloadedsecurity.md | 8 +++ .../upsertemailtemplates200applicationjson.md | 8 +-- ...emailtemplates200applicationjsonmessage.md | 8 +++ customer_portal/docs/sdks/ecp/README.md | 38 +++++++++++++ customer_portal/files.gen | 8 +++ customer_portal/gen.yaml | 10 ++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 34 ++++++++++++ .../src/epilot/models/operations/__init__.py | 3 +- .../epilot/models/operations/createuser.py | 8 ++- .../models/operations/deleteportaluser.py | 8 ++- .../models/operations/trackfiledownloaded.py | 53 +++++++++++++++++++ .../models/operations/upsertemailtemplates.py | 8 ++- .../src/epilot/sdkconfiguration.py | 6 +-- 23 files changed, 246 insertions(+), 29 deletions(-) create mode 100755 customer_portal/docs/models/operations/createuser201applicationjsonmessage.md create mode 100755 customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md create mode 100755 customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md create mode 100755 customer_portal/docs/models/operations/trackfiledownloadedrequest.md create mode 100755 customer_portal/docs/models/operations/trackfiledownloadedresponse.md create mode 100755 customer_portal/docs/models/operations/trackfiledownloadedsecurity.md create mode 100755 customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md create mode 100755 customer_portal/src/epilot/models/operations/trackfiledownloaded.py diff --git a/customer_portal/README.md b/customer_portal/README.md index a9ad44b16..24cec090a 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -61,6 +61,7 @@ if res.balance is not None: * [get_portal_widgets](docs/sdks/ecp/README.md#get_portal_widgets) - getPortalWidgets * [get_schemas](docs/sdks/ecp/README.md#get_schemas) - getSchemas * [save_entity_file](docs/sdks/ecp/README.md#save_entity_file) - saveEntityFile +* [track_file_downloaded](docs/sdks/ecp/README.md#track_file_downloaded) - trackFileDownloaded * [update_contact](docs/sdks/ecp/README.md#update_contact) - updateContact * [update_contract](docs/sdks/ecp/README.md#update_contract) - updateContract * [update_opportunity](docs/sdks/ecp/README.md#update_opportunity) - updateOpportunity diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 7b6a29740..ba015b753 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -604,4 +604,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.1] customer_portal \ No newline at end of file +- [python v1.47.1] customer_portal + +## 2023-10-05 00:30:19 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.2] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md index e36837b68..c6a32f59d 100755 --- a/customer_portal/docs/models/operations/createuser201applicationjson.md +++ b/customer_portal/docs/models/operations/createuser201applicationjson.md @@ -5,7 +5,7 @@ User created successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `message` | *Optional[str]* | :heavy_check_mark: | N/A | -| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `message` | [Optional[operations.CreateUser201ApplicationJSONMessage]](undefined/models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | +| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md new file mode 100755 index 000000000..caba31659 --- /dev/null +++ b/customer_portal/docs/models/operations/createuser201applicationjsonmessage.md @@ -0,0 +1,8 @@ +# CreateUser201ApplicationJSONMessage + + +## Values + +| Name | Value | +| --------------------------- | --------------------------- | +| `USER_CREATED_SUCCESSFULLY` | User created successfully | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md index 4d7f6abb0..9ab179a22 100755 --- a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md @@ -5,7 +5,7 @@ Portal user deleted successfully. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `message` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `message` | [Optional[operations.DeletePortalUser200ApplicationJSONMessage]](undefined/models/operations/deleteportaluser200applicationjsonmessage.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md new file mode 100755 index 000000000..70f160dca --- /dev/null +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjsonmessage.md @@ -0,0 +1,8 @@ +# DeletePortalUser200ApplicationJSONMessage + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `USER_SUCCESFULLY_DELETED` | User Succesfully Deleted | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md b/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md new file mode 100755 index 000000000..938657cc6 --- /dev/null +++ b/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md @@ -0,0 +1,10 @@ +# TrackFileDownloaded200ApplicationJSON + +File download tracked successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `file` | dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloadedrequest.md b/customer_portal/docs/models/operations/trackfiledownloadedrequest.md new file mode 100755 index 000000000..1671a9113 --- /dev/null +++ b/customer_portal/docs/models/operations/trackfiledownloadedrequest.md @@ -0,0 +1,8 @@ +# TrackFileDownloadedRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *Optional[str]* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloadedresponse.md b/customer_portal/docs/models/operations/trackfiledownloadedresponse.md new file mode 100755 index 000000000..ddff6e0a8 --- /dev/null +++ b/customer_portal/docs/models/operations/trackfiledownloadedresponse.md @@ -0,0 +1,12 @@ +# TrackFileDownloadedResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `track_file_downloaded_200_application_json_object` | [Optional[operations.TrackFileDownloaded200ApplicationJSON]](undefined/models/operations/trackfiledownloaded200applicationjson.md) | :heavy_minus_sign: | File download tracked successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md b/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md new file mode 100755 index 000000000..62feb5309 --- /dev/null +++ b/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md @@ -0,0 +1,8 @@ +# TrackFileDownloadedSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md index dc156ea27..067b3be89 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md @@ -5,7 +5,7 @@ Upserted email templates of the portal successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | -| `message` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | +| `message` | [Optional[operations.UpsertEmailTemplates200ApplicationJSONMessage]](undefined/models/operations/upsertemailtemplates200applicationjsonmessage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md new file mode 100755 index 000000000..796d39479 --- /dev/null +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjsonmessage.md @@ -0,0 +1,8 @@ +# UpsertEmailTemplates200ApplicationJSONMessage + + +## Values + +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY` | Email Templates upserted successfully | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 548adcb37..9d593d570 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -29,6 +29,7 @@ APIs defined for a portal user * [get_portal_widgets](#get_portal_widgets) - getPortalWidgets * [get_schemas](#get_schemas) - getSchemas * [save_entity_file](#save_entity_file) - saveEntityFile +* [track_file_downloaded](#track_file_downloaded) - trackFileDownloaded * [update_contact](#update_contact) - updateContact * [update_contract](#update_contract) - updateContract * [update_opportunity](#update_opportunity) - updateOpportunity @@ -875,6 +876,43 @@ if res.save_entity_file_201_application_json_object is not None: **[operations.SaveEntityFileResponse](../../models/operations/saveentityfileresponse.md)** +## track_file_downloaded + +Track that user has downloaded a file + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.TrackFileDownloadedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', +) + +res = s.ecp.track_file_downloaded(req, operations.TrackFileDownloadedSecurity( + portal_auth="", +)) + +if res.track_file_downloaded_200_application_json_object is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `request` | [operations.TrackFileDownloadedRequest](../../models/operations/trackfiledownloadedrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.TrackFileDownloadedSecurity](../../models/operations/trackfiledownloadedsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.TrackFileDownloadedResponse](../../models/operations/trackfiledownloadedresponse.md)** + + ## update_contact Updates the contact details. diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 36452d1e3..12f3eff77 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -35,6 +35,7 @@ src/epilot/models/operations/getportaluser.py src/epilot/models/operations/getportalwidgets.py src/epilot/models/operations/getschemas.py src/epilot/models/operations/saveentityfile.py +src/epilot/models/operations/trackfiledownloaded.py src/epilot/models/operations/updatecontact.py src/epilot/models/operations/updatecontract.py src/epilot/models/operations/updateopportunity.py @@ -109,6 +110,7 @@ docs/models/operations/deleteentityfilesecurity.md docs/models/operations/deleteentityfile202applicationjson.md docs/models/operations/deleteentityfileresponse.md docs/models/operations/deleteportalusersecurity.md +docs/models/operations/deleteportaluser200applicationjsonmessage.md docs/models/operations/deleteportaluser200applicationjson.md docs/models/operations/deleteportaluserresponse.md docs/models/operations/getallcontractssecurity.md @@ -175,6 +177,10 @@ docs/models/operations/getschemasresponse.md docs/models/operations/saveentityfilesecurity.md docs/models/operations/saveentityfile201applicationjson.md docs/models/operations/saveentityfileresponse.md +docs/models/operations/trackfiledownloadedsecurity.md +docs/models/operations/trackfiledownloadedrequest.md +docs/models/operations/trackfiledownloaded200applicationjson.md +docs/models/operations/trackfiledownloadedresponse.md docs/models/operations/updatecontactsecurity.md docs/models/operations/updatecontact200applicationjson.md docs/models/operations/updatecontactresponse.md @@ -245,6 +251,7 @@ docs/models/operations/saveportalfiles201applicationjson.md docs/models/operations/saveportalfilesresponse.md docs/models/operations/upsertemailtemplatessecurity.md docs/models/operations/upsertemailtemplatesrequest.md +docs/models/operations/upsertemailtemplates200applicationjsonmessage.md docs/models/operations/upsertemailtemplates200applicationjson.md docs/models/operations/upsertemailtemplatesresponse.md docs/models/operations/upsertportalsecurity.md @@ -256,6 +263,7 @@ docs/models/operations/upsertportalwidgetresponse.md docs/models/operations/confirmuserrequest.md docs/models/operations/confirmuserresponse.md docs/models/operations/createuserrequest.md +docs/models/operations/createuser201applicationjsonmessage.md docs/models/operations/createuser201applicationjson.md docs/models/operations/createuserresponse.md docs/models/operations/getcontactcountrequest.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 1d49a9908..641168f0b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,22 +1,22 @@ configVersion: 1.0.0 management: - docChecksum: fcba7bc98f61f23131ae863c6525c40a + docChecksum: b5bb6cd58771663fd5a0c24b4ec10f47 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 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.47.1 + version: 1.47.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/customer_portal/setup.py b/customer_portal/setup.py index f4f92d2a2..29b2648f2 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.47.1", + version="1.47.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 185cf5ab2..245e47e5f 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -781,6 +781,40 @@ def save_entity_file(self, request: shared.SaveEntityFile, security: operations. return res + def track_file_downloaded(self, request: operations.TrackFileDownloadedRequest, security: operations.TrackFileDownloadedSecurity) -> operations.TrackFileDownloadedResponse: + r"""trackFileDownloaded + Track that user has downloaded a file + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(operations.TrackFileDownloadedRequest, base_url, '/v2/portal/user/file/{id}/downloaded', request) + headers = {} + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('POST', url, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.TrackFileDownloadedResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.TrackFileDownloaded200ApplicationJSON]) + res.track_file_downloaded_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 404, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def update_contact(self, request: dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: r"""updateContact Updates the contact details. diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index a80e62826..447640bf0 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -43,6 +43,7 @@ from .replaceecptemplatevariables import * from .saveentityfile import * from .saveportalfiles import * +from .trackfiledownloaded import * from .updatecontact import * from .updatecontract import * from .updateopportunity import * @@ -53,4 +54,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index a2058a9bc..b1a6449d9 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -7,8 +7,9 @@ from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils -from typing import Any, Final, Optional +from typing import Any, Optional @@ -21,15 +22,18 @@ class CreateUserRequest: +class CreateUser201ApplicationJSONMessage(str, Enum): + USER_CREATED_SUCCESSFULLY = 'User created successfully' + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class CreateUser201ApplicationJSON: r"""User created successfully.""" + message: CreateUser201ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) response: dict[str, Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) r"""The portal user entity""" - MESSAGE: Final[str] = dataclasses.field(default='User created successfully', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index d6e23abd3..bb02d2f0c 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -5,8 +5,9 @@ import requests as requests_http from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils -from typing import Final, Optional +from typing import Optional @@ -16,6 +17,9 @@ class DeletePortalUserSecurity: +class DeletePortalUser200ApplicationJSONMessage(str, Enum): + USER_SUCCESFULLY_DELETED = 'User Succesfully Deleted' + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -24,7 +28,7 @@ class DeletePortalUser200ApplicationJSON: r"""Portal user deleted successfully.""" data: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""Entity ID""" - MESSAGE: Final[Optional[str]] = dataclasses.field(default='User Succesfully Deleted', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + message: Optional[DeletePortalUser200ApplicationJSONMessage] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/operations/trackfiledownloaded.py b/customer_portal/src/epilot/models/operations/trackfiledownloaded.py new file mode 100755 index 000000000..7fb933b50 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/trackfiledownloaded.py @@ -0,0 +1,53 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import errorresp as shared_errorresp +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Optional + + + +@dataclasses.dataclass +class TrackFileDownloadedSecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + + +@dataclasses.dataclass +class TrackFileDownloadedRequest: + id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) + r"""The Id of a file""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class TrackFileDownloaded200ApplicationJSON: + r"""File download tracked successfully.""" + file: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) + + + + + +@dataclasses.dataclass +class TrackFileDownloadedResponse: + 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""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + track_file_downloaded_200_application_json_object: Optional[TrackFileDownloaded200ApplicationJSON] = dataclasses.field(default=None) + r"""File download tracked successfully.""" + + diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 8f8f96b57..0c4de03b7 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -7,8 +7,9 @@ from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils -from typing import Final, Optional +from typing import Optional @@ -29,6 +30,9 @@ class UpsertEmailTemplatesRequest: +class UpsertEmailTemplates200ApplicationJSONMessage(str, Enum): + EMAIL_TEMPLATES_UPSERTED_SUCCESSFULLY = 'Email Templates upserted successfully' + @dataclass_json(undefined=Undefined.EXCLUDE) @@ -37,7 +41,7 @@ class UpsertEmailTemplates200ApplicationJSON: r"""Upserted email templates of the portal successfully.""" email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailTemplates') }}) r"""Email templates used for authentication and internal processes""" - MESSAGE: Final[str] = dataclasses.field(default='Email Templates upserted successfully', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) + message: UpsertEmailTemplates200ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 00b6ae802..e55067210 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.1' - gen_version: str = '2.143.2' - user_agent: str = 'speakeasy-sdk/python 1.47.1 2.143.2 1.0.0 epilot-customer-portal' + sdk_version: str = '1.47.2' + gen_version: str = '2.147.0' + user_agent: str = 'speakeasy-sdk/python 1.47.2 2.147.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 66ef5ee42a2e205d334ff92275843b5e375b35de Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 7 Oct 2023 00:29:55 +0000 Subject: [PATCH 89/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.96.1 --- customer_portal/RELEASES.md | 10 +++- .../deleteentityfile202applicationjson.md | 6 +- .../models/operations/getallfilesrequest.md | 10 ++-- .../operations/getbillingeventsrequest.md | 4 +- .../docs/models/shared/activity.md | 2 +- .../docs/models/shared/deleteentityfile.md | 2 +- .../docs/models/shared/documentwidget.md | 12 ---- .../docs/models/shared/portalconfig.md | 2 +- .../portalconfigentityidentifierstype.md | 8 +-- .../docs/models/shared/portalwidget.md | 4 +- .../docs/models/shared/saveentityfilefiles.md | 2 +- .../docs/models/shared/saveportalfilefiles.md | 2 +- .../docs/models/shared/upsertportalconfig.md | 2 +- ...upsertportalconfigentityidentifierstype.md | 8 +-- .../docs/models/shared/upsertportalwidget.md | 6 +- .../docs/models/shared/widgetbase.md | 12 ++++ ...idgetheadline.md => widgetbaseheadline.md} | 2 +- ...ubheadline.md => widgetbasesubheadline.md} | 2 +- ...ocumentwidgettype.md => widgetbasetype.md} | 2 +- customer_portal/docs/sdks/ecp/README.md | 30 ++++------ customer_portal/docs/sdks/ecpadmin/README.md | 56 ++++++++++--------- customer_portal/docs/sdks/public/README.md | 7 +-- customer_portal/files.gen | 10 ++-- customer_portal/gen.yaml | 13 +++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/models/__init__.py | 1 + .../models/operations/getbillingevents.py | 6 +- .../src/epilot/models/shared/__init__.py | 4 +- .../models/shared/upsertportalwidget.py | 4 +- .../{documentwidget.py => widgetbase.py} | 14 ++--- customer_portal/src/epilot/sdk.py | 8 ++- .../src/epilot/sdkconfiguration.py | 6 +- 32 files changed, 133 insertions(+), 126 deletions(-) delete mode 100755 customer_portal/docs/models/shared/documentwidget.md create mode 100755 customer_portal/docs/models/shared/widgetbase.md rename customer_portal/docs/models/shared/{documentwidgetheadline.md => widgetbaseheadline.md} (93%) rename customer_portal/docs/models/shared/{documentwidgetsubheadline.md => widgetbasesubheadline.md} (92%) rename customer_portal/docs/models/shared/{documentwidgettype.md => widgetbasetype.md} (93%) rename customer_portal/src/epilot/models/shared/{documentwidget.py => widgetbase.py} (71%) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ba015b753..ba2c4b2a5 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -612,4 +612,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.2] customer_portal \ No newline at end of file +- [python v1.47.2] customer_portal + +## 2023-10-07 00:29:36 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.0] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md index af2b4942a..260b05f76 100755 --- a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md +++ b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md @@ -5,6 +5,6 @@ The files are removed from the requested entity successfully. ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `deleted_files` | list[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `deleted_files` | list[*str*] | :heavy_minus_sign: | N/A | 00250c75-afd4-4c94-ba7a-ba0df638eba5 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md index cd92a4d23..af8d4c861 100755 --- a/customer_portal/docs/models/operations/getallfilesrequest.md +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | | -| `from_` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | -| `size` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | 4910096f-000a-4504-bf5a-d3774ec3032a,7c9f8536-6266-42e8-a0de-c60b61aa81a7 | +| `from_` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | +| `size` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventsrequest.md b/customer_portal/docs/models/operations/getbillingeventsrequest.md index 0515c6082..bb15767de 100755 --- a/customer_portal/docs/models/operations/getbillingeventsrequest.md +++ b/customer_portal/docs/models/operations/getbillingeventsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | | `customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `date_after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | -| `date_before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | +| `date_after` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | +| `date_before` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | | `entity_id` | list[*str*] | :heavy_minus_sign: | N/A | | `event_type` | list[[operations.GetBillingEventsEventType](undefined/models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activity.md b/customer_portal/docs/models/shared/activity.md index 1daebfb91..6c42333cd 100755 --- a/customer_portal/docs/models/shared/activity.md +++ b/customer_portal/docs/models/shared/activity.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | | `message` | *Optional[str]* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | -| `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | [object Object] | | `title` | *Optional[str]* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | | `type` | *Optional[str]* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md index 6221b2db9..7f83c3f27 100755 --- a/customer_portal/docs/models/shared/deleteentityfile.md +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -7,4 +7,4 @@ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | | `entity_id` | *Optional[str]* | :heavy_check_mark: | Entity ID | 123456 | | `entity_type` | *Optional[str]* | :heavy_check_mark: | Entity type | order | -| `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | | \ No newline at end of file +| `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidget.md b/customer_portal/docs/models/shared/documentwidget.md deleted file mode 100755 index 74ebb1413..000000000 --- a/customer_portal/docs/models/shared/documentwidget.md +++ /dev/null @@ -1,12 +0,0 @@ -# DocumentWidget - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `headline` | [Optional[shared.DocumentWidgetHeadline]](undefined/models/shared/documentwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[shared.DocumentWidgetSubHeadline]](undefined/models/shared/documentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.DocumentWidgetType]](undefined/models/shared/documentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 9d883731f..9bd9c84db 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -7,7 +7,7 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cognito_details` | [Optional[shared.PortalConfigCognitoDetails]](undefined/models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | | `default_user_to_notify` | [Optional[shared.PortalConfigDefaultUserToNotify]](undefined/models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | | `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md index 33682ec12..7e63fc93c 100755 --- a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md +++ b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | -| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | +| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalwidget.md b/customer_portal/docs/models/shared/portalwidget.md index bea1372d2..d77173a45 100755 --- a/customer_portal/docs/models/shared/portalwidget.md +++ b/customer_portal/docs/models/shared/portalwidget.md @@ -27,9 +27,9 @@ portalWidget: shared.ActionWidget = /* values here */ portalWidget: shared.TeaserWidget = /* values here */ ``` -### DocumentWidget +### WidgetBase ```python -portalWidget: shared.DocumentWidget = /* values here */ +portalWidget: shared.WidgetBase = /* values here */ ``` diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md index abecc9fd0..39e1e5964 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiles.md +++ b/customer_portal/docs/models/shared/saveentityfilefiles.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | | `access_control` | [Optional[shared.SaveEntityFileFilesAccessControl]](undefined/models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | | `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | | `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md index a51a54c18..62a8bb348 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiles.md +++ b/customer_portal/docs/models/shared/saveportalfilefiles.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | | `file_type` | *Optional[str]* | :heavy_check_mark: | File type | orderRightTeaser | | `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | | `s3ref` | [Optional[shared.SavePortalFileFilesS3ref]](undefined/models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 0581a6e22..57b32c30c 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -7,7 +7,7 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cognito_details` | [Optional[shared.UpsertPortalConfigCognitoDetails]](undefined/models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | | +| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | | `default_user_to_notify` | [Optional[shared.UpsertPortalConfigDefaultUserToNotify]](undefined/models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | | `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md index 3d2f50b38..e3c9121d2 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | -| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | +| `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 1eaf40d98..212fbecaa 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `widgets` | list[[Union[shared.EntityWidget, shared.ContentWidget, shared.ActionWidget, shared.TeaserWidget, shared.DocumentWidget]](undefined/models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `widgets` | list[[Union[shared.EntityWidget, shared.ContentWidget, shared.ActionWidget, shared.TeaserWidget, shared.WidgetBase]](undefined/models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetbase.md b/customer_portal/docs/models/shared/widgetbase.md new file mode 100755 index 000000000..7c2843129 --- /dev/null +++ b/customer_portal/docs/models/shared/widgetbase.md @@ -0,0 +1,12 @@ +# WidgetBase + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `headline` | [Optional[shared.WidgetBaseHeadline]](undefined/models/shared/widgetbaseheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[shared.WidgetBaseSubHeadline]](undefined/models/shared/widgetbasesubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.WidgetBaseType]](undefined/models/shared/widgetbasetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/documentwidgetheadline.md b/customer_portal/docs/models/shared/widgetbaseheadline.md similarity index 93% rename from customer_portal/docs/models/shared/documentwidgetheadline.md rename to customer_portal/docs/models/shared/widgetbaseheadline.md index 014de6f6b..ba429b1df 100755 --- a/customer_portal/docs/models/shared/documentwidgetheadline.md +++ b/customer_portal/docs/models/shared/widgetbaseheadline.md @@ -1,4 +1,4 @@ -# DocumentWidgetHeadline +# WidgetBaseHeadline ## Fields diff --git a/customer_portal/docs/models/shared/documentwidgetsubheadline.md b/customer_portal/docs/models/shared/widgetbasesubheadline.md similarity index 92% rename from customer_portal/docs/models/shared/documentwidgetsubheadline.md rename to customer_portal/docs/models/shared/widgetbasesubheadline.md index 75bb88844..ce6d1e362 100755 --- a/customer_portal/docs/models/shared/documentwidgetsubheadline.md +++ b/customer_portal/docs/models/shared/widgetbasesubheadline.md @@ -1,4 +1,4 @@ -# DocumentWidgetSubHeadline +# WidgetBaseSubHeadline ## Fields diff --git a/customer_portal/docs/models/shared/documentwidgettype.md b/customer_portal/docs/models/shared/widgetbasetype.md similarity index 93% rename from customer_portal/docs/models/shared/documentwidgettype.md rename to customer_portal/docs/models/shared/widgetbasetype.md index d32d9b3c0..35abe489a 100755 --- a/customer_portal/docs/models/shared/documentwidgettype.md +++ b/customer_portal/docs/models/shared/widgetbasetype.md @@ -1,4 +1,4 @@ -# DocumentWidgetType +# WidgetBaseType ## Values diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 9d593d570..d8f2bae68 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -90,7 +90,7 @@ req = operations.CreateCustomEntityActivityRequest( activity=shared.Activity( message='{{caller}} did something with {{entity payload.entity.id}}.', payload={ - "ratione": 'incidentally', + "entity": 'Outdoors', }, title='My custom activity', type='MyCustomActivity', @@ -247,7 +247,8 @@ s = epilot.Epilot() req = operations.GetAllFilesRequest( entity_ids=[ - 'invoice', + '4910096f-000a-4504-bf5a-d3774ec3032a', + '7c9f8536-6266-42e8-a0de-c60b61aa81a7', ], from_=0, size=0, @@ -365,10 +366,8 @@ s = epilot.Epilot() req = operations.GetBillingEventsRequest( customer_id='International', - date_after=dateutil.parser.isoparse('2023-08-05T02:14:33.017Z'), - date_before=dateutil.parser.isoparse('2021-09-29T09:53:56.308Z'), entity_id=[ - 'Sedan', + 'evil', ], event_type=[ operations.GetBillingEventsEventType.REIMBURSEMENT, @@ -480,7 +479,7 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "facilis": 'News', + "female": 'female', }, slug=shared.EntitySlug.CONTACT, ) @@ -695,9 +694,7 @@ from epilot.models import operations, shared s = epilot.Epilot() -req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) +req = operations.GetPortalConfigRequest() res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( epilot_auth="", @@ -765,9 +762,7 @@ from epilot.models import operations, shared s = epilot.Epilot() -req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) +req = operations.GetPortalWidgetsRequest() res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( epilot_auth="", @@ -843,7 +838,6 @@ req = shared.SaveEntityFile( tags=[ 'Mobility', ], - access_control=shared.SaveEntityFileFilesAccessControl.PRIVATE, document_type='12345', file_entity_id='12345', filename='12345', @@ -926,7 +920,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "quia": 'Moroccan', + "Jewell": 'compress', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -964,7 +958,7 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "sed": 'fatally', + "Path": 'linseed', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1004,7 +998,7 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "animi": 'kilogram', + "Legacy": 'Pants', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1044,7 +1038,7 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "recusandae": 'North', + "yuck": 'Berkshire', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1083,7 +1077,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "harum": 'Generic', + "Manager": 'Product', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 5dbd63697..9c00b3456 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -368,9 +368,7 @@ from epilot.models import operations, shared s = epilot.Epilot() -req = operations.GetPortalConfigRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) +req = operations.GetPortalConfigRequest() res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( epilot_auth="", @@ -405,9 +403,7 @@ from epilot.models import operations, shared s = epilot.Epilot() -req = operations.GetPortalWidgetsRequest( - origin=shared.Origin.END_CUSTOMER_PORTAL, -) +req = operations.GetPortalWidgetsRequest() res = s.ecp_admin.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( epilot_auth="", @@ -480,7 +476,6 @@ s = epilot.Epilot() req = operations.LoginToPortalAsUserRequestBody( email='portal-customer@email.com', - origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.ecp_admin.login_to_portal_as_user(req, operations.LoginToPortalAsUserSecurity( @@ -654,15 +649,15 @@ req = operations.UpsertPortalRequest( cognito_user_pool_client_id='6bsd0jkgoie74k2i8mrhc1vest', cognito_user_pool_id='eu-central-1_CUEQRNbUb', ), - config='male Rancho', contact_identifiers=[ - 'applications', + 'email', + 'last_name', ], contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ { - "illum": 'plum', + "up": 'array', }, ], ), @@ -675,14 +670,9 @@ req = operations.UpsertPortalRequest( on_map_a_pending_user='940134fa-50f2-4204-a08a-fd3afddbf39a', on_new_quote='b03e2b88-8f3f-4a93-8118-1fb07e9198a1', ), - enabled=False, entity_actions=[ shared.UpsertPortalConfigEntityActions( - action_label=shared.UpsertPortalConfigEntityActionsActionLabel( - de='Global katal', - en='female New leverage', - ), - journey_id='Loan', + action_label=shared.UpsertPortalConfigEntityActionsActionLabel(), slug=shared.EntitySlug.CONTACT, ), ], @@ -692,29 +682,37 @@ req = operations.UpsertPortalRequest( allowed_increment='10%', attribute='first_name', cadence_period=1, - cadence_period_type=shared.UpsertPortalConfigEntityEditRulesCadencePeriodType.DAYS, changes_allowed=1, grace_period=1, number_of_days_before_restriction=10, - rule_type=shared.UpsertPortalConfigEntityEditRulesRuleType.CADENCE, slug=shared.EntitySlug.CONTACT, ), ], entity_identifiers=shared.UpsertPortalConfigEntityIdentifiers( type=shared.UpsertPortalConfigEntityIdentifiersType( attributes=[ - 'contract_number', + 'c', + 'o', + 'n', + 't', + 'r', + 'a', + 'c', + 't', + '_', + 'n', + 'u', + 'm', + 'b', + 'e', + 'r', ], - is_enabled=False, ), ), - feature_settings=shared.UpsertPortalConfigFeatureSettings( - start_page=False, - ), + feature_settings=shared.UpsertPortalConfigFeatureSettings(), grants=[ shared.Grant( action='entity-read', - effect=shared.GrantEffect.ALLOW, resource='entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947', ), ], @@ -723,10 +721,8 @@ req = operations.UpsertPortalRequest( order_right_teaser='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/order-right-teaser.jpeg', welcome_banner='https://epilot-bucket.s3.eu-central-1.amazonaws.com/12344/6538fddb-f0e9-4f0f-af51-6e57891ff20a/welcome-banner.jpeg', ), - is_epilot_domain=False, name='Installer Portal', self_registration=False, - self_registration_setting=shared.UpsertPortalConfigSelfRegistrationSetting.ALLOW_WITH_CONTACT_CREATION, ), origin=shared.Origin.INSTALLER_PORTAL, ) @@ -767,7 +763,13 @@ s = epilot.Epilot() req = operations.UpsertPortalWidgetRequest( upsert_portal_widget=shared.UpsertPortalWidget( widgets=[ - [], + shared.WidgetBase( + headline=shared.WidgetBaseHeadline(), + id='', + list_index=393843, + sub_headline=shared.WidgetBaseSubHeadline(), + type=shared.WidgetBaseType.ACTION_WIDGET, + ), ], ), origin=shared.Origin.INSTALLER_PORTAL, diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index c1087e6cf..021cfc95b 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -76,7 +76,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "blanditiis": 'Account', + "navigating": 'Sausages', }, email='testemail921@yopmail.com', first_name='John', @@ -125,11 +125,11 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "ratione": 'Gourde', + "Grocery": 'convergence', }, org_id='728', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.get_contact_count(req) @@ -324,7 +324,6 @@ s = epilot.Epilot( req = operations.UserExistsRequest( email='user@example.com', org_id='123', - origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.user_exists(req) diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 12f3eff77..cb90db187 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -84,7 +84,7 @@ src/epilot/models/shared/contentwidget.py src/epilot/models/shared/actionwidget.py src/epilot/models/shared/widgetaction.py src/epilot/models/shared/teaserwidget.py -src/epilot/models/shared/documentwidget.py +src/epilot/models/shared/widgetbase.py src/epilot/models/shared/saveentityfile.py src/epilot/models/shared/createssouserrequest.py src/epilot/models/shared/extraschemaattributes.py @@ -353,10 +353,10 @@ docs/models/shared/teaserwidgetright.md docs/models/shared/teaserwidgetsubheadline.md docs/models/shared/teaserwidgettype.md docs/models/shared/teaserwidget.md -docs/models/shared/documentwidgetheadline.md -docs/models/shared/documentwidgetsubheadline.md -docs/models/shared/documentwidgettype.md -docs/models/shared/documentwidget.md +docs/models/shared/widgetbaseheadline.md +docs/models/shared/widgetbasesubheadline.md +docs/models/shared/widgetbasetype.md +docs/models/shared/widgetbase.md docs/models/shared/saveentityfilefilesaccesscontrol.md docs/models/shared/saveentityfilefiless3ref.md docs/models/shared/saveentityfilefiles.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 641168f0b..a8d2a4188 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,23 +1,24 @@ configVersion: 1.0.0 management: - docChecksum: b5bb6cd58771663fd5a0c24b4ec10f47 + docChecksum: 3fd1dbbc145bfde1d9c3cd1408ad854c 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 + core: 2.88.4 deprecations: 2.81.1 - globalSecurity: 2.81.1 + globalSecurity: 2.82.0 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.47.2 + version: 1.48.0 author: epilot description: Python Client SDK for Epilot + flattenGlobalSecurity: false maxMethodParams: 0 packageName: epilot-customer-portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 29b2648f2..760112a04 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.47.2", + version="1.48.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/__init__.py b/customer_portal/src/epilot/models/__init__.py index 889f8adcf..36628d6cc 100755 --- a/customer_portal/src/epilot/models/__init__.py +++ b/customer_portal/src/epilot/models/__init__.py @@ -1,2 +1,3 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +# __init__.py diff --git a/customer_portal/src/epilot/models/operations/getbillingevents.py b/customer_portal/src/epilot/models/operations/getbillingevents.py index 80d0eb3ea..88fe8c7ea 100755 --- a/customer_portal/src/epilot/models/operations/getbillingevents.py +++ b/customer_portal/src/epilot/models/operations/getbillingevents.py @@ -4,7 +4,7 @@ import dataclasses import requests as requests_http from dataclasses_json import Undefined, dataclass_json -from datetime import datetime +from datetime import date from enum import Enum from epilot import utils from typing import Any, Optional @@ -27,8 +27,8 @@ class GetBillingEventsEventType(str, Enum): @dataclasses.dataclass class GetBillingEventsRequest: customer_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'customer_id', 'style': 'form', 'explode': True }}) - date_after: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_after', 'style': 'form', 'explode': True }}) - date_before: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_before', 'style': 'form', 'explode': True }}) + date_after: Optional[date] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_after', 'style': 'form', 'explode': True }}) + date_before: Optional[date] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_before', 'style': 'form', 'explode': True }}) entity_id: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) event_type: Optional[list[GetBillingEventsEventType]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'event_type', 'style': 'form', 'explode': True }}) diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 0773a39ef..13b924e58 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -9,7 +9,6 @@ from .createssouserrequest import * from .createuserrequest import * from .deleteentityfile import * -from .documentwidget import * from .emailtemplates import * from .entityfilecount import * from .entityslug import * @@ -27,5 +26,6 @@ from .upsertportalconfig import * from .upsertportalwidget import * from .widgetaction import * +from .widgetbase import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","DocumentWidget","DocumentWidgetHeadline","DocumentWidgetSubHeadline","DocumentWidgetType","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] diff --git a/customer_portal/src/epilot/models/shared/upsertportalwidget.py b/customer_portal/src/epilot/models/shared/upsertportalwidget.py index 0f933592f..a1b75634e 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/shared/upsertportalwidget.py @@ -4,9 +4,9 @@ import dataclasses from ..shared import actionwidget as shared_actionwidget from ..shared import contentwidget as shared_contentwidget -from ..shared import documentwidget as shared_documentwidget from ..shared import entitywidget as shared_entitywidget from ..shared import teaserwidget as shared_teaserwidget +from ..shared import widgetbase as shared_widgetbase from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Union @@ -16,6 +16,6 @@ @dataclasses.dataclass class UpsertPortalWidget: - widgets: list[Union[shared_entitywidget.EntityWidget, shared_contentwidget.ContentWidget, shared_actionwidget.ActionWidget, shared_teaserwidget.TeaserWidget, shared_documentwidget.DocumentWidget]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) + widgets: list[Union[shared_entitywidget.EntityWidget, shared_contentwidget.ContentWidget, shared_actionwidget.ActionWidget, shared_teaserwidget.TeaserWidget, shared_widgetbase.WidgetBase]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) diff --git a/customer_portal/src/epilot/models/shared/documentwidget.py b/customer_portal/src/epilot/models/shared/widgetbase.py similarity index 71% rename from customer_portal/src/epilot/models/shared/documentwidget.py rename to customer_portal/src/epilot/models/shared/widgetbase.py index 0b28cd330..b48fb4cce 100755 --- a/customer_portal/src/epilot/models/shared/documentwidget.py +++ b/customer_portal/src/epilot/models/shared/widgetbase.py @@ -11,7 +11,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class DocumentWidgetHeadline: +class WidgetBaseHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) @@ -21,13 +21,13 @@ class DocumentWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class DocumentWidgetSubHeadline: +class WidgetBaseSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) -class DocumentWidgetType(str, Enum): +class WidgetBaseType(str, Enum): ACTION_WIDGET = 'ACTION_WIDGET' CONTENT_WIDGET = 'CONTENT_WIDGET' ENTITY_WIDGET = 'ENTITY_WIDGET' @@ -38,12 +38,12 @@ class DocumentWidgetType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class DocumentWidget: +class WidgetBase: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) r"""Index of the widget in the list, used for ordering (left or right)""" - type: DocumentWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - headline: Optional[DocumentWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) - sub_headline: Optional[DocumentWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) + type: WidgetBaseType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + headline: Optional[WidgetBaseHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) + sub_headline: Optional[WidgetBaseSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index f2880f0c0..053d9c673 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -22,7 +22,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, @@ -31,8 +31,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 @@ -47,8 +47,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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index e55067210..9082287e1 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.2' - gen_version: str = '2.147.0' - user_agent: str = 'speakeasy-sdk/python 1.47.2 2.147.0 1.0.0 epilot-customer-portal' + sdk_version: str = '1.48.0' + gen_version: str = '2.150.0' + user_agent: str = 'speakeasy-sdk/python 1.48.0 2.150.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From fac8badf1c4f62c9856a714027dcedb7e9e3edca Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 13 Oct 2023 00:31:25 +0000 Subject: [PATCH 90/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.99.0 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 10 ++++- customer_portal/USAGE.md | 1 + .../addendcustomerrelationtoentityrequest.md | 8 ++-- .../addendcustomerrelationtoentityresponse.md | 14 +++---- .../addendcustomerrelationtoentitysecurity.md | 2 +- .../configuredistributionrequest.md | 6 +-- .../configuredistributionresponse.md | 14 +++---- .../configuredistributionsecurity.md | 2 +- .../models/operations/confirmuserrequest.md | 10 ++--- .../models/operations/confirmuserresponse.md | 6 +-- .../createcustomentityactivityrequest.md | 2 +- .../createcustomentityactivityresponse.md | 8 ++-- .../createcustomentityactivitysecurity.md | 2 +- .../models/operations/createssouserrequest.md | 8 ++-- .../operations/createssouserresponse.md | 14 +++---- .../operations/createssousersecurity.md | 2 +- .../createuser201applicationjson.md | 8 ++-- .../models/operations/createuserrequest.md | 8 ++-- .../models/operations/createuserresponse.md | 14 +++---- .../operations/deleteentityfileresponse.md | 14 +++---- .../operations/deleteentityfilesecurity.md | 2 +- .../models/operations/deleteportalrequest.md | 6 +-- .../models/operations/deleteportalresponse.md | 6 +-- .../models/operations/deleteportalsecurity.md | 2 +- .../deleteportaluser200applicationjson.md | 8 ++-- .../operations/deleteportaluserresponse.md | 14 +++---- .../operations/deleteportalusersecurity.md | 2 +- ...apermissionattributes200applicationjson.md | 6 +-- ...missionattributes200applicationjsondata.md | 16 +++---- .../extrapermissionattributesresponse.md | 14 +++---- .../extrapermissionattributessecurity.md | 2 +- .../operations/getallcontractsresponse.md | 14 +++---- .../operations/getallcontractssecurity.md | 2 +- .../models/operations/getallfilesrequest.md | 4 +- .../models/operations/getallfilesresponse.md | 14 +++---- .../models/operations/getallfilessecurity.md | 2 +- .../operations/getallopportunitiesresponse.md | 14 +++---- .../operations/getallopportunitiessecurity.md | 2 +- .../models/operations/getallordersresponse.md | 14 +++---- .../models/operations/getallorderssecurity.md | 2 +- .../getallportalconfigs200applicationjson.md | 6 +-- .../operations/getallportalconfigsresponse.md | 14 +++---- .../operations/getallportalconfigssecurity.md | 2 +- .../operations/getbillingeventsrequest.md | 14 +++---- .../operations/getbillingeventsresponse.md | 12 +++--- .../operations/getbillingeventssecurity.md | 2 +- .../operations/getcontactcountrequest.md | 8 ++-- .../operations/getcontactcountresponse.md | 14 +++---- .../models/operations/getcontactresponse.md | 14 +++---- .../models/operations/getcontactsecurity.md | 2 +- .../models/operations/getcontractrequest.md | 2 +- .../models/operations/getcontractresponse.md | 14 +++---- .../models/operations/getcontractsecurity.md | 2 +- .../operations/getcountbyemailrequest.md | 4 +- .../operations/getcountbyemailresponse.md | 14 +++---- .../operations/getcustomerbalancerequest.md | 2 +- .../operations/getcustomerbalanceresponse.md | 6 +-- .../operations/getcustomerbalancesecurity.md | 2 +- .../models/operations/getecpcontactrequest.md | 2 +- .../operations/getecpcontactresponse.md | 14 +++---- .../operations/getecpcontactsecurity.md | 2 +- .../operations/getemailtemplatesrequest.md | 6 +-- .../operations/getemailtemplatesresponse.md | 8 ++-- .../operations/getemailtemplatessecurity.md | 2 +- .../getentitiesbyidentifiersrequest.md | 8 ++-- .../getentitiesbyidentifiersresponse.md | 14 +++---- .../getentitiesbyidentifierssecurity.md | 2 +- .../getentityidentifiers200applicationjson.md | 6 +-- .../operations/getentityidentifiersrequest.md | 6 +-- .../getentityidentifiersresponse.md | 14 +++---- .../getentityidentifierssecurity.md | 2 +- .../models/operations/getfilebyidrequest.md | 2 +- .../models/operations/getfilebyidresponse.md | 14 +++---- .../models/operations/getfilebyidsecurity.md | 2 +- .../getfilescountbyentityresponse.md | 8 ++-- .../getfilescountbyentitysecurity.md | 2 +- .../operations/getopportunityrequest.md | 2 +- .../operations/getopportunityresponse.md | 14 +++---- .../operations/getopportunitysecurity.md | 2 +- .../docs/models/operations/getorderrequest.md | 2 +- .../models/operations/getorderresponse.md | 14 +++---- .../models/operations/getordersecurity.md | 2 +- ...torganizationsettings200applicationjson.md | 6 +-- .../getorganizationsettingsresponse.md | 14 +++---- .../getorganizationsettingssecurity.md | 2 +- .../operations/getorgportalconfigrequest.md | 6 +-- .../operations/getorgportalconfigresponse.md | 8 ++-- .../operations/getorgportalconfigsecurity.md | 2 +- .../getportalconfigbydomainrequest.md | 2 +- .../getportalconfigbydomainresponse.md | 8 ++-- .../operations/getportalconfigrequest.md | 6 +-- .../operations/getportalconfigresponse.md | 8 ++-- .../operations/getportaluserresponse.md | 14 +++---- .../operations/getportalusersecurity.md | 2 +- .../operations/getportalwidgetsrequest.md | 6 +-- .../operations/getportalwidgetsresponse.md | 8 ++-- .../getpublicportalconfigrequest.md | 8 ++-- .../getpublicportalconfigresponse.md | 8 ++-- .../getpublicportalwidgetsrequest.md | 8 ++-- .../getpublicportalwidgetsresponse.md | 8 ++-- .../models/operations/getschemasresponse.md | 14 +++---- .../models/operations/getschemassecurity.md | 2 +- ...idsecondaryattributes200applicationjson.md | 6 +-- .../getvalidsecondaryattributesresponse.md | 14 +++---- .../getvalidsecondaryattributessecurity.md | 2 +- .../logintoportalasuserrequestbody.md | 8 ++-- .../operations/logintoportalasuserresponse.md | 12 +++--- .../operations/logintoportalasusersecurity.md | 2 +- ...eecptemplatevariables200applicationjson.md | 8 ++-- .../replaceecptemplatevariablesresponse.md | 14 +++---- .../replaceecptemplatevariablessecurity.md | 2 +- .../operations/saveentityfileresponse.md | 14 +++---- .../operations/saveentityfilesecurity.md | 2 +- .../operations/saveportalfilesresponse.md | 14 +++---- .../operations/saveportalfilessecurity.md | 2 +- .../operations/trackfiledownloadedrequest.md | 2 +- .../operations/trackfiledownloadedresponse.md | 14 +++---- .../operations/trackfiledownloadedsecurity.md | 2 +- .../operations/updatecontactresponse.md | 14 +++---- .../operations/updatecontactsecurity.md | 2 +- .../operations/updatecontractrequest.md | 2 +- .../operations/updatecontractresponse.md | 14 +++---- .../operations/updatecontractsecurity.md | 2 +- .../operations/updateopportunityrequest.md | 2 +- .../operations/updateopportunityresponse.md | 14 +++---- .../operations/updateopportunitysecurity.md | 2 +- .../models/operations/updateorderrequest.md | 2 +- .../models/operations/updateorderresponse.md | 14 +++---- .../models/operations/updateordersecurity.md | 2 +- .../operations/updateportaluserresponse.md | 14 +++---- .../operations/updateportalusersecurity.md | 2 +- .../upsertemailtemplates200applicationjson.md | 8 ++-- .../operations/upsertemailtemplatesrequest.md | 8 ++-- .../upsertemailtemplatesresponse.md | 14 +++---- .../upsertemailtemplatessecurity.md | 2 +- .../models/operations/upsertportalrequest.md | 8 ++-- .../models/operations/upsertportalresponse.md | 8 ++-- .../models/operations/upsertportalsecurity.md | 2 +- .../operations/upsertportalwidgetrequest.md | 8 ++-- .../operations/upsertportalwidgetresponse.md | 8 ++-- .../operations/upsertportalwidgetsecurity.md | 2 +- .../userexists200applicationjson.md | 2 +- .../models/operations/userexistsrequest.md | 6 +-- .../models/operations/userexistsresponse.md | 14 +++---- .../docs/models/shared/actionwidget.md | 16 +++---- .../docs/models/shared/activity.md | 6 +-- .../docs/models/shared/activityitem.md | 16 +++---- .../docs/models/shared/activityitempayload.md | 8 ++-- .../docs/models/shared/contactcountrequest.md | 2 +- .../docs/models/shared/contentwidget.md | 16 +++---- .../models/shared/createssouserrequest.md | 2 +- .../docs/models/shared/createuserrequest.md | 6 +-- .../docs/models/shared/deleteentityfile.md | 4 +- .../docs/models/shared/entityfilecount.md | 6 +-- .../docs/models/shared/entitywidget.md | 16 +++---- .../models/shared/extraschemaattributes.md | 6 +-- customer_portal/docs/models/shared/grant.md | 10 ++--- .../models/shared/organizationsettings.md | 42 +++++++++---------- .../docs/models/shared/portalconfig.md | 26 ++++++------ .../shared/portalconfigentityactions.md | 10 ++--- .../shared/portalconfigentityeditrules.md | 24 +++++------ .../shared/portalconfigentityidentifiers.md | 6 +-- .../models/shared/portalconfigorgsettings.md | 8 ++-- .../docs/models/shared/saveentityfile.md | 10 ++--- .../docs/models/shared/saveentityfilefiles.md | 16 +++---- .../models/shared/saveentityfilefiless3ref.md | 4 +- .../docs/models/shared/saveportalfile.md | 8 ++-- .../docs/models/shared/saveportalfilefiles.md | 12 +++--- .../models/shared/saveportalfilefiless3ref.md | 4 +- .../docs/models/shared/teaserwidget.md | 20 ++++----- .../docs/models/shared/upsertportalconfig.md | 22 +++++----- .../shared/upsertportalconfigentityactions.md | 10 ++--- .../upsertportalconfigentityeditrules.md | 24 +++++------ .../upsertportalconfigentityidentifiers.md | 6 +-- .../docs/models/shared/upsertportalwidget.md | 6 +-- .../docs/models/shared/widgetaction.md | 12 +++--- .../docs/models/shared/widgetbase.md | 14 +++---- customer_portal/docs/sdks/balance/README.md | 1 + customer_portal/docs/sdks/ecp/README.md | 28 +++++++++++++ customer_portal/docs/sdks/ecpadmin/README.md | 18 ++++++++ customer_portal/docs/sdks/public/README.md | 8 ++++ customer_portal/gen.yaml | 8 ++-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/sdk.py | 6 +-- .../src/epilot/sdkconfiguration.py | 6 +-- 186 files changed, 779 insertions(+), 714 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index 24cec090a..63fe09372 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -26,6 +26,7 @@ res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( if res.balance is not None: # handle response + pass ``` diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index ba2c4b2a5..739bc3802 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -620,4 +620,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.0] customer_portal \ No newline at end of file +- [python v1.48.0] customer_portal + +## 2023-10-13 00:31:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.99.0 (2.154.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.1] customer_portal \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 74d3fb7ea..88c688c4d 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -17,5 +17,6 @@ res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( if res.balance is not None: # handle response + pass ``` \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md index 3e3564d64..121af0f78 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the Entity | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of the Entity | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md index 0ffd87908..30c4b0224 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[operations.AddEndCustomerRelationToEntity200ApplicationJSON]](undefined/models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `add_end_customer_relation_to_entity_200_application_json_object` | [Optional[AddEndCustomerRelationToEntity200ApplicationJSON]](../../models/operations/addendcustomerrelationtoentity200applicationjson.md) | :heavy_minus_sign: | Portal user is added as a relation to the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md index b8445117c..757f431ba 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionrequest.md b/customer_portal/docs/models/operations/configuredistributionrequest.md index 3e14c53fa..a9159643c 100755 --- a/customer_portal/docs/models/operations/configuredistributionrequest.md +++ b/customer_portal/docs/models/operations/configuredistributionrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionresponse.md b/customer_portal/docs/models/operations/configuredistributionresponse.md index a9a336fce..c8108aab4 100755 --- a/customer_portal/docs/models/operations/configuredistributionresponse.md +++ b/customer_portal/docs/models/operations/configuredistributionresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `configure_distribution_200_application_json_object` | [Optional[operations.ConfigureDistribution200ApplicationJSON]](undefined/models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `configure_distribution_200_application_json_object` | [Optional[ConfigureDistribution200ApplicationJSON]](../../models/operations/configuredistribution200applicationjson.md) | :heavy_minus_sign: | The cloudfront distribution has been configure successfully for the custom domain. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/configuredistributionsecurity.md b/customer_portal/docs/models/operations/configuredistributionsecurity.md index 01aac76d8..ae8f09d62 100755 --- a/customer_portal/docs/models/operations/configuredistributionsecurity.md +++ b/customer_portal/docs/models/operations/configuredistributionsecurity.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/customer_portal/docs/models/operations/confirmuserrequest.md b/customer_portal/docs/models/operations/confirmuserrequest.md index a7f6142dd..c1921893a 100755 --- a/customer_portal/docs/models/operations/confirmuserrequest.md +++ b/customer_portal/docs/models/operations/confirmuserrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of portal user id | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `org_id` | *Optional[str]* | :heavy_check_mark: | Organization ID | 123 | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The ID of portal user id | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org_id` | *str* | :heavy_check_mark: | Organization ID | 123 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/confirmuserresponse.md b/customer_portal/docs/models/operations/confirmuserresponse.md index 990ee6d0d..13ed575d9 100755 --- a/customer_portal/docs/models/operations/confirmuserresponse.md +++ b/customer_portal/docs/models/operations/confirmuserresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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/customer_portal/docs/models/operations/createcustomentityactivityrequest.md b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md index 104b204e2..544ca4251 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityrequest.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `activity` | [Optional[shared.Activity]](undefined/models/shared/activity.md) | :heavy_minus_sign: | N/A | +| `activity` | [Optional[shared.Activity]](../../models/shared/activity.md) | :heavy_minus_sign: | N/A | | `entities` | list[*str*] | :heavy_minus_sign: | Comma-separated list of entities which the activity primarily concerns | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md index cd0689f63..587f069b4 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityresponse.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `activity_item` | [Optional[shared.ActivityItem]](undefined/models/shared/activityitem.md) | :heavy_minus_sign: | Success | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `activity_item` | [Optional[shared.ActivityItem]](../../models/shared/activityitem.md) | :heavy_minus_sign: | Success | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md index 45f71bcda..c63cdef81 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md +++ b/customer_portal/docs/models/operations/createcustomentityactivitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserrequest.md b/customer_portal/docs/models/operations/createssouserrequest.md index 32652637a..d761e97d2 100755 --- a/customer_portal/docs/models/operations/createssouserrequest.md +++ b/customer_portal/docs/models/operations/createssouserrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `create_sso_user_request` | [Optional[shared.CreateSSOUserRequest]](undefined/models/shared/createssouserrequest.md) | :heavy_check_mark: | Portal user payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `create_sso_user_request` | [shared.CreateSSOUserRequest](../../models/shared/createssouserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouserresponse.md b/customer_portal/docs/models/operations/createssouserresponse.md index a318f0bf6..6cc4a3ba3 100755 --- a/customer_portal/docs/models/operations/createssouserresponse.md +++ b/customer_portal/docs/models/operations/createssouserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `create_sso_user_201_application_json_object` | [Optional[operations.CreateSSOUser201ApplicationJSON]](undefined/models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_sso_user_201_application_json_object` | [Optional[CreateSSOUser201ApplicationJSON]](../../models/operations/createssouser201applicationjson.md) | :heavy_minus_sign: | SSO User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssousersecurity.md b/customer_portal/docs/models/operations/createssousersecurity.md index 4755227f4..42e9555a3 100755 --- a/customer_portal/docs/models/operations/createssousersecurity.md +++ b/customer_portal/docs/models/operations/createssousersecurity.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/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md index c6a32f59d..f2ec9c9c2 100755 --- a/customer_portal/docs/models/operations/createuser201applicationjson.md +++ b/customer_portal/docs/models/operations/createuser201applicationjson.md @@ -5,7 +5,7 @@ User created successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `message` | [Optional[operations.CreateUser201ApplicationJSONMessage]](undefined/models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | -| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `message` | [CreateUser201ApplicationJSONMessage](../../models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | +| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserrequest.md b/customer_portal/docs/models/operations/createuserrequest.md index 5112f253a..2251b5519 100755 --- a/customer_portal/docs/models/operations/createuserrequest.md +++ b/customer_portal/docs/models/operations/createuserrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `create_user_request` | [Optional[shared.CreateUserRequest]](undefined/models/shared/createuserrequest.md) | :heavy_check_mark: | Portal user payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `create_user_request` | [shared.CreateUserRequest](../../models/shared/createuserrequest.md) | :heavy_check_mark: | Portal user payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuserresponse.md b/customer_portal/docs/models/operations/createuserresponse.md index db9462759..e198a343b 100755 --- a/customer_portal/docs/models/operations/createuserresponse.md +++ b/customer_portal/docs/models/operations/createuserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `create_user_201_application_json_object` | [Optional[operations.CreateUser201ApplicationJSON]](undefined/models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `create_user_201_application_json_object` | [Optional[CreateUser201ApplicationJSON]](../../models/operations/createuser201applicationjson.md) | :heavy_minus_sign: | User created successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfileresponse.md b/customer_portal/docs/models/operations/deleteentityfileresponse.md index 034ddba3b..411f75a86 100755 --- a/customer_portal/docs/models/operations/deleteentityfileresponse.md +++ b/customer_portal/docs/models/operations/deleteentityfileresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `delete_entity_file_202_application_json_object` | [Optional[operations.DeleteEntityFile202ApplicationJSON]](undefined/models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `delete_entity_file_202_application_json_object` | [Optional[DeleteEntityFile202ApplicationJSON]](../../models/operations/deleteentityfile202applicationjson.md) | :heavy_minus_sign: | The files are removed from the requested entity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfilesecurity.md b/customer_portal/docs/models/operations/deleteentityfilesecurity.md index 2829134b1..67841fc0e 100755 --- a/customer_portal/docs/models/operations/deleteentityfilesecurity.md +++ b/customer_portal/docs/models/operations/deleteentityfilesecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalrequest.md b/customer_portal/docs/models/operations/deleteportalrequest.md index eb6082fea..40381b067 100755 --- a/customer_portal/docs/models/operations/deleteportalrequest.md +++ b/customer_portal/docs/models/operations/deleteportalrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalresponse.md b/customer_portal/docs/models/operations/deleteportalresponse.md index d14aef5be..838d556aa 100755 --- a/customer_portal/docs/models/operations/deleteportalresponse.md +++ b/customer_portal/docs/models/operations/deleteportalresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/deleteportalsecurity.md b/customer_portal/docs/models/operations/deleteportalsecurity.md index ce5822592..0e0a7611f 100755 --- a/customer_portal/docs/models/operations/deleteportalsecurity.md +++ b/customer_portal/docs/models/operations/deleteportalsecurity.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/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md index 9ab179a22..920f11e50 100755 --- a/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md +++ b/customer_portal/docs/models/operations/deleteportaluser200applicationjson.md @@ -5,7 +5,7 @@ Portal user deleted successfully. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `message` | [Optional[operations.DeletePortalUser200ApplicationJSONMessage]](undefined/models/operations/deleteportaluser200applicationjsonmessage.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `data` | *Optional[str]* | :heavy_minus_sign: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `message` | [Optional[DeletePortalUser200ApplicationJSONMessage]](../../models/operations/deleteportaluser200applicationjsonmessage.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportaluserresponse.md b/customer_portal/docs/models/operations/deleteportaluserresponse.md index df0ad9c59..aa68b7660 100755 --- a/customer_portal/docs/models/operations/deleteportaluserresponse.md +++ b/customer_portal/docs/models/operations/deleteportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `delete_portal_user_200_application_json_object` | [Optional[operations.DeletePortalUser200ApplicationJSON]](undefined/models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `delete_portal_user_200_application_json_object` | [Optional[DeletePortalUser200ApplicationJSON]](../../models/operations/deleteportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user deleted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteportalusersecurity.md b/customer_portal/docs/models/operations/deleteportalusersecurity.md index ce43ca56f..1c3197673 100755 --- a/customer_portal/docs/models/operations/deleteportalusersecurity.md +++ b/customer_portal/docs/models/operations/deleteportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md index 88964e385..2591a9a54 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjson.md @@ -5,6 +5,6 @@ Retrieved extra permission attributes successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `data` | [Optional[operations.ExtraPermissionAttributes200ApplicationJSONData]](undefined/models/operations/extrapermissionattributes200applicationjsondata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | [Optional[ExtraPermissionAttributes200ApplicationJSONData]](../../models/operations/extrapermissionattributes200applicationjsondata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md index 6081cd78d..8097e36c9 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `contact` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `contract` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter_counter` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `opportunity` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `order` | list[[shared.ExtraSchemaAttributes](undefined/models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `contact` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `contract` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter_counter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `opportunity` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `order` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md index e6039b99a..0354214fa 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributesresponse.md +++ b/customer_portal/docs/models/operations/extrapermissionattributesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `extra_permission_attributes_200_application_json_object` | [Optional[operations.ExtraPermissionAttributes200ApplicationJSON]](undefined/models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `extra_permission_attributes_200_application_json_object` | [Optional[ExtraPermissionAttributes200ApplicationJSON]](../../models/operations/extrapermissionattributes200applicationjson.md) | :heavy_minus_sign: | Retrieved extra permission attributes successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md b/customer_portal/docs/models/operations/extrapermissionattributessecurity.md index 99f0b42a9..76cf8e353 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributessecurity.md +++ b/customer_portal/docs/models/operations/extrapermissionattributessecurity.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/customer_portal/docs/models/operations/getallcontractsresponse.md b/customer_portal/docs/models/operations/getallcontractsresponse.md index 979c1bad4..f433032a4 100755 --- a/customer_portal/docs/models/operations/getallcontractsresponse.md +++ b/customer_portal/docs/models/operations/getallcontractsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_contracts_200_application_json_object` | [Optional[operations.GetAllContracts200ApplicationJSON]](undefined/models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_contracts_200_application_json_object` | [Optional[GetAllContracts200ApplicationJSON]](../../models/operations/getallcontracts200applicationjson.md) | :heavy_minus_sign: | Contracts have been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontractssecurity.md b/customer_portal/docs/models/operations/getallcontractssecurity.md index e604fe8ee..2747ecee7 100755 --- a/customer_portal/docs/models/operations/getallcontractssecurity.md +++ b/customer_portal/docs/models/operations/getallcontractssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md index af8d4c861..ddb7947dc 100755 --- a/customer_portal/docs/models/operations/getallfilesrequest.md +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | 4910096f-000a-4504-bf5a-d3774ec3032a,7c9f8536-6266-42e8-a0de-c60b61aa81a7 | -| `from_` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | -| `size` | *Optional[float]* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file +| `from_` | *float* | :heavy_check_mark: | N/A | 0 | +| `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesresponse.md b/customer_portal/docs/models/operations/getallfilesresponse.md index 946851525..5da07245e 100755 --- a/customer_portal/docs/models/operations/getallfilesresponse.md +++ b/customer_portal/docs/models/operations/getallfilesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_files_200_application_json_object` | [Optional[operations.GetAllFiles200ApplicationJSON]](undefined/models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_files_200_application_json_object` | [Optional[GetAllFiles200ApplicationJSON]](../../models/operations/getallfiles200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilessecurity.md b/customer_portal/docs/models/operations/getallfilessecurity.md index ac320b068..253bf5e71 100755 --- a/customer_portal/docs/models/operations/getallfilessecurity.md +++ b/customer_portal/docs/models/operations/getallfilessecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiesresponse.md b/customer_portal/docs/models/operations/getallopportunitiesresponse.md index 48ae4b4ae..cc585c575 100755 --- a/customer_portal/docs/models/operations/getallopportunitiesresponse.md +++ b/customer_portal/docs/models/operations/getallopportunitiesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_opportunities_200_application_json_object` | [Optional[operations.GetAllOpportunities200ApplicationJSON]](undefined/models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_opportunities_200_application_json_object` | [Optional[GetAllOpportunities200ApplicationJSON]](../../models/operations/getallopportunities200applicationjson.md) | :heavy_minus_sign: | The opportunities is retrieved successfully for the portal user. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunitiessecurity.md b/customer_portal/docs/models/operations/getallopportunitiessecurity.md index 9284c3743..d6d1884eb 100755 --- a/customer_portal/docs/models/operations/getallopportunitiessecurity.md +++ b/customer_portal/docs/models/operations/getallopportunitiessecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallordersresponse.md b/customer_portal/docs/models/operations/getallordersresponse.md index 5e836c8d0..066513bc7 100755 --- a/customer_portal/docs/models/operations/getallordersresponse.md +++ b/customer_portal/docs/models/operations/getallordersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_orders_200_application_json_object` | [Optional[operations.GetAllOrders200ApplicationJSON]](undefined/models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_orders_200_application_json_object` | [Optional[GetAllOrders200ApplicationJSON]](../../models/operations/getallorders200applicationjson.md) | :heavy_minus_sign: | The orders for the portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallorderssecurity.md b/customer_portal/docs/models/operations/getallorderssecurity.md index 9a799c404..64712a5c5 100755 --- a/customer_portal/docs/models/operations/getallorderssecurity.md +++ b/customer_portal/docs/models/operations/getallorderssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md index 07faa5920..85f25ff36 100755 --- a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md +++ b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md @@ -5,6 +5,6 @@ All portal configs retrieved successfully. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `data` | list[[shared.PortalConfig](undefined/models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `data` | list[[shared.PortalConfig](../../models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigsresponse.md b/customer_portal/docs/models/operations/getallportalconfigsresponse.md index c62135e94..4d8fe024e 100755 --- a/customer_portal/docs/models/operations/getallportalconfigsresponse.md +++ b/customer_portal/docs/models/operations/getallportalconfigsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_all_portal_configs_200_application_json_object` | [Optional[operations.GetAllPortalConfigs200ApplicationJSON]](undefined/models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_all_portal_configs_200_application_json_object` | [Optional[GetAllPortalConfigs200ApplicationJSON]](../../models/operations/getallportalconfigs200applicationjson.md) | :heavy_minus_sign: | All portal configs retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigssecurity.md b/customer_portal/docs/models/operations/getallportalconfigssecurity.md index 8c6c9d56b..f0f1c8f86 100755 --- a/customer_portal/docs/models/operations/getallportalconfigssecurity.md +++ b/customer_portal/docs/models/operations/getallportalconfigssecurity.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/customer_portal/docs/models/operations/getbillingeventsrequest.md b/customer_portal/docs/models/operations/getbillingeventsrequest.md index bb15767de..bebafff57 100755 --- a/customer_portal/docs/models/operations/getbillingeventsrequest.md +++ b/customer_portal/docs/models/operations/getbillingeventsrequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `customer_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `date_after` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | -| `date_before` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | -| `entity_id` | list[*str*] | :heavy_minus_sign: | N/A | -| `event_type` | list[[operations.GetBillingEventsEventType](undefined/models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `customer_id` | *str* | :heavy_check_mark: | N/A | +| `date_after` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | +| `date_before` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | +| `entity_id` | list[*str*] | :heavy_minus_sign: | N/A | +| `event_type` | list[[GetBillingEventsEventType](../../models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventsresponse.md b/customer_portal/docs/models/operations/getbillingeventsresponse.md index a7bf18545..578adf578 100755 --- a/customer_portal/docs/models/operations/getbillingeventsresponse.md +++ b/customer_portal/docs/models/operations/getbillingeventsresponse.md @@ -3,9 +3,9 @@ ## Fields -| 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 | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `get_billing_events_200_application_json_object` | [Optional[operations.GetBillingEvents200ApplicationJSON]](undefined/models/operations/getbillingevents200applicationjson.md) | :heavy_minus_sign: | List billing events for all contracts/orders of specific customer | \ No newline at end of file +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_billing_events_200_application_json_object` | [Optional[GetBillingEvents200ApplicationJSON]](../../models/operations/getbillingevents200applicationjson.md) | :heavy_minus_sign: | List billing events for all contracts/orders of specific customer | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventssecurity.md b/customer_portal/docs/models/operations/getbillingeventssecurity.md index c108425f4..55f438210 100755 --- a/customer_portal/docs/models/operations/getbillingeventssecurity.md +++ b/customer_portal/docs/models/operations/getbillingeventssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountrequest.md b/customer_portal/docs/models/operations/getcontactcountrequest.md index 3c2983431..701ab90c5 100755 --- a/customer_portal/docs/models/operations/getcontactcountrequest.md +++ b/customer_portal/docs/models/operations/getcontactcountrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `contact_count_request` | [Optional[shared.ContactCountRequest]](undefined/models/shared/contactcountrequest.md) | :heavy_check_mark: | Request payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `contact_count_request` | [shared.ContactCountRequest](../../models/shared/contactcountrequest.md) | :heavy_check_mark: | Request payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactcountresponse.md b/customer_portal/docs/models/operations/getcontactcountresponse.md index 1972deb4b..e8a7a80b7 100755 --- a/customer_portal/docs/models/operations/getcontactcountresponse.md +++ b/customer_portal/docs/models/operations/getcontactcountresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `get_contact_count_200_application_json_object` | [Optional[operations.GetContactCount200ApplicationJSON]](undefined/models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_contact_count_200_application_json_object` | [Optional[GetContactCount200ApplicationJSON]](../../models/operations/getcontactcount200applicationjson.md) | :heavy_minus_sign: | Contact count for the request successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactresponse.md b/customer_portal/docs/models/operations/getcontactresponse.md index 17f74d2b5..dcca393a1 100755 --- a/customer_portal/docs/models/operations/getcontactresponse.md +++ b/customer_portal/docs/models/operations/getcontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_contact_200_application_json_object` | [Optional[operations.GetContact200ApplicationJSON]](undefined/models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contact_200_application_json_object` | [Optional[GetContact200ApplicationJSON]](../../models/operations/getcontact200applicationjson.md) | :heavy_minus_sign: | Retrieves the mapped contact of the logged in user successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontactsecurity.md b/customer_portal/docs/models/operations/getcontactsecurity.md index 15fb2c400..208abba2b 100755 --- a/customer_portal/docs/models/operations/getcontactsecurity.md +++ b/customer_portal/docs/models/operations/getcontactsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractrequest.md b/customer_portal/docs/models/operations/getcontractrequest.md index b3781c262..44ce41301 100755 --- a/customer_portal/docs/models/operations/getcontractrequest.md +++ b/customer_portal/docs/models/operations/getcontractrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractresponse.md b/customer_portal/docs/models/operations/getcontractresponse.md index 1b9b16104..2b36c3d17 100755 --- a/customer_portal/docs/models/operations/getcontractresponse.md +++ b/customer_portal/docs/models/operations/getcontractresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_contract_200_application_json_object` | [Optional[operations.GetContract200ApplicationJSON]](undefined/models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_contract_200_application_json_object` | [Optional[GetContract200ApplicationJSON]](../../models/operations/getcontract200applicationjson.md) | :heavy_minus_sign: | The requested contract returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontractsecurity.md b/customer_portal/docs/models/operations/getcontractsecurity.md index 9e70c2781..b0ab9cb2a 100755 --- a/customer_portal/docs/models/operations/getcontractsecurity.md +++ b/customer_portal/docs/models/operations/getcontractsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailrequest.md b/customer_portal/docs/models/operations/getcountbyemailrequest.md index 2c00a60cf..ba949760c 100755 --- a/customer_portal/docs/models/operations/getcountbyemailrequest.md +++ b/customer_portal/docs/models/operations/getcountbyemailrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *Optional[str]* | :heavy_check_mark: | N/A | test@test.com | -| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file +| `email` | *str* | :heavy_check_mark: | N/A | test@test.com | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcountbyemailresponse.md b/customer_portal/docs/models/operations/getcountbyemailresponse.md index a78fa59ba..380d8e277 100755 --- a/customer_portal/docs/models/operations/getcountbyemailresponse.md +++ b/customer_portal/docs/models/operations/getcountbyemailresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `get_count_by_email_200_application_json_object` | [Optional[operations.GetCountByEmail200ApplicationJSON]](undefined/models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `get_count_by_email_200_application_json_object` | [Optional[GetCountByEmail200ApplicationJSON]](../../models/operations/getcountbyemail200applicationjson.md) | :heavy_minus_sign: | Contact count for the requested email successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcustomerbalancerequest.md b/customer_portal/docs/models/operations/getcustomerbalancerequest.md index fabc46cd7..bd71faa85 100755 --- a/customer_portal/docs/models/operations/getcustomerbalancerequest.md +++ b/customer_portal/docs/models/operations/getcustomerbalancerequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `customer_entity_id` | *Optional[str]* | :heavy_check_mark: | Customer entity ID (contact or account) | 1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e | \ No newline at end of file +| `customer_entity_id` | *str* | :heavy_check_mark: | Customer entity ID (contact or account) | 1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcustomerbalanceresponse.md b/customer_portal/docs/models/operations/getcustomerbalanceresponse.md index e0d31e38b..1ef697536 100755 --- a/customer_portal/docs/models/operations/getcustomerbalanceresponse.md +++ b/customer_portal/docs/models/operations/getcustomerbalanceresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `balance` | [Optional[shared.Balance]](undefined/models/shared/balance.md) | :heavy_minus_sign: | OK | -| `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 | +| `balance` | [Optional[shared.Balance]](../../models/shared/balance.md) | :heavy_minus_sign: | OK | +| `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/customer_portal/docs/models/operations/getcustomerbalancesecurity.md b/customer_portal/docs/models/operations/getcustomerbalancesecurity.md index 1d32d751b..7847ae57f 100755 --- a/customer_portal/docs/models/operations/getcustomerbalancesecurity.md +++ b/customer_portal/docs/models/operations/getcustomerbalancesecurity.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/customer_portal/docs/models/operations/getecpcontactrequest.md b/customer_portal/docs/models/operations/getecpcontactrequest.md index ebf3b29af..f739f1c68 100755 --- a/customer_portal/docs/models/operations/getecpcontactrequest.md +++ b/customer_portal/docs/models/operations/getecpcontactrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | 1234 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | 1234 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactresponse.md b/customer_portal/docs/models/operations/getecpcontactresponse.md index cb6eac71b..61bd61965 100755 --- a/customer_portal/docs/models/operations/getecpcontactresponse.md +++ b/customer_portal/docs/models/operations/getecpcontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_ecp_contact_200_application_json_object` | [Optional[operations.GetECPContact200ApplicationJSON]](undefined/models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_ecp_contact_200_application_json_object` | [Optional[GetECPContact200ApplicationJSON]](../../models/operations/getecpcontact200applicationjson.md) | :heavy_minus_sign: | The contact returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontactsecurity.md b/customer_portal/docs/models/operations/getecpcontactsecurity.md index 44afe370f..5ce01e351 100755 --- a/customer_portal/docs/models/operations/getecpcontactsecurity.md +++ b/customer_portal/docs/models/operations/getecpcontactsecurity.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/customer_portal/docs/models/operations/getemailtemplatesrequest.md b/customer_portal/docs/models/operations/getemailtemplatesrequest.md index 9c2851cef..42556a9c1 100755 --- a/customer_portal/docs/models/operations/getemailtemplatesrequest.md +++ b/customer_portal/docs/models/operations/getemailtemplatesrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getemailtemplatesresponse.md b/customer_portal/docs/models/operations/getemailtemplatesresponse.md index d184faed8..ab23dfc33 100755 --- a/customer_portal/docs/models/operations/getemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/getemailtemplatesresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `email_templates` | [Optional[shared.EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Retrieved the email templates successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getemailtemplatessecurity.md b/customer_portal/docs/models/operations/getemailtemplatessecurity.md index 8d59db570..bd6883f48 100755 --- a/customer_portal/docs/models/operations/getemailtemplatessecurity.md +++ b/customer_portal/docs/models/operations/getemailtemplatessecurity.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/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md index efca1744b..67ee1181a 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md index e72dc8042..4b79dfc66 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `get_entities_by_identifiers_200_application_json_object` | [Optional[operations.GetEntitiesByIdentifiers200ApplicationJSON]](undefined/models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `get_entities_by_identifiers_200_application_json_object` | [Optional[GetEntitiesByIdentifiers200ApplicationJSON]](../../models/operations/getentitiesbyidentifiers200applicationjson.md) | :heavy_minus_sign: | The returned Entities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md index 204747718..4ab00c8bd 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifierssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md index 04cd6f12e..bc8532461 100755 --- a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md +++ b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md @@ -5,6 +5,6 @@ The identifiers of the requested entity returned successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | list[[operations.GetEntityIdentifiers200ApplicationJSONData](undefined/models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `data` | list[[GetEntityIdentifiers200ApplicationJSONData](../../models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersrequest.md b/customer_portal/docs/models/operations/getentityidentifiersrequest.md index 67cf25f3d..d5315c4bc 100755 --- a/customer_portal/docs/models/operations/getentityidentifiersrequest.md +++ b/customer_portal/docs/models/operations/getentityidentifiersrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiersresponse.md b/customer_portal/docs/models/operations/getentityidentifiersresponse.md index 6f72b4b06..602a3185d 100755 --- a/customer_portal/docs/models/operations/getentityidentifiersresponse.md +++ b/customer_portal/docs/models/operations/getentityidentifiersresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_entity_identifiers_200_application_json_object` | [Optional[operations.GetEntityIdentifiers200ApplicationJSON]](undefined/models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_entity_identifiers_200_application_json_object` | [Optional[GetEntityIdentifiers200ApplicationJSON]](../../models/operations/getentityidentifiers200applicationjson.md) | :heavy_minus_sign: | The identifiers of the requested entity returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifierssecurity.md b/customer_portal/docs/models/operations/getentityidentifierssecurity.md index a82eafe66..b1a61e24d 100755 --- a/customer_portal/docs/models/operations/getentityidentifierssecurity.md +++ b/customer_portal/docs/models/operations/getentityidentifierssecurity.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/customer_portal/docs/models/operations/getfilebyidrequest.md b/customer_portal/docs/models/operations/getfilebyidrequest.md index b9198265a..a74d83b37 100755 --- a/customer_portal/docs/models/operations/getfilebyidrequest.md +++ b/customer_portal/docs/models/operations/getfilebyidrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidresponse.md b/customer_portal/docs/models/operations/getfilebyidresponse.md index 29f80c2fe..962865759 100755 --- a/customer_portal/docs/models/operations/getfilebyidresponse.md +++ b/customer_portal/docs/models/operations/getfilebyidresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_file_by_id_200_application_json_object` | [Optional[operations.GetFileByID200ApplicationJSON]](undefined/models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_file_by_id_200_application_json_object` | [Optional[GetFileByID200ApplicationJSON]](../../models/operations/getfilebyid200applicationjson.md) | :heavy_minus_sign: | The files have been fetched successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyidsecurity.md b/customer_portal/docs/models/operations/getfilebyidsecurity.md index 725b9cf78..3c3c60e88 100755 --- a/customer_portal/docs/models/operations/getfilebyidsecurity.md +++ b/customer_portal/docs/models/operations/getfilebyidsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md index dc9b69c89..e2c06aff0 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md +++ b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `entity_file_counts` | list[[shared.EntityFileCount](undefined/models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `entity_file_counts` | list[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md index 87cbd4bad..ee39ccc91 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md +++ b/customer_portal/docs/models/operations/getfilescountbyentitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityrequest.md b/customer_portal/docs/models/operations/getopportunityrequest.md index 020637b86..bf49a4120 100755 --- a/customer_portal/docs/models/operations/getopportunityrequest.md +++ b/customer_portal/docs/models/operations/getopportunityrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunityresponse.md b/customer_portal/docs/models/operations/getopportunityresponse.md index 987f0cc58..0a4db27a0 100755 --- a/customer_portal/docs/models/operations/getopportunityresponse.md +++ b/customer_portal/docs/models/operations/getopportunityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_opportunity_200_application_json_object` | [Optional[operations.GetOpportunity200ApplicationJSON]](undefined/models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_opportunity_200_application_json_object` | [Optional[GetOpportunity200ApplicationJSON]](../../models/operations/getopportunity200applicationjson.md) | :heavy_minus_sign: | The returned opportunities | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getopportunitysecurity.md b/customer_portal/docs/models/operations/getopportunitysecurity.md index d2ff2301f..142935d35 100755 --- a/customer_portal/docs/models/operations/getopportunitysecurity.md +++ b/customer_portal/docs/models/operations/getopportunitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderrequest.md b/customer_portal/docs/models/operations/getorderrequest.md index e84989d43..5dcbb06e4 100755 --- a/customer_portal/docs/models/operations/getorderrequest.md +++ b/customer_portal/docs/models/operations/getorderrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorderresponse.md b/customer_portal/docs/models/operations/getorderresponse.md index 58ed686ab..da6419160 100755 --- a/customer_portal/docs/models/operations/getorderresponse.md +++ b/customer_portal/docs/models/operations/getorderresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_order_200_application_json_object` | [Optional[operations.GetOrder200ApplicationJSON]](undefined/models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_order_200_application_json_object` | [Optional[GetOrder200ApplicationJSON]](../../models/operations/getorder200applicationjson.md) | :heavy_minus_sign: | The requested order has been retrieved successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getordersecurity.md b/customer_portal/docs/models/operations/getordersecurity.md index f8b1901ec..c1ac1ff73 100755 --- a/customer_portal/docs/models/operations/getordersecurity.md +++ b/customer_portal/docs/models/operations/getordersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md index 56fce26f3..97b440f2e 100755 --- a/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md +++ b/customer_portal/docs/models/operations/getorganizationsettings200applicationjson.md @@ -5,6 +5,6 @@ Retrieved the settings for an organization successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `data` | [Optional[shared.OrganizationSettings]](undefined/models/shared/organizationsettings.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `data` | [Optional[shared.OrganizationSettings]](../../models/shared/organizationsettings.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md index 16c86f4c1..78d09f0ea 100755 --- a/customer_portal/docs/models/operations/getorganizationsettingsresponse.md +++ b/customer_portal/docs/models/operations/getorganizationsettingsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_organization_settings_200_application_json_object` | [Optional[operations.GetOrganizationSettings200ApplicationJSON]](undefined/models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_organization_settings_200_application_json_object` | [Optional[GetOrganizationSettings200ApplicationJSON]](../../models/operations/getorganizationsettings200applicationjson.md) | :heavy_minus_sign: | Retrieved the settings for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md index 253ce7822..52c0458cd 100755 --- a/customer_portal/docs/models/operations/getorganizationsettingssecurity.md +++ b/customer_portal/docs/models/operations/getorganizationsettingssecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigrequest.md b/customer_portal/docs/models/operations/getorgportalconfigrequest.md index dc1bff002..0ec918976 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getorgportalconfigrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorgportalconfigresponse.md b/customer_portal/docs/models/operations/getorgportalconfigresponse.md index 74a05a462..09cf5537c 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getorgportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getorgportalconfigsecurity.md b/customer_portal/docs/models/operations/getorgportalconfigsecurity.md index 64800cd8b..32e76cbc6 100755 --- a/customer_portal/docs/models/operations/getorgportalconfigsecurity.md +++ b/customer_portal/docs/models/operations/getorgportalconfigsecurity.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/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md index b25684071..4ee811e1f 100755 --- a/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md +++ b/customer_portal/docs/models/operations/getportalconfigbydomainrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *Optional[str]* | :heavy_check_mark: | N/A | example.com | \ No newline at end of file +| `domain` | *str* | :heavy_check_mark: | N/A | example.com | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md index 91e378778..6e6bd8004 100755 --- a/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigbydomainresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportalconfigrequest.md b/customer_portal/docs/models/operations/getportalconfigrequest.md index c7910a2c0..d325d4206 100755 --- a/customer_portal/docs/models/operations/getportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getportalconfigrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalconfigresponse.md b/customer_portal/docs/models/operations/getportalconfigresponse.md index 7bd5a97ac..1f3a01469 100755 --- a/customer_portal/docs/models/operations/getportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getportaluserresponse.md b/customer_portal/docs/models/operations/getportaluserresponse.md index 5524dbfe5..0c826eb24 100755 --- a/customer_portal/docs/models/operations/getportaluserresponse.md +++ b/customer_portal/docs/models/operations/getportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_portal_user_200_application_json_object` | [Optional[operations.GetPortalUser200ApplicationJSON]](undefined/models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_portal_user_200_application_json_object` | [Optional[GetPortalUser200ApplicationJSON]](../../models/operations/getportaluser200applicationjson.md) | :heavy_minus_sign: | Portal user returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalusersecurity.md b/customer_portal/docs/models/operations/getportalusersecurity.md index c75fcc232..b07637f14 100755 --- a/customer_portal/docs/models/operations/getportalusersecurity.md +++ b/customer_portal/docs/models/operations/getportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsrequest.md b/customer_portal/docs/models/operations/getportalwidgetsrequest.md index 7a147ce6e..705a91ceb 100755 --- a/customer_portal/docs/models/operations/getportalwidgetsrequest.md +++ b/customer_portal/docs/models/operations/getportalwidgetsrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportalwidgetsresponse.md b/customer_portal/docs/models/operations/getportalwidgetsresponse.md index 3da7fdb51..f44f3351f 100755 --- a/customer_portal/docs/models/operations/getportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getportalwidgetsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md index 61b4ece61..af8275a9a 100755 --- a/customer_portal/docs/models/operations/getpublicportalconfigrequest.md +++ b/customer_portal/docs/models/operations/getpublicportalconfigrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 12324 | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `org_id` | *str* | :heavy_check_mark: | N/A | 12324 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md index 59d4f2e24..4bc942eec 100755 --- a/customer_portal/docs/models/operations/getpublicportalconfigresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalconfigresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal config retrieved successfully. | +| `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/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md index b42293528..53b069e32 100755 --- a/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md index dae72fee7..3f9fa9c3c 100755 --- a/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md +++ b/customer_portal/docs/models/operations/getpublicportalwidgetsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Retrieved the portal public widgets successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemasresponse.md b/customer_portal/docs/models/operations/getschemasresponse.md index 1a1ea947b..fd247dc28 100755 --- a/customer_portal/docs/models/operations/getschemasresponse.md +++ b/customer_portal/docs/models/operations/getschemasresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_schemas_200_application_json_object` | [Optional[operations.GetSchemas200ApplicationJSON]](undefined/models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_schemas_200_application_json_object` | [Optional[GetSchemas200ApplicationJSON]](../../models/operations/getschemas200applicationjson.md) | :heavy_minus_sign: | Retrieved schemas for an organization successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemassecurity.md b/customer_portal/docs/models/operations/getschemassecurity.md index 20816b446..8862341f3 100755 --- a/customer_portal/docs/models/operations/getschemassecurity.md +++ b/customer_portal/docs/models/operations/getschemassecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md index 854253d4c..7b671ed1d 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md @@ -5,6 +5,6 @@ Valid secondary attributes for the contact entity are returned successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `data` | list[[operations.GetValidSecondaryAttributes200ApplicationJSONData](undefined/models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | list[[GetValidSecondaryAttributes200ApplicationJSONData](../../models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md index 5aa387eb6..c7b9dace4 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `get_valid_secondary_attributes_200_application_json_object` | [Optional[operations.GetValidSecondaryAttributes200ApplicationJSON]](undefined/models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `get_valid_secondary_attributes_200_application_json_object` | [Optional[GetValidSecondaryAttributes200ApplicationJSON]](../../models/operations/getvalidsecondaryattributes200applicationjson.md) | :heavy_minus_sign: | Valid secondary attributes for the contact entity are returned successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md index 2494b3411..e9d8448dc 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributessecurity.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/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md b/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md index fe979034f..1d17803cc 100755 --- a/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md +++ b/customer_portal/docs/models/operations/logintoportalasuserrequestbody.md @@ -5,7 +5,7 @@ The request body to log in to a portal impersonating a user ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `email` | *Optional[str]* | :heavy_minus_sign: | The email address of the user to log in as | portal-customer@email.com | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `email` | *Optional[str]* | :heavy_minus_sign: | The email address of the user to log in as | portal-customer@email.com | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasuserresponse.md b/customer_portal/docs/models/operations/logintoportalasuserresponse.md index cd47912d9..d50f1d5af 100755 --- a/customer_portal/docs/models/operations/logintoportalasuserresponse.md +++ b/customer_portal/docs/models/operations/logintoportalasuserresponse.md @@ -3,9 +3,9 @@ ## Fields -| 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 | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `login_to_portal_as_user_200_application_json_object` | [Optional[operations.LoginToPortalAsUser200ApplicationJSON]](undefined/models/operations/logintoportalasuser200applicationjson.md) | :heavy_minus_sign: | The token has been generated successfully. | \ No newline at end of file +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `login_to_portal_as_user_200_application_json_object` | [Optional[LoginToPortalAsUser200ApplicationJSON]](../../models/operations/logintoportalasuser200applicationjson.md) | :heavy_minus_sign: | The token has been generated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/logintoportalasusersecurity.md b/customer_portal/docs/models/operations/logintoportalasusersecurity.md index f097eb93c..63c4fb93b 100755 --- a/customer_portal/docs/models/operations/logintoportalasusersecurity.md +++ b/customer_portal/docs/models/operations/logintoportalasusersecurity.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/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md index ed723fc74..9cfbd9127 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariables200applicationjson.md @@ -5,7 +5,7 @@ Replaced portal template variables successfully. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `customer_portal` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal]](undefined/models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md) | :heavy_minus_sign: | N/A | -| `installer_portal` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal]](undefined/models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `customer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoncustomerportal.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal]](../../models/operations/replaceecptemplatevariables200applicationjsoninstallerportal.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md index 24cc7b1d0..072babe3c 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `replace_ecp_template_variables_200_application_json_object` | [Optional[operations.ReplaceECPTemplateVariables200ApplicationJSON]](undefined/models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `replace_ecp_template_variables_200_application_json_object` | [Optional[ReplaceECPTemplateVariables200ApplicationJSON]](../../models/operations/replaceecptemplatevariables200applicationjson.md) | :heavy_minus_sign: | Replaced portal template variables successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md index 9ebd017a4..5ad90c80a 100755 --- a/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.md +++ b/customer_portal/docs/models/operations/replaceecptemplatevariablessecurity.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/customer_portal/docs/models/operations/saveentityfileresponse.md b/customer_portal/docs/models/operations/saveentityfileresponse.md index 9a2f9000f..247318513 100755 --- a/customer_portal/docs/models/operations/saveentityfileresponse.md +++ b/customer_portal/docs/models/operations/saveentityfileresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `save_entity_file_201_application_json_object` | [Optional[operations.SaveEntityFile201ApplicationJSON]](undefined/models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_entity_file_201_application_json_object` | [Optional[SaveEntityFile201ApplicationJSON]](../../models/operations/saveentityfile201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the entitiy successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfilesecurity.md b/customer_portal/docs/models/operations/saveentityfilesecurity.md index eaf5d1756..da79e628a 100755 --- a/customer_portal/docs/models/operations/saveentityfilesecurity.md +++ b/customer_portal/docs/models/operations/saveentityfilesecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilesresponse.md b/customer_portal/docs/models/operations/saveportalfilesresponse.md index 06a634204..a041eb11b 100755 --- a/customer_portal/docs/models/operations/saveportalfilesresponse.md +++ b/customer_portal/docs/models/operations/saveportalfilesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | -| `save_portal_files_201_application_json_object` | [Optional[operations.SavePortalFiles201ApplicationJSON]](undefined/models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | +| `save_portal_files_201_application_json_object` | [Optional[SavePortalFiles201ApplicationJSON]](../../models/operations/saveportalfiles201applicationjson.md) | :heavy_minus_sign: | The files have been saved to the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfilessecurity.md b/customer_portal/docs/models/operations/saveportalfilessecurity.md index 1d90bf0cb..f0a9a24bc 100755 --- a/customer_portal/docs/models/operations/saveportalfilessecurity.md +++ b/customer_portal/docs/models/operations/saveportalfilessecurity.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/customer_portal/docs/models/operations/trackfiledownloadedrequest.md b/customer_portal/docs/models/operations/trackfiledownloadedrequest.md index 1671a9113..af81c1011 100755 --- a/customer_portal/docs/models/operations/trackfiledownloadedrequest.md +++ b/customer_portal/docs/models/operations/trackfiledownloadedrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The Id of a file | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloadedresponse.md b/customer_portal/docs/models/operations/trackfiledownloadedresponse.md index ddff6e0a8..bc6167509 100755 --- a/customer_portal/docs/models/operations/trackfiledownloadedresponse.md +++ b/customer_portal/docs/models/operations/trackfiledownloadedresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `track_file_downloaded_200_application_json_object` | [Optional[operations.TrackFileDownloaded200ApplicationJSON]](undefined/models/operations/trackfiledownloaded200applicationjson.md) | :heavy_minus_sign: | File download tracked successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `track_file_downloaded_200_application_json_object` | [Optional[TrackFileDownloaded200ApplicationJSON]](../../models/operations/trackfiledownloaded200applicationjson.md) | :heavy_minus_sign: | File download tracked successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md b/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md index 62feb5309..3860900ca 100755 --- a/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md +++ b/customer_portal/docs/models/operations/trackfiledownloadedsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md index 4e3c61767..2351d3bb6 100755 --- a/customer_portal/docs/models/operations/updatecontactresponse.md +++ b/customer_portal/docs/models/operations/updatecontactresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contact_200_application_json_object` | [Optional[operations.UpdateContact200ApplicationJSON]](undefined/models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontactsecurity.md b/customer_portal/docs/models/operations/updatecontactsecurity.md index 7f91d6168..0090c61b3 100755 --- a/customer_portal/docs/models/operations/updatecontactsecurity.md +++ b/customer_portal/docs/models/operations/updatecontactsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md index 362ccf8e6..4fbbcce0d 100755 --- a/customer_portal/docs/models/operations/updatecontractrequest.md +++ b/customer_portal/docs/models/operations/updatecontractrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested contract body to update | | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md index 018f40865..34a813489 100755 --- a/customer_portal/docs/models/operations/updatecontractresponse.md +++ b/customer_portal/docs/models/operations/updatecontractresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contract_200_application_json_object` | [Optional[operations.UpdateContract200ApplicationJSON]](undefined/models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractsecurity.md b/customer_portal/docs/models/operations/updatecontractsecurity.md index 3e7aa6249..96ce6796e 100755 --- a/customer_portal/docs/models/operations/updatecontractsecurity.md +++ b/customer_portal/docs/models/operations/updatecontractsecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md index 7b67239a5..e7ce79093 100755 --- a/customer_portal/docs/models/operations/updateopportunityrequest.md +++ b/customer_portal/docs/models/operations/updateopportunityrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested opportunity body to update | | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityresponse.md b/customer_portal/docs/models/operations/updateopportunityresponse.md index 4b03dc4a4..289f44d7e 100755 --- a/customer_portal/docs/models/operations/updateopportunityresponse.md +++ b/customer_portal/docs/models/operations/updateopportunityresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_opportunity_200_application_json_object` | [Optional[operations.UpdateOpportunity200ApplicationJSON]](undefined/models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_opportunity_200_application_json_object` | [Optional[UpdateOpportunity200ApplicationJSON]](../../models/operations/updateopportunity200applicationjson.md) | :heavy_minus_sign: | Updated the opportunity successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunitysecurity.md b/customer_portal/docs/models/operations/updateopportunitysecurity.md index 74e7c5b3f..c837a4e45 100755 --- a/customer_portal/docs/models/operations/updateopportunitysecurity.md +++ b/customer_portal/docs/models/operations/updateopportunitysecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md index ecdd49133..da87be5eb 100755 --- a/customer_portal/docs/models/operations/updateorderrequest.md +++ b/customer_portal/docs/models/operations/updateorderrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | | `request_body` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | -| `id` | *Optional[str]* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderresponse.md b/customer_portal/docs/models/operations/updateorderresponse.md index 003c92672..de89a98fb 100755 --- a/customer_portal/docs/models/operations/updateorderresponse.md +++ b/customer_portal/docs/models/operations/updateorderresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_order_200_application_json_object` | [Optional[operations.UpdateOrder200ApplicationJSON]](undefined/models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_order_200_application_json_object` | [Optional[UpdateOrder200ApplicationJSON]](../../models/operations/updateorder200applicationjson.md) | :heavy_minus_sign: | Updated the order details successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateordersecurity.md b/customer_portal/docs/models/operations/updateordersecurity.md index 14910fc16..e078329c4 100755 --- a/customer_portal/docs/models/operations/updateordersecurity.md +++ b/customer_portal/docs/models/operations/updateordersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluserresponse.md b/customer_portal/docs/models/operations/updateportaluserresponse.md index 710c45e32..096b36afc 100755 --- a/customer_portal/docs/models/operations/updateportaluserresponse.md +++ b/customer_portal/docs/models/operations/updateportaluserresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_portal_user_200_application_json_object` | [Optional[operations.UpdatePortalUser200ApplicationJSON]](undefined/models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_portal_user_200_application_json_object` | [Optional[UpdatePortalUser200ApplicationJSON]](../../models/operations/updateportaluser200applicationjson.md) | :heavy_minus_sign: | The portal user updated successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportalusersecurity.md b/customer_portal/docs/models/operations/updateportalusersecurity.md index 393edb00c..0c2c20dfe 100755 --- a/customer_portal/docs/models/operations/updateportalusersecurity.md +++ b/customer_portal/docs/models/operations/updateportalusersecurity.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `portal_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md index 067b3be89..5681c4846 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md +++ b/customer_portal/docs/models/operations/upsertemailtemplates200applicationjson.md @@ -5,7 +5,7 @@ Upserted email templates of the portal successfully. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | -| `message` | [Optional[operations.UpsertEmailTemplates200ApplicationJSONMessage]](undefined/models/operations/upsertemailtemplates200applicationjsonmessage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates used for authentication and internal processes | +| `message` | [UpsertEmailTemplates200ApplicationJSONMessage](../../models/operations/upsertemailtemplates200applicationjsonmessage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md index 9a9cc4a06..2c0bac06c 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatesrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `email_templates` | [shared.EmailTemplates](../../models/shared/emailtemplates.md) | :heavy_check_mark: | Email templates payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md index e639c3787..3648f1404 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatesresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `upsert_email_templates_200_application_json_object` | [Optional[operations.UpsertEmailTemplates200ApplicationJSON]](undefined/models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `upsert_email_templates_200_application_json_object` | [Optional[UpsertEmailTemplates200ApplicationJSON]](../../models/operations/upsertemailtemplates200applicationjson.md) | :heavy_minus_sign: | Upserted email templates of the portal successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md index 281052c83..e0f5643a3 100755 --- a/customer_portal/docs/models/operations/upsertemailtemplatessecurity.md +++ b/customer_portal/docs/models/operations/upsertemailtemplatessecurity.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/customer_portal/docs/models/operations/upsertportalrequest.md b/customer_portal/docs/models/operations/upsertportalrequest.md index 9131db6c4..a0b625cc0 100755 --- a/customer_portal/docs/models/operations/upsertportalrequest.md +++ b/customer_portal/docs/models/operations/upsertportalrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `upsert_portal_config` | [Optional[shared.UpsertPortalConfig]](undefined/models/shared/upsertportalconfig.md) | :heavy_check_mark: | Portal payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `upsert_portal_config` | [shared.UpsertPortalConfig](../../models/shared/upsertportalconfig.md) | :heavy_check_mark: | Portal payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalresponse.md b/customer_portal/docs/models/operations/upsertportalresponse.md index eb718db3d..c809dc9c7 100755 --- a/customer_portal/docs/models/operations/upsertportalresponse.md +++ b/customer_portal/docs/models/operations/upsertportalresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `portal_config` | [Optional[shared.PortalConfig]](undefined/models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `portal_config` | [Optional[shared.PortalConfig]](../../models/shared/portalconfig.md) | :heavy_minus_sign: | Portal upserted successfully. | +| `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/customer_portal/docs/models/operations/upsertportalsecurity.md b/customer_portal/docs/models/operations/upsertportalsecurity.md index 9c3b931d5..a0644bcfe 100755 --- a/customer_portal/docs/models/operations/upsertportalsecurity.md +++ b/customer_portal/docs/models/operations/upsertportalsecurity.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/customer_portal/docs/models/operations/upsertportalwidgetrequest.md b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md index 815037c39..68d5a2cf7 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetrequest.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_check_mark: | Portal widgets payload | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `upsert_portal_widget` | [shared.UpsertPortalWidget](../../models/shared/upsertportalwidget.md) | :heavy_check_mark: | Portal widgets payload | +| `origin` | [shared.Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md index cade74ec5..e6963c7ff 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetresponse.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | -| `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 | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | The request could not be validated | +| `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 | -| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](undefined/models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file +| `upsert_portal_widget` | [Optional[shared.UpsertPortalWidget]](../../models/shared/upsertportalwidget.md) | :heavy_minus_sign: | Portal widget configuration upserted successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md index e720c8bb1..3fe646c2c 100755 --- a/customer_portal/docs/models/operations/upsertportalwidgetsecurity.md +++ b/customer_portal/docs/models/operations/upsertportalwidgetsecurity.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/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md index a92b8ca3c..755e59b5b 100755 --- a/customer_portal/docs/models/operations/userexists200applicationjson.md +++ b/customer_portal/docs/models/operations/userexists200applicationjson.md @@ -7,5 +7,5 @@ Returned whether the user exists in the portal or not successfully. | Field | Type | Required | Description | Example | | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `exists` | *Optional[bool]* | :heavy_check_mark: | Whether the user exists in the portal | true | +| `exists` | *bool* | :heavy_check_mark: | Whether the user exists in the portal | true | | `user` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsrequest.md b/customer_portal/docs/models/operations/userexistsrequest.md index 86076a22a..b3c006e85 100755 --- a/customer_portal/docs/models/operations/userexistsrequest.md +++ b/customer_portal/docs/models/operations/userexistsrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `email` | *Optional[str]* | :heavy_check_mark: | N/A | user@example.com | -| `org_id` | *Optional[str]* | :heavy_check_mark: | N/A | 123 | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Checkes if user exists in the given portal origin. If not provided, checks in all origins. | | \ No newline at end of file +| `email` | *str* | :heavy_check_mark: | N/A | user@example.com | +| `org_id` | *str* | :heavy_check_mark: | N/A | 123 | +| `origin` | [Optional[shared.Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Checkes if user exists in the given portal origin. If not provided, checks in all origins. | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexistsresponse.md b/customer_portal/docs/models/operations/userexistsresponse.md index 07f8c4f79..e142e956c 100755 --- a/customer_portal/docs/models/operations/userexistsresponse.md +++ b/customer_portal/docs/models/operations/userexistsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | -| `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 | -| `user_exists_200_application_json_object` | [Optional[operations.UserExists200ApplicationJSON]](undefined/models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Server Error | +| `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 | +| `user_exists_200_application_json_object` | [Optional[UserExists200ApplicationJSON]](../../models/operations/userexists200applicationjson.md) | :heavy_minus_sign: | Returned whether the user exists in the portal or not successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidget.md b/customer_portal/docs/models/shared/actionwidget.md index fb075984d..4cffcdda0 100755 --- a/customer_portal/docs/models/shared/actionwidget.md +++ b/customer_portal/docs/models/shared/actionwidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `actions` | list[[shared.WidgetAction](undefined/models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | -| `headline` | [Optional[shared.ActionWidgetHeadline]](undefined/models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[shared.ActionWidgetSubHeadline]](undefined/models/shared/actionwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ActionWidgetType]](undefined/models/shared/actionwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[ActionWidgetHeadline]](../../models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[ActionWidgetSubHeadline]](../../models/shared/actionwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [ActionWidgetType](../../models/shared/actionwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activity.md b/customer_portal/docs/models/shared/activity.md index 6c42333cd..7265c71e2 100755 --- a/customer_portal/docs/models/shared/activity.md +++ b/customer_portal/docs/models/shared/activity.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `message` | *Optional[str]* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | | `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | [object Object] | -| `title` | *Optional[str]* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | -| `type` | *Optional[str]* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file +| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitem.md b/customer_portal/docs/models/shared/activityitem.md index 26abe402e..7f6669449 100755 --- a/customer_portal/docs/models/shared/activityitem.md +++ b/customer_portal/docs/models/shared/activityitem.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | See https://github.com/ulid/spec | 01F130Q52Q6MWSNS8N2AVXV4JN | -| `message` | *Optional[str]* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | -| `payload` | [Optional[shared.ActivityItemPayload]](undefined/models/shared/activityitempayload.md) | :heavy_minus_sign: | N/A | | -| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | | -| `title` | *Optional[str]* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | -| `type` | *Optional[str]* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | See https://github.com/ulid/spec | 01F130Q52Q6MWSNS8N2AVXV4JN | +| `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | +| `payload` | [Optional[ActivityItemPayload]](../../models/shared/activityitempayload.md) | :heavy_minus_sign: | N/A | | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | | +| `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | +| `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitempayload.md b/customer_portal/docs/models/shared/activityitempayload.md index 8b8bdcd18..e5bcf3f02 100755 --- a/customer_portal/docs/models/shared/activityitempayload.md +++ b/customer_portal/docs/models/shared/activityitempayload.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | -| `entity` | [Optional[shared.ActivityItemPayloadEntity]](undefined/models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `entity` | [Optional[ActivityItemPayloadEntity]](../../models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md index 3747f6185..6e99709b9 100755 --- a/customer_portal/docs/models/shared/contactcountrequest.md +++ b/customer_portal/docs/models/shared/contactcountrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | | `contact_identifiers` | dict[str, *str*] | :heavy_check_mark: | Identifiers to identify a contact | | -| `org_id` | *Optional[str]* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file +| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contentwidget.md b/customer_portal/docs/models/shared/contentwidget.md index ebe17faad..3c0483cc3 100755 --- a/customer_portal/docs/models/shared/contentwidget.md +++ b/customer_portal/docs/models/shared/contentwidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `headline` | [Optional[shared.ContentWidgetHeadline]](undefined/models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[shared.ContentWidgetSubHeadline]](undefined/models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ContentWidgetType]](undefined/models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `headline` | [Optional[ContentWidgetHeadline]](../../models/shared/contentwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[ContentWidgetSubHeadline]](../../models/shared/contentwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [ContentWidgetType](../../models/shared/contentwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createssouserrequest.md b/customer_portal/docs/models/shared/createssouserrequest.md index 11acbe48b..13cbc11ac 100755 --- a/customer_portal/docs/models/shared/createssouserrequest.md +++ b/customer_portal/docs/models/shared/createssouserrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `email` | *Optional[str]* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md index 9d08ee3cd..d908f12c1 100755 --- a/customer_portal/docs/models/shared/createuserrequest.md +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -7,9 +7,9 @@ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | | `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 123456 | | `contact_identifiers` | dict[str, *str*] | :heavy_minus_sign: | Identifiers to identify a contact | | -| `email` | *Optional[str]* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | +| `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | -| `org_id` | *Optional[str]* | :heavy_check_mark: | ID of the organization | 728 | -| `password` | *Optional[str]* | :heavy_check_mark: | User's password | 124n$aAJs*d41h4 | +| `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | +| `password` | *str* | :heavy_check_mark: | User's password | 124n$aAJs*d41h4 | | `secondary_identifier` | *Optional[str]* | :heavy_minus_sign: | Secondary identifier to identify a contact | 123456 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md index 7f83c3f27..5027fd5ef 100755 --- a/customer_portal/docs/models/shared/deleteentityfile.md +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `entity_id` | *Optional[str]* | :heavy_check_mark: | Entity ID | 123456 | -| `entity_type` | *Optional[str]* | :heavy_check_mark: | Entity type | order | +| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | | `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityfilecount.md b/customer_portal/docs/models/shared/entityfilecount.md index 4753aef21..b143cb6ea 100755 --- a/customer_portal/docs/models/shared/entityfilecount.md +++ b/customer_portal/docs/models/shared/entityfilecount.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `schema` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | +| `schema` | [EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | | `title` | *Optional[str]* | :heavy_minus_sign: | The title of the parent entity | Opportunity ABC | -| `entity_id` | *Optional[str]* | :heavy_check_mark: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | -| `file_count` | *Optional[int]* | :heavy_check_mark: | Number of files associated with the entity and shared with portal user | 2 | \ No newline at end of file +| `entity_id` | *str* | :heavy_check_mark: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | +| `file_count` | *int* | :heavy_check_mark: | Number of files associated with the entity and shared with portal user | 2 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entitywidget.md b/customer_portal/docs/models/shared/entitywidget.md index f1d5cfb0a..78c2ab5a1 100755 --- a/customer_portal/docs/models/shared/entitywidget.md +++ b/customer_portal/docs/models/shared/entitywidget.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `headline` | [Optional[shared.EntityWidgetHeadline]](undefined/models/shared/entitywidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `sub_headline` | [Optional[shared.EntityWidgetSubHeadline]](undefined/models/shared/entitywidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.EntityWidgetType]](undefined/models/shared/entitywidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `headline` | [Optional[EntityWidgetHeadline]](../../models/shared/entitywidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `schema` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[EntityWidgetSubHeadline]](../../models/shared/entitywidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [EntityWidgetType](../../models/shared/entitywidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/extraschemaattributes.md b/customer_portal/docs/models/shared/extraschemaattributes.md index 3360daf79..3ddf533a5 100755 --- a/customer_portal/docs/models/shared/extraschemaattributes.md +++ b/customer_portal/docs/models/shared/extraschemaattributes.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `group` | *Optional[str]* | :heavy_check_mark: | Attribute group | -| `label` | *Optional[str]* | :heavy_check_mark: | Attribute label | -| `name` | *Optional[str]* | :heavy_check_mark: | Attribute name | \ No newline at end of file +| `group` | *str* | :heavy_check_mark: | Attribute group | +| `label` | *str* | :heavy_check_mark: | Attribute label | +| `name` | *str* | :heavy_check_mark: | Attribute name | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/grant.md b/customer_portal/docs/models/shared/grant.md index 4616ece2a..37f7ee110 100755 --- a/customer_portal/docs/models/shared/grant.md +++ b/customer_portal/docs/models/shared/grant.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `action` | *Optional[str]* | :heavy_check_mark: | Action for granting permission | entity-read | -| `effect` | [Optional[shared.GrantEffect]](undefined/models/shared/granteffect.md) | :heavy_minus_sign: | Effect of the permission | | -| `resource` | *Optional[str]* | :heavy_minus_sign: | Resource for granting permission | entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `action` | *str* | :heavy_check_mark: | Action for granting permission | entity-read | +| `effect` | [Optional[GrantEffect]](../../models/shared/granteffect.md) | :heavy_minus_sign: | Effect of the permission | | +| `resource` | *Optional[str]* | :heavy_minus_sign: | Resource for granting permission | entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/organizationsettings.md b/customer_portal/docs/models/shared/organizationsettings.md index a4d6cd92b..ea8ca3d52 100755 --- a/customer_portal/docs/models/shared/organizationsettings.md +++ b/customer_portal/docs/models/shared/organizationsettings.md @@ -3,24 +3,24 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `automation_entity_mapping` | [Optional[shared.OrganizationSettingsAutomationEntityMapping]](undefined/models/shared/organizationsettingsautomationentitymapping.md) | :heavy_minus_sign: | N/A | -| `automation_preview` | [Optional[shared.OrganizationSettingsAutomationPreview]](undefined/models/shared/organizationsettingsautomationpreview.md) | :heavy_minus_sign: | N/A | -| `central_inbox_preview_setting` | [Optional[shared.OrganizationSettingsCentralInboxPreviewSetting]](undefined/models/shared/organizationsettingscentralinboxpreviewsetting.md) | :heavy_minus_sign: | N/A | -| `contracts_preview_setting` | [Optional[shared.OrganizationSettingsContractsPreviewSetting]](undefined/models/shared/organizationsettingscontractspreviewsetting.md) | :heavy_minus_sign: | N/A | -| `disable_ivy` | [Optional[shared.OrganizationSettingsDisableIvy]](undefined/models/shared/organizationsettingsdisableivy.md) | :heavy_minus_sign: | N/A | -| `double_opt_in` | [Optional[shared.OrganizationSettingsDoubleOptIn]](undefined/models/shared/organizationsettingsdoubleoptin.md) | :heavy_minus_sign: | N/A | -| `ecommerce_catalog_preview` | [Optional[shared.OrganizationSettingsEcommerceCatalogPreview]](undefined/models/shared/organizationsettingsecommercecatalogpreview.md) | :heavy_minus_sign: | N/A | -| `ecommerce_opportunities_preview` | [Optional[shared.OrganizationSettingsEcommerceOpportunitiesPreview]](undefined/models/shared/organizationsettingsecommerceopportunitiespreview.md) | :heavy_minus_sign: | N/A | -| `ecommerce_preview` | [Optional[shared.OrganizationSettingsEcommercePreview]](undefined/models/shared/organizationsettingsecommercepreview.md) | :heavy_minus_sign: | N/A | -| `end_customer_portal` | [Optional[shared.OrganizationSettingsEndCustomerPortal]](undefined/models/shared/organizationsettingsendcustomerportal.md) | :heavy_minus_sign: | N/A | -| `entity_schema_builder` | [Optional[shared.OrganizationSettingsEntitySchemaBuilder]](undefined/models/shared/organizationsettingsentityschemabuilder.md) | :heavy_minus_sign: | N/A | -| `installer_portal` | [Optional[shared.OrganizationSettingsInstallerPortal]](undefined/models/shared/organizationsettingsinstallerportal.md) | :heavy_minus_sign: | N/A | -| `logic_editor_preview` | [Optional[shared.OrganizationSettingsLogicEditorPreview]](undefined/models/shared/organizationsettingslogiceditorpreview.md) | :heavy_minus_sign: | N/A | -| `new_navigation` | [Optional[shared.OrganizationSettingsNewNavigation]](undefined/models/shared/organizationsettingsnewnavigation.md) | :heavy_minus_sign: | N/A | -| `partnering` | [Optional[shared.OrganizationSettingsPartnering]](undefined/models/shared/organizationsettingspartnering.md) | :heavy_minus_sign: | N/A | -| `product_availability` | [Optional[shared.OrganizationSettingsProductAvailability]](undefined/models/shared/organizationsettingsproductavailability.md) | :heavy_minus_sign: | N/A | -| `sso` | [Optional[shared.OrganizationSettingsSso]](undefined/models/shared/organizationsettingssso.md) | :heavy_minus_sign: | N/A | -| `submission_preview` | [Optional[shared.OrganizationSettingsSubmissionPreview]](undefined/models/shared/organizationsettingssubmissionpreview.md) | :heavy_minus_sign: | N/A | -| `user_roles_preview` | [Optional[shared.OrganizationSettingsUserRolesPreview]](undefined/models/shared/organizationsettingsuserrolespreview.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `automation_entity_mapping` | [Optional[OrganizationSettingsAutomationEntityMapping]](../../models/shared/organizationsettingsautomationentitymapping.md) | :heavy_minus_sign: | N/A | +| `automation_preview` | [Optional[OrganizationSettingsAutomationPreview]](../../models/shared/organizationsettingsautomationpreview.md) | :heavy_minus_sign: | N/A | +| `central_inbox_preview_setting` | [Optional[OrganizationSettingsCentralInboxPreviewSetting]](../../models/shared/organizationsettingscentralinboxpreviewsetting.md) | :heavy_minus_sign: | N/A | +| `contracts_preview_setting` | [Optional[OrganizationSettingsContractsPreviewSetting]](../../models/shared/organizationsettingscontractspreviewsetting.md) | :heavy_minus_sign: | N/A | +| `disable_ivy` | [Optional[OrganizationSettingsDisableIvy]](../../models/shared/organizationsettingsdisableivy.md) | :heavy_minus_sign: | N/A | +| `double_opt_in` | [Optional[OrganizationSettingsDoubleOptIn]](../../models/shared/organizationsettingsdoubleoptin.md) | :heavy_minus_sign: | N/A | +| `ecommerce_catalog_preview` | [Optional[OrganizationSettingsEcommerceCatalogPreview]](../../models/shared/organizationsettingsecommercecatalogpreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_opportunities_preview` | [Optional[OrganizationSettingsEcommerceOpportunitiesPreview]](../../models/shared/organizationsettingsecommerceopportunitiespreview.md) | :heavy_minus_sign: | N/A | +| `ecommerce_preview` | [Optional[OrganizationSettingsEcommercePreview]](../../models/shared/organizationsettingsecommercepreview.md) | :heavy_minus_sign: | N/A | +| `end_customer_portal` | [Optional[OrganizationSettingsEndCustomerPortal]](../../models/shared/organizationsettingsendcustomerportal.md) | :heavy_minus_sign: | N/A | +| `entity_schema_builder` | [Optional[OrganizationSettingsEntitySchemaBuilder]](../../models/shared/organizationsettingsentityschemabuilder.md) | :heavy_minus_sign: | N/A | +| `installer_portal` | [Optional[OrganizationSettingsInstallerPortal]](../../models/shared/organizationsettingsinstallerportal.md) | :heavy_minus_sign: | N/A | +| `logic_editor_preview` | [Optional[OrganizationSettingsLogicEditorPreview]](../../models/shared/organizationsettingslogiceditorpreview.md) | :heavy_minus_sign: | N/A | +| `new_navigation` | [Optional[OrganizationSettingsNewNavigation]](../../models/shared/organizationsettingsnewnavigation.md) | :heavy_minus_sign: | N/A | +| `partnering` | [Optional[OrganizationSettingsPartnering]](../../models/shared/organizationsettingspartnering.md) | :heavy_minus_sign: | N/A | +| `product_availability` | [Optional[OrganizationSettingsProductAvailability]](../../models/shared/organizationsettingsproductavailability.md) | :heavy_minus_sign: | N/A | +| `sso` | [Optional[OrganizationSettingsSso]](../../models/shared/organizationsettingssso.md) | :heavy_minus_sign: | N/A | +| `submission_preview` | [Optional[OrganizationSettingsSubmissionPreview]](../../models/shared/organizationsettingssubmissionpreview.md) | :heavy_minus_sign: | N/A | +| `user_roles_preview` | [Optional[OrganizationSettingsUserRolesPreview]](../../models/shared/organizationsettingsuserrolespreview.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 9bd9c84db..56899490d 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -5,26 +5,26 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[shared.PortalConfigCognitoDetails]](undefined/models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | | `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[shared.PortalConfigDefaultUserToNotify]](undefined/models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[shared.PortalConfigEntityActions](undefined/models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[shared.PortalConfigEntityEditRules](undefined/models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | -| `entity_identifiers` | [Optional[shared.PortalConfigEntityIdentifiers]](undefined/models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `feature_settings` | [Optional[shared.PortalConfigFeatureSettings]](undefined/models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[shared.Grant](undefined/models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[PortalConfigEntityEditRules](../../models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[PortalConfigFeatureSettings]](../../models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | -| `images` | [Optional[shared.PortalConfigImages]](undefined/models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | | `org_name` | *Optional[str]* | :heavy_minus_sign: | Name of the organization | ABC Company | -| `org_settings` | [Optional[shared.PortalConfigOrgSettings]](undefined/models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | +| `org_settings` | [Optional[PortalConfigOrgSettings]](../../models/shared/portalconfigorgsettings.md) | :heavy_minus_sign: | Organization settings | | +| `origin` | [Optional[Origin]](../../models/shared/origin.md) | :heavy_minus_sign: | Origin of the portal | | | ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[shared.PortalConfigSelfRegistrationSetting]](undefined/models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `self_registration_setting` | [Optional[PortalConfigSelfRegistrationSetting]](../../models/shared/portalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityactions.md b/customer_portal/docs/models/shared/portalconfigentityactions.md index 35d865ea3..20cf38fdf 100755 --- a/customer_portal/docs/models/shared/portalconfigentityactions.md +++ b/customer_portal/docs/models/shared/portalconfigentityactions.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `action_label` | [Optional[shared.PortalConfigEntityActionsActionLabel]](undefined/models/shared/portalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | -| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `action_label` | [Optional[PortalConfigEntityActionsActionLabel]](../../models/shared/portalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityeditrules.md b/customer_portal/docs/models/shared/portalconfigentityeditrules.md index 345994203..c4f440579 100755 --- a/customer_portal/docs/models/shared/portalconfigentityeditrules.md +++ b/customer_portal/docs/models/shared/portalconfigentityeditrules.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | -| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | -| `cadence_period_type` | [Optional[shared.PortalConfigEntityEditRulesCadencePeriodType]](undefined/models/shared/portalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | -| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | -| `rule_type` | [Optional[shared.PortalConfigEntityEditRulesRuleType]](undefined/models/shared/portalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[PortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/portalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[PortalConfigEntityEditRulesRuleType]](../../models/shared/portalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md index e2a92c509..63161bea3 100755 --- a/customer_portal/docs/models/shared/portalconfigentityidentifiers.md +++ b/customer_portal/docs/models/shared/portalconfigentityidentifiers.md @@ -5,6 +5,6 @@ Identifiers used to identify an entity by a portal user ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional[shared.PortalConfigEntityIdentifiersType]](undefined/models/shared/portalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[PortalConfigEntityIdentifiersType]](../../models/shared/portalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigorgsettings.md b/customer_portal/docs/models/shared/portalconfigorgsettings.md index 88ff805af..9a8d4932b 100755 --- a/customer_portal/docs/models/shared/portalconfigorgsettings.md +++ b/customer_portal/docs/models/shared/portalconfigorgsettings.md @@ -5,7 +5,7 @@ Organization settings ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `canary` | [Optional[shared.PortalConfigOrgSettingsCanary]](undefined/models/shared/portalconfigorgsettingscanary.md) | :heavy_minus_sign: | Canary feature flag | -| `release_candidate` | [Optional[shared.PortalConfigOrgSettingsReleaseCandidate]](undefined/models/shared/portalconfigorgsettingsreleasecandidate.md) | :heavy_minus_sign: | Release candidate settings | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `canary` | [Optional[PortalConfigOrgSettingsCanary]](../../models/shared/portalconfigorgsettingscanary.md) | :heavy_minus_sign: | Canary feature flag | +| `release_candidate` | [Optional[PortalConfigOrgSettingsReleaseCandidate]](../../models/shared/portalconfigorgsettingsreleasecandidate.md) | :heavy_minus_sign: | Release candidate settings | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md index a03cf3eda..ca1d86abd 100755 --- a/customer_portal/docs/models/shared/saveentityfile.md +++ b/customer_portal/docs/models/shared/saveentityfile.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `entity_id` | *Optional[str]* | :heavy_check_mark: | Entity ID | 123456 | -| `entity_type` | *Optional[str]* | :heavy_check_mark: | Entity type | order | -| `files` | list[[shared.SaveEntityFileFiles](undefined/models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | +| `entity_type` | *str* | :heavy_check_mark: | Entity type | order | +| `files` | list[[SaveEntityFileFiles](../../models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md index 39e1e5964..4bafed2f1 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiles.md +++ b/customer_portal/docs/models/shared/saveentityfilefiles.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | -| `access_control` | [Optional[shared.SaveEntityFileFilesAccessControl]](undefined/models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | -| `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | -| `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | -| `filename` | *Optional[str]* | :heavy_check_mark: | File name | 12345 | -| `s3ref` | [Optional[shared.SaveEntityFileFilesS3ref]](undefined/models/shared/saveentityfilefiless3ref.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | +| `access_control` | [Optional[SaveEntityFileFilesAccessControl]](../../models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | +| `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | +| `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | +| `filename` | *str* | :heavy_check_mark: | File name | 12345 | +| `s3ref` | [SaveEntityFileFilesS3ref](../../models/shared/saveentityfilefiless3ref.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md index 4e5018d4e..3821d0c87 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiless3ref.md +++ b/customer_portal/docs/models/shared/saveentityfilefiless3ref.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bucket` | *Optional[str]* | :heavy_check_mark: | S3 bucket name | 12345 | -| `key` | *Optional[str]* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file +| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md index da83a8480..6cb85b3f7 100755 --- a/customer_portal/docs/models/shared/saveportalfile.md +++ b/customer_portal/docs/models/shared/saveportalfile.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `files` | list[[shared.SavePortalFileFiles](undefined/models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | -| `origin` | [Optional[shared.Origin]](undefined/models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `files` | list[[SavePortalFileFiles](../../models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | +| `origin` | [Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md index 62a8bb348..115e17842 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiles.md +++ b/customer_portal/docs/models/shared/saveportalfilefiles.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | -| `file_type` | *Optional[str]* | :heavy_check_mark: | File type | orderRightTeaser | -| `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | -| `s3ref` | [Optional[shared.SavePortalFileFilesS3ref]](undefined/models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | +| `file_type` | *str* | :heavy_check_mark: | File type | orderRightTeaser | +| `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | +| `s3ref` | [Optional[SavePortalFileFilesS3ref]](../../models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md index 364c1c6b5..4242b36fb 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiless3ref.md +++ b/customer_portal/docs/models/shared/saveportalfilefiless3ref.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bucket` | *Optional[str]* | :heavy_check_mark: | S3 bucket name | 12345 | -| `key` | *Optional[str]* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file +| `bucket` | *str* | :heavy_check_mark: | S3 bucket name | 12345 | +| `key` | *str* | :heavy_check_mark: | S3 key | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidget.md b/customer_portal/docs/models/shared/teaserwidget.md index 6a2d832fb..bcb650d57 100755 --- a/customer_portal/docs/models/shared/teaserwidget.md +++ b/customer_portal/docs/models/shared/teaserwidget.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `actions` | list[[shared.WidgetAction](undefined/models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | -| `headline` | [Optional[shared.TeaserWidgetHeadline]](undefined/models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `left` | [Optional[shared.TeaserWidgetLeft]](undefined/models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `right` | [Optional[shared.TeaserWidgetRight]](undefined/models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | -| `sub_headline` | [Optional[shared.TeaserWidgetSubHeadline]](undefined/models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.TeaserWidgetType]](undefined/models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `headline` | [Optional[TeaserWidgetHeadline]](../../models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `left` | [Optional[TeaserWidgetLeft]](../../models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `right` | [Optional[TeaserWidgetRight]](../../models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | +| `sub_headline` | [Optional[TeaserWidgetSubHeadline]](../../models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [TeaserWidgetType](../../models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 57b32c30c..145b890cb 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -5,22 +5,22 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cognito_details` | [Optional[shared.UpsertPortalConfigCognitoDetails]](undefined/models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | +| `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | | `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | -| `default_user_to_notify` | [Optional[shared.UpsertPortalConfigDefaultUserToNotify]](undefined/models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | -| `design_id` | *Optional[str]* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | +| `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | +| `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | -| `email_templates` | [Optional[shared.EmailTemplates]](undefined/models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | +| `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[shared.UpsertPortalConfigEntityActions](undefined/models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[shared.UpsertPortalConfigEntityEditRules](undefined/models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | -| `entity_identifiers` | [Optional[shared.UpsertPortalConfigEntityIdentifiers]](undefined/models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | -| `feature_settings` | [Optional[shared.UpsertPortalConfigFeatureSettings]](undefined/models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[shared.Grant](undefined/models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | -| `images` | [Optional[shared.UpsertPortalConfigImages]](undefined/models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | +| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | list[[UpsertPortalConfigEntityEditRules](../../models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | +| `feature_settings` | [Optional[UpsertPortalConfigFeatureSettings]](../../models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | +| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | | ~~`self_registration`~~ | *Optional[bool]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Allow portal user self-registration without a mapped contact | false | -| `self_registration_setting` | [Optional[shared.UpsertPortalConfigSelfRegistrationSetting]](undefined/models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `self_registration_setting` | [Optional[UpsertPortalConfigSelfRegistrationSetting]](../../models/shared/upsertportalconfigselfregistrationsetting.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md index a69f4d7b6..9fdfb1a7c 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityactions.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityactions.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `action_label` | [Optional[shared.UpsertPortalConfigEntityActionsActionLabel]](undefined/models/shared/upsertportalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | -| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `action_label` | [Optional[UpsertPortalConfigEntityActionsActionLabel]](../../models/shared/upsertportalconfigentityactionsactionlabel.md) | :heavy_minus_sign: | N/A | | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md index 9d5f5fac8..9fc774825 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityeditrules.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | -| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | -| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | -| `cadence_period_type` | [Optional[shared.UpsertPortalConfigEntityEditRulesCadencePeriodType]](undefined/models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | -| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | -| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | -| `rule_type` | [Optional[shared.UpsertPortalConfigEntityEditRulesRuleType]](undefined/models/shared/upsertportalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | -| `slug` | [Optional[shared.EntitySlug]](undefined/models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `allowed_decrement` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `allowed_increment` | *Optional[str]* | :heavy_minus_sign: | N/A | 10% | +| `attribute` | *Optional[str]* | :heavy_minus_sign: | N/A | first_name | +| `cadence_period` | *Optional[float]* | :heavy_minus_sign: | N/A | 1 | +| `cadence_period_type` | [Optional[UpsertPortalConfigEntityEditRulesCadencePeriodType]](../../models/shared/upsertportalconfigentityeditrulescadenceperiodtype.md) | :heavy_minus_sign: | N/A | | +| `changes_allowed` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `grace_period` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | +| `number_of_days_before_restriction` | *Optional[int]* | :heavy_minus_sign: | N/A | 10 | +| `rule_type` | [Optional[UpsertPortalConfigEntityEditRulesRuleType]](../../models/shared/upsertportalconfigentityeditrulesruletype.md) | :heavy_minus_sign: | N/A | | +| `slug` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md index eec8e6854..ae04544f4 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifiers.md @@ -5,6 +5,6 @@ Identifiers used to identify an entity by a portal user ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `type` | [Optional[shared.UpsertPortalConfigEntityIdentifiersType]](undefined/models/shared/upsertportalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `type` | [Optional[UpsertPortalConfigEntityIdentifiersType]](../../models/shared/upsertportalconfigentityidentifierstype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 212fbecaa..721fb1d93 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `widgets` | list[[Union[shared.EntityWidget, shared.ContentWidget, shared.ActionWidget, shared.TeaserWidget, shared.WidgetBase]](undefined/models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `widgets` | list[[Union[EntityWidget, ContentWidget, ActionWidget, TeaserWidget, WidgetBase]](../../models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md index 01e279ae0..291b8f3ca 100755 --- a/customer_portal/docs/models/shared/widgetaction.md +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `label` | [Optional[shared.WidgetActionLabel]](undefined/models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | -| `type` | [Optional[shared.WidgetActionType]](undefined/models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | -| `url` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `type` | [WidgetActionType](../../models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetbase.md b/customer_portal/docs/models/shared/widgetbase.md index 7c2843129..61f9e5019 100755 --- a/customer_portal/docs/models/shared/widgetbase.md +++ b/customer_portal/docs/models/shared/widgetbase.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `headline` | [Optional[shared.WidgetBaseHeadline]](undefined/models/shared/widgetbaseheadline.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `list_index` | *Optional[int]* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `sub_headline` | [Optional[shared.WidgetBaseSubHeadline]](undefined/models/shared/widgetbasesubheadline.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.WidgetBaseType]](undefined/models/shared/widgetbasetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `headline` | [Optional[WidgetBaseHeadline]](../../models/shared/widgetbaseheadline.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | +| `sub_headline` | [Optional[WidgetBaseSubHeadline]](../../models/shared/widgetbasesubheadline.md) | :heavy_minus_sign: | N/A | +| `type` | [WidgetBaseType](../../models/shared/widgetbasetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/balance/README.md b/customer_portal/docs/sdks/balance/README.md index acc77992f..09e4246bb 100755 --- a/customer_portal/docs/sdks/balance/README.md +++ b/customer_portal/docs/sdks/balance/README.md @@ -27,6 +27,7 @@ res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( if res.balance is not None: # handle response + pass ``` ### Parameters diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index d8f2bae68..63b15fe60 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -59,6 +59,7 @@ res = s.ecp.add_end_customer_relation_to_entity(req, operations.AddEndCustomerRe if res.add_end_customer_relation_to_entity_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -106,6 +107,7 @@ res = s.ecp.create_custom_entity_activity(req, operations.CreateCustomEntityActi if res.activity_item is not None: # handle response + pass ``` ### Parameters @@ -147,6 +149,7 @@ res = s.ecp.delete_entity_file(req, operations.DeleteEntityFileSecurity( if res.delete_entity_file_202_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -181,6 +184,7 @@ res = s.ecp.delete_portal_user(operations.DeletePortalUserSecurity( if res.delete_portal_user_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -218,6 +222,7 @@ res = s.ecp.get_all_contracts(req, operations.GetAllContractsSecurity( if res.get_all_contracts_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -260,6 +265,7 @@ res = s.ecp.get_all_files(req, operations.GetAllFilesSecurity( if res.get_all_files_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -298,6 +304,7 @@ res = s.ecp.get_all_opportunities(req, operations.GetAllOpportunitiesSecurity( if res.get_all_opportunities_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -336,6 +343,7 @@ res = s.ecp.get_all_orders(req, operations.GetAllOrdersSecurity( if res.get_all_orders_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -380,6 +388,7 @@ res = s.ecp.get_billing_events(req, operations.GetBillingEventsSecurity( if res.get_billing_events_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -414,6 +423,7 @@ res = s.ecp.get_contact(operations.GetContactSecurity( if res.get_contact_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -450,6 +460,7 @@ res = s.ecp.get_contract(req, operations.GetContractSecurity( if res.get_contract_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -490,6 +501,7 @@ res = s.ecp.get_entities_by_identifiers(req, operations.GetEntitiesByIdentifiers if res.get_entities_by_identifiers_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -527,6 +539,7 @@ res = s.ecp.get_file_by_id(req, operations.GetFileByIDSecurity( if res.get_file_by_id_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -561,6 +574,7 @@ res = s.ecp.get_files_count_by_entity(operations.GetFilesCountByEntitySecurity( if res.entity_file_counts is not None: # handle response + pass ``` ### Parameters @@ -597,6 +611,7 @@ res = s.ecp.get_opportunity(req, operations.GetOpportunitySecurity( if res.get_opportunity_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -634,6 +649,7 @@ res = s.ecp.get_order(req, operations.GetOrderSecurity( if res.get_order_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -668,6 +684,7 @@ res = s.ecp.get_organization_settings(operations.GetOrganizationSettingsSecurity if res.get_organization_settings_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -702,6 +719,7 @@ res = s.ecp.get_portal_config(req, operations.GetPortalConfigSecurity( if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -736,6 +754,7 @@ res = s.ecp.get_portal_user(operations.GetPortalUserSecurity( if res.get_portal_user_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -770,6 +789,7 @@ res = s.ecp.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( if res.upsert_portal_widget is not None: # handle response + pass ``` ### Parameters @@ -804,6 +824,7 @@ res = s.ecp.get_schemas(operations.GetSchemasSecurity( if res.get_schemas_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -855,6 +876,7 @@ res = s.ecp.save_entity_file(req, operations.SaveEntityFileSecurity( if res.save_entity_file_201_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -892,6 +914,7 @@ res = s.ecp.track_file_downloaded(req, operations.TrackFileDownloadedSecurity( if res.track_file_downloaded_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -929,6 +952,7 @@ res = s.ecp.update_contact(req, operations.UpdateContactSecurity( if res.update_contact_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -969,6 +993,7 @@ res = s.ecp.update_contract(req, operations.UpdateContractSecurity( if res.update_contract_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -1009,6 +1034,7 @@ res = s.ecp.update_opportunity(req, operations.UpdateOpportunitySecurity( if res.update_opportunity_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -1049,6 +1075,7 @@ res = s.ecp.update_order(req, operations.UpdateOrderSecurity( if res.update_order_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -1086,6 +1113,7 @@ res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( if res.update_portal_user_200_application_json_object is not None: # handle response + pass ``` ### Parameters diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 9c00b3456..8a83571ee 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -48,6 +48,7 @@ res = s.ecp_admin.configure_distribution(req, operations.ConfigureDistributionSe if res.configure_distribution_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -90,6 +91,7 @@ res = s.ecp_admin.create_sso_user(req, operations.CreateSSOUserSecurity( if res.create_sso_user_201_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -127,6 +129,7 @@ res = s.ecp_admin.delete_portal(req, operations.DeletePortalSecurity( if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -161,6 +164,7 @@ res = s.ecp_admin.extra_permission_attributes(operations.ExtraPermissionAttribut if res.extra_permission_attributes_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -194,6 +198,7 @@ res = s.ecp_admin.get_all_portal_configs(operations.GetAllPortalConfigsSecurity( if res.get_all_portal_configs_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -230,6 +235,7 @@ res = s.ecp_admin.get_ecp_contact(req, operations.GetECPContactSecurity( if res.get_ecp_contact_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -267,6 +273,7 @@ res = s.ecp_admin.get_email_templates(req, operations.GetEmailTemplatesSecurity( if res.email_templates is not None: # handle response + pass ``` ### Parameters @@ -304,6 +311,7 @@ res = s.ecp_admin.get_entity_identifiers(req, operations.GetEntityIdentifiersSec if res.get_entity_identifiers_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -341,6 +349,7 @@ res = s.ecp_admin.get_org_portal_config(req, operations.GetOrgPortalConfigSecuri if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -376,6 +385,7 @@ res = s.ecp_admin.get_portal_config(req, operations.GetPortalConfigSecurity( if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -411,6 +421,7 @@ res = s.ecp_admin.get_portal_widgets(req, operations.GetPortalWidgetsSecurity( if res.upsert_portal_widget is not None: # handle response + pass ``` ### Parameters @@ -445,6 +456,7 @@ res = s.ecp_admin.get_valid_secondary_attributes(operations.GetValidSecondaryAtt if res.get_valid_secondary_attributes_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -484,6 +496,7 @@ res = s.ecp_admin.login_to_portal_as_user(req, operations.LoginToPortalAsUserSec if res.login_to_portal_as_user_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -521,6 +534,7 @@ res = s.ecp_admin.replace_ecp_template_variables(req, operations.ReplaceECPTempl if res.replace_ecp_template_variables_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -571,6 +585,7 @@ res = s.ecp_admin.save_portal_files(req, operations.SavePortalFilesSecurity( if res.save_portal_files_201_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -615,6 +630,7 @@ res = s.ecp_admin.upsert_email_templates(req, operations.UpsertEmailTemplatesSec if res.upsert_email_templates_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -733,6 +749,7 @@ res = s.ecp_admin.upsert_portal(req, operations.UpsertPortalSecurity( if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -781,6 +798,7 @@ res = s.ecp_admin.upsert_portal_widget(req, operations.UpsertPortalWidgetSecurit if res.upsert_portal_widget is not None: # handle response + pass ``` ### Parameters diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 021cfc95b..308b18eef 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -42,6 +42,7 @@ res = s.public.confirm_user(req) if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -92,6 +93,7 @@ res = s.public.create_user(req) if res.create_user_201_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -136,6 +138,7 @@ res = s.public.get_contact_count(req) if res.get_contact_count_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -175,6 +178,7 @@ res = s.public.get_count_by_email(req) if res.get_count_by_email_200_application_json_object is not None: # handle response + pass ``` ### Parameters @@ -213,6 +217,7 @@ res = s.public.get_portal_config_by_domain(req) if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -252,6 +257,7 @@ res = s.public.get_public_portal_config(req) if res.portal_config is not None: # handle response + pass ``` ### Parameters @@ -291,6 +297,7 @@ res = s.public.get_public_portal_widgets(req) if res.upsert_portal_widget is not None: # handle response + pass ``` ### Parameters @@ -330,6 +337,7 @@ res = s.public.user_exists(req) if res.user_exists_200_application_json_object is not None: # handle response + pass ``` ### Parameters diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index a8d2a4188..39bfb1308 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,21 @@ configVersion: 1.0.0 management: docChecksum: 3fd1dbbc145bfde1d9c3cd1408ad854c 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 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.48.0 + version: 1.48.1 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 760112a04..f9445a7c8 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.48.0", + version="1.48.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 053d9c673..16a86b77d 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -22,7 +22,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, @@ -31,8 +31,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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 9082287e1..e7a370895 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.48.0' - gen_version: str = '2.150.0' - user_agent: str = 'speakeasy-sdk/python 1.48.0 2.150.0 1.0.0 epilot-customer-portal' + sdk_version: str = '1.48.1' + gen_version: str = '2.154.1' + user_agent: str = 'speakeasy-sdk/python 1.48.1 2.154.1 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 80bdc313453a53c0baa9f6ae31470df211fbfd0e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 14 Oct 2023 00:29:37 +0000 Subject: [PATCH 91/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.99.2 --- customer_portal/RELEASES.md | 10 ++++++- .../updatecontact403applicationjson.md | 19 +++++++++++++ .../operations/updatecontactresponse.md | 15 ++++++----- .../updatecontract403applicationjson.md | 19 +++++++++++++ .../operations/updatecontractresponse.md | 15 ++++++----- .../docs/models/shared/failedruleerrorresp.md | 9 +++++++ .../shared/failedruleerrorrespfailedrule.md | 9 +++++++ customer_portal/files.gen | 5 ++++ customer_portal/gen.yaml | 8 +++--- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 18 ++++++++++--- .../src/epilot/models/operations/__init__.py | 2 +- .../epilot/models/operations/updatecontact.py | 13 ++++++++- .../models/operations/updatecontract.py | 13 ++++++++- .../src/epilot/models/shared/__init__.py | 3 ++- .../models/shared/failedruleerrorresp.py | 27 +++++++++++++++++++ .../src/epilot/sdkconfiguration.py | 6 ++--- 17 files changed, 163 insertions(+), 30 deletions(-) create mode 100755 customer_portal/docs/models/operations/updatecontact403applicationjson.md create mode 100755 customer_portal/docs/models/operations/updatecontract403applicationjson.md create mode 100755 customer_portal/docs/models/shared/failedruleerrorresp.md create mode 100755 customer_portal/docs/models/shared/failedruleerrorrespfailedrule.md create mode 100755 customer_portal/src/epilot/models/shared/failedruleerrorresp.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 739bc3802..9b31a0ab6 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -628,4 +628,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.99.0 (2.154.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.1] customer_portal \ No newline at end of file +- [python v1.48.1] customer_portal + +## 2023-10-14 00:29:17 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.99.2 (2.155.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.2] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontact403applicationjson.md b/customer_portal/docs/models/operations/updatecontact403applicationjson.md new file mode 100755 index 000000000..1ebdec748 --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontact403applicationjson.md @@ -0,0 +1,19 @@ +# UpdateContact403ApplicationJSON + +The user is not allowed to access this resource + + +## Supported Types + +### ErrorResp + +```python +updateContact403ApplicationJSON: shared.ErrorResp = /* values here */ +``` + +### FailedRuleErrorResp + +```python +updateContact403ApplicationJSON: shared.FailedRuleErrorResp = /* values here */ +``` + diff --git a/customer_portal/docs/models/operations/updatecontactresponse.md b/customer_portal/docs/models/operations/updatecontactresponse.md index 2351d3bb6..9daf55d83 100755 --- a/customer_portal/docs/models/operations/updatecontactresponse.md +++ b/customer_portal/docs/models/operations/updatecontactresponse.md @@ -3,10 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contact_200_application_json_object` | [Optional[UpdateContact200ApplicationJSON]](../../models/operations/updatecontact200applicationjson.md) | :heavy_minus_sign: | Updated the contact details successfully. | +| `update_contact_403_application_json_one_of` | [Optional[Union[shared.ErrorResp, shared.FailedRuleErrorResp]]](../../models/operations/updatecontact403applicationjson.md) | :heavy_minus_sign: | The user is not allowed to access this resource | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontract403applicationjson.md b/customer_portal/docs/models/operations/updatecontract403applicationjson.md new file mode 100755 index 000000000..59408c3b0 --- /dev/null +++ b/customer_portal/docs/models/operations/updatecontract403applicationjson.md @@ -0,0 +1,19 @@ +# UpdateContract403ApplicationJSON + +The user is not allowed to access this resource + + +## Supported Types + +### ErrorResp + +```python +updateContract403ApplicationJSON: shared.ErrorResp = /* values here */ +``` + +### FailedRuleErrorResp + +```python +updateContract403ApplicationJSON: shared.FailedRuleErrorResp = /* values here */ +``` + diff --git a/customer_portal/docs/models/operations/updatecontractresponse.md b/customer_portal/docs/models/operations/updatecontractresponse.md index 34a813489..46ca3b66b 100755 --- a/customer_portal/docs/models/operations/updatecontractresponse.md +++ b/customer_portal/docs/models/operations/updatecontractresponse.md @@ -3,10 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | -| `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 | -| `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `update_contract_200_application_json_object` | [Optional[UpdateContract200ApplicationJSON]](../../models/operations/updatecontract200applicationjson.md) | :heavy_minus_sign: | Updated the contract successfully. | +| `update_contract_403_application_json_one_of` | [Optional[Union[shared.ErrorResp, shared.FailedRuleErrorResp]]](../../models/operations/updatecontract403applicationjson.md) | :heavy_minus_sign: | The user is not allowed to access this resource | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/failedruleerrorresp.md b/customer_portal/docs/models/shared/failedruleerrorresp.md new file mode 100755 index 000000000..c2691e972 --- /dev/null +++ b/customer_portal/docs/models/shared/failedruleerrorresp.md @@ -0,0 +1,9 @@ +# FailedRuleErrorResp + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `failed_rule` | [Optional[FailedRuleErrorRespFailedRule]](../../models/shared/failedruleerrorrespfailedrule.md) | :heavy_minus_sign: | Failed validation rule | +| `message` | *Optional[str]* | :heavy_minus_sign: | Error message | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/failedruleerrorrespfailedrule.md b/customer_portal/docs/models/shared/failedruleerrorrespfailedrule.md new file mode 100755 index 000000000..5af7aaafd --- /dev/null +++ b/customer_portal/docs/models/shared/failedruleerrorrespfailedrule.md @@ -0,0 +1,9 @@ +# FailedRuleErrorRespFailedRule + +Failed validation rule + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/customer_portal/files.gen b/customer_portal/files.gen index cb90db187..14eb44d3a 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -86,6 +86,7 @@ src/epilot/models/shared/widgetaction.py src/epilot/models/shared/teaserwidget.py src/epilot/models/shared/widgetbase.py src/epilot/models/shared/saveentityfile.py +src/epilot/models/shared/failedruleerrorresp.py src/epilot/models/shared/createssouserrequest.py src/epilot/models/shared/extraschemaattributes.py src/epilot/models/shared/saveportalfile.py @@ -182,10 +183,12 @@ docs/models/operations/trackfiledownloadedrequest.md docs/models/operations/trackfiledownloaded200applicationjson.md docs/models/operations/trackfiledownloadedresponse.md docs/models/operations/updatecontactsecurity.md +docs/models/operations/updatecontact403applicationjson.md docs/models/operations/updatecontact200applicationjson.md docs/models/operations/updatecontactresponse.md docs/models/operations/updatecontractsecurity.md docs/models/operations/updatecontractrequest.md +docs/models/operations/updatecontract403applicationjson.md docs/models/operations/updatecontract200applicationjson.md docs/models/operations/updatecontractresponse.md docs/models/operations/updateopportunitysecurity.md @@ -361,6 +364,8 @@ docs/models/shared/saveentityfilefilesaccesscontrol.md docs/models/shared/saveentityfilefiless3ref.md docs/models/shared/saveentityfilefiles.md docs/models/shared/saveentityfile.md +docs/models/shared/failedruleerrorrespfailedrule.md +docs/models/shared/failedruleerrorresp.md docs/models/shared/createssouserrequest.md docs/models/shared/extraschemaattributes.md docs/models/shared/saveportalfilefiless3ref.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 39bfb1308..b88766d23 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 3fd1dbbc145bfde1d9c3cd1408ad854c + docChecksum: 33e07d7c9a5d8b6fbefd6f2bcde81100 docVersion: 1.0.0 - speakeasyVersion: 1.99.0 - generationVersion: 2.154.1 + speakeasyVersion: 1.99.2 + generationVersion: 2.155.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -16,7 +16,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.48.1 + version: 1.48.2 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index f9445a7c8..b7cfc5a7b 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="1.48.1", + version="1.48.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 245e47e5f..54bf16948 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations, shared -from typing import Any, Optional +from typing import Any, Optional, Union class Ecp: r"""APIs defined for a portal user""" @@ -842,12 +842,18 @@ def update_contact(self, request: dict[str, Any], security: operations.UpdateCon res.update_contact_200_application_json_object = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) - elif http_res.status_code in [401, 403, 404, 500]: + elif http_res.status_code in [401, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[Union[shared.ErrorResp, shared.FailedRuleErrorResp]]) + res.update_contact_403_application_json_one_of = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -881,12 +887,18 @@ def update_contract(self, request: operations.UpdateContractRequest, security: o res.update_contract_200_application_json_object = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) - elif http_res.status_code in [401, 403, 404, 500]: + elif http_res.status_code in [401, 404, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[Union[shared.ErrorResp, shared.FailedRuleErrorResp]]) + res.update_contract_403_application_json_one_of = 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/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 447640bf0..62cf11f40 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -54,4 +54,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index 1e05db2e3..4b64e4e3c 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -4,9 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import failedruleerrorresp as shared_failedruleerrorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional +from typing import Any, Optional, Union @@ -17,6 +18,14 @@ class UpdateContactSecurity: + +@dataclasses.dataclass +class UpdateContact403ApplicationJSON: + r"""The user is not allowed to access this resource""" + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass @@ -41,5 +50,7 @@ class UpdateContactResponse: r"""Raw HTTP response; suitable for custom response parsing""" update_contact_200_application_json_object: Optional[UpdateContact200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contact details successfully.""" + update_contact_403_application_json_one_of: Optional[Union[shared_errorresp.ErrorResp, shared_failedruleerrorresp.FailedRuleErrorResp]] = dataclasses.field(default=None) + r"""The user is not allowed to access this resource""" diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index bd47564c4..61080f787 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -4,9 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import failedruleerrorresp as shared_failedruleerrorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional +from typing import Any, Optional, Union @@ -28,6 +29,14 @@ class UpdateContractRequest: + +@dataclasses.dataclass +class UpdateContract403ApplicationJSON: + r"""The user is not allowed to access this resource""" + + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass @@ -52,5 +61,7 @@ class UpdateContractResponse: r"""Raw HTTP response; suitable for custom response parsing""" update_contract_200_application_json_object: Optional[UpdateContract200ApplicationJSON] = dataclasses.field(default=None) r"""Updated the contract successfully.""" + update_contract_403_application_json_one_of: Optional[Union[shared_errorresp.ErrorResp, shared_failedruleerrorresp.FailedRuleErrorResp]] = dataclasses.field(default=None) + r"""The user is not allowed to access this resource""" diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 13b924e58..2a18b102a 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -15,6 +15,7 @@ from .entitywidget import * from .errorresp import * from .extraschemaattributes import * +from .failedruleerrorresp import * from .grant import * from .organizationsettings import * from .origin import * @@ -28,4 +29,4 @@ from .widgetaction import * from .widgetbase import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] diff --git a/customer_portal/src/epilot/models/shared/failedruleerrorresp.py b/customer_portal/src/epilot/models/shared/failedruleerrorresp.py new file mode 100755 index 000000000..4d220da8f --- /dev/null +++ b/customer_portal/src/epilot/models/shared/failedruleerrorresp.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + + +@dataclasses.dataclass +class FailedRuleErrorRespFailedRule: + r"""Failed validation rule""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) + +@dataclasses.dataclass +class FailedRuleErrorResp: + failed_rule: Optional[FailedRuleErrorRespFailedRule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('failed_rule'), 'exclude': lambda f: f is None }}) + r"""Failed validation rule""" + message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + r"""Error message""" + + diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index e7a370895..16db9523f 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.48.1' - gen_version: str = '2.154.1' - user_agent: str = 'speakeasy-sdk/python 1.48.1 2.154.1 1.0.0 epilot-customer-portal' + sdk_version: str = '1.48.2' + gen_version: str = '2.155.1' + user_agent: str = 'speakeasy-sdk/python 1.48.2 2.155.1 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 2d07f00a3319d88d86d7c27c055dbbf2c57ebf90 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 18 Oct 2023 00:30:59 +0000 Subject: [PATCH 92/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.101.0 --- customer_portal/RELEASES.md | 10 +- ...tomerrelationtoentity200applicationjson.md | 8 +- .../createcustomentityactivityrequest.md | 2 +- .../createssouser201applicationjson.md | 6 +- .../createuser201applicationjson.md | 2 +- .../deleteentityfile202applicationjson.md | 2 +- ...missionattributes200applicationjsondata.md | 12 +- .../getallcontracts200applicationjson.md | 6 +- .../getallfiles200applicationjson.md | 8 +- .../models/operations/getallfilesrequest.md | 2 +- .../getallopportunities200applicationjson.md | 6 +- .../getallorders200applicationjson.md | 6 +- .../getallportalconfigs200applicationjson.md | 2 +- .../getbillingevents200applicationjson.md | 8 +- .../operations/getbillingeventsrequest.md | 4 +- .../getcontact200applicationjson.md | 10 +- .../getcontract200applicationjson.md | 14 +-- .../getecpcontact200applicationjson.md | 6 +- ...entitiesbyidentifiers200applicationjson.md | 6 +- .../getentitiesbyidentifiersrequest.md | 2 +- .../getentityidentifiers200applicationjson.md | 2 +- .../getfilebyid200applicationjson.md | 6 +- .../getfilescountbyentityresponse.md | 2 +- .../getopportunity200applicationjson.md | 14 +-- .../operations/getorder200applicationjson.md | 16 +-- .../getportaluser200applicationjson.md | 6 +- .../getschemas200applicationjson.md | 6 +- ...idsecondaryattributes200applicationjson.md | 2 +- .../saveentityfile201applicationjson.md | 6 +- .../saveportalfiles201applicationjson.md | 6 +- .../trackfiledownloaded200applicationjson.md | 6 +- .../updatecontact200applicationjson.md | 6 +- .../updatecontract200applicationjson.md | 6 +- .../operations/updatecontractrequest.md | 2 +- .../updateopportunity200applicationjson.md | 6 +- .../operations/updateopportunityrequest.md | 2 +- .../updateorder200applicationjson.md | 6 +- .../models/operations/updateorderrequest.md | 2 +- .../updateportaluser200applicationjson.md | 6 +- .../userexists200applicationjson.md | 8 +- .../docs/models/shared/actionwidget.md | 2 +- .../docs/models/shared/activity.md | 2 +- .../models/shared/activitycallercontext.md | 9 ++ .../shared/activitycallercontextportalauth.md | 8 ++ .../activitycallercontextportalauthtoken.md | 12 ++ .../docs/models/shared/activityitempayload.md | 2 +- .../docs/models/shared/adminuser.md | 15 +++ .../docs/models/shared/adminuserimageuri.md | 11 ++ .../docs/models/shared/billingevent.md | 17 +++ .../shared/billingeventreimbursementevent.md | 24 ++++ .../billingeventreimbursementeventcontract.md | 8 ++ ...eimbursementeventcontractdollarrelation.md | 8 ++ .../billingeventreimbursementeventtype.md | 10 ++ customer_portal/docs/models/shared/contact.md | 17 +++ .../docs/models/shared/contactcountrequest.md | 2 +- .../docs/models/shared/contactschema.md | 8 ++ .../docs/models/shared/contract.md | 17 +++ .../docs/models/shared/contractschema.md | 8 ++ .../docs/models/shared/createuserrequest.md | 2 +- .../docs/models/shared/deleteentityfile.md | 2 +- .../docs/models/shared/entityitem.md | 15 +++ customer_portal/docs/models/shared/file.md | 17 +++ .../docs/models/shared/fileitem.md | 24 ++++ .../models/shared/fileitemaccesscontrol.md | 9 ++ .../docs/models/shared/fileitemrelations.md | 10 ++ .../docs/models/shared/fileitemschema.md | 8 ++ .../docs/models/shared/fileitemtype.md | 21 ++++ .../docs/models/shared/fileschema.md | 8 ++ .../docs/models/shared/installmentevent.md | 24 ++++ .../models/shared/installmenteventcontract.md | 8 ++ .../installmenteventcontractdollarrelation.md | 8 ++ .../models/shared/installmenteventtype.md | 10 ++ .../docs/models/shared/opportunity.md | 17 +++ .../docs/models/shared/opportunityschema.md | 8 ++ customer_portal/docs/models/shared/order.md | 17 +++ .../docs/models/shared/orderschema.md | 8 ++ .../docs/models/shared/portalconfig.md | 8 +- .../shared/portalconfigdefaultusertonotify.md | 2 +- .../portalconfigentityidentifierstype.md | 2 +- .../docs/models/shared/portaluser.md | 17 +++ .../docs/models/shared/portaluserschema.md | 8 ++ customer_portal/docs/models/shared/product.md | 17 +++ .../docs/models/shared/productschema.md | 8 ++ .../docs/models/shared/saveentityfile.md | 2 +- .../docs/models/shared/saveentityfilefiles.md | 2 +- .../docs/models/shared/saveportalfile.md | 2 +- .../docs/models/shared/saveportalfilefiles.md | 2 +- customer_portal/docs/models/shared/schema.md | 9 ++ .../docs/models/shared/teaserwidget.md | 2 +- .../docs/models/shared/upsertportalconfig.md | 8 +- .../upsertportalconfigdefaultusertonotify.md | 2 +- ...upsertportalconfigentityidentifierstype.md | 2 +- .../docs/models/shared/upsertportalwidget.md | 2 +- customer_portal/docs/sdks/ecp/README.md | 8 +- customer_portal/docs/sdks/ecpadmin/README.md | 20 ++- customer_portal/files.gen | 53 +++++++- customer_portal/gen.yaml | 9 +- customer_portal/pylintrc | 2 +- customer_portal/setup.py | 26 ++-- customer_portal/src/epilot/ecp.py | 8 +- .../addendcustomerrelationtoentity.py | 11 +- .../operations/configuredistribution.py | 4 - .../epilot/models/operations/confirmuser.py | 2 - .../operations/createcustomentityactivity.py | 7 +- .../epilot/models/operations/createssouser.py | 9 +- .../epilot/models/operations/createuser.py | 8 +- .../models/operations/deleteentityfile.py | 7 +- .../epilot/models/operations/deleteportal.py | 3 - .../models/operations/deleteportaluser.py | 3 - .../operations/extrapermissionattributes.py | 18 ++- .../models/operations/getallcontracts.py | 9 +- .../epilot/models/operations/getallfiles.py | 11 +- .../models/operations/getallopportunities.py | 9 +- .../epilot/models/operations/getallorders.py | 9 +- .../models/operations/getallportalconfigs.py | 7 +- .../models/operations/getbillingevents.py | 14 +-- .../epilot/models/operations/getcontact.py | 14 +-- .../models/operations/getcontactcount.py | 3 - .../epilot/models/operations/getcontract.py | 20 +-- .../models/operations/getcountbyemail.py | 3 - .../models/operations/getcustomerbalance.py | 3 - .../epilot/models/operations/getecpcontact.py | 9 +- .../models/operations/getemailtemplates.py | 3 - .../operations/getentitiesbyidentifiers.py | 11 +- .../models/operations/getentityidentifiers.py | 9 +- .../epilot/models/operations/getfilebyid.py | 9 +- .../operations/getfilescountbyentity.py | 6 +- .../models/operations/getopportunity.py | 20 +-- .../src/epilot/models/operations/getorder.py | 22 ++-- .../operations/getorganizationsettings.py | 3 - .../models/operations/getorgportalconfig.py | 3 - .../models/operations/getportalconfig.py | 3 - .../operations/getportalconfigbydomain.py | 2 - .../epilot/models/operations/getportaluser.py | 8 +- .../models/operations/getportalwidgets.py | 3 - .../operations/getpublicportalconfig.py | 2 - .../operations/getpublicportalwidgets.py | 2 - .../epilot/models/operations/getschemas.py | 8 +- .../operations/getvalidsecondaryattributes.py | 8 +- .../models/operations/logintoportalasuser.py | 4 - .../operations/replaceecptemplatevariables.py | 6 - .../models/operations/saveentityfile.py | 8 +- .../models/operations/saveportalfiles.py | 8 +- .../models/operations/trackfiledownloaded.py | 9 +- .../epilot/models/operations/updatecontact.py | 9 +- .../models/operations/updatecontract.py | 12 +- .../models/operations/updateopportunity.py | 11 +- .../epilot/models/operations/updateorder.py | 11 +- .../models/operations/updateportaluser.py | 8 +- .../models/operations/upsertemailtemplates.py | 4 - .../epilot/models/operations/upsertportal.py | 3 - .../models/operations/upsertportalwidget.py | 3 - .../epilot/models/operations/userexists.py | 8 +- .../src/epilot/models/shared/__init__.py | 16 ++- .../src/epilot/models/shared/actionwidget.py | 7 +- .../src/epilot/models/shared/activity.py | 5 +- .../models/shared/activitycallercontext.py | 36 ++++++ .../src/epilot/models/shared/activityitem.py | 8 +- .../src/epilot/models/shared/adminuser.py | 33 +++++ .../src/epilot/models/shared/balance.py | 1 - .../src/epilot/models/shared/billingevent.py | 73 +++++++++++ .../src/epilot/models/shared/contact.py | 35 ++++++ .../models/shared/contactcountrequest.py | 4 +- .../src/epilot/models/shared/contentwidget.py | 3 - .../src/epilot/models/shared/contract.py | 35 ++++++ .../models/shared/createssouserrequest.py | 1 - .../epilot/models/shared/createuserrequest.py | 5 +- .../epilot/models/shared/deleteentityfile.py | 4 +- .../epilot/models/shared/emailtemplates.py | 1 - .../epilot/models/shared/entityfilecount.py | 1 - .../src/epilot/models/shared/entityitem.py | 32 +++++ .../src/epilot/models/shared/entitywidget.py | 3 - .../src/epilot/models/shared/errorresp.py | 1 - .../models/shared/extraschemaattributes.py | 1 - .../models/shared/failedruleerrorresp.py | 2 - .../src/epilot/models/shared/file.py | 35 ++++++ .../src/epilot/models/shared/fileitem.py | 79 ++++++++++++ .../src/epilot/models/shared/grant.py | 1 - .../epilot/models/shared/installmentevent.py | 67 ++++++++++ .../src/epilot/models/shared/opportunity.py | 35 ++++++ .../src/epilot/models/shared/order.py | 35 ++++++ .../models/shared/organizationsettings.py | 20 --- .../src/epilot/models/shared/portalconfig.py | 28 ++--- .../src/epilot/models/shared/portaluser.py | 35 ++++++ .../src/epilot/models/shared/product.py | 35 ++++++ .../epilot/models/shared/saveentityfile.py | 9 +- .../epilot/models/shared/saveportalfile.py | 9 +- .../src/epilot/models/shared/schema.py | 17 +++ .../src/epilot/models/shared/security.py | 1 - .../src/epilot/models/shared/teaserwidget.py | 9 +- .../models/shared/upsertportalconfig.py | 25 ++-- .../models/shared/upsertportalwidget.py | 5 +- .../src/epilot/models/shared/widgetaction.py | 2 - .../src/epilot/models/shared/widgetbase.py | 3 - customer_portal/src/epilot/sdk.py | 5 +- .../src/epilot/sdkconfiguration.py | 13 +- customer_portal/src/epilot/utils/retries.py | 5 +- customer_portal/src/epilot/utils/utils.py | 117 ++++++++++-------- 198 files changed, 1527 insertions(+), 634 deletions(-) create mode 100755 customer_portal/docs/models/shared/activitycallercontext.md create mode 100755 customer_portal/docs/models/shared/activitycallercontextportalauth.md create mode 100755 customer_portal/docs/models/shared/activitycallercontextportalauthtoken.md create mode 100755 customer_portal/docs/models/shared/adminuser.md create mode 100755 customer_portal/docs/models/shared/adminuserimageuri.md create mode 100755 customer_portal/docs/models/shared/billingevent.md create mode 100755 customer_portal/docs/models/shared/billingeventreimbursementevent.md create mode 100755 customer_portal/docs/models/shared/billingeventreimbursementeventcontract.md create mode 100755 customer_portal/docs/models/shared/billingeventreimbursementeventcontractdollarrelation.md create mode 100755 customer_portal/docs/models/shared/billingeventreimbursementeventtype.md create mode 100755 customer_portal/docs/models/shared/contact.md create mode 100755 customer_portal/docs/models/shared/contactschema.md create mode 100755 customer_portal/docs/models/shared/contract.md create mode 100755 customer_portal/docs/models/shared/contractschema.md create mode 100755 customer_portal/docs/models/shared/entityitem.md create mode 100755 customer_portal/docs/models/shared/file.md create mode 100755 customer_portal/docs/models/shared/fileitem.md create mode 100755 customer_portal/docs/models/shared/fileitemaccesscontrol.md create mode 100755 customer_portal/docs/models/shared/fileitemrelations.md create mode 100755 customer_portal/docs/models/shared/fileitemschema.md create mode 100755 customer_portal/docs/models/shared/fileitemtype.md create mode 100755 customer_portal/docs/models/shared/fileschema.md create mode 100755 customer_portal/docs/models/shared/installmentevent.md create mode 100755 customer_portal/docs/models/shared/installmenteventcontract.md create mode 100755 customer_portal/docs/models/shared/installmenteventcontractdollarrelation.md create mode 100755 customer_portal/docs/models/shared/installmenteventtype.md create mode 100755 customer_portal/docs/models/shared/opportunity.md create mode 100755 customer_portal/docs/models/shared/opportunityschema.md create mode 100755 customer_portal/docs/models/shared/order.md create mode 100755 customer_portal/docs/models/shared/orderschema.md create mode 100755 customer_portal/docs/models/shared/portaluser.md create mode 100755 customer_portal/docs/models/shared/portaluserschema.md create mode 100755 customer_portal/docs/models/shared/product.md create mode 100755 customer_portal/docs/models/shared/productschema.md create mode 100755 customer_portal/docs/models/shared/schema.md create mode 100755 customer_portal/src/epilot/models/shared/activitycallercontext.py create mode 100755 customer_portal/src/epilot/models/shared/adminuser.py create mode 100755 customer_portal/src/epilot/models/shared/billingevent.py create mode 100755 customer_portal/src/epilot/models/shared/contact.py create mode 100755 customer_portal/src/epilot/models/shared/contract.py create mode 100755 customer_portal/src/epilot/models/shared/entityitem.py create mode 100755 customer_portal/src/epilot/models/shared/file.py create mode 100755 customer_portal/src/epilot/models/shared/fileitem.py create mode 100755 customer_portal/src/epilot/models/shared/installmentevent.py create mode 100755 customer_portal/src/epilot/models/shared/opportunity.py create mode 100755 customer_portal/src/epilot/models/shared/order.py create mode 100755 customer_portal/src/epilot/models/shared/portaluser.py create mode 100755 customer_portal/src/epilot/models/shared/product.py create mode 100755 customer_portal/src/epilot/models/shared/schema.py diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 9b31a0ab6..b5292e900 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -636,4 +636,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.99.2 (2.155.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.2] customer_portal \ No newline at end of file +- [python v1.48.2] customer_portal + +## 2023-10-18 00:30:34 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.0.0] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md index ceb913187..f5783fd8c 100755 --- a/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md +++ b/customer_portal/docs/models/operations/addendcustomerrelationtoentity200applicationjson.md @@ -5,7 +5,7 @@ Portal user is added as a relation to the requested entity successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `entity` | dict[str, *Any*] | :heavy_minus_sign: | N/A | -| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `entity` | [Optional[shared.EntityItem]](../../models/shared/entityitem.md) | :heavy_minus_sign: | N/A | +| `relations` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createcustomentityactivityrequest.md b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md index 544ca4251..d1a3a4a6c 100755 --- a/customer_portal/docs/models/operations/createcustomentityactivityrequest.md +++ b/customer_portal/docs/models/operations/createcustomentityactivityrequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `activity` | [Optional[shared.Activity]](../../models/shared/activity.md) | :heavy_minus_sign: | N/A | -| `entities` | list[*str*] | :heavy_minus_sign: | Comma-separated list of entities which the activity primarily concerns | \ No newline at end of file +| `entities` | List[*str*] | :heavy_minus_sign: | Comma-separated list of entities which the activity primarily concerns | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createssouser201applicationjson.md b/customer_portal/docs/models/operations/createssouser201applicationjson.md index 788716691..ee00732ab 100755 --- a/customer_portal/docs/models/operations/createssouser201applicationjson.md +++ b/customer_portal/docs/models/operations/createssouser201applicationjson.md @@ -5,6 +5,6 @@ SSO User created successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `data` | [Optional[shared.PortalUser]](../../models/shared/portaluser.md) | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/createuser201applicationjson.md b/customer_portal/docs/models/operations/createuser201applicationjson.md index f2ec9c9c2..de0e9abaa 100755 --- a/customer_portal/docs/models/operations/createuser201applicationjson.md +++ b/customer_portal/docs/models/operations/createuser201applicationjson.md @@ -8,4 +8,4 @@ User created successfully. | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | `message` | [CreateUser201ApplicationJSONMessage](../../models/operations/createuser201applicationjsonmessage.md) | :heavy_check_mark: | N/A | -| `response` | dict[str, *Any*] | :heavy_check_mark: | The portal user entity | \ No newline at end of file +| `response` | [shared.PortalUser](../../models/shared/portaluser.md) | :heavy_check_mark: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md index 260b05f76..f56cf1ce0 100755 --- a/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md +++ b/customer_portal/docs/models/operations/deleteentityfile202applicationjson.md @@ -7,4 +7,4 @@ The files are removed from the requested entity successfully. | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `deleted_files` | list[*str*] | :heavy_minus_sign: | N/A | 00250c75-afd4-4c94-ba7a-ba0df638eba5 | \ No newline at end of file +| `deleted_files` | List[*str*] | :heavy_minus_sign: | N/A | 00250c75-afd4-4c94-ba7a-ba0df638eba5 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md index 8097e36c9..290dc29cf 100755 --- a/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md +++ b/customer_portal/docs/models/operations/extrapermissionattributes200applicationjsondata.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `contact` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `contract` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `meter_counter` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `opportunity` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | -| `order` | list[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `contact` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `contract` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `meter_counter` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `opportunity` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | +| `order` | List[[shared.ExtraSchemaAttributes](../../models/shared/extraschemaattributes.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallcontracts200applicationjson.md b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md index fd0dd5c76..113b9b097 100755 --- a/customer_portal/docs/models/operations/getallcontracts200applicationjson.md +++ b/customer_portal/docs/models/operations/getallcontracts200applicationjson.md @@ -5,6 +5,6 @@ Contracts have been retrieved successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `data` | List[[shared.Contract](../../models/shared/contract.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfiles200applicationjson.md b/customer_portal/docs/models/operations/getallfiles200applicationjson.md index f219c76f9..44b2c786c 100755 --- a/customer_portal/docs/models/operations/getallfiles200applicationjson.md +++ b/customer_portal/docs/models/operations/getallfiles200applicationjson.md @@ -5,7 +5,7 @@ The files have been fetched successfully. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of files for pagination | 50 | -| `results` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of files for pagination | 50 | +| `results` | List[[shared.FileItem](../../models/shared/fileitem.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallfilesrequest.md b/customer_portal/docs/models/operations/getallfilesrequest.md index ddb7947dc..54a6b37b3 100755 --- a/customer_portal/docs/models/operations/getallfilesrequest.md +++ b/customer_portal/docs/models/operations/getallfilesrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `entity_ids` | list[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | 4910096f-000a-4504-bf5a-d3774ec3032a,7c9f8536-6266-42e8-a0de-c60b61aa81a7 | +| `entity_ids` | List[*str*] | :heavy_minus_sign: | List of entity ids to filter the results | 4910096f-000a-4504-bf5a-d3774ec3032a,7c9f8536-6266-42e8-a0de-c60b61aa81a7 | | `from_` | *float* | :heavy_check_mark: | N/A | 0 | | `size` | *float* | :heavy_check_mark: | N/A | 0 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallopportunities200applicationjson.md b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md index d1150c506..cde064a54 100755 --- a/customer_portal/docs/models/operations/getallopportunities200applicationjson.md +++ b/customer_portal/docs/models/operations/getallopportunities200applicationjson.md @@ -5,6 +5,6 @@ The opportunities is retrieved successfully for the portal user. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `data` | List[[shared.Opportunity](../../models/shared/opportunity.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallorders200applicationjson.md b/customer_portal/docs/models/operations/getallorders200applicationjson.md index 4b8dc13c7..0ec746af0 100755 --- a/customer_portal/docs/models/operations/getallorders200applicationjson.md +++ b/customer_portal/docs/models/operations/getallorders200applicationjson.md @@ -5,6 +5,6 @@ The orders for the portal user returned successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `data` | List[[shared.Order](../../models/shared/order.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md index 85f25ff36..3245cf4ef 100755 --- a/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md +++ b/customer_portal/docs/models/operations/getallportalconfigs200applicationjson.md @@ -7,4 +7,4 @@ All portal configs retrieved successfully. | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `data` | list[[shared.PortalConfig](../../models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `data` | List[[shared.PortalConfig](../../models/shared/portalconfig.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingevents200applicationjson.md b/customer_portal/docs/models/operations/getbillingevents200applicationjson.md index 6ac5c45af..f32ea982d 100755 --- a/customer_portal/docs/models/operations/getbillingevents200applicationjson.md +++ b/customer_portal/docs/models/operations/getbillingevents200applicationjson.md @@ -5,7 +5,7 @@ List billing events for all contracts/orders of specific customer ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of billing events for pagination | 50 | -| `results` | list[*Any*] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `hits` | *Optional[float]* | :heavy_minus_sign: | Total number of billing events for pagination | 50 | +| `results` | List[[Union[shared.InstallmentEvent, shared.BillingEventReimbursementEvent]](../../models/shared/billingevent.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getbillingeventsrequest.md b/customer_portal/docs/models/operations/getbillingeventsrequest.md index bebafff57..a11baae69 100755 --- a/customer_portal/docs/models/operations/getbillingeventsrequest.md +++ b/customer_portal/docs/models/operations/getbillingeventsrequest.md @@ -8,5 +8,5 @@ | `customer_id` | *str* | :heavy_check_mark: | N/A | | `date_after` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | | `date_before` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | N/A | -| `entity_id` | list[*str*] | :heavy_minus_sign: | N/A | -| `event_type` | list[[GetBillingEventsEventType](../../models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `entity_id` | List[*str*] | :heavy_minus_sign: | N/A | +| `event_type` | List[[GetBillingEventsEventType](../../models/operations/getbillingeventseventtype.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontact200applicationjson.md b/customer_portal/docs/models/operations/getcontact200applicationjson.md index a3a523d73..a6665c1cb 100755 --- a/customer_portal/docs/models/operations/getcontact200applicationjson.md +++ b/customer_portal/docs/models/operations/getcontact200applicationjson.md @@ -5,8 +5,8 @@ Retrieves the mapped contact of the logged in user successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | -| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | -| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `entity` | [Optional[shared.Contact]](../../models/shared/contact.md) | :heavy_minus_sign: | The mapped contact of the portal user | +| `files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | N/A | +| `relations` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getcontract200applicationjson.md b/customer_portal/docs/models/operations/getcontract200applicationjson.md index e7c235a5c..d3e16c55e 100755 --- a/customer_portal/docs/models/operations/getcontract200applicationjson.md +++ b/customer_portal/docs/models/operations/getcontract200applicationjson.md @@ -5,10 +5,10 @@ The requested contract returned successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The contract entity | -| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested contract | -| `orders` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related orders of the requested contract | -| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested contract | -| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `entity` | [Optional[shared.Contract]](../../models/shared/contract.md) | :heavy_minus_sign: | The contract entity | +| `files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | The related files of the requested contract | +| `orders` | List[[shared.Order](../../models/shared/order.md)] | :heavy_minus_sign: | The related orders of the requested contract | +| `relations` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | The related entities of the requested contract | +| `workflow` | List[Dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getecpcontact200applicationjson.md b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md index 25445413c..ab39f6b01 100755 --- a/customer_portal/docs/models/operations/getecpcontact200applicationjson.md +++ b/customer_portal/docs/models/operations/getecpcontact200applicationjson.md @@ -5,6 +5,6 @@ The contact returned successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `data` | [Optional[shared.Contact]](../../models/shared/contact.md) | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md index 759cccea9..97df4e76b 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiers200applicationjson.md @@ -5,6 +5,6 @@ The returned Entities ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `data` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md index 67ee1181a..b3583e6a3 100755 --- a/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md +++ b/customer_portal/docs/models/operations/getentitiesbyidentifiersrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `request_body` | dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | +| `request_body` | Dict[str, *Any*] | :heavy_check_mark: | The entities are retrieved successfully. | | | `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | The slug of an entity | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md index bc8532461..47d80eb50 100755 --- a/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md +++ b/customer_portal/docs/models/operations/getentityidentifiers200applicationjson.md @@ -7,4 +7,4 @@ The identifiers of the requested entity returned successfully. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `data` | list[[GetEntityIdentifiers200ApplicationJSONData](../../models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `data` | List[[GetEntityIdentifiers200ApplicationJSONData](../../models/operations/getentityidentifiers200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilebyid200applicationjson.md b/customer_portal/docs/models/operations/getfilebyid200applicationjson.md index c81d011d8..93522e8e3 100755 --- a/customer_portal/docs/models/operations/getfilebyid200applicationjson.md +++ b/customer_portal/docs/models/operations/getfilebyid200applicationjson.md @@ -5,6 +5,6 @@ The files have been fetched successfully. ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `file` | dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `file` | [Optional[shared.FileItem]](../../models/shared/fileitem.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md index e2c06aff0..6c132d4cd 100755 --- a/customer_portal/docs/models/operations/getfilescountbyentityresponse.md +++ b/customer_portal/docs/models/operations/getfilescountbyentityresponse.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `entity_file_counts` | list[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | +| `entity_file_counts` | List[[shared.EntityFileCount](../../models/shared/entityfilecount.md)] | :heavy_minus_sign: | The file counts have been fetched successfully. | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | | `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/customer_portal/docs/models/operations/getopportunity200applicationjson.md b/customer_portal/docs/models/operations/getopportunity200applicationjson.md index ac9b4abdf..4c27bad62 100755 --- a/customer_portal/docs/models/operations/getopportunity200applicationjson.md +++ b/customer_portal/docs/models/operations/getopportunity200applicationjson.md @@ -5,10 +5,10 @@ The returned opportunities ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The opportunity entity | -| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested opportunity | -| `orders` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related orders of the requested opportunity | -| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested opportunity | -| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested opportunity | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `entity` | [Optional[shared.Opportunity]](../../models/shared/opportunity.md) | :heavy_minus_sign: | The opportunity entity | +| `files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | The related files of the requested opportunity | +| `orders` | List[[shared.Order](../../models/shared/order.md)] | :heavy_minus_sign: | The related orders of the requested opportunity | +| `relations` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | The related entities of the requested opportunity | +| `workflow` | List[Dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested opportunity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getorder200applicationjson.md b/customer_portal/docs/models/operations/getorder200applicationjson.md index 0e3e5c091..98b806f7a 100755 --- a/customer_portal/docs/models/operations/getorder200applicationjson.md +++ b/customer_portal/docs/models/operations/getorder200applicationjson.md @@ -5,11 +5,11 @@ The requested order has been retrieved successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `cross_sellable_products` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related cross sellable products of the requested order | -| `entity` | dict[str, *Any*] | :heavy_minus_sign: | The order entity | -| `files` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related files of the requested order | -| `products` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related products of the requested order | -| `relations` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related entities of the requested order | -| `workflow` | list[dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested order | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `cross_sellable_products` | List[[shared.Product](../../models/shared/product.md)] | :heavy_minus_sign: | The related cross sellable products of the requested order | +| `entity` | [Optional[shared.Order]](../../models/shared/order.md) | :heavy_minus_sign: | The order entity | +| `files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | The related files of the requested order | +| `products` | List[[shared.Product](../../models/shared/product.md)] | :heavy_minus_sign: | The related products of the requested order | +| `relations` | List[[shared.EntityItem](../../models/shared/entityitem.md)] | :heavy_minus_sign: | The related entities of the requested order | +| `workflow` | List[Dict[str, *Any*]] | :heavy_minus_sign: | The related workflows of the requested order | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getportaluser200applicationjson.md b/customer_portal/docs/models/operations/getportaluser200applicationjson.md index b1b82f58a..356266ba4 100755 --- a/customer_portal/docs/models/operations/getportaluser200applicationjson.md +++ b/customer_portal/docs/models/operations/getportaluser200applicationjson.md @@ -5,6 +5,6 @@ Portal user returned successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `data` | [Optional[shared.PortalUser]](../../models/shared/portaluser.md) | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getschemas200applicationjson.md b/customer_portal/docs/models/operations/getschemas200applicationjson.md index 8e9248ea8..21018393c 100755 --- a/customer_portal/docs/models/operations/getschemas200applicationjson.md +++ b/customer_portal/docs/models/operations/getschemas200applicationjson.md @@ -5,6 +5,6 @@ Retrieved schemas for an organization successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `schemas` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `schemas` | List[[shared.Schema](../../models/shared/schema.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md index 7b671ed1d..c4e79f82e 100755 --- a/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md +++ b/customer_portal/docs/models/operations/getvalidsecondaryattributes200applicationjson.md @@ -7,4 +7,4 @@ Valid secondary attributes for the contact entity are returned successfully. | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `data` | list[[GetValidSecondaryAttributes200ApplicationJSONData](../../models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `data` | List[[GetValidSecondaryAttributes200ApplicationJSONData](../../models/operations/getvalidsecondaryattributes200applicationjsondata.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveentityfile201applicationjson.md b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md index 9c09895b5..5f7e4f3cb 100755 --- a/customer_portal/docs/models/operations/saveentityfile201applicationjson.md +++ b/customer_portal/docs/models/operations/saveentityfile201applicationjson.md @@ -5,6 +5,6 @@ The files have been saved to the entitiy successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `created_files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `created_files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md index ea6002415..d7df36407 100755 --- a/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md +++ b/customer_portal/docs/models/operations/saveportalfiles201applicationjson.md @@ -5,6 +5,6 @@ The files have been saved to the portal successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `created_files` | list[dict[str, *Any*]] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `created_files` | List[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md b/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md index 938657cc6..ae4274cde 100755 --- a/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md +++ b/customer_portal/docs/models/operations/trackfiledownloaded200applicationjson.md @@ -5,6 +5,6 @@ File download tracked successfully. ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `file` | dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `file` | [Optional[shared.FileItem]](../../models/shared/fileitem.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontact200applicationjson.md b/customer_portal/docs/models/operations/updatecontact200applicationjson.md index 3a90d06fa..7b59a927a 100755 --- a/customer_portal/docs/models/operations/updatecontact200applicationjson.md +++ b/customer_portal/docs/models/operations/updatecontact200applicationjson.md @@ -5,6 +5,6 @@ Updated the contact details successfully. ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `data` | [Optional[shared.Contact]](../../models/shared/contact.md) | :heavy_minus_sign: | The mapped contact of the portal user | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontract200applicationjson.md b/customer_portal/docs/models/operations/updatecontract200applicationjson.md index 6b188e828..b6f3e711a 100755 --- a/customer_portal/docs/models/operations/updatecontract200applicationjson.md +++ b/customer_portal/docs/models/operations/updatecontract200applicationjson.md @@ -5,6 +5,6 @@ Updated the contract successfully. ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The contract entity | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `data` | [Optional[shared.Contract]](../../models/shared/contract.md) | :heavy_minus_sign: | The contract entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updatecontractrequest.md b/customer_portal/docs/models/operations/updatecontractrequest.md index 4fbbcce0d..0a1723f88 100755 --- a/customer_portal/docs/models/operations/updatecontractrequest.md +++ b/customer_portal/docs/models/operations/updatecontractrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested contract body to update | | +| `request_body` | Dict[str, *Any*] | :heavy_check_mark: | Requested contract body to update | | | `id` | *str* | :heavy_check_mark: | The ID of the contract | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunity200applicationjson.md b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md index e284929de..b218a5c54 100755 --- a/customer_portal/docs/models/operations/updateopportunity200applicationjson.md +++ b/customer_portal/docs/models/operations/updateopportunity200applicationjson.md @@ -5,6 +5,6 @@ Updated the opportunity successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The opportunity entity | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `data` | [Optional[shared.Opportunity]](../../models/shared/opportunity.md) | :heavy_minus_sign: | The opportunity entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateopportunityrequest.md b/customer_portal/docs/models/operations/updateopportunityrequest.md index e7ce79093..c2e2a4683 100755 --- a/customer_portal/docs/models/operations/updateopportunityrequest.md +++ b/customer_portal/docs/models/operations/updateopportunityrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `request_body` | dict[str, *Any*] | :heavy_check_mark: | Requested opportunity body to update | | +| `request_body` | Dict[str, *Any*] | :heavy_check_mark: | Requested opportunity body to update | | | `id` | *str* | :heavy_check_mark: | The ID of opportunity | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorder200applicationjson.md b/customer_portal/docs/models/operations/updateorder200applicationjson.md index 03b6adceb..3199a0dc0 100755 --- a/customer_portal/docs/models/operations/updateorder200applicationjson.md +++ b/customer_portal/docs/models/operations/updateorder200applicationjson.md @@ -5,6 +5,6 @@ Updated the order details successfully. ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The order entity | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `data` | [Optional[shared.Order]](../../models/shared/order.md) | :heavy_minus_sign: | The order entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateorderrequest.md b/customer_portal/docs/models/operations/updateorderrequest.md index da87be5eb..8f397f8ae 100755 --- a/customer_portal/docs/models/operations/updateorderrequest.md +++ b/customer_portal/docs/models/operations/updateorderrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `request_body` | dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `request_body` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | | `id` | *str* | :heavy_check_mark: | The ID of order | 5da0a718-c822-403d-9f5d-20d4584e0528 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/updateportaluser200applicationjson.md b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md index e5f7095eb..9b6f581e0 100755 --- a/customer_portal/docs/models/operations/updateportaluser200applicationjson.md +++ b/customer_portal/docs/models/operations/updateportaluser200applicationjson.md @@ -5,6 +5,6 @@ The portal user updated successfully. ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `data` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `data` | [Optional[shared.PortalUser]](../../models/shared/portaluser.md) | :heavy_minus_sign: | The portal user entity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/userexists200applicationjson.md b/customer_portal/docs/models/operations/userexists200applicationjson.md index 755e59b5b..6de1bf9df 100755 --- a/customer_portal/docs/models/operations/userexists200applicationjson.md +++ b/customer_portal/docs/models/operations/userexists200applicationjson.md @@ -5,7 +5,7 @@ Returned whether the user exists in the portal or not successfully. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `exists` | *bool* | :heavy_check_mark: | Whether the user exists in the portal | true | -| `user` | dict[str, *Any*] | :heavy_minus_sign: | The portal user entity | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `exists` | *bool* | :heavy_check_mark: | Whether the user exists in the portal | true | +| `user` | [Optional[shared.PortalUser]](../../models/shared/portaluser.md) | :heavy_minus_sign: | The portal user entity | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/actionwidget.md b/customer_portal/docs/models/shared/actionwidget.md index 4cffcdda0..ba93eeee9 100755 --- a/customer_portal/docs/models/shared/actionwidget.md +++ b/customer_portal/docs/models/shared/actionwidget.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `actions` | List[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | | `headline` | [Optional[ActionWidgetHeadline]](../../models/shared/actionwidgetheadline.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | | `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | diff --git a/customer_portal/docs/models/shared/activity.md b/customer_portal/docs/models/shared/activity.md index 7265c71e2..ac2a014df 100755 --- a/customer_portal/docs/models/shared/activity.md +++ b/customer_portal/docs/models/shared/activity.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | | `message` | *str* | :heavy_check_mark: | Message for activity. Supports handlebars syntax. | {{caller}} did something with {{entity payload.entity.id}}. | -| `payload` | dict[str, *Any*] | :heavy_minus_sign: | N/A | [object Object] | +| `payload` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | [object Object] | | `title` | *str* | :heavy_check_mark: | Title for activity. Supports handlebars syntax. | My custom activity | | `type` | *str* | :heavy_check_mark: | N/A | MyCustomActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activitycallercontext.md b/customer_portal/docs/models/shared/activitycallercontext.md new file mode 100755 index 000000000..e74232602 --- /dev/null +++ b/customer_portal/docs/models/shared/activitycallercontext.md @@ -0,0 +1,9 @@ +# ActivityCallerContext + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `portal_auth` | [Optional[ActivityCallerContextPortalAuth]](../../models/shared/activitycallercontextportalauth.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activitycallercontextportalauth.md b/customer_portal/docs/models/shared/activitycallercontextportalauth.md new file mode 100755 index 000000000..16c2e085f --- /dev/null +++ b/customer_portal/docs/models/shared/activitycallercontextportalauth.md @@ -0,0 +1,8 @@ +# ActivityCallerContextPortalAuth + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `token` | [Optional[ActivityCallerContextPortalAuthToken]](../../models/shared/activitycallercontextportalauthtoken.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activitycallercontextportalauthtoken.md b/customer_portal/docs/models/shared/activitycallercontextportalauthtoken.md new file mode 100755 index 000000000..860b6c9f9 --- /dev/null +++ b/customer_portal/docs/models/shared/activitycallercontextportalauthtoken.md @@ -0,0 +1,12 @@ +# ActivityCallerContextPortalAuthToken + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `cognito_username` | *Optional[str]* | :heavy_minus_sign: | N/A | john@doe.com | +| `custom_contact_entity_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 7579d22f-9400-41d1-b460-04730239ee91 | +| `custom_portal_user_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 06c78f9d-af75-4483-893d-a3fad524400f | +| `email` | *Optional[str]* | :heavy_minus_sign: | N/A | john@doe.com | +| `sub` | *Optional[str]* | :heavy_minus_sign: | N/A | 8cc73157-3dc4-47f3-b163-d3a5039bba72 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/activityitempayload.md b/customer_portal/docs/models/shared/activityitempayload.md index e5bcf3f02..9bc557e17 100755 --- a/customer_portal/docs/models/shared/activityitempayload.md +++ b/customer_portal/docs/models/shared/activityitempayload.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `caller` | dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `caller` | [Optional[ActivityCallerContext]](../../models/shared/activitycallercontext.md) | :heavy_minus_sign: | N/A | | `entity` | [Optional[ActivityItemPayloadEntity]](../../models/shared/activityitempayloadentity.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/adminuser.md b/customer_portal/docs/models/shared/adminuser.md new file mode 100755 index 000000000..50bb1e14a --- /dev/null +++ b/customer_portal/docs/models/shared/adminuser.md @@ -0,0 +1,15 @@ +# AdminUser + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | John | +| `email` | *Optional[str]* | :heavy_minus_sign: | N/A | j.doe@epilot.cloud | +| `image_uri` | [Optional[AdminUserImageURI]](../../models/shared/adminuserimageuri.md) | :heavy_minus_sign: | N/A | | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | +| `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | 12345 67890 | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | user | +| `user_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123456 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/adminuserimageuri.md b/customer_portal/docs/models/shared/adminuserimageuri.md new file mode 100755 index 000000000..020964a97 --- /dev/null +++ b/customer_portal/docs/models/shared/adminuserimageuri.md @@ -0,0 +1,11 @@ +# AdminUserImageURI + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `key` | *Optional[str]* | :heavy_minus_sign: | N/A | fuafjvoHKsudhfagweucjasdvga | +| `original` | *Optional[str]* | :heavy_minus_sign: | N/A | https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original | +| `thumbnail_32` | *Optional[str]* | :heavy_minus_sign: | N/A | https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original?w=32&h=32 | +| `thumbnail_64` | *Optional[str]* | :heavy_minus_sign: | N/A | https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original?w=64&h=64 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/billingevent.md b/customer_portal/docs/models/shared/billingevent.md new file mode 100755 index 000000000..1560d3b05 --- /dev/null +++ b/customer_portal/docs/models/shared/billingevent.md @@ -0,0 +1,17 @@ +# BillingEvent + + +## Supported Types + +### InstallmentEvent + +```python +billingEvent: shared.InstallmentEvent = /* values here */ +``` + +### BillingEventReimbursementEvent + +```python +billingEvent: shared.BillingEventReimbursementEvent = /* values here */ +``` + diff --git a/customer_portal/docs/models/shared/billingeventreimbursementevent.md b/customer_portal/docs/models/shared/billingeventreimbursementevent.md new file mode 100755 index 000000000..a34fa9b30 --- /dev/null +++ b/customer_portal/docs/models/shared/billingeventreimbursementevent.md @@ -0,0 +1,24 @@ +# BillingEventReimbursementEvent + +A base billing event to be inherited by all billing events. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `billing_amount` | *Optional[int]* | :heavy_minus_sign: | Amount to be paid in cents i.e. precision 2 | 10050 | +| `billing_amount_decimal` | *Optional[str]* | :heavy_minus_sign: | Amount to be paid in cents in decimal string representation | 100.50 | +| `billing_currency` | *Optional[str]* | :heavy_minus_sign: | Currency code in ISO 4217 format | EUR | +| `contract` | [BillingEventReimbursementEventContract](../../models/shared/billingeventreimbursementeventcontract.md) | :heavy_check_mark: | N/A | | +| `due_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Date on which the installment is due. | | +| `external_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for event, used to reference the event to a 3rd party resource such as a SAP Installment. | d4fb2a4e-3f74-4fc4-8fba-6fdaaaa3b08e | +| `paid_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Date on which the customer is reimbursed. | | +| `type` | [BillingEventReimbursementEventType](../../models/shared/billingeventreimbursementeventtype.md) | :heavy_check_mark: | Type of the billing event. | reimbursement | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/billingeventreimbursementeventcontract.md b/customer_portal/docs/models/shared/billingeventreimbursementeventcontract.md new file mode 100755 index 000000000..c620d816e --- /dev/null +++ b/customer_portal/docs/models/shared/billingeventreimbursementeventcontract.md @@ -0,0 +1,8 @@ +# BillingEventReimbursementEventContract + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `dollar_relation` | List[[BillingEventReimbursementEventContractDollarRelation](../../models/shared/billingeventreimbursementeventcontractdollarrelation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/billingeventreimbursementeventcontractdollarrelation.md b/customer_portal/docs/models/shared/billingeventreimbursementeventcontractdollarrelation.md new file mode 100755 index 000000000..ccad9f15e --- /dev/null +++ b/customer_portal/docs/models/shared/billingeventreimbursementeventcontractdollarrelation.md @@ -0,0 +1,8 @@ +# BillingEventReimbursementEventContractDollarRelation + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `entity_id` | *Optional[str]* | :heavy_minus_sign: | Entity ID for the related contract. | f589786b-3024-43cd-9cb3-5a3c953f2896 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/billingeventreimbursementeventtype.md b/customer_portal/docs/models/shared/billingeventreimbursementeventtype.md new file mode 100755 index 000000000..50f3c4475 --- /dev/null +++ b/customer_portal/docs/models/shared/billingeventreimbursementeventtype.md @@ -0,0 +1,10 @@ +# BillingEventReimbursementEventType + +Type of the billing event. + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `REIMBURSEMENT` | reimbursement | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contact.md b/customer_portal/docs/models/shared/contact.md new file mode 100755 index 000000000..466bba802 --- /dev/null +++ b/customer_portal/docs/models/shared/contact.md @@ -0,0 +1,17 @@ +# Contact + +The mapped contact of the portal user + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [ContactSchema](../../models/shared/contactschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactcountrequest.md b/customer_portal/docs/models/shared/contactcountrequest.md index 6e99709b9..e97b65da9 100755 --- a/customer_portal/docs/models/shared/contactcountrequest.md +++ b/customer_portal/docs/models/shared/contactcountrequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `contact_identifiers` | dict[str, *str*] | :heavy_check_mark: | Identifiers to identify a contact | | +| `contact_identifiers` | Dict[str, *str*] | :heavy_check_mark: | Identifiers to identify a contact | | | `org_id` | *str* | :heavy_check_mark: | ID of the organization | 728 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contactschema.md b/customer_portal/docs/models/shared/contactschema.md new file mode 100755 index 000000000..b70ec17c3 --- /dev/null +++ b/customer_portal/docs/models/shared/contactschema.md @@ -0,0 +1,8 @@ +# ContactSchema + + +## Values + +| Name | Value | +| --------- | --------- | +| `CONTACT` | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contract.md b/customer_portal/docs/models/shared/contract.md new file mode 100755 index 000000000..b90ecad77 --- /dev/null +++ b/customer_portal/docs/models/shared/contract.md @@ -0,0 +1,17 @@ +# Contract + +The contract entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [ContractSchema](../../models/shared/contractschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractschema.md b/customer_portal/docs/models/shared/contractschema.md new file mode 100755 index 000000000..939a11f34 --- /dev/null +++ b/customer_portal/docs/models/shared/contractschema.md @@ -0,0 +1,8 @@ +# ContractSchema + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CONTRACT` | contract | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/createuserrequest.md b/customer_portal/docs/models/shared/createuserrequest.md index d908f12c1..2de66c9a7 100755 --- a/customer_portal/docs/models/shared/createuserrequest.md +++ b/customer_portal/docs/models/shared/createuserrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | | `contact_id` | *Optional[str]* | :heavy_minus_sign: | ID of the contact | 123456 | -| `contact_identifiers` | dict[str, *str*] | :heavy_minus_sign: | Identifiers to identify a contact | | +| `contact_identifiers` | Dict[str, *str*] | :heavy_minus_sign: | Identifiers to identify a contact | | | `email` | *str* | :heavy_check_mark: | User's email address | testemail921@yopmail.com | | `first_name` | *Optional[str]* | :heavy_minus_sign: | First Name of the portal user | John | | `last_name` | *Optional[str]* | :heavy_minus_sign: | Last Name of the portal user | Doe | diff --git a/customer_portal/docs/models/shared/deleteentityfile.md b/customer_portal/docs/models/shared/deleteentityfile.md index 5027fd5ef..4c030b410 100755 --- a/customer_portal/docs/models/shared/deleteentityfile.md +++ b/customer_portal/docs/models/shared/deleteentityfile.md @@ -7,4 +7,4 @@ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | | `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | | `entity_type` | *str* | :heavy_check_mark: | Entity type | order | -| `file_entity_ids` | list[*str*] | :heavy_check_mark: | Array of file entity IDs | 12345 | \ No newline at end of file +| `file_entity_ids` | List[*str*] | :heavy_check_mark: | Array of file entity IDs | 12345 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/entityitem.md b/customer_portal/docs/models/shared/entityitem.md new file mode 100755 index 000000000..ec6fdc1d9 --- /dev/null +++ b/customer_portal/docs/models/shared/entityitem.md @@ -0,0 +1,15 @@ +# EntityItem + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/file.md b/customer_portal/docs/models/shared/file.md new file mode 100755 index 000000000..23cf17608 --- /dev/null +++ b/customer_portal/docs/models/shared/file.md @@ -0,0 +1,17 @@ +# File + +The file entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [FileSchema](../../models/shared/fileschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileitem.md b/customer_portal/docs/models/shared/fileitem.md new file mode 100755 index 000000000..b33f4bffb --- /dev/null +++ b/customer_portal/docs/models/shared/fileitem.md @@ -0,0 +1,24 @@ +# FileItem + +The file entity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `relations` | List[[FileItemRelations](../../models/shared/fileitemrelations.md)] | :heavy_minus_sign: | N/A | | +| `schema` | [FileItemSchema](../../models/shared/fileitemschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `access_control` | [Optional[FileItemAccessControl]](../../models/shared/fileitemaccesscontrol.md) | :heavy_minus_sign: | N/A | | +| `filename` | *Optional[str]* | :heavy_minus_sign: | N/A | document.pdf | +| `is_new` | *Optional[bool]* | :heavy_minus_sign: | Indicate whether the user has not seen/downloaded the file before | | +| `mime_type` | *Optional[str]* | :heavy_minus_sign: | MIME type of the file | application/pdf | +| `public_url` | *Optional[str]* | :heavy_minus_sign: | Direct URL for file (public only if file access control is public-read) | https://epilot-files-prod.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf | +| `type` | [Optional[FileItemType]](../../models/shared/fileitemtype.md) | :heavy_minus_sign: | Human readable type for file | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileitemaccesscontrol.md b/customer_portal/docs/models/shared/fileitemaccesscontrol.md new file mode 100755 index 000000000..fb93666ca --- /dev/null +++ b/customer_portal/docs/models/shared/fileitemaccesscontrol.md @@ -0,0 +1,9 @@ +# FileItemAccessControl + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `PRIVATE` | private | +| `PUBLIC_READ` | public-read | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileitemrelations.md b/customer_portal/docs/models/shared/fileitemrelations.md new file mode 100755 index 000000000..f2afbd58f --- /dev/null +++ b/customer_portal/docs/models/shared/fileitemrelations.md @@ -0,0 +1,10 @@ +# FileItemRelations + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `schema` | [Optional[EntitySlug]](../../models/shared/entityslug.md) | :heavy_minus_sign: | URL-friendly identifier for the entity schema | contact | +| `title` | *Optional[str]* | :heavy_minus_sign: | The title of the parent entity | Opportunity ABC | +| `entity_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the parent entity | d8dffa9a-6c90-4c4e-b8d1-032194b25526 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileitemschema.md b/customer_portal/docs/models/shared/fileitemschema.md new file mode 100755 index 000000000..f89d24203 --- /dev/null +++ b/customer_portal/docs/models/shared/fileitemschema.md @@ -0,0 +1,8 @@ +# FileItemSchema + + +## Values + +| Name | Value | +| ------ | ------ | +| `FILE` | file | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileitemtype.md b/customer_portal/docs/models/shared/fileitemtype.md new file mode 100755 index 000000000..d7a4dba0a --- /dev/null +++ b/customer_portal/docs/models/shared/fileitemtype.md @@ -0,0 +1,21 @@ +# FileItemType + +Human readable type for file + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `DOCUMENT` | document | +| `DOCUMENT_TEMPLATE` | document_template | +| `TEXT` | text | +| `IMAGE` | image | +| `VIDEO` | video | +| `AUDIO` | audio | +| `SPREADSHEET` | spreadsheet | +| `PRESENTATION` | presentation | +| `FONT` | font | +| `ARCHIVE` | archive | +| `APPLICATION` | application | +| `UNKNOWN` | unknown | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/fileschema.md b/customer_portal/docs/models/shared/fileschema.md new file mode 100755 index 000000000..675e6f0bf --- /dev/null +++ b/customer_portal/docs/models/shared/fileschema.md @@ -0,0 +1,8 @@ +# FileSchema + + +## Values + +| Name | Value | +| ------ | ------ | +| `FILE` | file | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/installmentevent.md b/customer_portal/docs/models/shared/installmentevent.md new file mode 100755 index 000000000..bb38d8c81 --- /dev/null +++ b/customer_portal/docs/models/shared/installmentevent.md @@ -0,0 +1,24 @@ +# InstallmentEvent + +A base billing event to be inherited by all billing events. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `billing_amount` | *Optional[int]* | :heavy_minus_sign: | Amount to be paid in cents i.e. precision 2 | 10050 | +| `billing_amount_decimal` | *Optional[str]* | :heavy_minus_sign: | Amount to be paid in cents in decimal string representation | 100.50 | +| `billing_currency` | *Optional[str]* | :heavy_minus_sign: | Currency code in ISO 4217 format | EUR | +| `contract` | [InstallmentEventContract](../../models/shared/installmenteventcontract.md) | :heavy_check_mark: | N/A | | +| `due_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | Date on which the installment is due. | | +| `external_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for event, used to reference the event to a 3rd party resource such as a SAP Installment. | d4fb2a4e-3f74-4fc4-8fba-6fdaaaa3b08e | +| `paid_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Date on which the installment is paid by the customer. | | +| `type` | [InstallmentEventType](../../models/shared/installmenteventtype.md) | :heavy_check_mark: | Type of the billing event. | installment | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/installmenteventcontract.md b/customer_portal/docs/models/shared/installmenteventcontract.md new file mode 100755 index 000000000..11fad2234 --- /dev/null +++ b/customer_portal/docs/models/shared/installmenteventcontract.md @@ -0,0 +1,8 @@ +# InstallmentEventContract + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `dollar_relation` | List[[InstallmentEventContractDollarRelation](../../models/shared/installmenteventcontractdollarrelation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/installmenteventcontractdollarrelation.md b/customer_portal/docs/models/shared/installmenteventcontractdollarrelation.md new file mode 100755 index 000000000..e8c074a72 --- /dev/null +++ b/customer_portal/docs/models/shared/installmenteventcontractdollarrelation.md @@ -0,0 +1,8 @@ +# InstallmentEventContractDollarRelation + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `entity_id` | *Optional[str]* | :heavy_minus_sign: | Entity ID for the related contract. | f589786b-3024-43cd-9cb3-5a3c953f2896 | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/installmenteventtype.md b/customer_portal/docs/models/shared/installmenteventtype.md new file mode 100755 index 000000000..745befc04 --- /dev/null +++ b/customer_portal/docs/models/shared/installmenteventtype.md @@ -0,0 +1,10 @@ +# InstallmentEventType + +Type of the billing event. + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `INSTALLMENT` | installment | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/opportunity.md b/customer_portal/docs/models/shared/opportunity.md new file mode 100755 index 000000000..30781f133 --- /dev/null +++ b/customer_portal/docs/models/shared/opportunity.md @@ -0,0 +1,17 @@ +# Opportunity + +The opportunity entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [OpportunitySchema](../../models/shared/opportunityschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/opportunityschema.md b/customer_portal/docs/models/shared/opportunityschema.md new file mode 100755 index 000000000..e62cc3593 --- /dev/null +++ b/customer_portal/docs/models/shared/opportunityschema.md @@ -0,0 +1,8 @@ +# OpportunitySchema + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `OPPORTUNITY` | opportunity | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/order.md b/customer_portal/docs/models/shared/order.md new file mode 100755 index 000000000..e9162adce --- /dev/null +++ b/customer_portal/docs/models/shared/order.md @@ -0,0 +1,17 @@ +# Order + +The order entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [OrderSchema](../../models/shared/orderschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/orderschema.md b/customer_portal/docs/models/shared/orderschema.md new file mode 100755 index 000000000..3dc7b99a9 --- /dev/null +++ b/customer_portal/docs/models/shared/orderschema.md @@ -0,0 +1,8 @@ +# OrderSchema + + +## Values + +| Name | Value | +| ------- | ------- | +| `ORDER` | order | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfig.md b/customer_portal/docs/models/shared/portalconfig.md index 56899490d..8d4c0d933 100755 --- a/customer_portal/docs/models/shared/portalconfig.md +++ b/customer_portal/docs/models/shared/portalconfig.md @@ -7,18 +7,18 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cognito_details` | [Optional[PortalConfigCognitoDetails]](../../models/shared/portalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | +| `contact_identifiers` | List[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | | `default_user_to_notify` | [Optional[PortalConfigDefaultUserToNotify]](../../models/shared/portalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | | `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | | `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[PortalConfigEntityEditRules](../../models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_actions` | List[[PortalConfigEntityActions](../../models/shared/portalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | List[[PortalConfigEntityEditRules](../../models/shared/portalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | | `entity_identifiers` | [Optional[PortalConfigEntityIdentifiers]](../../models/shared/portalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | | `feature_settings` | [Optional[PortalConfigFeatureSettings]](../../models/shared/portalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `grants` | List[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `id` | *Optional[str]* | :heavy_minus_sign: | ID of the organization | 12345 | | `images` | [Optional[PortalConfigImages]](../../models/shared/portalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | diff --git a/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md index 46bd40c7d..e53e989d3 100755 --- a/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md +++ b/customer_portal/docs/models/shared/portalconfigdefaultusertonotify.md @@ -7,4 +7,4 @@ Default 360 user to notify upon an internal notification | Field | Type | Required | Description | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `on_pending_user` | list[dict[str, *Any*]] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file +| `on_pending_user` | List[[AdminUser](../../models/shared/adminuser.md)] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md index 7e63fc93c..28baee4a2 100755 --- a/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md +++ b/customer_portal/docs/models/shared/portalconfigentityidentifierstype.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | +| `attributes` | List[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | | `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portaluser.md b/customer_portal/docs/models/shared/portaluser.md new file mode 100755 index 000000000..1a5888dcc --- /dev/null +++ b/customer_portal/docs/models/shared/portaluser.md @@ -0,0 +1,17 @@ +# PortalUser + +The portal user entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [PortalUserSchema](../../models/shared/portaluserschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portaluserschema.md b/customer_portal/docs/models/shared/portaluserschema.md new file mode 100755 index 000000000..0b4114a6e --- /dev/null +++ b/customer_portal/docs/models/shared/portaluserschema.md @@ -0,0 +1,8 @@ +# PortalUserSchema + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `PORTAL_USER` | portal_user | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/product.md b/customer_portal/docs/models/shared/product.md new file mode 100755 index 000000000..60f996ed4 --- /dev/null +++ b/customer_portal/docs/models/shared/product.md @@ -0,0 +1,17 @@ +# Product + +The product entity + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `schema` | [ProductSchema](../../models/shared/productschema.md) | :heavy_check_mark: | N/A | | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/productschema.md b/customer_portal/docs/models/shared/productschema.md new file mode 100755 index 000000000..25998fba2 --- /dev/null +++ b/customer_portal/docs/models/shared/productschema.md @@ -0,0 +1,8 @@ +# ProductSchema + + +## Values + +| Name | Value | +| --------- | --------- | +| `PRODUCT` | product | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfile.md b/customer_portal/docs/models/shared/saveentityfile.md index ca1d86abd..b10398da5 100755 --- a/customer_portal/docs/models/shared/saveentityfile.md +++ b/customer_portal/docs/models/shared/saveentityfile.md @@ -7,4 +7,4 @@ | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | | `entity_id` | *str* | :heavy_check_mark: | Entity ID | 123456 | | `entity_type` | *str* | :heavy_check_mark: | Entity type | order | -| `files` | list[[SaveEntityFileFiles](../../models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| `files` | List[[SaveEntityFileFiles](../../models/shared/saveentityfilefiles.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveentityfilefiles.md b/customer_portal/docs/models/shared/saveentityfilefiles.md index 4bafed2f1..bae2866ac 100755 --- a/customer_portal/docs/models/shared/saveentityfilefiles.md +++ b/customer_portal/docs/models/shared/saveentityfilefiles.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | | `access_control` | [Optional[SaveEntityFileFilesAccessControl]](../../models/shared/saveentityfilefilesaccesscontrol.md) | :heavy_minus_sign: | Access control level for the file | | | `document_type` | *Optional[str]* | :heavy_minus_sign: | Document type | 12345 | | `file_entity_id` | *Optional[str]* | :heavy_minus_sign: | File entity ID | 12345 | diff --git a/customer_portal/docs/models/shared/saveportalfile.md b/customer_portal/docs/models/shared/saveportalfile.md index 6cb85b3f7..6a09ffc3a 100755 --- a/customer_portal/docs/models/shared/saveportalfile.md +++ b/customer_portal/docs/models/shared/saveportalfile.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `files` | list[[SavePortalFileFiles](../../models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | +| `files` | List[[SavePortalFileFiles](../../models/shared/saveportalfilefiles.md)] | :heavy_check_mark: | N/A | | `origin` | [Origin](../../models/shared/origin.md) | :heavy_check_mark: | Origin of the portal | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/saveportalfilefiles.md b/customer_portal/docs/models/shared/saveportalfilefiles.md index 115e17842..45dab5724 100755 --- a/customer_portal/docs/models/shared/saveportalfilefiles.md +++ b/customer_portal/docs/models/shared/saveportalfilefiles.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `tags` | list[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of file tags | 12345 | | `file_type` | *str* | :heavy_check_mark: | File type | orderRightTeaser | | `filename` | *Optional[str]* | :heavy_minus_sign: | File name | 12345 | | `s3ref` | [Optional[SavePortalFileFilesS3ref]](../../models/shared/saveportalfilefiless3ref.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/schema.md b/customer_portal/docs/models/shared/schema.md new file mode 100755 index 000000000..c828ba000 --- /dev/null +++ b/customer_portal/docs/models/shared/schema.md @@ -0,0 +1,9 @@ +# Schema + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `slug` | *Optional[str]* | :heavy_minus_sign: | Slug of the schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidget.md b/customer_portal/docs/models/shared/teaserwidget.md index bcb650d57..3bad74719 100755 --- a/customer_portal/docs/models/shared/teaserwidget.md +++ b/customer_portal/docs/models/shared/teaserwidget.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `actions` | list[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `actions` | List[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | | `headline` | [Optional[TeaserWidgetHeadline]](../../models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | | `left` | [Optional[TeaserWidgetLeft]](../../models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | diff --git a/customer_portal/docs/models/shared/upsertportalconfig.md b/customer_portal/docs/models/shared/upsertportalconfig.md index 145b890cb..fc4430052 100755 --- a/customer_portal/docs/models/shared/upsertportalconfig.md +++ b/customer_portal/docs/models/shared/upsertportalconfig.md @@ -7,18 +7,18 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cognito_details` | [Optional[UpsertPortalConfigCognitoDetails]](../../models/shared/upsertportalconfigcognitodetails.md) | :heavy_minus_sign: | AWS Cognito Pool details for the portal | | | `config` | *Optional[str]* | :heavy_minus_sign: | Stringified object with configuration details | | -| `contact_identifiers` | list[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | +| `contact_identifiers` | List[*str*] | :heavy_minus_sign: | Identifiers to identify a contact. | email,last_name | | ~~`contact_secondary_identifier`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Secondary identifier to identify a contact other than the email | full_name | | `default_user_to_notify` | [Optional[UpsertPortalConfigDefaultUserToNotify]](../../models/shared/upsertportalconfigdefaultusertonotify.md) | :heavy_minus_sign: | Default 360 user to notify upon an internal notification | | | `design_id` | *str* | :heavy_check_mark: | ID of the design used to build the portal | 9ba94f20-b872-4217-a259-2a90a8ee1a29 | | `domain` | *Optional[str]* | :heavy_minus_sign: | The URL on which the portal is accessible | abc.com | | `email_templates` | [Optional[EmailTemplates]](../../models/shared/emailtemplates.md) | :heavy_minus_sign: | Email templates used for authentication and internal processes | | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the portal access | | -| `entity_actions` | list[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | -| `entity_edit_rules` | list[[UpsertPortalConfigEntityEditRules](../../models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | +| `entity_actions` | List[[UpsertPortalConfigEntityActions](../../models/shared/upsertportalconfigentityactions.md)] | :heavy_minus_sign: | Journey actions allowed on an entity by a portal user | | +| `entity_edit_rules` | List[[UpsertPortalConfigEntityEditRules](../../models/shared/upsertportalconfigentityeditrules.md)] | :heavy_minus_sign: | Rules for editing an entity by a portal user | | | `entity_identifiers` | [Optional[UpsertPortalConfigEntityIdentifiers]](../../models/shared/upsertportalconfigentityidentifiers.md) | :heavy_minus_sign: | Identifiers used to identify an entity by a portal user | | | `feature_settings` | [Optional[UpsertPortalConfigFeatureSettings]](../../models/shared/upsertportalconfigfeaturesettings.md) | :heavy_minus_sign: | Feature settings for the portal | | -| `grants` | list[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | +| `grants` | List[[Grant](../../models/shared/grant.md)] | :heavy_minus_sign: | Permissions granted to a portal user while accessing entities | | | `images` | [Optional[UpsertPortalConfigImages]](../../models/shared/upsertportalconfigimages.md) | :heavy_minus_sign: | Teaser & Banner Image web links | | | `is_epilot_domain` | *Optional[bool]* | :heavy_minus_sign: | Mark true if the domain is an Epilot domain | | | `name` | *Optional[str]* | :heavy_minus_sign: | A short name to identify your portal | Installer Portal | diff --git a/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md index 109916a3d..45f05767e 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md +++ b/customer_portal/docs/models/shared/upsertportalconfigdefaultusertonotify.md @@ -7,4 +7,4 @@ Default 360 user to notify upon an internal notification | Field | Type | Required | Description | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `on_pending_user` | list[dict[str, *Any*]] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file +| `on_pending_user` | List[[AdminUser](../../models/shared/adminuser.md)] | :heavy_minus_sign: | Default admin users for pending user notification to notify | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md index e3c9121d2..b23255e71 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md +++ b/customer_portal/docs/models/shared/upsertportalconfigentityidentifierstype.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `attributes` | list[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | +| `attributes` | List[*str*] | :heavy_minus_sign: | Attributes used to identify an entity | contract_number | | `is_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enable/Disable the entity identifier | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalwidget.md b/customer_portal/docs/models/shared/upsertportalwidget.md index 721fb1d93..a75b044a0 100755 --- a/customer_portal/docs/models/shared/upsertportalwidget.md +++ b/customer_portal/docs/models/shared/upsertportalwidget.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `widgets` | list[[Union[EntityWidget, ContentWidget, ActionWidget, TeaserWidget, WidgetBase]](../../models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| `widgets` | List[[Union[EntityWidget, ContentWidget, ActionWidget, TeaserWidget, WidgetBase]](../../models/shared/portalwidget.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 63b15fe60..a2546b482 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -373,9 +373,9 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetBillingEventsRequest( - customer_id='International', + customer_id='Generic', entity_id=[ - 'evil', + 'Facilitator', ], event_type=[ operations.GetBillingEventsEventType.REIMBURSEMENT, @@ -959,7 +959,7 @@ if res.update_contact_200_application_json_object is not None: | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `request` | [dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [Dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.UpdateContactSecurity](../../models/operations/updatecontactsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | @@ -1120,7 +1120,7 @@ if res.update_portal_user_200_application_json_object is not None: | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `request` | [dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [Dict[str, Any]](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | | `security` | [operations.UpdatePortalUserSecurity](../../models/operations/updateportalusersecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 8a83571ee..a5cc5371e 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -672,9 +672,23 @@ req = operations.UpsertPortalRequest( contact_secondary_identifier='full_name', default_user_to_notify=shared.UpsertPortalConfigDefaultUserToNotify( on_pending_user=[ - { - "up": 'array', - }, + shared.AdminUser( + additional_properties={ + "up": 'array', + }, + display_name='John', + email='j.doe@epilot.cloud', + image_uri=shared.AdminUserImageURI( + key='fuafjvoHKsudhfagweucjasdvga', + original='https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original', + thumbnail_32='https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original?w=32&h=32', + thumbnail_64='https://fuafjvoHKsu.cloudimg.io/v7/e-mage-sam-bucket-dev.s3.eu-central-1.amazonaws.com/files/fuafjvoHKsudhfagweucjasdvga/original?w=64&h=64', + ), + org_id='123', + phone='12345 67890', + type='user', + user_id='123456', + ), ], ), design_id='9ba94f20-b872-4217-a259-2a90a8ee1a29', diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 14eb44d3a..eeed767b6 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -67,17 +67,30 @@ src/epilot/models/operations/getpublicportalwidgets.py src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py src/epilot/models/shared/balance.py -src/epilot/models/shared/errorresp.py +src/epilot/models/shared/entityitem.py src/epilot/models/shared/entityslug.py +src/epilot/models/shared/errorresp.py src/epilot/models/shared/activityitem.py +src/epilot/models/shared/activitycallercontext.py src/epilot/models/shared/activity.py src/epilot/models/shared/deleteentityfile.py +src/epilot/models/shared/contract.py +src/epilot/models/shared/fileitem.py +src/epilot/models/shared/opportunity.py +src/epilot/models/shared/order.py +src/epilot/models/shared/billingevent.py +src/epilot/models/shared/installmentevent.py +src/epilot/models/shared/file.py +src/epilot/models/shared/contact.py src/epilot/models/shared/entityfilecount.py +src/epilot/models/shared/product.py src/epilot/models/shared/organizationsettings.py src/epilot/models/shared/portalconfig.py src/epilot/models/shared/origin.py src/epilot/models/shared/grant.py src/epilot/models/shared/emailtemplates.py +src/epilot/models/shared/adminuser.py +src/epilot/models/shared/portaluser.py src/epilot/models/shared/upsertportalwidget.py src/epilot/models/shared/entitywidget.py src/epilot/models/shared/contentwidget.py @@ -85,6 +98,7 @@ src/epilot/models/shared/actionwidget.py src/epilot/models/shared/widgetaction.py src/epilot/models/shared/teaserwidget.py src/epilot/models/shared/widgetbase.py +src/epilot/models/shared/schema.py src/epilot/models/shared/saveentityfile.py src/epilot/models/shared/failedruleerrorresp.py src/epilot/models/shared/createssouserrequest.py @@ -285,14 +299,44 @@ docs/models/operations/userexistsrequest.md docs/models/operations/userexists200applicationjson.md docs/models/operations/userexistsresponse.md docs/models/shared/balance.md -docs/models/shared/errorresp.md +docs/models/shared/entityitem.md docs/models/shared/entityslug.md +docs/models/shared/errorresp.md docs/models/shared/activityitempayloadentity.md docs/models/shared/activityitempayload.md docs/models/shared/activityitem.md +docs/models/shared/activitycallercontextportalauthtoken.md +docs/models/shared/activitycallercontextportalauth.md +docs/models/shared/activitycallercontext.md docs/models/shared/activity.md docs/models/shared/deleteentityfile.md +docs/models/shared/contractschema.md +docs/models/shared/contract.md +docs/models/shared/fileitemrelations.md +docs/models/shared/fileitemschema.md +docs/models/shared/fileitemaccesscontrol.md +docs/models/shared/fileitemtype.md +docs/models/shared/fileitem.md +docs/models/shared/opportunityschema.md +docs/models/shared/opportunity.md +docs/models/shared/orderschema.md +docs/models/shared/order.md +docs/models/shared/billingeventreimbursementeventcontractdollarrelation.md +docs/models/shared/billingeventreimbursementeventcontract.md +docs/models/shared/billingeventreimbursementeventtype.md +docs/models/shared/billingeventreimbursementevent.md +docs/models/shared/billingevent.md +docs/models/shared/installmenteventcontractdollarrelation.md +docs/models/shared/installmenteventcontract.md +docs/models/shared/installmenteventtype.md +docs/models/shared/installmentevent.md +docs/models/shared/fileschema.md +docs/models/shared/file.md +docs/models/shared/contactschema.md +docs/models/shared/contact.md docs/models/shared/entityfilecount.md +docs/models/shared/productschema.md +docs/models/shared/product.md docs/models/shared/organizationsettingsautomationentitymapping.md docs/models/shared/organizationsettingsautomationpreview.md docs/models/shared/organizationsettingscentralinboxpreviewsetting.md @@ -333,6 +377,10 @@ docs/models/shared/origin.md docs/models/shared/granteffect.md docs/models/shared/grant.md docs/models/shared/emailtemplates.md +docs/models/shared/adminuserimageuri.md +docs/models/shared/adminuser.md +docs/models/shared/portaluserschema.md +docs/models/shared/portaluser.md docs/models/shared/upsertportalwidget.md docs/models/shared/portalwidget.md docs/models/shared/entitywidgetheadline.md @@ -360,6 +408,7 @@ docs/models/shared/widgetbaseheadline.md docs/models/shared/widgetbasesubheadline.md docs/models/shared/widgetbasetype.md docs/models/shared/widgetbase.md +docs/models/shared/schema.md docs/models/shared/saveentityfilefilesaccesscontrol.md docs/models/shared/saveentityfilefiless3ref.md docs/models/shared/saveentityfilefiles.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index b88766d23..b8ea9c972 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,21 +2,22 @@ configVersion: 1.0.0 management: docChecksum: 33e07d7c9a5d8b6fbefd6f2bcde81100 docVersion: 1.0.0 - speakeasyVersion: 1.99.2 - generationVersion: 2.155.1 + speakeasyVersion: 1.101.0 + generationVersion: 2.161.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.6 + additionalProperties: 0.1.0 + core: 3.0.2 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 1.48.2 + version: 2.0.0 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/pylintrc b/customer_portal/pylintrc index 3e601a4ed..a2f54e249 100755 --- a/customer_portal/pylintrc +++ b/customer_portal/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/customer_portal/setup.py b/customer_portal/setup.py index b7cfc5a7b..171429d92 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,33 +10,31 @@ setuptools.setup( name="epilot-customer-portal", - version="1.48.2", + 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/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index 54bf16948..a43ec0aff 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations, shared -from typing import Any, Optional, Union +from typing import Any, Dict, List, Optional, Union class Ecp: r"""APIs defined for a portal user""" @@ -488,7 +488,7 @@ def get_files_count_by_entity(self, security: operations.GetFilesCountByEntitySe if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[list[shared.EntityFileCount]]) + out = utils.unmarshal_json(http_res.text, Optional[List[shared.EntityFileCount]]) res.entity_file_counts = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) @@ -815,7 +815,7 @@ def track_file_downloaded(self, request: operations.TrackFileDownloadedRequest, return res - def update_contact(self, request: dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: + def update_contact(self, request: Dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: r"""updateContact Updates the contact details. """ @@ -979,7 +979,7 @@ def update_order(self, request: operations.UpdateOrderRequest, security: operati return res - def update_portal_user(self, request: dict[str, Any], security: operations.UpdatePortalUserSecurity) -> operations.UpdatePortalUserResponse: + def update_portal_user(self, request: Dict[str, Any], security: operations.UpdatePortalUserSecurity) -> operations.UpdatePortalUserResponse: r"""updatePortalUser Update the portal user details """ diff --git a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py index 2add1e78e..40bb89df1 100755 --- a/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py +++ b/customer_portal/src/epilot/models/operations/addendcustomerrelationtoentity.py @@ -3,12 +3,12 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityitem as shared_entityitem from ..shared import entityslug as shared_entityslug from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,7 +18,6 @@ class AddEndCustomerRelationToEntitySecurity: - @dataclasses.dataclass class AddEndCustomerRelationToEntityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -30,17 +29,15 @@ class AddEndCustomerRelationToEntityRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class AddEndCustomerRelationToEntity200ApplicationJSON: r"""Portal user is added as a relation to the requested entity successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + entity: Optional[shared_entityitem.EntityItem] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + relations: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class AddEndCustomerRelationToEntityResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/configuredistribution.py b/customer_portal/src/epilot/models/operations/configuredistribution.py index 266efdbe8..5e7c09beb 100755 --- a/customer_portal/src/epilot/models/operations/configuredistribution.py +++ b/customer_portal/src/epilot/models/operations/configuredistribution.py @@ -10,7 +10,6 @@ from typing import Optional - @dataclasses.dataclass class ConfigureDistributionSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class ConfigureDistributionSecurity: - @dataclasses.dataclass class ConfigureDistributionRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -28,7 +26,6 @@ class ConfigureDistributionRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ConfigureDistribution200ApplicationJSON: r"""The cloudfront distribution has been configure successfully for the custom domain.""" @@ -38,7 +35,6 @@ class ConfigureDistribution200ApplicationJSON: - @dataclasses.dataclass class ConfigureDistributionResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/confirmuser.py b/customer_portal/src/epilot/models/operations/confirmuser.py index 106be2135..8864c7219 100755 --- a/customer_portal/src/epilot/models/operations/confirmuser.py +++ b/customer_portal/src/epilot/models/operations/confirmuser.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class ConfirmUserRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -21,7 +20,6 @@ class ConfirmUserRequest: - @dataclasses.dataclass class ConfirmUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/createcustomentityactivity.py b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py index ad03c1c28..d76d7ddf8 100755 --- a/customer_portal/src/epilot/models/operations/createcustomentityactivity.py +++ b/customer_portal/src/epilot/models/operations/createcustomentityactivity.py @@ -6,8 +6,7 @@ from ..shared import activity as shared_activity from ..shared import activityitem as shared_activityitem from ..shared import errorresp as shared_errorresp -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -17,17 +16,15 @@ class CreateCustomEntityActivitySecurity: - @dataclasses.dataclass class CreateCustomEntityActivityRequest: activity: Optional[shared_activity.Activity] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - entities: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entities', 'style': 'form', 'explode': False }}) + entities: Optional[List[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entities', 'style': 'form', 'explode': False }}) r"""Comma-separated list of entities which the activity primarily concerns""" - @dataclasses.dataclass class CreateCustomEntityActivityResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/createssouser.py b/customer_portal/src/epilot/models/operations/createssouser.py index 6a0e81435..4bb26ebcb 100755 --- a/customer_portal/src/epilot/models/operations/createssouser.py +++ b/customer_portal/src/epilot/models/operations/createssouser.py @@ -6,10 +6,10 @@ from ..shared import createssouserrequest as shared_createssouserrequest from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin +from ..shared import portaluser as shared_portaluser from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -19,7 +19,6 @@ class CreateSSOUserSecurity: - @dataclasses.dataclass class CreateSSOUserRequest: create_sso_user_request: shared_createssouserrequest.CreateSSOUserRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) @@ -31,17 +30,15 @@ class CreateSSOUserRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateSSOUser201ApplicationJSON: r"""SSO User created successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_portaluser.PortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" - @dataclasses.dataclass class CreateSSOUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/createuser.py b/customer_portal/src/epilot/models/operations/createuser.py index b1a6449d9..85f66c6bc 100755 --- a/customer_portal/src/epilot/models/operations/createuser.py +++ b/customer_portal/src/epilot/models/operations/createuser.py @@ -6,11 +6,11 @@ from ..shared import createuserrequest as shared_createuserrequest from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin +from ..shared import portaluser as shared_portaluser from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -27,18 +27,16 @@ class CreateUser201ApplicationJSONMessage(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateUser201ApplicationJSON: r"""User created successfully.""" message: CreateUser201ApplicationJSONMessage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) - response: dict[str, Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) + response: shared_portaluser.PortalUser = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('response') }}) r"""The portal user entity""" - @dataclasses.dataclass class CreateUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/deleteentityfile.py b/customer_portal/src/epilot/models/operations/deleteentityfile.py index 82f000c06..5a07ea75e 100755 --- a/customer_portal/src/epilot/models/operations/deleteentityfile.py +++ b/customer_portal/src/epilot/models/operations/deleteentityfile.py @@ -6,8 +6,7 @@ from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,16 +17,14 @@ class DeleteEntityFileSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class DeleteEntityFile202ApplicationJSON: r"""The files are removed from the requested entity successfully.""" - deleted_files: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) + deleted_files: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deletedFiles'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class DeleteEntityFileResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/deleteportal.py b/customer_portal/src/epilot/models/operations/deleteportal.py index 42cbbc5b1..fa66a4f8d 100755 --- a/customer_portal/src/epilot/models/operations/deleteportal.py +++ b/customer_portal/src/epilot/models/operations/deleteportal.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class DeletePortalSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -16,7 +15,6 @@ class DeletePortalSecurity: - @dataclasses.dataclass class DeletePortalRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -25,7 +23,6 @@ class DeletePortalRequest: - @dataclasses.dataclass class DeletePortalResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/deleteportaluser.py b/customer_portal/src/epilot/models/operations/deleteportaluser.py index bb02d2f0c..9cd644808 100755 --- a/customer_portal/src/epilot/models/operations/deleteportaluser.py +++ b/customer_portal/src/epilot/models/operations/deleteportaluser.py @@ -10,7 +10,6 @@ from typing import Optional - @dataclasses.dataclass class DeletePortalUserSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -22,7 +21,6 @@ class DeletePortalUser200ApplicationJSONMessage(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class DeletePortalUser200ApplicationJSON: r"""Portal user deleted successfully.""" @@ -33,7 +31,6 @@ class DeletePortalUser200ApplicationJSON: - @dataclasses.dataclass class DeletePortalUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py index b4021ea6a..7d76ccd7c 100755 --- a/customer_portal/src/epilot/models/operations/extrapermissionattributes.py +++ b/customer_portal/src/epilot/models/operations/extrapermissionattributes.py @@ -7,8 +7,7 @@ from ..shared import extraschemaattributes as shared_extraschemaattributes from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -19,21 +18,19 @@ class ExtraPermissionAttributesSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSONData: - contact: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) - contract: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) - meter: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter'), 'exclude': lambda f: f is None }}) - meter_counter: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter_counter'), 'exclude': lambda f: f is None }}) - opportunity: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) - order: Optional[list[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) + contact: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact'), 'exclude': lambda f: f is None }}) + contract: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract'), 'exclude': lambda f: f is None }}) + meter: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter'), 'exclude': lambda f: f is None }}) + meter_counter: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('meter_counter'), 'exclude': lambda f: f is None }}) + opportunity: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('opportunity'), 'exclude': lambda f: f is None }}) + order: Optional[List[shared_extraschemaattributes.ExtraSchemaAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('order'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ExtraPermissionAttributes200ApplicationJSON: r"""Retrieved extra permission attributes successfully.""" @@ -42,7 +39,6 @@ class ExtraPermissionAttributes200ApplicationJSON: - @dataclasses.dataclass class ExtraPermissionAttributesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getallcontracts.py b/customer_portal/src/epilot/models/operations/getallcontracts.py index 713a20c88..2cc8ddfd1 100755 --- a/customer_portal/src/epilot/models/operations/getallcontracts.py +++ b/customer_portal/src/epilot/models/operations/getallcontracts.py @@ -3,11 +3,11 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contract as shared_contract from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class GetAllContractsSecurity: - @dataclasses.dataclass class GetAllContractsRequest: from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) @@ -27,16 +26,14 @@ class GetAllContractsRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetAllContracts200ApplicationJSON: r"""Contracts have been retrieved successfully.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[shared_contract.Contract]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllContractsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getallfiles.py b/customer_portal/src/epilot/models/operations/getallfiles.py index cf4819090..f1bc4d804 100755 --- a/customer_portal/src/epilot/models/operations/getallfiles.py +++ b/customer_portal/src/epilot/models/operations/getallfiles.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import fileitem as shared_fileitem from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -17,30 +17,27 @@ class GetAllFilesSecurity: - @dataclasses.dataclass class GetAllFilesRequest: from_: float = dataclasses.field(metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) size: float = dataclasses.field(metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) - entity_ids: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_ids', 'style': 'form', 'explode': True }}) + entity_ids: Optional[List[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_ids', 'style': 'form', 'explode': True }}) r"""List of entity ids to filter the results""" @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetAllFiles200ApplicationJSON: r"""The files have been fetched successfully.""" hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) r"""Total number of files for pagination""" - results: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + results: Optional[List[shared_fileitem.FileItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllFilesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getallopportunities.py b/customer_portal/src/epilot/models/operations/getallopportunities.py index 0aa164ce2..987cb3024 100755 --- a/customer_portal/src/epilot/models/operations/getallopportunities.py +++ b/customer_portal/src/epilot/models/operations/getallopportunities.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import opportunity as shared_opportunity from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class GetAllOpportunitiesSecurity: - @dataclasses.dataclass class GetAllOpportunitiesRequest: from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) @@ -27,16 +26,14 @@ class GetAllOpportunitiesRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetAllOpportunities200ApplicationJSON: r"""The opportunities is retrieved successfully for the portal user.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[shared_opportunity.Opportunity]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllOpportunitiesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getallorders.py b/customer_portal/src/epilot/models/operations/getallorders.py index bfbec8cae..2e061e6c5 100755 --- a/customer_portal/src/epilot/models/operations/getallorders.py +++ b/customer_portal/src/epilot/models/operations/getallorders.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import order as shared_order from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class GetAllOrdersSecurity: - @dataclasses.dataclass class GetAllOrdersRequest: from_: Optional[float] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) @@ -27,16 +26,14 @@ class GetAllOrdersRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetAllOrders200ApplicationJSON: r"""The orders for the portal user returned successfully.""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[shared_order.Order]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllOrdersResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getallportalconfigs.py b/customer_portal/src/epilot/models/operations/getallportalconfigs.py index d27fd9abb..2eea7c25a 100755 --- a/customer_portal/src/epilot/models/operations/getallportalconfigs.py +++ b/customer_portal/src/epilot/models/operations/getallportalconfigs.py @@ -7,8 +7,7 @@ from ..shared import portalconfig as shared_portalconfig from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -19,16 +18,14 @@ class GetAllPortalConfigsSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetAllPortalConfigs200ApplicationJSON: r"""All portal configs retrieved successfully.""" - data: Optional[list[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[shared_portalconfig.PortalConfig]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetAllPortalConfigsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getbillingevents.py b/customer_portal/src/epilot/models/operations/getbillingevents.py index 88fe8c7ea..af442da9b 100755 --- a/customer_portal/src/epilot/models/operations/getbillingevents.py +++ b/customer_portal/src/epilot/models/operations/getbillingevents.py @@ -3,12 +3,13 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import billingevent as shared_billingevent +from ..shared import installmentevent as shared_installmentevent from dataclasses_json import Undefined, dataclass_json from datetime import date from enum import Enum from epilot import utils -from typing import Any, Optional - +from typing import List, Optional, Union @dataclasses.dataclass @@ -23,31 +24,28 @@ class GetBillingEventsEventType(str, Enum): REIMBURSEMENT = 'reimbursement' - @dataclasses.dataclass class GetBillingEventsRequest: customer_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'customer_id', 'style': 'form', 'explode': True }}) date_after: Optional[date] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_after', 'style': 'form', 'explode': True }}) date_before: Optional[date] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'date_before', 'style': 'form', 'explode': True }}) - entity_id: Optional[list[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) - event_type: Optional[list[GetBillingEventsEventType]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'event_type', 'style': 'form', 'explode': True }}) + entity_id: Optional[List[str]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) + event_type: Optional[List[GetBillingEventsEventType]] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'event_type', 'style': 'form', 'explode': True }}) @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetBillingEvents200ApplicationJSON: r"""List billing events for all contracts/orders of specific customer""" hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) r"""Total number of billing events for pagination""" - results: Optional[list[Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + results: Optional[List[Union[shared_installmentevent.InstallmentEvent, shared_billingevent.BillingEventReimbursementEvent]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetBillingEventsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getcontact.py b/customer_portal/src/epilot/models/operations/getcontact.py index e8d6bd4fe..4001ba566 100755 --- a/customer_portal/src/epilot/models/operations/getcontact.py +++ b/customer_portal/src/epilot/models/operations/getcontact.py @@ -3,11 +3,13 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contact as shared_contact +from ..shared import entityitem as shared_entityitem from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,19 +20,17 @@ class GetContactSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetContact200ApplicationJSON: r"""Retrieves the mapped contact of the logged in user successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + entity: Optional[shared_contact.Contact] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + relations: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetContactResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getcontactcount.py b/customer_portal/src/epilot/models/operations/getcontactcount.py index a9ecb0f21..52843f957 100755 --- a/customer_portal/src/epilot/models/operations/getcontactcount.py +++ b/customer_portal/src/epilot/models/operations/getcontactcount.py @@ -11,7 +11,6 @@ from typing import Optional - @dataclasses.dataclass class GetContactCountRequest: contact_count_request: shared_contactcountrequest.ContactCountRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) @@ -23,7 +22,6 @@ class GetContactCountRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetContactCount200ApplicationJSON: r"""Contact count for the request successfully.""" @@ -33,7 +31,6 @@ class GetContactCount200ApplicationJSON: - @dataclasses.dataclass class GetContactCountResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getcontract.py b/customer_portal/src/epilot/models/operations/getcontract.py index f4510a143..9b4bb9272 100755 --- a/customer_portal/src/epilot/models/operations/getcontract.py +++ b/customer_portal/src/epilot/models/operations/getcontract.py @@ -3,11 +3,14 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contract as shared_contract +from ..shared import entityitem as shared_entityitem from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file +from ..shared import order as shared_order from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, List, Optional @dataclasses.dataclass @@ -17,7 +20,6 @@ class GetContractSecurity: - @dataclasses.dataclass class GetContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -27,24 +29,22 @@ class GetContractRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetContract200ApplicationJSON: r"""The requested contract returned successfully.""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + entity: Optional[shared_contract.Contract] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The contract entity""" - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) r"""The related files of the requested contract""" - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + orders: Optional[List[shared_order.Order]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) r"""The related orders of the requested contract""" - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + relations: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) r"""The related entities of the requested contract""" - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + workflow: Optional[List[Dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetContractResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getcountbyemail.py b/customer_portal/src/epilot/models/operations/getcountbyemail.py index f793bfc72..e8d9b1720 100755 --- a/customer_portal/src/epilot/models/operations/getcountbyemail.py +++ b/customer_portal/src/epilot/models/operations/getcountbyemail.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetCountByEmailRequest: email: str = dataclasses.field(metadata={'query_param': { 'field_name': 'email', 'style': 'form', 'explode': True }}) @@ -19,7 +18,6 @@ class GetCountByEmailRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetCountByEmail200ApplicationJSON: r"""Contact count for the requested email successfully.""" @@ -29,7 +27,6 @@ class GetCountByEmail200ApplicationJSON: - @dataclasses.dataclass class GetCountByEmailResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getcustomerbalance.py b/customer_portal/src/epilot/models/operations/getcustomerbalance.py index a58ba1a90..7ec1f4004 100755 --- a/customer_portal/src/epilot/models/operations/getcustomerbalance.py +++ b/customer_portal/src/epilot/models/operations/getcustomerbalance.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class GetCustomerBalanceSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -15,7 +14,6 @@ class GetCustomerBalanceSecurity: - @dataclasses.dataclass class GetCustomerBalanceRequest: customer_entity_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'customer_entity_id', 'style': 'simple', 'explode': False }}) @@ -24,7 +22,6 @@ class GetCustomerBalanceRequest: - @dataclasses.dataclass class GetCustomerBalanceResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getecpcontact.py b/customer_portal/src/epilot/models/operations/getecpcontact.py index b8a44e6fb..b143d1258 100755 --- a/customer_portal/src/epilot/models/operations/getecpcontact.py +++ b/customer_portal/src/epilot/models/operations/getecpcontact.py @@ -3,11 +3,11 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contact as shared_contact from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class GetECPContactSecurity: - @dataclasses.dataclass class GetECPContactRequest: id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'id', 'style': 'form', 'explode': True }}) @@ -26,17 +25,15 @@ class GetECPContactRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetECPContact200ApplicationJSON: r"""The contact returned successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_contact.Contact] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" - @dataclasses.dataclass class GetECPContactResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getemailtemplates.py b/customer_portal/src/epilot/models/operations/getemailtemplates.py index a934b627f..17e34d78f 100755 --- a/customer_portal/src/epilot/models/operations/getemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/getemailtemplates.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetEmailTemplatesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -17,7 +16,6 @@ class GetEmailTemplatesSecurity: - @dataclasses.dataclass class GetEmailTemplatesRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -26,7 +24,6 @@ class GetEmailTemplatesRequest: - @dataclasses.dataclass class GetEmailTemplatesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py index 1395bd4ad..5a4a60978 100755 --- a/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentitiesbyidentifiers.py @@ -3,12 +3,12 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityitem as shared_entityitem from ..shared import entityslug as shared_entityslug from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, List, Optional @dataclasses.dataclass @@ -18,10 +18,9 @@ class GetEntitiesByIdentifiersSecurity: - @dataclasses.dataclass class GetEntitiesByIdentifiersRequest: - request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + request_body: Dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""The entities are retrieved successfully.""" slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) r"""The slug of an entity""" @@ -30,16 +29,14 @@ class GetEntitiesByIdentifiersRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetEntitiesByIdentifiers200ApplicationJSON: r"""The returned Entities""" - data: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetEntitiesByIdentifiersResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getentityidentifiers.py b/customer_portal/src/epilot/models/operations/getentityidentifiers.py index 5849a140b..bd9cd1cd0 100755 --- a/customer_portal/src/epilot/models/operations/getentityidentifiers.py +++ b/customer_portal/src/epilot/models/operations/getentityidentifiers.py @@ -7,8 +7,7 @@ from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,7 +17,6 @@ class GetEntityIdentifiersSecurity: - @dataclasses.dataclass class GetEntityIdentifiersRequest: slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) @@ -28,7 +26,6 @@ class GetEntityIdentifiersRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) @@ -40,16 +37,14 @@ class GetEntityIdentifiers200ApplicationJSONData: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetEntityIdentifiers200ApplicationJSON: r"""The identifiers of the requested entity returned successfully.""" - data: Optional[list[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[GetEntityIdentifiers200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetEntityIdentifiersResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getfilebyid.py b/customer_portal/src/epilot/models/operations/getfilebyid.py index d9f58e96e..ce182512f 100755 --- a/customer_portal/src/epilot/models/operations/getfilebyid.py +++ b/customer_portal/src/epilot/models/operations/getfilebyid.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import fileitem as shared_fileitem from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class GetFileByIDSecurity: - @dataclasses.dataclass class GetFileByIDRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -27,16 +26,14 @@ class GetFileByIDRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetFileByID200ApplicationJSON: r"""The files have been fetched successfully.""" - file: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) + file: Optional[shared_fileitem.FileItem] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetFileByIDResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getfilescountbyentity.py b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py index 44d7f8bda..907170bef 100755 --- a/customer_portal/src/epilot/models/operations/getfilescountbyentity.py +++ b/customer_portal/src/epilot/models/operations/getfilescountbyentity.py @@ -5,8 +5,7 @@ import requests as requests_http from ..shared import entityfilecount as shared_entityfilecount from ..shared import errorresp as shared_errorresp -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -16,14 +15,13 @@ class GetFilesCountByEntitySecurity: - @dataclasses.dataclass class GetFilesCountByEntityResponse: 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""" - entity_file_counts: Optional[list[shared_entityfilecount.EntityFileCount]] = dataclasses.field(default=None) + entity_file_counts: Optional[List[shared_entityfilecount.EntityFileCount]] = dataclasses.field(default=None) r"""The file counts have been fetched successfully.""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Could not authenticate the user""" diff --git a/customer_portal/src/epilot/models/operations/getopportunity.py b/customer_portal/src/epilot/models/operations/getopportunity.py index 9e5c489ed..523899afb 100755 --- a/customer_portal/src/epilot/models/operations/getopportunity.py +++ b/customer_portal/src/epilot/models/operations/getopportunity.py @@ -3,11 +3,14 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityitem as shared_entityitem from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file +from ..shared import opportunity as shared_opportunity +from ..shared import order as shared_order from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, List, Optional @dataclasses.dataclass @@ -17,7 +20,6 @@ class GetOpportunitySecurity: - @dataclasses.dataclass class GetOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -27,25 +29,23 @@ class GetOpportunityRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetOpportunity200ApplicationJSON: r"""The returned opportunities""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + entity: Optional[shared_opportunity.Opportunity] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The opportunity entity""" - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) r"""The related files of the requested opportunity""" - orders: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) + orders: Optional[List[shared_order.Order]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orders'), 'exclude': lambda f: f is None }}) r"""The related orders of the requested opportunity""" - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + relations: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) r"""The related entities of the requested opportunity""" - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + workflow: Optional[List[Dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) r"""The related workflows of the requested opportunity""" - @dataclasses.dataclass class GetOpportunityResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getorder.py b/customer_portal/src/epilot/models/operations/getorder.py index c2d2ab8f6..bbab25e99 100755 --- a/customer_portal/src/epilot/models/operations/getorder.py +++ b/customer_portal/src/epilot/models/operations/getorder.py @@ -3,11 +3,14 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import entityitem as shared_entityitem from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file +from ..shared import order as shared_order +from ..shared import product as shared_product from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, List, Optional @dataclasses.dataclass @@ -17,7 +20,6 @@ class GetOrderSecurity: - @dataclasses.dataclass class GetOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -27,27 +29,25 @@ class GetOrderRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetOrder200ApplicationJSON: r"""The requested order has been retrieved successfully.""" - cross_sellable_products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) + cross_sellable_products: Optional[List[shared_product.Product]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('crossSellableProducts'), 'exclude': lambda f: f is None }}) r"""The related cross sellable products of the requested order""" - entity: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) + entity: Optional[shared_order.Order] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) r"""The order entity""" - files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) + files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files'), 'exclude': lambda f: f is None }}) r"""The related files of the requested order""" - products: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) + products: Optional[List[shared_product.Product]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('products'), 'exclude': lambda f: f is None }}) r"""The related products of the requested order""" - relations: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) + relations: Optional[List[shared_entityitem.EntityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('relations'), 'exclude': lambda f: f is None }}) r"""The related entities of the requested order""" - workflow: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) + workflow: Optional[List[Dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflow'), 'exclude': lambda f: f is None }}) r"""The related workflows of the requested order""" - @dataclasses.dataclass class GetOrderResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getorganizationsettings.py b/customer_portal/src/epilot/models/operations/getorganizationsettings.py index 79d5cedb4..279c71aa1 100755 --- a/customer_portal/src/epilot/models/operations/getorganizationsettings.py +++ b/customer_portal/src/epilot/models/operations/getorganizationsettings.py @@ -10,7 +10,6 @@ from typing import Optional - @dataclasses.dataclass class GetOrganizationSettingsSecurity: portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -19,7 +18,6 @@ class GetOrganizationSettingsSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetOrganizationSettings200ApplicationJSON: r"""Retrieved the settings for an organization successfully.""" @@ -28,7 +26,6 @@ class GetOrganizationSettings200ApplicationJSON: - @dataclasses.dataclass class GetOrganizationSettingsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getorgportalconfig.py b/customer_portal/src/epilot/models/operations/getorgportalconfig.py index a00b15600..75a7a68ec 100755 --- a/customer_portal/src/epilot/models/operations/getorgportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getorgportalconfig.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetOrgPortalConfigSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -17,7 +16,6 @@ class GetOrgPortalConfigSecurity: - @dataclasses.dataclass class GetOrgPortalConfigRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -26,7 +24,6 @@ class GetOrgPortalConfigRequest: - @dataclasses.dataclass class GetOrgPortalConfigResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getportalconfig.py b/customer_portal/src/epilot/models/operations/getportalconfig.py index 4c6c4b159..43edb39f1 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getportalconfig.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetPortalConfigSecurity: epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class GetPortalConfigSecurity: - @dataclasses.dataclass class GetPortalConfigRequest: origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -27,7 +25,6 @@ class GetPortalConfigRequest: - @dataclasses.dataclass class GetPortalConfigResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py index bfbaa5ec1..ef22a3983 100755 --- a/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py +++ b/customer_portal/src/epilot/models/operations/getportalconfigbydomain.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class GetPortalConfigByDomainRequest: domain: str = dataclasses.field(metadata={'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': True }}) @@ -16,7 +15,6 @@ class GetPortalConfigByDomainRequest: - @dataclasses.dataclass class GetPortalConfigByDomainResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getportaluser.py b/customer_portal/src/epilot/models/operations/getportaluser.py index 917644864..7fea173e7 100755 --- a/customer_portal/src/epilot/models/operations/getportaluser.py +++ b/customer_portal/src/epilot/models/operations/getportaluser.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import portaluser as shared_portaluser from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -18,17 +18,15 @@ class GetPortalUserSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetPortalUser200ApplicationJSON: r"""Portal user returned successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_portaluser.PortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" - @dataclasses.dataclass class GetPortalUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getportalwidgets.py b/customer_portal/src/epilot/models/operations/getportalwidgets.py index e4f8a1f93..a37a14882 100755 --- a/customer_portal/src/epilot/models/operations/getportalwidgets.py +++ b/customer_portal/src/epilot/models/operations/getportalwidgets.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetPortalWidgetsSecurity: epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class GetPortalWidgetsSecurity: - @dataclasses.dataclass class GetPortalWidgetsRequest: origin: Optional[shared_origin.Origin] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -27,7 +25,6 @@ class GetPortalWidgetsRequest: - @dataclasses.dataclass class GetPortalWidgetsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py index 5d0db30ef..d0491de33 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalconfig.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalconfig.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetPublicPortalConfigRequest: org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) @@ -19,7 +18,6 @@ class GetPublicPortalConfigRequest: - @dataclasses.dataclass class GetPublicPortalConfigResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py index a61d2098b..04d563915 100755 --- a/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py +++ b/customer_portal/src/epilot/models/operations/getpublicportalwidgets.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class GetPublicPortalWidgetsRequest: org_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'org_id', 'style': 'form', 'explode': True }}) @@ -19,7 +18,6 @@ class GetPublicPortalWidgetsRequest: - @dataclasses.dataclass class GetPublicPortalWidgetsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getschemas.py b/customer_portal/src/epilot/models/operations/getschemas.py index 541b9dd06..8dfef1489 100755 --- a/customer_portal/src/epilot/models/operations/getschemas.py +++ b/customer_portal/src/epilot/models/operations/getschemas.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import schema as shared_schema from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,16 +18,14 @@ class GetSchemasSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetSchemas200ApplicationJSON: r"""Retrieved schemas for an organization successfully.""" - schemas: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) + schemas: Optional[List[shared_schema.Schema]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemas'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetSchemasResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py index 4c9068a5b..43fc7f3ec 100755 --- a/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py +++ b/customer_portal/src/epilot/models/operations/getvalidsecondaryattributes.py @@ -6,8 +6,7 @@ from ..shared import errorresp as shared_errorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,7 +17,6 @@ class GetValidSecondaryAttributesSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSONData: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) @@ -30,16 +28,14 @@ class GetValidSecondaryAttributes200ApplicationJSONData: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class GetValidSecondaryAttributes200ApplicationJSON: r"""Valid secondary attributes for the contact entity are returned successfully.""" - data: Optional[list[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[List[GetValidSecondaryAttributes200ApplicationJSONData]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class GetValidSecondaryAttributesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/logintoportalasuser.py b/customer_portal/src/epilot/models/operations/logintoportalasuser.py index 6be207cfd..49cc70e1d 100755 --- a/customer_portal/src/epilot/models/operations/logintoportalasuser.py +++ b/customer_portal/src/epilot/models/operations/logintoportalasuser.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class LoginToPortalAsUserSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class LoginToPortalAsUserSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class LoginToPortalAsUserRequestBody: r"""The request body to log in to a portal impersonating a user""" @@ -31,7 +29,6 @@ class LoginToPortalAsUserRequestBody: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class LoginToPortalAsUser200ApplicationJSON: r"""The token has been generated successfully.""" @@ -41,7 +38,6 @@ class LoginToPortalAsUser200ApplicationJSON: - @dataclasses.dataclass class LoginToPortalAsUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py index 17e6b985f..4469ea32b 100755 --- a/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py +++ b/customer_portal/src/epilot/models/operations/replaceecptemplatevariables.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class ReplaceECPTemplateVariablesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class ReplaceECPTemplateVariablesSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ReplaceECPTemplateVariablesRequestBody: r"""ECPVariables payload""" @@ -29,7 +27,6 @@ class ReplaceECPTemplateVariablesRequestBody: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal: invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) @@ -38,7 +35,6 @@ class ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal: invitation_link: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invitationLink'), 'exclude': lambda f: f is None }}) @@ -47,7 +43,6 @@ class ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ReplaceECPTemplateVariables200ApplicationJSON: r"""Replaced portal template variables successfully.""" @@ -57,7 +52,6 @@ class ReplaceECPTemplateVariables200ApplicationJSON: - @dataclasses.dataclass class ReplaceECPTemplateVariablesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/saveentityfile.py b/customer_portal/src/epilot/models/operations/saveentityfile.py index c4d60840f..24c44c10b 100755 --- a/customer_portal/src/epilot/models/operations/saveentityfile.py +++ b/customer_portal/src/epilot/models/operations/saveentityfile.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,16 +18,14 @@ class SaveEntityFileSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SaveEntityFile201ApplicationJSON: r"""The files have been saved to the entitiy successfully.""" - created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + created_files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class SaveEntityFileResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/saveportalfiles.py b/customer_portal/src/epilot/models/operations/saveportalfiles.py index a0bf36535..37e1f7174 100755 --- a/customer_portal/src/epilot/models/operations/saveportalfiles.py +++ b/customer_portal/src/epilot/models/operations/saveportalfiles.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import file as shared_file from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import List, Optional @dataclasses.dataclass @@ -18,16 +18,14 @@ class SavePortalFilesSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SavePortalFiles201ApplicationJSON: r"""The files have been saved to the portal successfully.""" - created_files: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) + created_files: Optional[List[shared_file.File]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdFiles'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class SavePortalFilesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/trackfiledownloaded.py b/customer_portal/src/epilot/models/operations/trackfiledownloaded.py index 7fb933b50..1f50f406a 100755 --- a/customer_portal/src/epilot/models/operations/trackfiledownloaded.py +++ b/customer_portal/src/epilot/models/operations/trackfiledownloaded.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import fileitem as shared_fileitem from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -17,7 +17,6 @@ class TrackFileDownloadedSecurity: - @dataclasses.dataclass class TrackFileDownloadedRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) @@ -27,16 +26,14 @@ class TrackFileDownloadedRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TrackFileDownloaded200ApplicationJSON: r"""File download tracked successfully.""" - file: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) + file: Optional[shared_fileitem.FileItem] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file'), 'exclude': lambda f: f is None }}) - @dataclasses.dataclass class TrackFileDownloadedResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/updatecontact.py b/customer_portal/src/epilot/models/operations/updatecontact.py index 4b64e4e3c..a518a0149 100755 --- a/customer_portal/src/epilot/models/operations/updatecontact.py +++ b/customer_portal/src/epilot/models/operations/updatecontact.py @@ -3,12 +3,12 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contact as shared_contact from ..shared import errorresp as shared_errorresp from ..shared import failedruleerrorresp as shared_failedruleerrorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional, Union - +from typing import Optional, Union @dataclasses.dataclass @@ -18,7 +18,6 @@ class UpdateContactSecurity: - @dataclasses.dataclass class UpdateContact403ApplicationJSON: r"""The user is not allowed to access this resource""" @@ -27,17 +26,15 @@ class UpdateContact403ApplicationJSON: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateContact200ApplicationJSON: r"""Updated the contact details successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_contact.Contact] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The mapped contact of the portal user""" - @dataclasses.dataclass class UpdateContactResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/updatecontract.py b/customer_portal/src/epilot/models/operations/updatecontract.py index 61080f787..4c0b85d33 100755 --- a/customer_portal/src/epilot/models/operations/updatecontract.py +++ b/customer_portal/src/epilot/models/operations/updatecontract.py @@ -3,12 +3,12 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import contract as shared_contract from ..shared import errorresp as shared_errorresp from ..shared import failedruleerrorresp as shared_failedruleerrorresp from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional, Union - +from typing import Any, Dict, Optional, Union @dataclasses.dataclass @@ -18,18 +18,16 @@ class UpdateContractSecurity: - @dataclasses.dataclass class UpdateContractRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of the contract""" - request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + request_body: Dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Requested contract body to update""" - @dataclasses.dataclass class UpdateContract403ApplicationJSON: r"""The user is not allowed to access this resource""" @@ -38,17 +36,15 @@ class UpdateContract403ApplicationJSON: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateContract200ApplicationJSON: r"""Updated the contract successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_contract.Contract] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The contract entity""" - @dataclasses.dataclass class UpdateContractResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/updateopportunity.py b/customer_portal/src/epilot/models/operations/updateopportunity.py index 9e28979b3..71a711429 100755 --- a/customer_portal/src/epilot/models/operations/updateopportunity.py +++ b/customer_portal/src/epilot/models/operations/updateopportunity.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import opportunity as shared_opportunity from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, Optional @dataclasses.dataclass @@ -17,29 +17,26 @@ class UpdateOpportunitySecurity: - @dataclasses.dataclass class UpdateOpportunityRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of opportunity""" - request_body: dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + request_body: Dict[str, Any] = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Requested opportunity body to update""" @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateOpportunity200ApplicationJSON: r"""Updated the opportunity successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_opportunity.Opportunity] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The opportunity entity""" - @dataclasses.dataclass class UpdateOpportunityResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/updateorder.py b/customer_portal/src/epilot/models/operations/updateorder.py index 91ad944d5..20e998c4f 100755 --- a/customer_portal/src/epilot/models/operations/updateorder.py +++ b/customer_portal/src/epilot/models/operations/updateorder.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import order as shared_order from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Any, Dict, Optional @dataclasses.dataclass @@ -17,28 +17,25 @@ class UpdateOrderSecurity: - @dataclasses.dataclass class UpdateOrderRequest: id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) r"""The ID of order""" - request_body: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + request_body: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateOrder200ApplicationJSON: r"""Updated the order details successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_order.Order] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The order entity""" - @dataclasses.dataclass class UpdateOrderResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/updateportaluser.py b/customer_portal/src/epilot/models/operations/updateportaluser.py index ee375bdd6..fa6e49c2e 100755 --- a/customer_portal/src/epilot/models/operations/updateportaluser.py +++ b/customer_portal/src/epilot/models/operations/updateportaluser.py @@ -4,10 +4,10 @@ import dataclasses import requests as requests_http from ..shared import errorresp as shared_errorresp +from ..shared import portaluser as shared_portaluser from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -18,17 +18,15 @@ class UpdatePortalUserSecurity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdatePortalUser200ApplicationJSON: r"""The portal user updated successfully.""" - data: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) + data: Optional[shared_portaluser.PortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" - @dataclasses.dataclass class UpdatePortalUserResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py index 0c4de03b7..1c0d85e46 100755 --- a/customer_portal/src/epilot/models/operations/upsertemailtemplates.py +++ b/customer_portal/src/epilot/models/operations/upsertemailtemplates.py @@ -12,7 +12,6 @@ from typing import Optional - @dataclasses.dataclass class UpsertEmailTemplatesSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -20,7 +19,6 @@ class UpsertEmailTemplatesSecurity: - @dataclasses.dataclass class UpsertEmailTemplatesRequest: email_templates: shared_emailtemplates.EmailTemplates = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) @@ -35,7 +33,6 @@ class UpsertEmailTemplates200ApplicationJSONMessage(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertEmailTemplates200ApplicationJSON: r"""Upserted email templates of the portal successfully.""" @@ -46,7 +43,6 @@ class UpsertEmailTemplates200ApplicationJSON: - @dataclasses.dataclass class UpsertEmailTemplatesResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/upsertportal.py b/customer_portal/src/epilot/models/operations/upsertportal.py index ceea3cb55..7e4d01605 100755 --- a/customer_portal/src/epilot/models/operations/upsertportal.py +++ b/customer_portal/src/epilot/models/operations/upsertportal.py @@ -10,7 +10,6 @@ from typing import Optional - @dataclasses.dataclass class UpsertPortalSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -18,7 +17,6 @@ class UpsertPortalSecurity: - @dataclasses.dataclass class UpsertPortalRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -29,7 +27,6 @@ class UpsertPortalRequest: - @dataclasses.dataclass class UpsertPortalResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/upsertportalwidget.py b/customer_portal/src/epilot/models/operations/upsertportalwidget.py index 6f79f3b6b..e6b46abd4 100755 --- a/customer_portal/src/epilot/models/operations/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/operations/upsertportalwidget.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class UpsertPortalWidgetSecurity: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) @@ -17,7 +16,6 @@ class UpsertPortalWidgetSecurity: - @dataclasses.dataclass class UpsertPortalWidgetRequest: origin: shared_origin.Origin = dataclasses.field(metadata={'query_param': { 'field_name': 'origin', 'style': 'form', 'explode': True }}) @@ -28,7 +26,6 @@ class UpsertPortalWidgetRequest: - @dataclasses.dataclass class UpsertPortalWidgetResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/operations/userexists.py b/customer_portal/src/epilot/models/operations/userexists.py index d5c0e6f02..bc4ded833 100755 --- a/customer_portal/src/epilot/models/operations/userexists.py +++ b/customer_portal/src/epilot/models/operations/userexists.py @@ -5,10 +5,10 @@ import requests as requests_http from ..shared import errorresp as shared_errorresp from ..shared import origin as shared_origin +from ..shared import portaluser as shared_portaluser from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional - +from typing import Optional @dataclasses.dataclass @@ -22,19 +22,17 @@ class UserExistsRequest: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UserExists200ApplicationJSON: r"""Returned whether the user exists in the portal or not successfully.""" exists: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('exists') }}) r"""Whether the user exists in the portal""" - user: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) + user: Optional[shared_portaluser.PortalUser] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user'), 'exclude': lambda f: f is None }}) r"""The portal user entity""" - @dataclasses.dataclass class UserExistsResponse: content_type: str = dataclasses.field() diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 2a18b102a..90000e246 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -2,26 +2,40 @@ from .actionwidget import * from .activity import * +from .activitycallercontext import * from .activityitem import * +from .adminuser import * from .balance import * +from .billingevent import * +from .contact import * from .contactcountrequest import * from .contentwidget import * +from .contract import * from .createssouserrequest import * from .createuserrequest import * from .deleteentityfile import * from .emailtemplates import * from .entityfilecount import * +from .entityitem import * from .entityslug import * from .entitywidget import * from .errorresp import * from .extraschemaattributes import * from .failedruleerrorresp import * +from .file import * +from .fileitem import * from .grant import * +from .installmentevent import * +from .opportunity import * +from .order import * from .organizationsettings import * from .origin import * from .portalconfig import * +from .portaluser import * +from .product import * from .saveentityfile import * from .saveportalfile import * +from .schema import * from .security import * from .teaserwidget import * from .upsertportalconfig import * @@ -29,4 +43,4 @@ from .widgetaction import * from .widgetbase import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","Balance","ContactCountRequest","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","Grant","GrantEffect","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityCallerContext","ActivityCallerContextPortalAuth","ActivityCallerContextPortalAuthToken","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","AdminUser","AdminUserImageURI","Balance","BillingEvent","BillingEventReimbursementEvent","BillingEventReimbursementEventContract","BillingEventReimbursementEventContractDollarRelation","BillingEventReimbursementEventType","Contact","ContactCountRequest","ContactSchema","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","Contract","ContractSchema","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntityItem","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","File","FileItem","FileItemAccessControl","FileItemRelations","FileItemSchema","FileItemType","FileSchema","Grant","GrantEffect","InstallmentEvent","InstallmentEventContract","InstallmentEventContractDollarRelation","InstallmentEventType","Opportunity","OpportunitySchema","Order","OrderSchema","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","PortalUser","PortalUserSchema","Product","ProductSchema","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Schema","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] diff --git a/customer_portal/src/epilot/models/shared/actionwidget.py b/customer_portal/src/epilot/models/shared/actionwidget.py index 675dbb822..4656b1afd 100755 --- a/customer_portal/src/epilot/models/shared/actionwidget.py +++ b/customer_portal/src/epilot/models/shared/actionwidget.py @@ -6,11 +6,10 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActionWidgetHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -20,7 +19,6 @@ class ActionWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActionWidgetSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -37,14 +35,13 @@ class ActionWidgetType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActionWidget: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) r"""Index of the widget in the list, used for ordering (left or right)""" type: ActionWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - actions: Optional[list[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) + actions: Optional[List[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) headline: Optional[ActionWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) sub_headline: Optional[ActionWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/activity.py b/customer_portal/src/epilot/models/shared/activity.py index f8a872f59..6f7a568bf 100755 --- a/customer_portal/src/epilot/models/shared/activity.py +++ b/customer_portal/src/epilot/models/shared/activity.py @@ -4,11 +4,10 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional +from typing import Any, Dict, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Activity: message: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) @@ -16,6 +15,6 @@ class Activity: title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) r"""Title for activity. Supports handlebars syntax.""" type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - payload: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('payload'), 'exclude': lambda f: f is None }}) + payload: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('payload'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/activitycallercontext.py b/customer_portal/src/epilot/models/shared/activitycallercontext.py new file mode 100755 index 000000000..02d7dc15e --- /dev/null +++ b/customer_portal/src/epilot/models/shared/activitycallercontext.py @@ -0,0 +1,36 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Dict, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class ActivityCallerContextPortalAuthToken: + cognito_username: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cognito:username'), 'exclude': lambda f: f is None }}) + custom_contact_entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('custom:contact_entity_id'), 'exclude': lambda f: f is None }}) + custom_portal_user_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('custom:portal_user_id'), '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 }}) + sub: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sub'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class ActivityCallerContextPortalAuth: + token: Optional[ActivityCallerContextPortalAuthToken] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class ActivityCallerContext: + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + portal_auth: Optional[ActivityCallerContextPortalAuth] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('PortalAuth'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/activityitem.py b/customer_portal/src/epilot/models/shared/activityitem.py index 0719dabf5..c6183a7ad 100755 --- a/customer_portal/src/epilot/models/shared/activityitem.py +++ b/customer_portal/src/epilot/models/shared/activityitem.py @@ -3,14 +3,14 @@ from __future__ import annotations import dataclasses import dateutil.parser +from ..shared import activitycallercontext as shared_activitycallercontext from dataclasses_json import Undefined, dataclass_json from datetime import datetime from epilot import utils -from typing import Any, Optional +from typing import Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActivityItemPayloadEntity: id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) @@ -20,17 +20,15 @@ class ActivityItemPayloadEntity: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActivityItemPayload: - caller: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('caller'), 'exclude': lambda f: f is None }}) + caller: Optional[shared_activitycallercontext.ActivityCallerContext] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('caller'), 'exclude': lambda f: f is None }}) entity: Optional[ActivityItemPayloadEntity] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ActivityItem: message: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message') }}) diff --git a/customer_portal/src/epilot/models/shared/adminuser.py b/customer_portal/src/epilot/models/shared/adminuser.py new file mode 100755 index 000000000..da545367b --- /dev/null +++ b/customer_portal/src/epilot/models/shared/adminuser.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Dict, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AdminUserImageURI: + key: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('key') }}) + original: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('original') }}) + thumbnail_32: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('thumbnail_32') }}) + thumbnail_64: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('thumbnail_64') }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AdminUser: + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + display_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('display_name') }}) + email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + image_uri: Optional[AdminUserImageURI] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('image_uri') }}) + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('org_id'), 'exclude': lambda f: f is None }}) + phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone') }}) + type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + user_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('user_id'), 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/balance.py b/customer_portal/src/epilot/models/shared/balance.py index f907fa203..2b91e15b5 100755 --- a/customer_portal/src/epilot/models/shared/balance.py +++ b/customer_portal/src/epilot/models/shared/balance.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Balance: balance: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/billingevent.py b/customer_portal/src/epilot/models/shared/billingevent.py new file mode 100755 index 000000000..45e81c8c9 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/billingevent.py @@ -0,0 +1,73 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from ..shared import installmentevent as shared_installmentevent +from dataclasses_json import Undefined, dataclass_json +from datetime import date, datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class BillingEventReimbursementEventContractDollarRelation: + entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id'), 'exclude': lambda f: f is None }}) + r"""Entity ID for the related contract.""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class BillingEventReimbursementEventContract: + dollar_relation: Optional[List[BillingEventReimbursementEventContractDollarRelation]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('$relation'), 'exclude': lambda f: f is None }}) + + + +class BillingEventReimbursementEventType(str, Enum): + r"""Type of the billing event.""" + REIMBURSEMENT = 'reimbursement' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class BillingEventReimbursementEvent: + r"""A base billing event to be inherited by all billing events.""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + contract: BillingEventReimbursementEventContract = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract') }}) + type: BillingEventReimbursementEventType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + r"""Type of the billing event.""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + billing_amount: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_amount'), 'exclude': lambda f: f is None }}) + r"""Amount to be paid in cents i.e. precision 2""" + billing_amount_decimal: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_amount_decimal'), 'exclude': lambda f: f is None }}) + r"""Amount to be paid in cents in decimal string representation""" + billing_currency: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_currency'), 'exclude': lambda f: f is None }}) + r"""Currency code in ISO 4217 format""" + due_date: Optional[date] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('due_date'), 'encoder': utils.dateisoformat(True), 'decoder': utils.datefromisoformat, 'exclude': lambda f: f is None }}) + r"""Date on which the installment is due.""" + external_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('external_id'), 'exclude': lambda f: f is None }}) + r"""Unique identifier for event, used to reference the event to a 3rd party resource such as a SAP Installment.""" + paid_date: Optional[date] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('paid_date'), 'encoder': utils.dateisoformat(True), 'decoder': utils.datefromisoformat, 'exclude': lambda f: f is None }}) + r"""Date on which the customer is reimbursed.""" + + + + +@dataclasses.dataclass +class BillingEvent: + pass diff --git a/customer_portal/src/epilot/models/shared/contact.py b/customer_portal/src/epilot/models/shared/contact.py new file mode 100755 index 000000000..db6e7fb1c --- /dev/null +++ b/customer_portal/src/epilot/models/shared/contact.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class ContactSchema(str, Enum): + CONTACT = 'contact' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Contact: + r"""The mapped contact of the portal user""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: ContactSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/contactcountrequest.py b/customer_portal/src/epilot/models/shared/contactcountrequest.py index a29b6a89c..fd9769712 100755 --- a/customer_portal/src/epilot/models/shared/contactcountrequest.py +++ b/customer_portal/src/epilot/models/shared/contactcountrequest.py @@ -4,13 +4,13 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from epilot import utils +from typing import Dict @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ContactCountRequest: - contact_identifiers: dict[str, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers') }}) + contact_identifiers: Dict[str, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers') }}) r"""Identifiers to identify a contact""" org_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId') }}) r"""ID of the organization""" diff --git a/customer_portal/src/epilot/models/shared/contentwidget.py b/customer_portal/src/epilot/models/shared/contentwidget.py index 2c09660af..4558067cd 100755 --- a/customer_portal/src/epilot/models/shared/contentwidget.py +++ b/customer_portal/src/epilot/models/shared/contentwidget.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ContentWidgetHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -19,7 +18,6 @@ class ContentWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ContentWidgetSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -36,7 +34,6 @@ class ContentWidgetType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ContentWidget: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) diff --git a/customer_portal/src/epilot/models/shared/contract.py b/customer_portal/src/epilot/models/shared/contract.py new file mode 100755 index 000000000..3a945e2b2 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/contract.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class ContractSchema(str, Enum): + CONTRACT = 'contract' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Contract: + r"""The contract entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: ContractSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/createssouserrequest.py b/customer_portal/src/epilot/models/shared/createssouserrequest.py index 1d1307c27..0fe7a95fd 100755 --- a/customer_portal/src/epilot/models/shared/createssouserrequest.py +++ b/customer_portal/src/epilot/models/shared/createssouserrequest.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateSSOUserRequest: email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) diff --git a/customer_portal/src/epilot/models/shared/createuserrequest.py b/customer_portal/src/epilot/models/shared/createuserrequest.py index d2fda5289..39c73fa49 100755 --- a/customer_portal/src/epilot/models/shared/createuserrequest.py +++ b/customer_portal/src/epilot/models/shared/createuserrequest.py @@ -4,11 +4,10 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import Dict, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateUserRequest: email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) @@ -19,7 +18,7 @@ class CreateUserRequest: r"""User's password""" contact_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactId'), 'exclude': lambda f: f is None }}) r"""ID of the contact""" - contact_identifiers: Optional[dict[str, str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers'), 'exclude': lambda f: f is None }}) + contact_identifiers: Optional[Dict[str, str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contactIdentifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers to identify a contact""" first_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('first_name'), 'exclude': lambda f: f is None }}) r"""First Name of the portal user""" diff --git a/customer_portal/src/epilot/models/shared/deleteentityfile.py b/customer_portal/src/epilot/models/shared/deleteentityfile.py index c52f43434..2adfd69e7 100755 --- a/customer_portal/src/epilot/models/shared/deleteentityfile.py +++ b/customer_portal/src/epilot/models/shared/deleteentityfile.py @@ -4,17 +4,17 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from epilot import utils +from typing import List @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class DeleteEntityFile: entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) r"""Entity type""" - file_entity_ids: list[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) + file_entity_ids: List[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_entity_ids') }}) r"""Array of file entity IDs""" diff --git a/customer_portal/src/epilot/models/shared/emailtemplates.py b/customer_portal/src/epilot/models/shared/emailtemplates.py index f05ab6e92..2a5d5faa1 100755 --- a/customer_portal/src/epilot/models/shared/emailtemplates.py +++ b/customer_portal/src/epilot/models/shared/emailtemplates.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class EmailTemplates: r"""Email templates used for authentication and internal processes""" diff --git a/customer_portal/src/epilot/models/shared/entityfilecount.py b/customer_portal/src/epilot/models/shared/entityfilecount.py index de27890bc..a021befb5 100755 --- a/customer_portal/src/epilot/models/shared/entityfilecount.py +++ b/customer_portal/src/epilot/models/shared/entityfilecount.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class EntityFileCount: schema: shared_entityslug.EntitySlug = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) diff --git a/customer_portal/src/epilot/models/shared/entityitem.py b/customer_portal/src/epilot/models/shared/entityitem.py new file mode 100755 index 000000000..165c441f6 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/entityitem.py @@ -0,0 +1,32 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from ..shared import entityslug as shared_entityslug +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from epilot import utils +from typing import Any, Dict, List, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class EntityItem: + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: shared_entityslug.EntitySlug = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + r"""URL-friendly identifier for the entity schema""" + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/entitywidget.py b/customer_portal/src/epilot/models/shared/entitywidget.py index 86807cead..4043b8810 100755 --- a/customer_portal/src/epilot/models/shared/entitywidget.py +++ b/customer_portal/src/epilot/models/shared/entitywidget.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class EntityWidgetHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -19,7 +18,6 @@ class EntityWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class EntityWidgetSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -36,7 +34,6 @@ class EntityWidgetType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class EntityWidget: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) diff --git a/customer_portal/src/epilot/models/shared/errorresp.py b/customer_portal/src/epilot/models/shared/errorresp.py index 4d119bc28..112d1ed40 100755 --- a/customer_portal/src/epilot/models/shared/errorresp.py +++ b/customer_portal/src/epilot/models/shared/errorresp.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ErrorResp: message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/extraschemaattributes.py b/customer_portal/src/epilot/models/shared/extraschemaattributes.py index 7881c1bcc..0270edf54 100755 --- a/customer_portal/src/epilot/models/shared/extraschemaattributes.py +++ b/customer_portal/src/epilot/models/shared/extraschemaattributes.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ExtraSchemaAttributes: group: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('group') }}) diff --git a/customer_portal/src/epilot/models/shared/failedruleerrorresp.py b/customer_portal/src/epilot/models/shared/failedruleerrorresp.py index 4d220da8f..af580eb2e 100755 --- a/customer_portal/src/epilot/models/shared/failedruleerrorresp.py +++ b/customer_portal/src/epilot/models/shared/failedruleerrorresp.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class FailedRuleErrorRespFailedRule: r"""Failed validation rule""" @@ -16,7 +15,6 @@ class FailedRuleErrorRespFailedRule: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class FailedRuleErrorResp: failed_rule: Optional[FailedRuleErrorRespFailedRule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('failed_rule'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/file.py b/customer_portal/src/epilot/models/shared/file.py new file mode 100755 index 000000000..89360ee40 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/file.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class FileSchema(str, Enum): + FILE = 'file' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class File: + r"""The file entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: FileSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/fileitem.py b/customer_portal/src/epilot/models/shared/fileitem.py new file mode 100755 index 000000000..0aa5820ce --- /dev/null +++ b/customer_portal/src/epilot/models/shared/fileitem.py @@ -0,0 +1,79 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from ..shared import entityslug as shared_entityslug +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class FileItemRelations: + schema: Optional[shared_entityslug.EntitySlug] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema'), 'exclude': lambda f: f is None }}) + r"""URL-friendly identifier for the entity schema""" + title: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title'), 'exclude': lambda f: f is None }}) + r"""The title of the parent entity""" + entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id'), 'exclude': lambda f: f is None }}) + r"""The ID of the parent entity""" + + + +class FileItemSchema(str, Enum): + FILE = 'file' + +class FileItemAccessControl(str, Enum): + PRIVATE = 'private' + PUBLIC_READ = 'public-read' + +class FileItemType(str, Enum): + r"""Human readable type for file""" + DOCUMENT = 'document' + DOCUMENT_TEMPLATE = 'document_template' + TEXT = 'text' + IMAGE = 'image' + VIDEO = 'video' + AUDIO = 'audio' + SPREADSHEET = 'spreadsheet' + PRESENTATION = 'presentation' + FONT = 'font' + ARCHIVE = 'archive' + APPLICATION = 'application' + UNKNOWN = 'unknown' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class FileItem: + r"""The file entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: FileItemSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + relations: Optional[List[FileItemRelations]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_relations'), 'exclude': lambda f: f is None }}) + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + access_control: Optional[FileItemAccessControl] = dataclasses.field(default=FileItemAccessControl.PRIVATE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) + is_new: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_new'), 'exclude': lambda f: f is None }}) + r"""Indicate whether the user has not seen/downloaded the file before""" + mime_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mime_type'), 'exclude': lambda f: f is None }}) + r"""MIME type of the file""" + public_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('public_url'), 'exclude': lambda f: f is None }}) + r"""Direct URL for file (public only if file access control is public-read)""" + type: Optional[FileItemType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + r"""Human readable type for file""" + + diff --git a/customer_portal/src/epilot/models/shared/grant.py b/customer_portal/src/epilot/models/shared/grant.py index 5aade86b5..3779bbaf5 100755 --- a/customer_portal/src/epilot/models/shared/grant.py +++ b/customer_portal/src/epilot/models/shared/grant.py @@ -14,7 +14,6 @@ class GrantEffect(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Grant: action: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action') }}) diff --git a/customer_portal/src/epilot/models/shared/installmentevent.py b/customer_portal/src/epilot/models/shared/installmentevent.py new file mode 100755 index 000000000..433428e29 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/installmentevent.py @@ -0,0 +1,67 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import date, datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class InstallmentEventContractDollarRelation: + entity_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id'), 'exclude': lambda f: f is None }}) + r"""Entity ID for the related contract.""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class InstallmentEventContract: + dollar_relation: Optional[List[InstallmentEventContractDollarRelation]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('$relation'), 'exclude': lambda f: f is None }}) + + + +class InstallmentEventType(str, Enum): + r"""Type of the billing event.""" + INSTALLMENT = 'installment' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class InstallmentEvent: + r"""A base billing event to be inherited by all billing events.""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + contract: InstallmentEventContract = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract') }}) + due_date: date = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('due_date'), 'encoder': utils.dateisoformat(False), 'decoder': utils.datefromisoformat }}) + r"""Date on which the installment is due.""" + type: InstallmentEventType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + r"""Type of the billing event.""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + billing_amount: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_amount'), 'exclude': lambda f: f is None }}) + r"""Amount to be paid in cents i.e. precision 2""" + billing_amount_decimal: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_amount_decimal'), 'exclude': lambda f: f is None }}) + r"""Amount to be paid in cents in decimal string representation""" + billing_currency: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_currency'), 'exclude': lambda f: f is None }}) + r"""Currency code in ISO 4217 format""" + external_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('external_id'), 'exclude': lambda f: f is None }}) + r"""Unique identifier for event, used to reference the event to a 3rd party resource such as a SAP Installment.""" + paid_date: Optional[date] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('paid_date'), 'encoder': utils.dateisoformat(True), 'decoder': utils.datefromisoformat, 'exclude': lambda f: f is None }}) + r"""Date on which the installment is paid by the customer.""" + + diff --git a/customer_portal/src/epilot/models/shared/opportunity.py b/customer_portal/src/epilot/models/shared/opportunity.py new file mode 100755 index 000000000..6e7675212 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/opportunity.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class OpportunitySchema(str, Enum): + OPPORTUNITY = 'opportunity' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Opportunity: + r"""The opportunity entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: OpportunitySchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/order.py b/customer_portal/src/epilot/models/shared/order.py new file mode 100755 index 000000000..4c082e45d --- /dev/null +++ b/customer_portal/src/epilot/models/shared/order.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class OrderSchema(str, Enum): + ORDER = 'order' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Order: + r"""The order entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: OrderSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/organizationsettings.py b/customer_portal/src/epilot/models/shared/organizationsettings.py index d6cc0edaa..0a87fc480 100755 --- a/customer_portal/src/epilot/models/shared/organizationsettings.py +++ b/customer_portal/src/epilot/models/shared/organizationsettings.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsAutomationEntityMapping: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -18,7 +17,6 @@ class OrganizationSettingsAutomationEntityMapping: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsAutomationPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -28,7 +26,6 @@ class OrganizationSettingsAutomationPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsCentralInboxPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -38,7 +35,6 @@ class OrganizationSettingsCentralInboxPreviewSetting: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsContractsPreviewSetting: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -48,7 +44,6 @@ class OrganizationSettingsContractsPreviewSetting: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsDisableIvy: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -58,7 +53,6 @@ class OrganizationSettingsDisableIvy: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsDoubleOptIn: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -68,7 +62,6 @@ class OrganizationSettingsDoubleOptIn: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsEcommerceCatalogPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -78,7 +71,6 @@ class OrganizationSettingsEcommerceCatalogPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsEcommerceOpportunitiesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -88,7 +80,6 @@ class OrganizationSettingsEcommerceOpportunitiesPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsEcommercePreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -98,7 +89,6 @@ class OrganizationSettingsEcommercePreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsEndCustomerPortal: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -108,7 +98,6 @@ class OrganizationSettingsEndCustomerPortal: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsEntitySchemaBuilder: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -118,7 +107,6 @@ class OrganizationSettingsEntitySchemaBuilder: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsInstallerPortal: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -128,7 +116,6 @@ class OrganizationSettingsInstallerPortal: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsLogicEditorPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -138,7 +125,6 @@ class OrganizationSettingsLogicEditorPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsNewNavigation: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -148,7 +134,6 @@ class OrganizationSettingsNewNavigation: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsPartnering: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -158,7 +143,6 @@ class OrganizationSettingsPartnering: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsProductAvailability: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -168,7 +152,6 @@ class OrganizationSettingsProductAvailability: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsSso: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -178,7 +161,6 @@ class OrganizationSettingsSso: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsSubmissionPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -188,7 +170,6 @@ class OrganizationSettingsSubmissionPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettingsUserRolesPreview: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) @@ -198,7 +179,6 @@ class OrganizationSettingsUserRolesPreview: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationSettings: automation_entity_mapping: Optional[OrganizationSettingsAutomationEntityMapping] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automation_entity_mapping'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 5811af301..2adc47026 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -2,6 +2,7 @@ from __future__ import annotations import dataclasses +from ..shared import adminuser as shared_adminuser from ..shared import emailtemplates as shared_emailtemplates from ..shared import entityslug as shared_entityslug from ..shared import grant as shared_grant @@ -9,11 +10,10 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Any, Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigCognitoDetails: r"""AWS Cognito Pool details for the portal""" @@ -28,18 +28,16 @@ class PortalConfigCognitoDetails: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigDefaultUserToNotify: r"""Default 360 user to notify upon an internal notification""" - on_pending_user: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) + on_pending_user: Optional[List[shared_adminuser.AdminUser]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) r"""Default admin users for pending user notification to notify""" @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigEntityActionsActionLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -49,7 +47,6 @@ class PortalConfigEntityActionsActionLabel: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigEntityActions: action_label: Optional[PortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) @@ -72,7 +69,6 @@ class PortalConfigEntityEditRulesRuleType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigEntityEditRules: allowed_decrement: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_decrement'), 'exclude': lambda f: f is None }}) @@ -91,10 +87,9 @@ class PortalConfigEntityEditRules: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigEntityIdentifiersType: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + attributes: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the entity identifier""" @@ -103,7 +98,6 @@ class PortalConfigEntityIdentifiersType: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigEntityIdentifiers: r"""Identifiers used to identify an entity by a portal user""" @@ -113,7 +107,6 @@ class PortalConfigEntityIdentifiers: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigFeatureSettings: r"""Feature settings for the portal""" @@ -124,7 +117,6 @@ class PortalConfigFeatureSettings: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigImages: r"""Teaser & Banner Image web links""" @@ -139,7 +131,6 @@ class PortalConfigImages: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigOrgSettingsCanary: r"""Canary feature flag""" @@ -150,7 +141,6 @@ class PortalConfigOrgSettingsCanary: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigOrgSettingsReleaseCandidate: r"""Release candidate settings""" @@ -161,7 +151,6 @@ class PortalConfigOrgSettingsReleaseCandidate: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfigOrgSettings: r"""Organization settings""" @@ -179,7 +168,6 @@ class PortalConfigSelfRegistrationSetting(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class PortalConfig: design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) @@ -188,7 +176,7 @@ class PortalConfig: r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) r"""Stringified object with configuration details""" - contact_identifiers: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) + contact_identifiers: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email @@ -203,15 +191,15 @@ class PortalConfig: r"""Email templates used for authentication and internal processes""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the portal access""" - entity_actions: Optional[list[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) + entity_actions: Optional[List[PortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) r"""Journey actions allowed on an entity by a portal user""" - entity_edit_rules: Optional[list[PortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) + entity_edit_rules: Optional[List[PortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) r"""Rules for editing an entity by a portal user""" entity_identifiers: Optional[PortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" feature_settings: Optional[PortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) r"""Feature settings for the portal""" - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + grants: Optional[List[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) r"""Permissions granted to a portal user while accessing entities""" id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) r"""ID of the organization""" diff --git a/customer_portal/src/epilot/models/shared/portaluser.py b/customer_portal/src/epilot/models/shared/portaluser.py new file mode 100755 index 000000000..869bc02b5 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/portaluser.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class PortalUserSchema(str, Enum): + PORTAL_USER = 'portal_user' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class PortalUser: + r"""The portal user entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: PortalUserSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/product.py b/customer_portal/src/epilot/models/shared/product.py new file mode 100755 index 000000000..6890ce0c7 --- /dev/null +++ b/customer_portal/src/epilot/models/shared/product.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import dateutil.parser +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from enum import Enum +from epilot import utils +from typing import Any, Dict, List, Optional + +class ProductSchema(str, Enum): + PRODUCT = 'product' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Product: + r"""The product entity""" + created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_created_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Creation timestamp of the entity""" + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) + r"""Entity ID""" + org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) + r"""Organization ID the entity belongs to""" + schema: ProductSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) + r"""Title of the entity""" + updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""Last update timestamp of the entity""" + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + r"""Array of entity tags""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + + diff --git a/customer_portal/src/epilot/models/shared/saveentityfile.py b/customer_portal/src/epilot/models/shared/saveentityfile.py index 2db30d69e..6e0096adf 100755 --- a/customer_portal/src/epilot/models/shared/saveentityfile.py +++ b/customer_portal/src/epilot/models/shared/saveentityfile.py @@ -5,7 +5,7 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Optional +from typing import List, Optional class SaveEntityFileFilesAccessControl(str, Enum): r"""Access control level for the file""" @@ -14,7 +14,6 @@ class SaveEntityFileFilesAccessControl(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SaveEntityFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) @@ -26,13 +25,12 @@ class SaveEntityFileFilesS3ref: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SaveEntityFileFiles: filename: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename') }}) r"""File name""" s3ref: SaveEntityFileFilesS3ref = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('s3ref') }}) - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) r"""Array of file tags""" access_control: Optional[SaveEntityFileFilesAccessControl] = dataclasses.field(default=SaveEntityFileFilesAccessControl.PRIVATE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_control'), 'exclude': lambda f: f is None }}) r"""Access control level for the file""" @@ -45,13 +43,12 @@ class SaveEntityFileFiles: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SaveEntityFile: entity_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_id') }}) r"""Entity ID""" entity_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_type') }}) r"""Entity type""" - files: list[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + files: List[SaveEntityFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) diff --git a/customer_portal/src/epilot/models/shared/saveportalfile.py b/customer_portal/src/epilot/models/shared/saveportalfile.py index dc1ba2c20..321eedf82 100755 --- a/customer_portal/src/epilot/models/shared/saveportalfile.py +++ b/customer_portal/src/epilot/models/shared/saveportalfile.py @@ -5,11 +5,10 @@ from ..shared import origin as shared_origin from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SavePortalFileFilesS3ref: bucket: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bucket') }}) @@ -21,12 +20,11 @@ class SavePortalFileFilesS3ref: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SavePortalFileFiles: file_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type') }}) r"""File type""" - tags: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) + tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) r"""Array of file tags""" filename: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filename'), 'exclude': lambda f: f is None }}) r"""File name""" @@ -36,10 +34,9 @@ class SavePortalFileFiles: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SavePortalFile: - files: list[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) + files: List[SavePortalFileFiles] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('files') }}) origin: shared_origin.Origin = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('origin') }}) r"""Origin of the portal""" diff --git a/customer_portal/src/epilot/models/shared/schema.py b/customer_portal/src/epilot/models/shared/schema.py new file mode 100755 index 000000000..3f88da1ad --- /dev/null +++ b/customer_portal/src/epilot/models/shared/schema.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Any, Dict, Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class Schema: + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + slug: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('slug'), 'exclude': lambda f: f is None }}) + r"""Slug of the schema""" + + diff --git a/customer_portal/src/epilot/models/shared/security.py b/customer_portal/src/epilot/models/shared/security.py index 42859d022..c485555c2 100755 --- a/customer_portal/src/epilot/models/shared/security.py +++ b/customer_portal/src/epilot/models/shared/security.py @@ -5,7 +5,6 @@ from typing import Optional - @dataclasses.dataclass class Security: epilot_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) diff --git a/customer_portal/src/epilot/models/shared/teaserwidget.py b/customer_portal/src/epilot/models/shared/teaserwidget.py index 3aafcbc0e..42bcdf1be 100755 --- a/customer_portal/src/epilot/models/shared/teaserwidget.py +++ b/customer_portal/src/epilot/models/shared/teaserwidget.py @@ -6,11 +6,10 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TeaserWidgetHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -20,7 +19,6 @@ class TeaserWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TeaserWidgetLeft: show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) @@ -30,7 +28,6 @@ class TeaserWidgetLeft: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TeaserWidgetRight: show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) @@ -40,7 +37,6 @@ class TeaserWidgetRight: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TeaserWidgetSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -57,14 +53,13 @@ class TeaserWidgetType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class TeaserWidget: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) r"""Index of the widget in the list, used for ordering (left or right)""" type: TeaserWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - actions: Optional[list[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) + actions: Optional[List[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) headline: Optional[TeaserWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) left: Optional[TeaserWidgetLeft] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('left'), 'exclude': lambda f: f is None }}) right: Optional[TeaserWidgetRight] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('right'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index e4f61468e..56e022c2d 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -2,17 +2,17 @@ from __future__ import annotations import dataclasses +from ..shared import adminuser as shared_adminuser from ..shared import emailtemplates as shared_emailtemplates from ..shared import entityslug as shared_entityslug from ..shared import grant as shared_grant from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Any, Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigCognitoDetails: r"""AWS Cognito Pool details for the portal""" @@ -27,18 +27,16 @@ class UpsertPortalConfigCognitoDetails: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigDefaultUserToNotify: r"""Default 360 user to notify upon an internal notification""" - on_pending_user: Optional[list[dict[str, Any]]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) + on_pending_user: Optional[List[shared_adminuser.AdminUser]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('onPendingUser'), 'exclude': lambda f: f is None }}) r"""Default admin users for pending user notification to notify""" @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigEntityActionsActionLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -48,7 +46,6 @@ class UpsertPortalConfigEntityActionsActionLabel: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigEntityActions: action_label: Optional[UpsertPortalConfigEntityActionsActionLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('action_Label'), 'exclude': lambda f: f is None }}) @@ -71,7 +68,6 @@ class UpsertPortalConfigEntityEditRulesRuleType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigEntityEditRules: allowed_decrement: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('allowed_decrement'), 'exclude': lambda f: f is None }}) @@ -90,10 +86,9 @@ class UpsertPortalConfigEntityEditRules: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigEntityIdentifiersType: - attributes: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) + attributes: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attributes'), 'exclude': lambda f: f is None }}) r"""Attributes used to identify an entity""" is_enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('isEnabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the entity identifier""" @@ -102,7 +97,6 @@ class UpsertPortalConfigEntityIdentifiersType: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigEntityIdentifiers: r"""Identifiers used to identify an entity by a portal user""" @@ -112,7 +106,6 @@ class UpsertPortalConfigEntityIdentifiers: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigFeatureSettings: r"""Feature settings for the portal""" @@ -123,7 +116,6 @@ class UpsertPortalConfigFeatureSettings: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfigImages: r"""Teaser & Banner Image web links""" @@ -143,7 +135,6 @@ class UpsertPortalConfigSelfRegistrationSetting(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalConfig: design_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('design_id') }}) @@ -152,7 +143,7 @@ class UpsertPortalConfig: r"""AWS Cognito Pool details for the portal""" config: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('config'), 'exclude': lambda f: f is None }}) r"""Stringified object with configuration details""" - contact_identifiers: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) + contact_identifiers: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers to identify a contact.""" contact_secondary_identifier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contact_secondary_identifier'), 'exclude': lambda f: f is None }}) r"""Secondary identifier to identify a contact other than the email @@ -167,15 +158,15 @@ class UpsertPortalConfig: r"""Email templates used for authentication and internal processes""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""Enable/Disable the portal access""" - entity_actions: Optional[list[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) + entity_actions: Optional[List[UpsertPortalConfigEntityActions]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_actions'), 'exclude': lambda f: f is None }}) r"""Journey actions allowed on an entity by a portal user""" - entity_edit_rules: Optional[list[UpsertPortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) + entity_edit_rules: Optional[List[UpsertPortalConfigEntityEditRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_edit_rules'), 'exclude': lambda f: f is None }}) r"""Rules for editing an entity by a portal user""" entity_identifiers: Optional[UpsertPortalConfigEntityIdentifiers] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity_identifiers'), 'exclude': lambda f: f is None }}) r"""Identifiers used to identify an entity by a portal user""" feature_settings: Optional[UpsertPortalConfigFeatureSettings] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('feature_settings'), 'exclude': lambda f: f is None }}) r"""Feature settings for the portal""" - grants: Optional[list[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) + grants: Optional[List[shared_grant.Grant]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('grants'), 'exclude': lambda f: f is None }}) r"""Permissions granted to a portal user while accessing entities""" images: Optional[UpsertPortalConfigImages] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('images'), 'exclude': lambda f: f is None }}) r"""Teaser & Banner Image web links""" diff --git a/customer_portal/src/epilot/models/shared/upsertportalwidget.py b/customer_portal/src/epilot/models/shared/upsertportalwidget.py index a1b75634e..8a29dfee8 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalwidget.py +++ b/customer_portal/src/epilot/models/shared/upsertportalwidget.py @@ -9,13 +9,12 @@ from ..shared import widgetbase as shared_widgetbase from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Union +from typing import List, Union @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpsertPortalWidget: - widgets: list[Union[shared_entitywidget.EntityWidget, shared_contentwidget.ContentWidget, shared_actionwidget.ActionWidget, shared_teaserwidget.TeaserWidget, shared_widgetbase.WidgetBase]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) + widgets: List[Union[shared_entitywidget.EntityWidget, shared_contentwidget.ContentWidget, shared_actionwidget.ActionWidget, shared_teaserwidget.TeaserWidget, shared_widgetbase.WidgetBase]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('widgets') }}) diff --git a/customer_portal/src/epilot/models/shared/widgetaction.py b/customer_portal/src/epilot/models/shared/widgetaction.py index 378d40329..5dd84f479 100755 --- a/customer_portal/src/epilot/models/shared/widgetaction.py +++ b/customer_portal/src/epilot/models/shared/widgetaction.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WidgetActionLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -23,7 +22,6 @@ class WidgetActionType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WidgetAction: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_id') }}) diff --git a/customer_portal/src/epilot/models/shared/widgetbase.py b/customer_portal/src/epilot/models/shared/widgetbase.py index b48fb4cce..e81cfba51 100755 --- a/customer_portal/src/epilot/models/shared/widgetbase.py +++ b/customer_portal/src/epilot/models/shared/widgetbase.py @@ -9,7 +9,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WidgetBaseHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -19,7 +18,6 @@ class WidgetBaseHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WidgetBaseSubHeadline: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) @@ -36,7 +34,6 @@ class WidgetBaseType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WidgetBase: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index 16a86b77d..a7140fe64 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -8,6 +8,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import shared +from typing import Dict class Epilot: r"""Portal API: Backend for epilot portals - End Customer Portal & Installer Portal""" @@ -25,7 +26,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: @@ -38,7 +39,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/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 16db9523f..216002878 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.48.2' - gen_version: str = '2.155.1' - user_agent: str = 'speakeasy-sdk/python 1.48.2 2.155.1 1.0.0 epilot-customer-portal' + 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-customer-portal' 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/customer_portal/src/epilot/utils/retries.py b/customer_portal/src/epilot/utils/retries.py index 2138c1b5e..25f49a1f2 100755 --- a/customer_portal/src/epilot/utils/retries.py +++ b/customer_portal/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/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index 4388f3b74..ccfad9f7a 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 883ac1d8d5a912d4d7a6c079824bca58a09d9294 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 21 Oct 2023 00:29:30 +0000 Subject: [PATCH 93/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.104.0 --- customer_portal/RELEASES.md | 10 ++++++++- customer_portal/docs/sdks/ecp/README.md | 22 +++++++++---------- customer_portal/docs/sdks/ecpadmin/README.md | 4 ++-- customer_portal/docs/sdks/public/README.md | 8 +++---- customer_portal/gen.yaml | 11 ++++++---- customer_portal/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 6 ++--- customer_portal/src/epilot/utils/utils.py | 20 +++++++++++++++++ 8 files changed, 57 insertions(+), 26 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b5292e900..d3c05bdc5 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -644,4 +644,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.0.0] customer_portal \ No newline at end of file +- [python v2.0.0] customer_portal + +## 2023-10-21 00:29:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.0] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index a2546b482..3a0d7f37c 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -91,7 +91,7 @@ req = operations.CreateCustomEntityActivityRequest( activity=shared.Activity( message='{{caller}} did something with {{entity payload.entity.id}}.', payload={ - "entity": 'Outdoors', + "entity": 'string', }, title='My custom activity', type='MyCustomActivity', @@ -373,12 +373,12 @@ from epilot.models import operations s = epilot.Epilot() req = operations.GetBillingEventsRequest( - customer_id='Generic', + customer_id='string', entity_id=[ - 'Facilitator', + 'string', ], event_type=[ - operations.GetBillingEventsEventType.REIMBURSEMENT, + operations.GetBillingEventsEventType.INSTALLMENT, ], ) @@ -490,7 +490,7 @@ s = epilot.Epilot() req = operations.GetEntitiesByIdentifiersRequest( request_body={ - "female": 'female', + "key": 'string', }, slug=shared.EntitySlug.CONTACT, ) @@ -857,7 +857,7 @@ req = shared.SaveEntityFile( files=[ shared.SaveEntityFileFiles( tags=[ - 'Mobility', + 'string', ], document_type='12345', file_entity_id='12345', @@ -943,7 +943,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "Jewell": 'compress', + "key": 'string', } res = s.ecp.update_contact(req, operations.UpdateContactSecurity( @@ -982,7 +982,7 @@ s = epilot.Epilot() req = operations.UpdateContractRequest( request_body={ - "Path": 'linseed', + "key": 'string', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1023,7 +1023,7 @@ s = epilot.Epilot() req = operations.UpdateOpportunityRequest( request_body={ - "Legacy": 'Pants', + "key": 'string', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1064,7 +1064,7 @@ s = epilot.Epilot() req = operations.UpdateOrderRequest( request_body={ - "yuck": 'Berkshire', + "key": 'string', }, id='5da0a718-c822-403d-9f5d-20d4584e0528', ) @@ -1104,7 +1104,7 @@ from epilot.models import operations s = epilot.Epilot() req = { - "Manager": 'Product', + "key": 'string', } res = s.ecp.update_portal_user(req, operations.UpdatePortalUserSecurity( diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index a5cc5371e..32feab9a4 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -566,7 +566,7 @@ req = shared.SavePortalFile( files=[ shared.SavePortalFileFiles( tags=[ - 'save', + 'string', ], file_type='orderRightTeaser', filename='12345', @@ -674,7 +674,7 @@ req = operations.UpsertPortalRequest( on_pending_user=[ shared.AdminUser( additional_properties={ - "up": 'array', + "key": 'string', }, display_name='John', email='j.doe@epilot.cloud', diff --git a/customer_portal/docs/sdks/public/README.md b/customer_portal/docs/sdks/public/README.md index 308b18eef..ec2e76cfa 100755 --- a/customer_portal/docs/sdks/public/README.md +++ b/customer_portal/docs/sdks/public/README.md @@ -77,7 +77,7 @@ req = operations.CreateUserRequest( create_user_request=shared.CreateUserRequest( contact_id='123456', contact_identifiers={ - "navigating": 'Sausages', + "key": 'string', }, email='testemail921@yopmail.com', first_name='John', @@ -86,7 +86,7 @@ req = operations.CreateUserRequest( password='124n$aAJs*d41h4', secondary_identifier='123456', ), - origin=shared.Origin.END_CUSTOMER_PORTAL, + origin=shared.Origin.INSTALLER_PORTAL, ) res = s.public.create_user(req) @@ -127,11 +127,11 @@ s = epilot.Epilot( req = operations.GetContactCountRequest( contact_count_request=shared.ContactCountRequest( contact_identifiers={ - "Grocery": 'convergence', + "key": 'string', }, org_id='728', ), - origin=shared.Origin.INSTALLER_PORTAL, + origin=shared.Origin.END_CUSTOMER_PORTAL, ) res = s.public.get_contact_count(req) diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index b8ea9c972..380065a7b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,24 +2,27 @@ configVersion: 1.0.0 management: docChecksum: 33e07d7c9a5d8b6fbefd6f2bcde81100 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: additionalProperties: 0.1.0 - core: 3.0.2 + core: 3.3.0 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 methodSecurity: 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=customer_portal maxMethodParams: 0 packageName: epilot-customer-portal + repoSubDirectory: customer_portal diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 171429d92..5d45757cd 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.0.0", + version="2.1.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 216002878..64d768842 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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-customer-portal' + 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-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/customer_portal/src/epilot/utils/utils.py b/customer_portal/src/epilot/utils/utils.py index ccfad9f7a..3ab126104 100755 --- a/customer_portal/src/epilot/utils/utils.py +++ b/customer_portal/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 4528bfcce8f69c830f2e871208058417a56ee8f5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 24 Oct 2023 00:30:57 +0000 Subject: [PATCH 94/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.105.0 --- customer_portal/README.md | 25 +++++--- customer_portal/RELEASES.md | 10 +++- customer_portal/USAGE.md | 21 ++++--- ...getentityactivityfeed200applicationjson.md | 11 ++++ .../getentityactivityfeedrequest.md | 15 +++++ .../getentityactivityfeedresponse.md | 11 ++++ .../docs/models/shared/teaserwidget.md | 5 +- .../docs/models/shared/teaserwidgetbutton.md | 9 +++ ...dgetleft.md => teaserwidgetbuttonlabel.md} | 6 +- .../docs/models/shared/teaserwidgetright.md | 9 --- .../docs/models/shared/widgetaction.md | 13 +++-- .../docs/models/shared/widgetactionrules.md | 10 ++++ customer_portal/docs/sdks/activity/README.md | 49 ++++++++++++++++ customer_portal/files.gen | 25 +++++--- customer_portal/gen.yaml | 8 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/activity.py | 43 ++++++++++++++ .../src/epilot/models/operations/__init__.py | 3 +- .../operations/getentityactivityfeed.py | 57 +++++++++++++++++++ .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/teaserwidget.py | 22 ++++--- .../src/epilot/models/shared/widgetaction.py | 13 ++++- customer_portal/src/epilot/sdk.py | 3 + .../src/epilot/sdkconfiguration.py | 6 +- 24 files changed, 308 insertions(+), 70 deletions(-) create mode 100755 customer_portal/docs/models/operations/getentityactivityfeed200applicationjson.md create mode 100755 customer_portal/docs/models/operations/getentityactivityfeedrequest.md create mode 100755 customer_portal/docs/models/operations/getentityactivityfeedresponse.md create mode 100755 customer_portal/docs/models/shared/teaserwidgetbutton.md rename customer_portal/docs/models/shared/{teaserwidgetleft.md => teaserwidgetbuttonlabel.md} (59%) delete mode 100755 customer_portal/docs/models/shared/teaserwidgetright.md create mode 100755 customer_portal/docs/models/shared/widgetactionrules.md create mode 100755 customer_portal/docs/sdks/activity/README.md create mode 100755 customer_portal/src/epilot/activity.py create mode 100755 customer_portal/src/epilot/models/operations/getentityactivityfeed.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 63fe09372..c2ffe5a97 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -12,19 +12,24 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=custom ```python import epilot -from epilot.models import operations +import dateutil.parser +from epilot.models import operations, shared -s = epilot.Epilot() +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) -req = operations.GetCustomerBalanceRequest( - customer_entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', +req = operations.GetEntityActivityFeedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, + type='SyncActivity', ) -res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( - epilot_auth="", -)) +res = s.activity.get_entity_activity_feed(req) -if res.balance is not None: +if res.get_entity_activity_feed_200_application_json_object is not None: # handle response pass ``` @@ -34,6 +39,10 @@ if res.balance is not None: ## Available Resources and Operations +### [activity](docs/sdks/activity/README.md) + +* [get_entity_activity_feed](docs/sdks/activity/README.md#get_entity_activity_feed) - getEntityActivityFeed + ### [balance](docs/sdks/balance/README.md) * [get_customer_balance](docs/sdks/balance/README.md#get_customer_balance) - getCustomerBalance diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index d3c05bdc5..9e9ca3b41 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -652,4 +652,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.0] customer_portal \ No newline at end of file +- [python v2.1.0] customer_portal + +## 2023-10-24 00:30:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.105.0 (2.169.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.1] customer_portal \ No newline at end of file diff --git a/customer_portal/USAGE.md b/customer_portal/USAGE.md index 88c688c4d..6c397b9a3 100755 --- a/customer_portal/USAGE.md +++ b/customer_portal/USAGE.md @@ -3,19 +3,24 @@ ```python import epilot -from epilot.models import operations +import dateutil.parser +from epilot.models import operations, shared -s = epilot.Epilot() +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) -req = operations.GetCustomerBalanceRequest( - customer_entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', +req = operations.GetEntityActivityFeedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, + type='SyncActivity', ) -res = s.balance.get_customer_balance(req, operations.GetCustomerBalanceSecurity( - epilot_auth="", -)) +res = s.activity.get_entity_activity_feed(req) -if res.balance is not None: +if res.get_entity_activity_feed_200_application_json_object is not None: # handle response pass ``` diff --git a/customer_portal/docs/models/operations/getentityactivityfeed200applicationjson.md b/customer_portal/docs/models/operations/getentityactivityfeed200applicationjson.md new file mode 100755 index 000000000..a19ff44ab --- /dev/null +++ b/customer_portal/docs/models/operations/getentityactivityfeed200applicationjson.md @@ -0,0 +1,11 @@ +# GetEntityActivityFeed200ApplicationJSON + +Success + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `results` | List[[shared.ActivityItem](../../models/shared/activityitem.md)] | :heavy_minus_sign: | N/A | | +| `total` | *Optional[int]* | :heavy_minus_sign: | N/A | 1 | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityactivityfeedrequest.md b/customer_portal/docs/models/operations/getentityactivityfeedrequest.md new file mode 100755 index 000000000..4f6335a3c --- /dev/null +++ b/customer_portal/docs/models/operations/getentityactivityfeedrequest.md @@ -0,0 +1,15 @@ +# GetEntityActivityFeedRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Get activities after this timestamp | | +| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | get activities before this timestamp | | +| `from_` | *Optional[int]* | :heavy_minus_sign: | start from page | | +| `id` | *str* | :heavy_check_mark: | Entity id | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `include_relations` | *Optional[bool]* | :heavy_minus_sign: | Include activities from related entities | | +| `size` | *Optional[int]* | :heavy_minus_sign: | max number of results to return | | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | Entity Type | contact | +| `type` | *Optional[str]* | :heavy_minus_sign: | Filter by activity type | SyncActivity | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/getentityactivityfeedresponse.md b/customer_portal/docs/models/operations/getentityactivityfeedresponse.md new file mode 100755 index 000000000..79a167013 --- /dev/null +++ b/customer_portal/docs/models/operations/getentityactivityfeedresponse.md @@ -0,0 +1,11 @@ +# GetEntityActivityFeedResponse + + +## Fields + +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `get_entity_activity_feed_200_application_json_object` | [Optional[GetEntityActivityFeed200ApplicationJSON]](../../models/operations/getentityactivityfeed200applicationjson.md) | :heavy_minus_sign: | Success | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidget.md b/customer_portal/docs/models/shared/teaserwidget.md index 3bad74719..c21994340 100755 --- a/customer_portal/docs/models/shared/teaserwidget.md +++ b/customer_portal/docs/models/shared/teaserwidget.md @@ -5,11 +5,10 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `actions` | List[[WidgetAction](../../models/shared/widgetaction.md)] | :heavy_minus_sign: | N/A | +| `button` | [Optional[TeaserWidgetButton]](../../models/shared/teaserwidgetbutton.md) | :heavy_minus_sign: | N/A | | `headline` | [Optional[TeaserWidgetHeadline]](../../models/shared/teaserwidgetheadline.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | -| `left` | [Optional[TeaserWidgetLeft]](../../models/shared/teaserwidgetleft.md) | :heavy_minus_sign: | N/A | +| `image_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | `list_index` | *int* | :heavy_check_mark: | Index of the widget in the list, used for ordering (left or right) | -| `right` | [Optional[TeaserWidgetRight]](../../models/shared/teaserwidgetright.md) | :heavy_minus_sign: | N/A | | `sub_headline` | [Optional[TeaserWidgetSubHeadline]](../../models/shared/teaserwidgetsubheadline.md) | :heavy_minus_sign: | N/A | | `type` | [TeaserWidgetType](../../models/shared/teaserwidgettype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetbutton.md b/customer_portal/docs/models/shared/teaserwidgetbutton.md new file mode 100755 index 000000000..812ee6848 --- /dev/null +++ b/customer_portal/docs/models/shared/teaserwidgetbutton.md @@ -0,0 +1,9 @@ +# TeaserWidgetButton + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `label` | [Optional[TeaserWidgetButtonLabel]](../../models/shared/teaserwidgetbuttonlabel.md) | :heavy_minus_sign: | N/A | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetleft.md b/customer_portal/docs/models/shared/teaserwidgetbuttonlabel.md similarity index 59% rename from customer_portal/docs/models/shared/teaserwidgetleft.md rename to customer_portal/docs/models/shared/teaserwidgetbuttonlabel.md index b23ee28ec..5678df26a 100755 --- a/customer_portal/docs/models/shared/teaserwidgetleft.md +++ b/customer_portal/docs/models/shared/teaserwidgetbuttonlabel.md @@ -1,9 +1,9 @@ -# TeaserWidgetLeft +# TeaserWidgetButtonLabel ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `show` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `show_button` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `de` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `en` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/teaserwidgetright.md b/customer_portal/docs/models/shared/teaserwidgetright.md deleted file mode 100755 index fbbb89dd4..000000000 --- a/customer_portal/docs/models/shared/teaserwidgetright.md +++ /dev/null @@ -1,9 +0,0 @@ -# TeaserWidgetRight - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `show` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `show_button` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetaction.md b/customer_portal/docs/models/shared/widgetaction.md index 291b8f3ca..a0d409604 100755 --- a/customer_portal/docs/models/shared/widgetaction.md +++ b/customer_portal/docs/models/shared/widgetaction.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | N/A | -| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | -| `type` | [WidgetActionType](../../models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | N/A | +| `label` | [WidgetActionLabel](../../models/shared/widgetactionlabel.md) | :heavy_check_mark: | N/A | +| `rules` | List[[WidgetActionRules](../../models/shared/widgetactionrules.md)] | :heavy_minus_sign: | N/A | +| `type` | [WidgetActionType](../../models/shared/widgetactiontype.md) | :heavy_check_mark: | N/A | +| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/widgetactionrules.md b/customer_portal/docs/models/shared/widgetactionrules.md new file mode 100755 index 000000000..28eb7bb29 --- /dev/null +++ b/customer_portal/docs/models/shared/widgetactionrules.md @@ -0,0 +1,10 @@ +# WidgetActionRules + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `attribute` | *str* | :heavy_check_mark: | N/A | +| `attribute_value` | *str* | :heavy_check_mark: | N/A | +| `entity` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/sdks/activity/README.md b/customer_portal/docs/sdks/activity/README.md new file mode 100755 index 000000000..27351ddf2 --- /dev/null +++ b/customer_portal/docs/sdks/activity/README.md @@ -0,0 +1,49 @@ +# Activity +(*activity*) + +### Available Operations + +* [get_entity_activity_feed](#get_entity_activity_feed) - getEntityActivityFeed + +## get_entity_activity_feed + +Get activity feed for an entity + + +### Example Usage + +```python +import epilot +import dateutil.parser +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetEntityActivityFeedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, + type='SyncActivity', +) + +res = s.activity.get_entity_activity_feed(req) + +if res.get_entity_activity_feed_200_application_json_object is not None: + # handle response + pass +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetEntityActivityFeedRequest](../../models/operations/getentityactivityfeedrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetEntityActivityFeedResponse](../../models/operations/getentityactivityfeedresponse.md)** + diff --git a/customer_portal/files.gen b/customer_portal/files.gen index eeed767b6..147464402 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -1,4 +1,5 @@ src/epilot/sdkconfiguration.py +src/epilot/activity.py src/epilot/balance.py src/epilot/ecp.py src/epilot/ecp_admin.py @@ -12,6 +13,7 @@ src/epilot/models/errors/sdkerror.py src/epilot/utils/__init__.py src/epilot/utils/retries.py src/epilot/utils/utils.py +src/epilot/models/operations/getentityactivityfeed.py src/epilot/models/operations/getcustomerbalance.py src/epilot/models/operations/addendcustomerrelationtoentity.py src/epilot/models/operations/createcustomentityactivity.py @@ -66,12 +68,12 @@ src/epilot/models/operations/getpublicportalconfig.py src/epilot/models/operations/getpublicportalwidgets.py src/epilot/models/operations/userexists.py src/epilot/models/operations/__init__.py +src/epilot/models/shared/activityitem.py +src/epilot/models/shared/activitycallercontext.py +src/epilot/models/shared/entityslug.py src/epilot/models/shared/balance.py src/epilot/models/shared/entityitem.py -src/epilot/models/shared/entityslug.py src/epilot/models/shared/errorresp.py -src/epilot/models/shared/activityitem.py -src/epilot/models/shared/activitycallercontext.py src/epilot/models/shared/activity.py src/epilot/models/shared/deleteentityfile.py src/epilot/models/shared/contract.py @@ -111,6 +113,9 @@ src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py src/epilot/models/errors/__init__.py USAGE.md +docs/models/operations/getentityactivityfeedrequest.md +docs/models/operations/getentityactivityfeed200applicationjson.md +docs/models/operations/getentityactivityfeedresponse.md docs/models/operations/getcustomerbalancesecurity.md docs/models/operations/getcustomerbalancerequest.md docs/models/operations/getcustomerbalanceresponse.md @@ -298,16 +303,16 @@ docs/models/operations/getpublicportalwidgetsresponse.md docs/models/operations/userexistsrequest.md docs/models/operations/userexists200applicationjson.md docs/models/operations/userexistsresponse.md -docs/models/shared/balance.md -docs/models/shared/entityitem.md -docs/models/shared/entityslug.md -docs/models/shared/errorresp.md docs/models/shared/activityitempayloadentity.md docs/models/shared/activityitempayload.md docs/models/shared/activityitem.md docs/models/shared/activitycallercontextportalauthtoken.md docs/models/shared/activitycallercontextportalauth.md docs/models/shared/activitycallercontext.md +docs/models/shared/entityslug.md +docs/models/shared/balance.md +docs/models/shared/entityitem.md +docs/models/shared/errorresp.md docs/models/shared/activity.md docs/models/shared/deleteentityfile.md docs/models/shared/contractschema.md @@ -396,11 +401,12 @@ docs/models/shared/actionwidgetsubheadline.md docs/models/shared/actionwidgettype.md docs/models/shared/actionwidget.md docs/models/shared/widgetactionlabel.md +docs/models/shared/widgetactionrules.md docs/models/shared/widgetactiontype.md docs/models/shared/widgetaction.md +docs/models/shared/teaserwidgetbuttonlabel.md +docs/models/shared/teaserwidgetbutton.md docs/models/shared/teaserwidgetheadline.md -docs/models/shared/teaserwidgetleft.md -docs/models/shared/teaserwidgetright.md docs/models/shared/teaserwidgetsubheadline.md docs/models/shared/teaserwidgettype.md docs/models/shared/teaserwidget.md @@ -437,6 +443,7 @@ docs/models/shared/createuserrequest.md docs/models/shared/contactcountrequest.md docs/models/shared/security.md docs/sdks/epilot/README.md +docs/sdks/activity/README.md docs/sdks/balance/README.md docs/sdks/ecp/README.md docs/sdks/ecpadmin/README.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 380065a7b..d8a6cae9b 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 33e07d7c9a5d8b6fbefd6f2bcde81100 + docChecksum: 80cce42803a2c42a7b6044156543f9d1 docVersion: 1.0.0 - speakeasyVersion: 1.104.0 - generationVersion: 2.169.0 + speakeasyVersion: 1.105.0 + generationVersion: 2.169.3 generation: repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot @@ -18,7 +18,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 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/customer_portal/setup.py b/customer_portal/setup.py index 5d45757cd..a217b9b2b 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.1.0", + version="2.1.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/activity.py b/customer_portal/src/epilot/activity.py new file mode 100755 index 000000000..a404df179 --- /dev/null +++ b/customer_portal/src/epilot/activity.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from .sdkconfiguration import SDKConfiguration +from epilot import utils +from epilot.models import errors, operations +from typing import Optional + +class Activity: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + def get_entity_activity_feed(self, request: operations.GetEntityActivityFeedRequest) -> operations.GetEntityActivityFeedResponse: + r"""getEntityActivityFeed + Get activity feed for an entity + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(operations.GetEntityActivityFeedRequest, base_url, '/v2/portal/entity/{slug}/{id}/activity', request) + headers = {} + query_params = utils.get_query_params(operations.GetEntityActivityFeedRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = self.sdk_configuration.security_client + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.GetEntityActivityFeedResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.GetEntityActivityFeed200ApplicationJSON]) + res.get_entity_activity_feed_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + \ No newline at end of file diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 62cf11f40..aad448a12 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -24,6 +24,7 @@ from .getecpcontact import * from .getemailtemplates import * from .getentitiesbyidentifiers import * +from .getentityactivityfeed import * from .getentityidentifiers import * from .getfilebyid import * from .getfilescountbyentity import * @@ -54,4 +55,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityActivityFeed200ApplicationJSON","GetEntityActivityFeedRequest","GetEntityActivityFeedResponse","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/getentityactivityfeed.py b/customer_portal/src/epilot/models/operations/getentityactivityfeed.py new file mode 100755 index 000000000..3fcb151fb --- /dev/null +++ b/customer_portal/src/epilot/models/operations/getentityactivityfeed.py @@ -0,0 +1,57 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import activityitem as shared_activityitem +from ..shared import entityslug as shared_entityslug +from dataclasses_json import Undefined, dataclass_json +from datetime import datetime +from epilot import utils +from typing import List, Optional + + +@dataclasses.dataclass +class GetEntityActivityFeedRequest: + id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }}) + r"""Entity id""" + slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': False }}) + r"""Entity Type""" + after: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'after', 'style': 'form', 'explode': True }}) + r"""Get activities after this timestamp""" + before: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'before', 'style': 'form', 'explode': True }}) + r"""get activities before this timestamp""" + from_: Optional[int] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'from', 'style': 'form', 'explode': True }}) + r"""start from page""" + include_relations: Optional[bool] = dataclasses.field(default=False, metadata={'query_param': { 'field_name': 'include_relations', 'style': 'form', 'explode': True }}) + r"""Include activities from related entities""" + size: Optional[int] = dataclasses.field(default=25, metadata={'query_param': { 'field_name': 'size', 'style': 'form', 'explode': True }}) + r"""max number of results to return""" + type: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'type', 'style': 'form', 'explode': True }}) + r"""Filter by activity type""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class GetEntityActivityFeed200ApplicationJSON: + r"""Success""" + results: Optional[List[shared_activityitem.ActivityItem]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + total: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('total'), 'exclude': lambda f: f is None }}) + + + + +@dataclasses.dataclass +class GetEntityActivityFeedResponse: + 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""" + get_entity_activity_feed_200_application_json_object: Optional[GetEntityActivityFeed200ApplicationJSON] = dataclasses.field(default=None) + r"""Success""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 90000e246..255ea6513 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -43,4 +43,4 @@ from .widgetaction import * from .widgetbase import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityCallerContext","ActivityCallerContextPortalAuth","ActivityCallerContextPortalAuthToken","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","AdminUser","AdminUserImageURI","Balance","BillingEvent","BillingEventReimbursementEvent","BillingEventReimbursementEventContract","BillingEventReimbursementEventContractDollarRelation","BillingEventReimbursementEventType","Contact","ContactCountRequest","ContactSchema","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","Contract","ContractSchema","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntityItem","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","File","FileItem","FileItemAccessControl","FileItemRelations","FileItemSchema","FileItemType","FileSchema","Grant","GrantEffect","InstallmentEvent","InstallmentEventContract","InstallmentEventContractDollarRelation","InstallmentEventType","Opportunity","OpportunitySchema","Order","OrderSchema","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","PortalUser","PortalUserSchema","Product","ProductSchema","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Schema","Security","TeaserWidget","TeaserWidgetHeadline","TeaserWidgetLeft","TeaserWidgetRight","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityCallerContext","ActivityCallerContextPortalAuth","ActivityCallerContextPortalAuthToken","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","AdminUser","AdminUserImageURI","Balance","BillingEvent","BillingEventReimbursementEvent","BillingEventReimbursementEventContract","BillingEventReimbursementEventContractDollarRelation","BillingEventReimbursementEventType","Contact","ContactCountRequest","ContactSchema","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","Contract","ContractSchema","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntityItem","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","File","FileItem","FileItemAccessControl","FileItemRelations","FileItemSchema","FileItemType","FileSchema","Grant","GrantEffect","InstallmentEvent","InstallmentEventContract","InstallmentEventContractDollarRelation","InstallmentEventType","Opportunity","OpportunitySchema","Order","OrderSchema","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","PortalUser","PortalUserSchema","Product","ProductSchema","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Schema","Security","TeaserWidget","TeaserWidgetButton","TeaserWidgetButtonLabel","TeaserWidgetHeadline","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionRules","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] diff --git a/customer_portal/src/epilot/models/shared/teaserwidget.py b/customer_portal/src/epilot/models/shared/teaserwidget.py index 42bcdf1be..e6eb7e2d7 100755 --- a/customer_portal/src/epilot/models/shared/teaserwidget.py +++ b/customer_portal/src/epilot/models/shared/teaserwidget.py @@ -2,16 +2,15 @@ from __future__ import annotations import dataclasses -from ..shared import widgetaction as shared_widgetaction from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import List, Optional +from typing import Optional @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class TeaserWidgetHeadline: +class TeaserWidgetButtonLabel: de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) @@ -20,18 +19,18 @@ class TeaserWidgetHeadline: @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class TeaserWidgetLeft: - show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) - show_button: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('showButton'), 'exclude': lambda f: f is None }}) +class TeaserWidgetButton: + label: Optional[TeaserWidgetButtonLabel] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) + url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('url'), 'exclude': lambda f: f is None }}) @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class TeaserWidgetRight: - show: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('show'), 'exclude': lambda f: f is None }}) - show_button: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('showButton'), 'exclude': lambda f: f is None }}) +class TeaserWidgetHeadline: + de: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('de'), 'exclude': lambda f: f is None }}) + en: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('en'), 'exclude': lambda f: f is None }}) @@ -59,10 +58,9 @@ class TeaserWidget: list_index: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('listIndex') }}) r"""Index of the widget in the list, used for ordering (left or right)""" type: TeaserWidgetType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - actions: Optional[List[shared_widgetaction.WidgetAction]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actions'), 'exclude': lambda f: f is None }}) + button: Optional[TeaserWidgetButton] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('button'), 'exclude': lambda f: f is None }}) headline: Optional[TeaserWidgetHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('headline'), 'exclude': lambda f: f is None }}) - left: Optional[TeaserWidgetLeft] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('left'), 'exclude': lambda f: f is None }}) - right: Optional[TeaserWidgetRight] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('right'), 'exclude': lambda f: f is None }}) + image_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('imageUrl'), 'exclude': lambda f: f is None }}) sub_headline: Optional[TeaserWidgetSubHeadline] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('subHeadline'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/models/shared/widgetaction.py b/customer_portal/src/epilot/models/shared/widgetaction.py index 5dd84f479..31b3f4d23 100755 --- a/customer_portal/src/epilot/models/shared/widgetaction.py +++ b/customer_portal/src/epilot/models/shared/widgetaction.py @@ -5,7 +5,7 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) @@ -16,6 +16,16 @@ class WidgetActionLabel: + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class WidgetActionRules: + attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attribute') }}) + attribute_value: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('attribute_value') }}) + entity: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entity') }}) + + + class WidgetActionType(str, Enum): LINK = 'link' JOURNEY = 'journey' @@ -28,5 +38,6 @@ class WidgetAction: label: WidgetActionLabel = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label') }}) type: WidgetActionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) url: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('url') }}) + rules: Optional[List[WidgetActionRules]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('rules'), 'exclude': lambda f: f is None }}) diff --git a/customer_portal/src/epilot/sdk.py b/customer_portal/src/epilot/sdk.py index a7140fe64..ea30d4519 100755 --- a/customer_portal/src/epilot/sdk.py +++ b/customer_portal/src/epilot/sdk.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests as requests_http +from .activity import Activity from .balance import Balance from .ecp import Ecp from .ecp_admin import ECPAdmin @@ -12,6 +13,7 @@ class Epilot: r"""Portal API: Backend for epilot portals - End Customer Portal & Installer Portal""" + activity: Activity balance: Balance ecp: Ecp r"""APIs defined for a portal user""" @@ -61,6 +63,7 @@ def __init__(self, self._init_sdks() def _init_sdks(self): + self.activity = Activity(self.sdk_configuration) self.balance = Balance(self.sdk_configuration) self.ecp = Ecp(self.sdk_configuration) self.ecp_admin = ECPAdmin(self.sdk_configuration) diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 64d768842..3c05412eb 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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-customer-portal' + sdk_version: str = '2.1.1' + gen_version: str = '2.169.3' + user_agent: str = 'speakeasy-sdk/python 2.1.1 2.169.3 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: From 7c2e86b4b50fe2337b159b913d7dec45e3b2e832 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 26 Oct 2023 00:29:52 +0000 Subject: [PATCH 95/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.107.0 --- customer_portal/RELEASES.md | 10 +++++++++- .../docs/models/shared/portalconfigfeaturesettings.md | 1 + .../models/shared/upsertportalconfigfeaturesettings.md | 1 + customer_portal/gen.yaml | 8 ++++---- customer_portal/setup.py | 2 +- .../src/epilot/models/shared/portalconfig.py | 2 ++ .../src/epilot/models/shared/upsertportalconfig.py | 2 ++ customer_portal/src/epilot/sdkconfiguration.py | 6 +++--- 8 files changed, 23 insertions(+), 9 deletions(-) diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 9e9ca3b41..b8e80f439 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -660,4 +660,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.105.0 (2.169.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.1] customer_portal \ No newline at end of file +- [python v2.1.1] customer_portal + +## 2023-10-26 00:29:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.107.0 (2.171.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.2] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/shared/portalconfigfeaturesettings.md b/customer_portal/docs/models/shared/portalconfigfeaturesettings.md index f5907ff4a..ce88c965b 100755 --- a/customer_portal/docs/models/shared/portalconfigfeaturesettings.md +++ b/customer_portal/docs/models/shared/portalconfigfeaturesettings.md @@ -7,4 +7,5 @@ Feature settings for the portal | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `billing` | *Optional[bool]* | :heavy_minus_sign: | Billing feature flag | | `start_page` | *Optional[bool]* | :heavy_minus_sign: | Start page feature flag | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md b/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md index 9a7b2d0a9..24dd8171b 100755 --- a/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md +++ b/customer_portal/docs/models/shared/upsertportalconfigfeaturesettings.md @@ -7,4 +7,5 @@ Feature settings for the portal | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `billing` | *Optional[bool]* | :heavy_minus_sign: | Billing feature flag | | `start_page` | *Optional[bool]* | :heavy_minus_sign: | Start page feature flag | \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index d8a6cae9b..6481b4448 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 80cce42803a2c42a7b6044156543f9d1 + docChecksum: 13b78f9eab03bbd672b68e7f67672e3a docVersion: 1.0.0 - speakeasyVersion: 1.105.0 - generationVersion: 2.169.3 + speakeasyVersion: 1.107.0 + generationVersion: 2.171.0 generation: repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot @@ -18,7 +18,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 2.1.1 + version: 2.1.2 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index a217b9b2b..515d791b7 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.1.1", + version="2.1.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/models/shared/portalconfig.py b/customer_portal/src/epilot/models/shared/portalconfig.py index 2adc47026..7691772ce 100755 --- a/customer_portal/src/epilot/models/shared/portalconfig.py +++ b/customer_portal/src/epilot/models/shared/portalconfig.py @@ -110,6 +110,8 @@ class PortalConfigEntityIdentifiers: @dataclasses.dataclass class PortalConfigFeatureSettings: r"""Feature settings for the portal""" + billing: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing'), 'exclude': lambda f: f is None }}) + r"""Billing feature flag""" start_page: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_page'), 'exclude': lambda f: f is None }}) r"""Start page feature flag""" diff --git a/customer_portal/src/epilot/models/shared/upsertportalconfig.py b/customer_portal/src/epilot/models/shared/upsertportalconfig.py index 56e022c2d..ce6ee820b 100755 --- a/customer_portal/src/epilot/models/shared/upsertportalconfig.py +++ b/customer_portal/src/epilot/models/shared/upsertportalconfig.py @@ -109,6 +109,8 @@ class UpsertPortalConfigEntityIdentifiers: @dataclasses.dataclass class UpsertPortalConfigFeatureSettings: r"""Feature settings for the portal""" + billing: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing'), 'exclude': lambda f: f is None }}) + r"""Billing feature flag""" start_page: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_page'), 'exclude': lambda f: f is None }}) r"""Start page feature flag""" diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 3c05412eb..dc70d4b93 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.1' - gen_version: str = '2.169.3' - user_agent: str = 'speakeasy-sdk/python 2.1.1 2.169.3 1.0.0 epilot-customer-portal' + sdk_version: str = '2.1.2' + gen_version: str = '2.171.0' + user_agent: str = 'speakeasy-sdk/python 2.1.2 2.171.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: From 68a5ccec47b193616cba810cb136d1eede78fa7e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 28 Oct 2023 00:29:35 +0000 Subject: [PATCH 96/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.109.0 --- customer_portal/README.md | 105 ++++++++++++++++++ customer_portal/RELEASES.md | 10 +- customer_portal/gen.yaml | 8 +- customer_portal/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 6 +- 5 files changed, 122 insertions(+), 9 deletions(-) diff --git a/customer_portal/README.md b/customer_portal/README.md index c2ffe5a97..43c3ea726 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -129,6 +129,111 @@ 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://customer-portal-api.sls.epilot.io` | None | + +For example: + + +```python +import epilot +import dateutil.parser +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), + server_idx=0 +) + +req = operations.GetEntityActivityFeedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, + type='SyncActivity', +) + +res = s.activity.get_entity_activity_feed(req) + +if res.get_entity_activity_feed_200_application_json_object 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 +import dateutil.parser +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), + server_url="https://customer-portal-api.sls.epilot.io" +) + +req = operations.GetEntityActivityFeedRequest( + id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, + type='SyncActivity', +) + +res = s.activity.get_entity_activity_feed(req) + +if res.get_entity_activity_feed_200_application_json_object 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/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index b8e80f439..4bca08e6b 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -668,4 +668,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.107.0 (2.171.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.2] customer_portal \ No newline at end of file +- [python v2.1.2] customer_portal + +## 2023-10-28 00:29:14 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.3] customer_portal \ No newline at end of file diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 6481b4448..78782fda4 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 13b78f9eab03bbd672b68e7f67672e3a docVersion: 1.0.0 - speakeasyVersion: 1.107.0 - generationVersion: 2.171.0 + speakeasyVersion: 1.109.0 + generationVersion: 2.173.0 generation: repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot @@ -12,13 +12,13 @@ generation: features: python: additionalProperties: 0.1.0 - core: 3.3.0 + core: 3.3.1 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 2.1.2 + version: 2.1.3 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 515d791b7..0a5af4f96 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.1.2", + version="2.1.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index dc70d4b93..8df6b605d 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.2' - gen_version: str = '2.171.0' - user_agent: str = 'speakeasy-sdk/python 2.1.2 2.171.0 1.0.0 epilot-customer-portal' + sdk_version: str = '2.1.3' + gen_version: str = '2.173.0' + user_agent: str = 'speakeasy-sdk/python 2.1.3 2.173.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: From 4cd39a3fe4809e1c85aee03ec32d8a7090a62734 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 31 Oct 2023 00:30:52 +0000 Subject: [PATCH 97/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.109.0 --- customer_portal/README.md | 5 +- customer_portal/RELEASES.md | 10 +- .../triggerentityaccess200applicationjson.md | 10 ++ .../operations/triggerentityaccessrequest.md | 9 ++ .../operations/triggerentityaccessresponse.md | 11 +++ .../operations/triggerentityaccesssecurity.md | 8 ++ .../docs/models/shared/contract.md | 45 +++++++-- .../models/shared/contractbillingperiod.md | 14 +++ .../docs/models/shared/contractbranch.md | 14 +++ .../models/shared/contractnoticetimeunit.md | 12 +++ .../shared/contractrenewaldurationunit.md | 12 +++ .../docs/models/shared/contractschema.md | 8 -- .../docs/models/shared/contractstatus.md | 17 ++++ customer_portal/docs/sdks/ecp/README.md | 40 ++++++++ customer_portal/files.gen | 11 ++- customer_portal/gen.yaml | 4 +- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp.py | 29 ++++++ .../src/epilot/models/operations/__init__.py | 3 +- .../models/operations/triggerentityaccess.py | 49 ++++++++++ .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/contract.py | 95 ++++++++++++++++++- .../src/epilot/sdkconfiguration.py | 4 +- 23 files changed, 379 insertions(+), 35 deletions(-) create mode 100755 customer_portal/docs/models/operations/triggerentityaccess200applicationjson.md create mode 100755 customer_portal/docs/models/operations/triggerentityaccessrequest.md create mode 100755 customer_portal/docs/models/operations/triggerentityaccessresponse.md create mode 100755 customer_portal/docs/models/operations/triggerentityaccesssecurity.md create mode 100755 customer_portal/docs/models/shared/contractbillingperiod.md create mode 100755 customer_portal/docs/models/shared/contractbranch.md create mode 100755 customer_portal/docs/models/shared/contractnoticetimeunit.md create mode 100755 customer_portal/docs/models/shared/contractrenewaldurationunit.md delete mode 100755 customer_portal/docs/models/shared/contractschema.md create mode 100755 customer_portal/docs/models/shared/contractstatus.md create mode 100755 customer_portal/src/epilot/models/operations/triggerentityaccess.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 43c3ea726..39db28875 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -72,6 +72,7 @@ if res.get_entity_activity_feed_200_application_json_object is not None: * [get_schemas](docs/sdks/ecp/README.md#get_schemas) - getSchemas * [save_entity_file](docs/sdks/ecp/README.md#save_entity_file) - saveEntityFile * [track_file_downloaded](docs/sdks/ecp/README.md#track_file_downloaded) - trackFileDownloaded +* [trigger_entity_access](docs/sdks/ecp/README.md#trigger_entity_access) - triggerEntityAccess * [update_contact](docs/sdks/ecp/README.md#update_contact) - updateContact * [update_contract](docs/sdks/ecp/README.md#update_contract) - updateContract * [update_opportunity](docs/sdks/ecp/README.md#update_opportunity) - updateOpportunity @@ -135,8 +136,6 @@ 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. - - @@ -230,8 +229,6 @@ http_client = requests.Session() http_client.headers.update({'x-custom-header': 'someValue'}) s = epilot.Epilot(client: http_client) ``` - - diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 4bca08e6b..7c001acab 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -676,4 +676,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.3] customer_portal \ No newline at end of file +- [python v2.1.3] customer_portal + +## 2023-10-31 00:30:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.4] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/triggerentityaccess200applicationjson.md b/customer_portal/docs/models/operations/triggerentityaccess200applicationjson.md new file mode 100755 index 000000000..6cc6c9caf --- /dev/null +++ b/customer_portal/docs/models/operations/triggerentityaccess200applicationjson.md @@ -0,0 +1,10 @@ +# TriggerEntityAccess200ApplicationJSON + +The event has been triggered successfully. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `event_id` | *Optional[str]* | :heavy_minus_sign: | Event ID | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/triggerentityaccessrequest.md b/customer_portal/docs/models/operations/triggerentityaccessrequest.md new file mode 100755 index 000000000..6f85eae57 --- /dev/null +++ b/customer_portal/docs/models/operations/triggerentityaccessrequest.md @@ -0,0 +1,9 @@ +# TriggerEntityAccessRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `entity_id` | *Optional[str]* | :heavy_minus_sign: | entity ID | 1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e | +| `schema` | *Optional[str]* | :heavy_minus_sign: | entity schema | contract | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/triggerentityaccessresponse.md b/customer_portal/docs/models/operations/triggerentityaccessresponse.md new file mode 100755 index 000000000..592085579 --- /dev/null +++ b/customer_portal/docs/models/operations/triggerentityaccessresponse.md @@ -0,0 +1,11 @@ +# TriggerEntityAccessResponse + + +## Fields + +| 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 | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `trigger_entity_access_200_application_json_object` | [Optional[TriggerEntityAccess200ApplicationJSON]](../../models/operations/triggerentityaccess200applicationjson.md) | :heavy_minus_sign: | The event has been triggered successfully. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/triggerentityaccesssecurity.md b/customer_portal/docs/models/operations/triggerentityaccesssecurity.md new file mode 100755 index 000000000..653329bd0 --- /dev/null +++ b/customer_portal/docs/models/operations/triggerentityaccesssecurity.md @@ -0,0 +1,8 @@ +# TriggerEntityAccessSecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `portal_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contract.md b/customer_portal/docs/models/shared/contract.md index b90ecad77..cc86e450f 100755 --- a/customer_portal/docs/models/shared/contract.md +++ b/customer_portal/docs/models/shared/contract.md @@ -5,13 +5,38 @@ The contract entity ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | -| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | -| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | -| `schema` | [ContractSchema](../../models/shared/contractschema.md) | :heavy_check_mark: | N/A | | -| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | -| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `id` | *str* | :heavy_check_mark: | Entity ID | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `org` | *str* | :heavy_check_mark: | Organization ID the entity belongs to | 123 | +| `tags` | List[*str*] | :heavy_minus_sign: | Array of entity tags | example,mock | +| `title` | *str* | :heavy_check_mark: | Title of the entity | Example Entity | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last update timestamp of the entity | 2021-02-09T12:41:43.662Z | +| `account_number` | *Optional[str]* | :heavy_minus_sign: | The account number associated with the contract. | 67890 | +| `additional_addresses` | *Optional[str]* | :heavy_minus_sign: | Any additional addresses associated with the contract. | 789 Oak St, Anytown | +| `balance` | *Optional[int]* | :heavy_minus_sign: | Current balance of the contract in cents. (precision 2) | 8990 | +| `balance_amount_decimal` | *Optional[str]* | :heavy_minus_sign: | Current balance of the contract in decimal string representation. | 89.90 | +| `balance_currency` | *Optional[str]* | :heavy_minus_sign: | Currency code in ISO 4217 format | EUR | +| `billing_address` | *Optional[str]* | :heavy_minus_sign: | The billing address associated with the contract. | 123 Main St, Anytown | +| `billing_duration_amount` | *Optional[float]* | :heavy_minus_sign: | The duration of the billing period. | 30 | +| `billing_period` | [Optional[ContractBillingPeriod]](../../models/shared/contractbillingperiod.md) | :heavy_minus_sign: | The billing period associated with the contract. | monthly | +| `billing_schedule_by_month_day` | *Optional[int]* | :heavy_minus_sign: | Defines the day of the month in which the installments are due. | 2 | +| `billing_schedule_end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Defines the end date for the billing schedule | 2020-01-01T00:00:00.000Z | +| `billing_schedule_start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Defines the start date for the billing schedule | 2020-01-01T00:00:00.000Z | +| `branch` | [Optional[ContractBranch]](../../models/shared/contractbranch.md) | :heavy_minus_sign: | The branch associated with the contract. | power | +| `contract_name` | *Optional[str]* | :heavy_minus_sign: | The name of the contract. | Grid Contract | +| `contract_number` | *Optional[str]* | :heavy_minus_sign: | The unique identifier of the contract. | 12345 | +| `delivery_address` | *Optional[str]* | :heavy_minus_sign: | The delivery address associated with the contract. | 456 Elm St, Anytown | +| `description` | *Optional[str]* | :heavy_minus_sign: | A brief description of the contract. | This contract is for the supply of widgets. | +| `installment_amount` | *Optional[int]* | :heavy_minus_sign: | Set amount for installments in cents. (precision 2) | 10050 | +| `installment_amount_decimal` | *Optional[str]* | :heavy_minus_sign: | Set amount for installments in decimal string representation. | 100.50 | +| `notice_time_amount` | *Optional[float]* | :heavy_minus_sign: | The amount of notice required for termination of the contract. | 30 | +| `notice_time_unit` | [Optional[ContractNoticeTimeUnit]](../../models/shared/contractnoticetimeunit.md) | :heavy_minus_sign: | The unit of time for the notice period. | months | +| `renewal_duration_amount` | *Optional[float]* | :heavy_minus_sign: | The duration of the renewal period. | 365 | +| `renewal_duration_unit` | [Optional[ContractRenewalDurationUnit]](../../models/shared/contractrenewaldurationunit.md) | :heavy_minus_sign: | The unit of time for the renewal period. | years | +| `start_date` | *Optional[str]* | :heavy_minus_sign: | The start date of the contract. | 2021-01-01 | +| `status` | [Optional[ContractStatus]](../../models/shared/contractstatus.md) | :heavy_minus_sign: | The status of the contract. | approved | +| `termination_date` | *Optional[str]* | :heavy_minus_sign: | The date on which the contract was terminated. | 2022-01-01 | +| `termination_reason` | *Optional[str]* | :heavy_minus_sign: | The reason for the termination of the contract. | Non-payment | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractbillingperiod.md b/customer_portal/docs/models/shared/contractbillingperiod.md new file mode 100755 index 000000000..b755d5a19 --- /dev/null +++ b/customer_portal/docs/models/shared/contractbillingperiod.md @@ -0,0 +1,14 @@ +# ContractBillingPeriod + +The billing period associated with the contract. + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `WEEKLY` | weekly | +| `MONTHLY` | monthly | +| `EVERY_QUARTER` | every_quarter | +| `EVERY_6_MONTHS` | every_6_months | +| `YEARLY` | yearly | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractbranch.md b/customer_portal/docs/models/shared/contractbranch.md new file mode 100755 index 000000000..aa70e4593 --- /dev/null +++ b/customer_portal/docs/models/shared/contractbranch.md @@ -0,0 +1,14 @@ +# ContractBranch + +The branch associated with the contract. + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `POWER` | power | +| `GAS` | gas | +| `WATER` | water | +| `WASTE_WATER` | waste_water | +| `DISTRICT_HEATING` | district_heating | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractnoticetimeunit.md b/customer_portal/docs/models/shared/contractnoticetimeunit.md new file mode 100755 index 000000000..26a1a91b2 --- /dev/null +++ b/customer_portal/docs/models/shared/contractnoticetimeunit.md @@ -0,0 +1,12 @@ +# ContractNoticeTimeUnit + +The unit of time for the notice period. + + +## Values + +| Name | Value | +| -------- | -------- | +| `WEEKS` | weeks | +| `MONTHS` | months | +| `YEARS` | years | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractrenewaldurationunit.md b/customer_portal/docs/models/shared/contractrenewaldurationunit.md new file mode 100755 index 000000000..a791e6896 --- /dev/null +++ b/customer_portal/docs/models/shared/contractrenewaldurationunit.md @@ -0,0 +1,12 @@ +# ContractRenewalDurationUnit + +The unit of time for the renewal period. + + +## Values + +| Name | Value | +| -------- | -------- | +| `WEEKS` | weeks | +| `MONTHS` | months | +| `YEARS` | years | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractschema.md b/customer_portal/docs/models/shared/contractschema.md deleted file mode 100755 index 939a11f34..000000000 --- a/customer_portal/docs/models/shared/contractschema.md +++ /dev/null @@ -1,8 +0,0 @@ -# ContractSchema - - -## Values - -| Name | Value | -| ---------- | ---------- | -| `CONTRACT` | contract | \ No newline at end of file diff --git a/customer_portal/docs/models/shared/contractstatus.md b/customer_portal/docs/models/shared/contractstatus.md new file mode 100755 index 000000000..1d91cdecd --- /dev/null +++ b/customer_portal/docs/models/shared/contractstatus.md @@ -0,0 +1,17 @@ +# ContractStatus + +The status of the contract. + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `DRAFT` | draft | +| `IN_APPROVAL_PROCESS` | in_approval_process | +| `APPROVED` | approved | +| `ACTIVE` | active | +| `DEACTIVATED` | deactivated | +| `REVOKED` | revoked | +| `TERMINATED` | terminated | +| `EXPIRED` | expired | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecp/README.md b/customer_portal/docs/sdks/ecp/README.md index 3a0d7f37c..26fdaef1d 100755 --- a/customer_portal/docs/sdks/ecp/README.md +++ b/customer_portal/docs/sdks/ecp/README.md @@ -30,6 +30,7 @@ APIs defined for a portal user * [get_schemas](#get_schemas) - getSchemas * [save_entity_file](#save_entity_file) - saveEntityFile * [track_file_downloaded](#track_file_downloaded) - trackFileDownloaded +* [trigger_entity_access](#trigger_entity_access) - triggerEntityAccess * [update_contact](#update_contact) - updateContact * [update_contract](#update_contract) - updateContract * [update_opportunity](#update_opportunity) - updateOpportunity @@ -930,6 +931,45 @@ if res.track_file_downloaded_200_application_json_object is not None: **[operations.TrackFileDownloadedResponse](../../models/operations/trackfiledownloadedresponse.md)** +## trigger_entity_access + +Trigger entity access event for a portal user + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot() + +req = operations.TriggerEntityAccessRequest( + entity_id='1e3f0d58-69d2-4dbb-9a43-3ee63d862e8e', + schema='contract', +) + +res = s.ecp.trigger_entity_access(req, operations.TriggerEntityAccessSecurity( + portal_auth="", +)) + +if res.trigger_entity_access_200_application_json_object is not None: + # handle response + pass +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `request` | [operations.TriggerEntityAccessRequest](../../models/operations/triggerentityaccessrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.TriggerEntityAccessSecurity](../../models/operations/triggerentityaccesssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.TriggerEntityAccessResponse](../../models/operations/triggerentityaccessresponse.md)** + + ## update_contact Updates the contact details. diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 147464402..39d95ab3f 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -38,6 +38,7 @@ src/epilot/models/operations/getportalwidgets.py src/epilot/models/operations/getschemas.py src/epilot/models/operations/saveentityfile.py src/epilot/models/operations/trackfiledownloaded.py +src/epilot/models/operations/triggerentityaccess.py src/epilot/models/operations/updatecontact.py src/epilot/models/operations/updatecontract.py src/epilot/models/operations/updateopportunity.py @@ -201,6 +202,10 @@ docs/models/operations/trackfiledownloadedsecurity.md docs/models/operations/trackfiledownloadedrequest.md docs/models/operations/trackfiledownloaded200applicationjson.md docs/models/operations/trackfiledownloadedresponse.md +docs/models/operations/triggerentityaccesssecurity.md +docs/models/operations/triggerentityaccessrequest.md +docs/models/operations/triggerentityaccess200applicationjson.md +docs/models/operations/triggerentityaccessresponse.md docs/models/operations/updatecontactsecurity.md docs/models/operations/updatecontact403applicationjson.md docs/models/operations/updatecontact200applicationjson.md @@ -315,7 +320,11 @@ docs/models/shared/entityitem.md docs/models/shared/errorresp.md docs/models/shared/activity.md docs/models/shared/deleteentityfile.md -docs/models/shared/contractschema.md +docs/models/shared/contractbillingperiod.md +docs/models/shared/contractbranch.md +docs/models/shared/contractnoticetimeunit.md +docs/models/shared/contractrenewaldurationunit.md +docs/models/shared/contractstatus.md docs/models/shared/contract.md docs/models/shared/fileitemrelations.md docs/models/shared/fileitemschema.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 78782fda4..3f059acd9 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 13b78f9eab03bbd672b68e7f67672e3a + docChecksum: 3e40005f645b4a6819b69696968d7ecd docVersion: 1.0.0 speakeasyVersion: 1.109.0 generationVersion: 2.173.0 @@ -18,7 +18,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 2.1.3 + version: 2.1.4 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 0a5af4f96..132b53a7b 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.1.3", + version="2.1.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp.py b/customer_portal/src/epilot/ecp.py index a43ec0aff..0d29ed63c 100755 --- a/customer_portal/src/epilot/ecp.py +++ b/customer_portal/src/epilot/ecp.py @@ -815,6 +815,35 @@ def track_file_downloaded(self, request: operations.TrackFileDownloadedRequest, return res + def trigger_entity_access(self, request: operations.TriggerEntityAccessRequest, security: operations.TriggerEntityAccessSecurity) -> operations.TriggerEntityAccessResponse: + r"""triggerEntityAccess + Trigger entity access event for a portal user + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/portal/entity/access' + headers = {} + query_params = utils.get_query_params(operations.TriggerEntityAccessRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('POST', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.TriggerEntityAccessResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.TriggerEntityAccess200ApplicationJSON]) + res.trigger_entity_access_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def update_contact(self, request: Dict[str, Any], security: operations.UpdateContactSecurity) -> operations.UpdateContactResponse: r"""updateContact Updates the contact details. diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index aad448a12..0d4b85449 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -45,6 +45,7 @@ from .saveentityfile import * from .saveportalfiles import * from .trackfiledownloaded import * +from .triggerentityaccess import * from .updatecontact import * from .updatecontract import * from .updateopportunity import * @@ -55,4 +56,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityActivityFeed200ApplicationJSON","GetEntityActivityFeedRequest","GetEntityActivityFeedResponse","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityActivityFeed200ApplicationJSON","GetEntityActivityFeedRequest","GetEntityActivityFeedResponse","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","TriggerEntityAccess200ApplicationJSON","TriggerEntityAccessRequest","TriggerEntityAccessResponse","TriggerEntityAccessSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/triggerentityaccess.py b/customer_portal/src/epilot/models/operations/triggerentityaccess.py new file mode 100755 index 000000000..169640625 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/triggerentityaccess.py @@ -0,0 +1,49 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclasses.dataclass +class TriggerEntityAccessSecurity: + portal_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + +@dataclasses.dataclass +class TriggerEntityAccessRequest: + entity_id: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) + r"""entity ID""" + schema: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'schema', 'style': 'form', 'explode': True }}) + r"""entity schema""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class TriggerEntityAccess200ApplicationJSON: + r"""The event has been triggered successfully.""" + event_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('eventId'), 'exclude': lambda f: f is None }}) + r"""Event ID""" + + + + +@dataclasses.dataclass +class TriggerEntityAccessResponse: + 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""" + trigger_entity_access_200_application_json_object: Optional[TriggerEntityAccess200ApplicationJSON] = dataclasses.field(default=None) + r"""The event has been triggered successfully.""" + + diff --git a/customer_portal/src/epilot/models/shared/__init__.py b/customer_portal/src/epilot/models/shared/__init__.py index 255ea6513..036527e0e 100755 --- a/customer_portal/src/epilot/models/shared/__init__.py +++ b/customer_portal/src/epilot/models/shared/__init__.py @@ -43,4 +43,4 @@ from .widgetaction import * from .widgetbase import * -__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityCallerContext","ActivityCallerContextPortalAuth","ActivityCallerContextPortalAuthToken","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","AdminUser","AdminUserImageURI","Balance","BillingEvent","BillingEventReimbursementEvent","BillingEventReimbursementEventContract","BillingEventReimbursementEventContractDollarRelation","BillingEventReimbursementEventType","Contact","ContactCountRequest","ContactSchema","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","Contract","ContractSchema","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntityItem","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","File","FileItem","FileItemAccessControl","FileItemRelations","FileItemSchema","FileItemType","FileSchema","Grant","GrantEffect","InstallmentEvent","InstallmentEventContract","InstallmentEventContractDollarRelation","InstallmentEventType","Opportunity","OpportunitySchema","Order","OrderSchema","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","PortalUser","PortalUserSchema","Product","ProductSchema","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Schema","Security","TeaserWidget","TeaserWidgetButton","TeaserWidgetButtonLabel","TeaserWidgetHeadline","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionRules","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] +__all__ = ["ActionWidget","ActionWidgetHeadline","ActionWidgetSubHeadline","ActionWidgetType","Activity","ActivityCallerContext","ActivityCallerContextPortalAuth","ActivityCallerContextPortalAuthToken","ActivityItem","ActivityItemPayload","ActivityItemPayloadEntity","AdminUser","AdminUserImageURI","Balance","BillingEvent","BillingEventReimbursementEvent","BillingEventReimbursementEventContract","BillingEventReimbursementEventContractDollarRelation","BillingEventReimbursementEventType","Contact","ContactCountRequest","ContactSchema","ContentWidget","ContentWidgetHeadline","ContentWidgetSubHeadline","ContentWidgetType","Contract","ContractBillingPeriod","ContractBranch","ContractNoticeTimeUnit","ContractRenewalDurationUnit","ContractStatus","CreateSSOUserRequest","CreateUserRequest","DeleteEntityFile","EmailTemplates","EntityFileCount","EntityItem","EntitySlug","EntityWidget","EntityWidgetHeadline","EntityWidgetSubHeadline","EntityWidgetType","ErrorResp","ExtraSchemaAttributes","FailedRuleErrorResp","FailedRuleErrorRespFailedRule","File","FileItem","FileItemAccessControl","FileItemRelations","FileItemSchema","FileItemType","FileSchema","Grant","GrantEffect","InstallmentEvent","InstallmentEventContract","InstallmentEventContractDollarRelation","InstallmentEventType","Opportunity","OpportunitySchema","Order","OrderSchema","OrganizationSettings","OrganizationSettingsAutomationEntityMapping","OrganizationSettingsAutomationPreview","OrganizationSettingsCentralInboxPreviewSetting","OrganizationSettingsContractsPreviewSetting","OrganizationSettingsDisableIvy","OrganizationSettingsDoubleOptIn","OrganizationSettingsEcommerceCatalogPreview","OrganizationSettingsEcommerceOpportunitiesPreview","OrganizationSettingsEcommercePreview","OrganizationSettingsEndCustomerPortal","OrganizationSettingsEntitySchemaBuilder","OrganizationSettingsInstallerPortal","OrganizationSettingsLogicEditorPreview","OrganizationSettingsNewNavigation","OrganizationSettingsPartnering","OrganizationSettingsProductAvailability","OrganizationSettingsSso","OrganizationSettingsSubmissionPreview","OrganizationSettingsUserRolesPreview","Origin","PortalConfig","PortalConfigCognitoDetails","PortalConfigDefaultUserToNotify","PortalConfigEntityActions","PortalConfigEntityActionsActionLabel","PortalConfigEntityEditRules","PortalConfigEntityEditRulesCadencePeriodType","PortalConfigEntityEditRulesRuleType","PortalConfigEntityIdentifiers","PortalConfigEntityIdentifiersType","PortalConfigFeatureSettings","PortalConfigImages","PortalConfigOrgSettings","PortalConfigOrgSettingsCanary","PortalConfigOrgSettingsReleaseCandidate","PortalConfigSelfRegistrationSetting","PortalUser","PortalUserSchema","Product","ProductSchema","SaveEntityFile","SaveEntityFileFiles","SaveEntityFileFilesAccessControl","SaveEntityFileFilesS3ref","SavePortalFile","SavePortalFileFiles","SavePortalFileFilesS3ref","Schema","Security","TeaserWidget","TeaserWidgetButton","TeaserWidgetButtonLabel","TeaserWidgetHeadline","TeaserWidgetSubHeadline","TeaserWidgetType","UpsertPortalConfig","UpsertPortalConfigCognitoDetails","UpsertPortalConfigDefaultUserToNotify","UpsertPortalConfigEntityActions","UpsertPortalConfigEntityActionsActionLabel","UpsertPortalConfigEntityEditRules","UpsertPortalConfigEntityEditRulesCadencePeriodType","UpsertPortalConfigEntityEditRulesRuleType","UpsertPortalConfigEntityIdentifiers","UpsertPortalConfigEntityIdentifiersType","UpsertPortalConfigFeatureSettings","UpsertPortalConfigImages","UpsertPortalConfigSelfRegistrationSetting","UpsertPortalWidget","WidgetAction","WidgetActionLabel","WidgetActionRules","WidgetActionType","WidgetBase","WidgetBaseHeadline","WidgetBaseSubHeadline","WidgetBaseType"] diff --git a/customer_portal/src/epilot/models/shared/contract.py b/customer_portal/src/epilot/models/shared/contract.py index 3a945e2b2..9352111ef 100755 --- a/customer_portal/src/epilot/models/shared/contract.py +++ b/customer_portal/src/epilot/models/shared/contract.py @@ -4,13 +4,49 @@ import dataclasses import dateutil.parser from dataclasses_json import Undefined, dataclass_json -from datetime import datetime +from datetime import date, datetime from enum import Enum from epilot import utils from typing import Any, Dict, List, Optional -class ContractSchema(str, Enum): - CONTRACT = 'contract' +class ContractBillingPeriod(str, Enum): + r"""The billing period associated with the contract.""" + WEEKLY = 'weekly' + MONTHLY = 'monthly' + EVERY_QUARTER = 'every_quarter' + EVERY_6_MONTHS = 'every_6_months' + YEARLY = 'yearly' + +class ContractBranch(str, Enum): + r"""The branch associated with the contract.""" + POWER = 'power' + GAS = 'gas' + WATER = 'water' + WASTE_WATER = 'waste_water' + DISTRICT_HEATING = 'district_heating' + +class ContractNoticeTimeUnit(str, Enum): + r"""The unit of time for the notice period.""" + WEEKS = 'weeks' + MONTHS = 'months' + YEARS = 'years' + +class ContractRenewalDurationUnit(str, Enum): + r"""The unit of time for the renewal period.""" + WEEKS = 'weeks' + MONTHS = 'months' + YEARS = 'years' + +class ContractStatus(str, Enum): + r"""The status of the contract.""" + DRAFT = 'draft' + IN_APPROVAL_PROCESS = 'in_approval_process' + APPROVED = 'approved' + ACTIVE = 'active' + DEACTIVATED = 'deactivated' + REVOKED = 'revoked' + TERMINATED = 'terminated' + EXPIRED = 'expired' @dataclass_json(undefined=Undefined.EXCLUDE) @@ -23,13 +59,64 @@ class Contract: r"""Entity ID""" org: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_org') }}) r"""Organization ID the entity belongs to""" - schema: ContractSchema = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_schema') }}) title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_title') }}) r"""Title of the entity""" updated_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_updated_at'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) r"""Last update timestamp of the entity""" tags: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('_tags'), 'exclude': lambda f: f is None }}) r"""Array of entity tags""" + account_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('account_number'), 'exclude': lambda f: f is None }}) + r"""The account number associated with the contract.""" + additional_addresses: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('additional_addresses'), 'exclude': lambda f: f is None }}) + r"""Any additional addresses associated with the contract.""" additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + balance: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }}) + r"""Current balance of the contract in cents. (precision 2)""" + balance_amount_decimal: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance_amount_decimal'), 'exclude': lambda f: f is None }}) + r"""Current balance of the contract in decimal string representation.""" + balance_currency: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance_currency'), 'exclude': lambda f: f is None }}) + r"""Currency code in ISO 4217 format""" + billing_address: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_address'), 'exclude': lambda f: f is None }}) + r"""The billing address associated with the contract.""" + billing_duration_amount: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_duration_amount'), 'exclude': lambda f: f is None }}) + r"""The duration of the billing period.""" + billing_period: Optional[ContractBillingPeriod] = dataclasses.field(default=ContractBillingPeriod.WEEKLY, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_period'), 'exclude': lambda f: f is None }}) + r"""The billing period associated with the contract.""" + billing_schedule_by_month_day: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_schedule_by_month_day'), 'exclude': lambda f: f is None }}) + r"""Defines the day of the month in which the installments are due.""" + billing_schedule_end_date: Optional[date] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_schedule_end_date'), 'encoder': utils.dateisoformat(True), 'decoder': utils.datefromisoformat, 'exclude': lambda f: f is None }}) + r"""Defines the end date for the billing schedule""" + billing_schedule_start_date: Optional[date] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('billing_schedule_start_date'), 'encoder': utils.dateisoformat(True), 'decoder': utils.datefromisoformat, 'exclude': lambda f: f is None }}) + r"""Defines the start date for the billing schedule""" + branch: Optional[ContractBranch] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('branch'), 'exclude': lambda f: f is None }}) + r"""The branch associated with the contract.""" + contract_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract_name'), 'exclude': lambda f: f is None }}) + r"""The name of the contract.""" + contract_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contract_number'), 'exclude': lambda f: f is None }}) + r"""The unique identifier of the contract.""" + delivery_address: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('delivery_address'), 'exclude': lambda f: f is None }}) + r"""The delivery address associated with the contract.""" + description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('description'), 'exclude': lambda f: f is None }}) + r"""A brief description of the contract.""" + installment_amount: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installment_amount'), 'exclude': lambda f: f is None }}) + r"""Set amount for installments in cents. (precision 2)""" + installment_amount_decimal: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installment_amount_decimal'), 'exclude': lambda f: f is None }}) + r"""Set amount for installments in decimal string representation.""" + notice_time_amount: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('notice_time_amount'), 'exclude': lambda f: f is None }}) + r"""The amount of notice required for termination of the contract.""" + notice_time_unit: Optional[ContractNoticeTimeUnit] = dataclasses.field(default=ContractNoticeTimeUnit.MONTHS, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('notice_time_unit'), 'exclude': lambda f: f is None }}) + r"""The unit of time for the notice period.""" + renewal_duration_amount: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('renewal_duration_amount'), 'exclude': lambda f: f is None }}) + r"""The duration of the renewal period.""" + renewal_duration_unit: Optional[ContractRenewalDurationUnit] = dataclasses.field(default=ContractRenewalDurationUnit.MONTHS, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('renewal_duration_unit'), 'exclude': lambda f: f is None }}) + r"""The unit of time for the renewal period.""" + start_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'exclude': lambda f: f is None }}) + r"""The start date of the contract.""" + status: Optional[ContractStatus] = dataclasses.field(default=ContractStatus.DRAFT, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + r"""The status of the contract.""" + termination_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('termination_date'), 'exclude': lambda f: f is None }}) + r"""The date on which the contract was terminated.""" + termination_reason: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('termination_reason'), 'exclude': lambda f: f is None }}) + r"""The reason for the termination of the contract.""" diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 8df6b605d..4bc667d71 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.3' + sdk_version: str = '2.1.4' gen_version: str = '2.173.0' - user_agent: str = 'speakeasy-sdk/python 2.1.3 2.173.0 1.0.0 epilot-customer-portal' + user_agent: str = 'speakeasy-sdk/python 2.1.4 2.173.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: From abb0210c7a53ead8dcb46e9316d5510534b40feb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 1 Nov 2023 00:33:12 +0000 Subject: [PATCH 98/98] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.109.2 --- customer_portal/README.md | 1 + customer_portal/RELEASES.md | 10 +++- ...lusersbyrelatedentity200applicationjson.md | 10 ++++ .../fetchportalusersbyrelatedentityrequest.md | 9 ++++ ...fetchportalusersbyrelatedentityresponse.md | 12 +++++ ...fetchportalusersbyrelatedentitysecurity.md | 8 +++ customer_portal/docs/sdks/ecpadmin/README.md | 40 ++++++++++++++ customer_portal/files.gen | 5 ++ customer_portal/gen.yaml | 6 +-- customer_portal/setup.py | 2 +- customer_portal/src/epilot/ecp_admin.py | 35 +++++++++++++ .../src/epilot/models/operations/__init__.py | 3 +- .../fetchportalusersbyrelatedentity.py | 52 +++++++++++++++++++ .../src/epilot/sdkconfiguration.py | 4 +- 14 files changed, 189 insertions(+), 8 deletions(-) create mode 100755 customer_portal/docs/models/operations/fetchportalusersbyrelatedentity200applicationjson.md create mode 100755 customer_portal/docs/models/operations/fetchportalusersbyrelatedentityrequest.md create mode 100755 customer_portal/docs/models/operations/fetchportalusersbyrelatedentityresponse.md create mode 100755 customer_portal/docs/models/operations/fetchportalusersbyrelatedentitysecurity.md create mode 100755 customer_portal/src/epilot/models/operations/fetchportalusersbyrelatedentity.py diff --git a/customer_portal/README.md b/customer_portal/README.md index 39db28875..7bdce713f 100755 --- a/customer_portal/README.md +++ b/customer_portal/README.md @@ -85,6 +85,7 @@ if res.get_entity_activity_feed_200_application_json_object is not None: * [create_sso_user](docs/sdks/ecpadmin/README.md#create_sso_user) - createSSOUser * [delete_portal](docs/sdks/ecpadmin/README.md#delete_portal) - deletePortal * [extra_permission_attributes](docs/sdks/ecpadmin/README.md#extra_permission_attributes) - extraPermissionAttributes +* [fetch_portal_users_by_related_entity](docs/sdks/ecpadmin/README.md#fetch_portal_users_by_related_entity) - fetchPortalUsersByRelatedEntity * [get_all_portal_configs](docs/sdks/ecpadmin/README.md#get_all_portal_configs) - getAllPortalConfigs * [get_ecp_contact](docs/sdks/ecpadmin/README.md#get_ecp_contact) - getECPContact * [get_email_templates](docs/sdks/ecpadmin/README.md#get_email_templates) - getEmailTemplates diff --git a/customer_portal/RELEASES.md b/customer_portal/RELEASES.md index 7c001acab..e8e1da114 100644 --- a/customer_portal/RELEASES.md +++ b/customer_portal/RELEASES.md @@ -684,4 +684,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml - Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.4] customer_portal \ No newline at end of file +- [python v2.1.4] customer_portal + +## 2023-11-01 00:32:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/customer-portal.yaml +- Speakeasy CLI 1.109.2 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.5] customer_portal \ No newline at end of file diff --git a/customer_portal/docs/models/operations/fetchportalusersbyrelatedentity200applicationjson.md b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentity200applicationjson.md new file mode 100755 index 000000000..cf349258e --- /dev/null +++ b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentity200applicationjson.md @@ -0,0 +1,10 @@ +# FetchPortalUsersByRelatedEntity200ApplicationJSON + +Returns the portal users under the given entity. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `portal_users` | List[[shared.PortalUser](../../models/shared/portaluser.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityrequest.md b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityrequest.md new file mode 100755 index 000000000..2994a7a73 --- /dev/null +++ b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityrequest.md @@ -0,0 +1,9 @@ +# FetchPortalUsersByRelatedEntityRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `entity_id` | *str* | :heavy_check_mark: | N/A | 5da0a718-c822-403d-9f5d-20d4584e0528 | +| `slug` | [shared.EntitySlug](../../models/shared/entityslug.md) | :heavy_check_mark: | URL-friendly identifier for the entity schema | contact | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityresponse.md b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityresponse.md new file mode 100755 index 000000000..8af084dab --- /dev/null +++ b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentityresponse.md @@ -0,0 +1,12 @@ +# FetchPortalUsersByRelatedEntityResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Could not authenticate the user | +| `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 | +| `fetch_portal_users_by_related_entity_200_application_json_object` | [Optional[FetchPortalUsersByRelatedEntity200ApplicationJSON]](../../models/operations/fetchportalusersbyrelatedentity200applicationjson.md) | :heavy_minus_sign: | Returns the portal users under the given entity. | \ No newline at end of file diff --git a/customer_portal/docs/models/operations/fetchportalusersbyrelatedentitysecurity.md b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentitysecurity.md new file mode 100755 index 000000000..2b6169f74 --- /dev/null +++ b/customer_portal/docs/models/operations/fetchportalusersbyrelatedentitysecurity.md @@ -0,0 +1,8 @@ +# FetchPortalUsersByRelatedEntitySecurity + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/customer_portal/docs/sdks/ecpadmin/README.md b/customer_portal/docs/sdks/ecpadmin/README.md index 32feab9a4..0484ae7eb 100755 --- a/customer_portal/docs/sdks/ecpadmin/README.md +++ b/customer_portal/docs/sdks/ecpadmin/README.md @@ -11,6 +11,7 @@ APIs defined for a ECP Admin * [create_sso_user](#create_sso_user) - createSSOUser * [delete_portal](#delete_portal) - deletePortal * [extra_permission_attributes](#extra_permission_attributes) - extraPermissionAttributes +* [fetch_portal_users_by_related_entity](#fetch_portal_users_by_related_entity) - fetchPortalUsersByRelatedEntity * [get_all_portal_configs](#get_all_portal_configs) - getAllPortalConfigs * [get_ecp_contact](#get_ecp_contact) - getECPContact * [get_email_templates](#get_email_templates) - getEmailTemplates @@ -179,6 +180,45 @@ if res.extra_permission_attributes_200_application_json_object is not None: **[operations.ExtraPermissionAttributesResponse](../../models/operations/extrapermissionattributesresponse.md)** +## fetch_portal_users_by_related_entity + +Get all users for a given entity + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot() + +req = operations.FetchPortalUsersByRelatedEntityRequest( + entity_id='5da0a718-c822-403d-9f5d-20d4584e0528', + slug=shared.EntitySlug.CONTACT, +) + +res = s.ecp_admin.fetch_portal_users_by_related_entity(req, operations.FetchPortalUsersByRelatedEntitySecurity( + epilot_auth="", +)) + +if res.fetch_portal_users_by_related_entity_200_application_json_object is not None: + # handle response + pass +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.FetchPortalUsersByRelatedEntityRequest](../../models/operations/fetchportalusersbyrelatedentityrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `security` | [operations.FetchPortalUsersByRelatedEntitySecurity](../../models/operations/fetchportalusersbyrelatedentitysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. | + + +### Response + +**[operations.FetchPortalUsersByRelatedEntityResponse](../../models/operations/fetchportalusersbyrelatedentityresponse.md)** + + ## get_all_portal_configs Retrieves all portal configurations. diff --git a/customer_portal/files.gen b/customer_portal/files.gen index 39d95ab3f..00b47137d 100755 --- a/customer_portal/files.gen +++ b/customer_portal/files.gen @@ -48,6 +48,7 @@ src/epilot/models/operations/configuredistribution.py src/epilot/models/operations/createssouser.py src/epilot/models/operations/deleteportal.py src/epilot/models/operations/extrapermissionattributes.py +src/epilot/models/operations/fetchportalusersbyrelatedentity.py src/epilot/models/operations/getallportalconfigs.py src/epilot/models/operations/getecpcontact.py src/epilot/models/operations/getemailtemplates.py @@ -241,6 +242,10 @@ docs/models/operations/extrapermissionattributessecurity.md docs/models/operations/extrapermissionattributes200applicationjsondata.md docs/models/operations/extrapermissionattributes200applicationjson.md docs/models/operations/extrapermissionattributesresponse.md +docs/models/operations/fetchportalusersbyrelatedentitysecurity.md +docs/models/operations/fetchportalusersbyrelatedentityrequest.md +docs/models/operations/fetchportalusersbyrelatedentity200applicationjson.md +docs/models/operations/fetchportalusersbyrelatedentityresponse.md docs/models/operations/getallportalconfigssecurity.md docs/models/operations/getallportalconfigs200applicationjson.md docs/models/operations/getallportalconfigsresponse.md diff --git a/customer_portal/gen.yaml b/customer_portal/gen.yaml index 3f059acd9..62558981d 100644 --- a/customer_portal/gen.yaml +++ b/customer_portal/gen.yaml @@ -1,8 +1,8 @@ configVersion: 1.0.0 management: - docChecksum: 3e40005f645b4a6819b69696968d7ecd + docChecksum: 13bc0e62c6f3ba3e803220b4ae845dd1 docVersion: 1.0.0 - speakeasyVersion: 1.109.0 + speakeasyVersion: 1.109.2 generationVersion: 2.173.0 generation: repoURL: https://github.com/epilot-dev/sdk-python.git @@ -18,7 +18,7 @@ features: globalServerURLs: 2.82.0 methodSecurity: 2.82.0 python: - version: 2.1.4 + version: 2.1.5 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/customer_portal/setup.py b/customer_portal/setup.py index 132b53a7b..e2f79691e 100755 --- a/customer_portal/setup.py +++ b/customer_portal/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-customer-portal", - version="2.1.4", + version="2.1.5", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/customer_portal/src/epilot/ecp_admin.py b/customer_portal/src/epilot/ecp_admin.py index 7088e2449..b17ddf1a1 100755 --- a/customer_portal/src/epilot/ecp_admin.py +++ b/customer_portal/src/epilot/ecp_admin.py @@ -153,6 +153,41 @@ def extra_permission_attributes(self, security: operations.ExtraPermissionAttrib return res + def fetch_portal_users_by_related_entity(self, request: operations.FetchPortalUsersByRelatedEntityRequest, security: operations.FetchPortalUsersByRelatedEntitySecurity) -> operations.FetchPortalUsersByRelatedEntityResponse: + r"""fetchPortalUsersByRelatedEntity + Get all users for a given entity + """ + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/v2/porta/users/by-related-entity' + headers = {} + query_params = utils.get_query_params(operations.FetchPortalUsersByRelatedEntityRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + + client = utils.configure_security_client(self.sdk_configuration.client, security) + + http_res = client.request('GET', url, params=query_params, headers=headers) + content_type = http_res.headers.get('Content-Type') + + res = operations.FetchPortalUsersByRelatedEntityResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) + + if http_res.status_code == 200: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[operations.FetchPortalUsersByRelatedEntity200ApplicationJSON]) + res.fetch_portal_users_by_related_entity_200_application_json_object = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code in [401, 403, 500]: + if utils.match_content_type(content_type, 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) + res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + + return res + + def get_all_portal_configs(self, security: operations.GetAllPortalConfigsSecurity) -> operations.GetAllPortalConfigsResponse: r"""getAllPortalConfigs Retrieves all portal configurations. diff --git a/customer_portal/src/epilot/models/operations/__init__.py b/customer_portal/src/epilot/models/operations/__init__.py index 0d4b85449..87302eb76 100755 --- a/customer_portal/src/epilot/models/operations/__init__.py +++ b/customer_portal/src/epilot/models/operations/__init__.py @@ -10,6 +10,7 @@ from .deleteportal import * from .deleteportaluser import * from .extrapermissionattributes import * +from .fetchportalusersbyrelatedentity import * from .getallcontracts import * from .getallfiles import * from .getallopportunities import * @@ -56,4 +57,4 @@ from .upsertportalwidget import * from .userexists import * -__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityActivityFeed200ApplicationJSON","GetEntityActivityFeedRequest","GetEntityActivityFeedResponse","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","TriggerEntityAccess200ApplicationJSON","TriggerEntityAccessRequest","TriggerEntityAccessResponse","TriggerEntityAccessSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] +__all__ = ["AddEndCustomerRelationToEntity200ApplicationJSON","AddEndCustomerRelationToEntityRequest","AddEndCustomerRelationToEntityResponse","AddEndCustomerRelationToEntitySecurity","ConfigureDistribution200ApplicationJSON","ConfigureDistributionRequest","ConfigureDistributionResponse","ConfigureDistributionSecurity","ConfirmUserRequest","ConfirmUserResponse","CreateCustomEntityActivityRequest","CreateCustomEntityActivityResponse","CreateCustomEntityActivitySecurity","CreateSSOUser201ApplicationJSON","CreateSSOUserRequest","CreateSSOUserResponse","CreateSSOUserSecurity","CreateUser201ApplicationJSON","CreateUser201ApplicationJSONMessage","CreateUserRequest","CreateUserResponse","DeleteEntityFile202ApplicationJSON","DeleteEntityFileResponse","DeleteEntityFileSecurity","DeletePortalRequest","DeletePortalResponse","DeletePortalSecurity","DeletePortalUser200ApplicationJSON","DeletePortalUser200ApplicationJSONMessage","DeletePortalUserResponse","DeletePortalUserSecurity","ExtraPermissionAttributes200ApplicationJSON","ExtraPermissionAttributes200ApplicationJSONData","ExtraPermissionAttributesResponse","ExtraPermissionAttributesSecurity","FetchPortalUsersByRelatedEntity200ApplicationJSON","FetchPortalUsersByRelatedEntityRequest","FetchPortalUsersByRelatedEntityResponse","FetchPortalUsersByRelatedEntitySecurity","GetAllContracts200ApplicationJSON","GetAllContractsRequest","GetAllContractsResponse","GetAllContractsSecurity","GetAllFiles200ApplicationJSON","GetAllFilesRequest","GetAllFilesResponse","GetAllFilesSecurity","GetAllOpportunities200ApplicationJSON","GetAllOpportunitiesRequest","GetAllOpportunitiesResponse","GetAllOpportunitiesSecurity","GetAllOrders200ApplicationJSON","GetAllOrdersRequest","GetAllOrdersResponse","GetAllOrdersSecurity","GetAllPortalConfigs200ApplicationJSON","GetAllPortalConfigsResponse","GetAllPortalConfigsSecurity","GetBillingEvents200ApplicationJSON","GetBillingEventsEventType","GetBillingEventsRequest","GetBillingEventsResponse","GetBillingEventsSecurity","GetContact200ApplicationJSON","GetContactCount200ApplicationJSON","GetContactCountRequest","GetContactCountResponse","GetContactResponse","GetContactSecurity","GetContract200ApplicationJSON","GetContractRequest","GetContractResponse","GetContractSecurity","GetCountByEmail200ApplicationJSON","GetCountByEmailRequest","GetCountByEmailResponse","GetCustomerBalanceRequest","GetCustomerBalanceResponse","GetCustomerBalanceSecurity","GetECPContact200ApplicationJSON","GetECPContactRequest","GetECPContactResponse","GetECPContactSecurity","GetEmailTemplatesRequest","GetEmailTemplatesResponse","GetEmailTemplatesSecurity","GetEntitiesByIdentifiers200ApplicationJSON","GetEntitiesByIdentifiersRequest","GetEntitiesByIdentifiersResponse","GetEntitiesByIdentifiersSecurity","GetEntityActivityFeed200ApplicationJSON","GetEntityActivityFeedRequest","GetEntityActivityFeedResponse","GetEntityIdentifiers200ApplicationJSON","GetEntityIdentifiers200ApplicationJSONData","GetEntityIdentifiersRequest","GetEntityIdentifiersResponse","GetEntityIdentifiersSecurity","GetFileByID200ApplicationJSON","GetFileByIDRequest","GetFileByIDResponse","GetFileByIDSecurity","GetFilesCountByEntityResponse","GetFilesCountByEntitySecurity","GetOpportunity200ApplicationJSON","GetOpportunityRequest","GetOpportunityResponse","GetOpportunitySecurity","GetOrder200ApplicationJSON","GetOrderRequest","GetOrderResponse","GetOrderSecurity","GetOrgPortalConfigRequest","GetOrgPortalConfigResponse","GetOrgPortalConfigSecurity","GetOrganizationSettings200ApplicationJSON","GetOrganizationSettingsResponse","GetOrganizationSettingsSecurity","GetPortalConfigByDomainRequest","GetPortalConfigByDomainResponse","GetPortalConfigRequest","GetPortalConfigResponse","GetPortalConfigSecurity","GetPortalUser200ApplicationJSON","GetPortalUserResponse","GetPortalUserSecurity","GetPortalWidgetsRequest","GetPortalWidgetsResponse","GetPortalWidgetsSecurity","GetPublicPortalConfigRequest","GetPublicPortalConfigResponse","GetPublicPortalWidgetsRequest","GetPublicPortalWidgetsResponse","GetSchemas200ApplicationJSON","GetSchemasResponse","GetSchemasSecurity","GetValidSecondaryAttributes200ApplicationJSON","GetValidSecondaryAttributes200ApplicationJSONData","GetValidSecondaryAttributesResponse","GetValidSecondaryAttributesSecurity","LoginToPortalAsUser200ApplicationJSON","LoginToPortalAsUserRequestBody","LoginToPortalAsUserResponse","LoginToPortalAsUserSecurity","ReplaceECPTemplateVariables200ApplicationJSON","ReplaceECPTemplateVariables200ApplicationJSONCustomerPortal","ReplaceECPTemplateVariables200ApplicationJSONInstallerPortal","ReplaceECPTemplateVariablesRequestBody","ReplaceECPTemplateVariablesResponse","ReplaceECPTemplateVariablesSecurity","SaveEntityFile201ApplicationJSON","SaveEntityFileResponse","SaveEntityFileSecurity","SavePortalFiles201ApplicationJSON","SavePortalFilesResponse","SavePortalFilesSecurity","TrackFileDownloaded200ApplicationJSON","TrackFileDownloadedRequest","TrackFileDownloadedResponse","TrackFileDownloadedSecurity","TriggerEntityAccess200ApplicationJSON","TriggerEntityAccessRequest","TriggerEntityAccessResponse","TriggerEntityAccessSecurity","UpdateContact200ApplicationJSON","UpdateContact403ApplicationJSON","UpdateContactResponse","UpdateContactSecurity","UpdateContract200ApplicationJSON","UpdateContract403ApplicationJSON","UpdateContractRequest","UpdateContractResponse","UpdateContractSecurity","UpdateOpportunity200ApplicationJSON","UpdateOpportunityRequest","UpdateOpportunityResponse","UpdateOpportunitySecurity","UpdateOrder200ApplicationJSON","UpdateOrderRequest","UpdateOrderResponse","UpdateOrderSecurity","UpdatePortalUser200ApplicationJSON","UpdatePortalUserResponse","UpdatePortalUserSecurity","UpsertEmailTemplates200ApplicationJSON","UpsertEmailTemplates200ApplicationJSONMessage","UpsertEmailTemplatesRequest","UpsertEmailTemplatesResponse","UpsertEmailTemplatesSecurity","UpsertPortalRequest","UpsertPortalResponse","UpsertPortalSecurity","UpsertPortalWidgetRequest","UpsertPortalWidgetResponse","UpsertPortalWidgetSecurity","UserExists200ApplicationJSON","UserExistsRequest","UserExistsResponse"] diff --git a/customer_portal/src/epilot/models/operations/fetchportalusersbyrelatedentity.py b/customer_portal/src/epilot/models/operations/fetchportalusersbyrelatedentity.py new file mode 100755 index 000000000..6707673c9 --- /dev/null +++ b/customer_portal/src/epilot/models/operations/fetchportalusersbyrelatedentity.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..shared import entityslug as shared_entityslug +from ..shared import errorresp as shared_errorresp +from ..shared import portaluser as shared_portaluser +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import List, Optional + + +@dataclasses.dataclass +class FetchPortalUsersByRelatedEntitySecurity: + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + + + + +@dataclasses.dataclass +class FetchPortalUsersByRelatedEntityRequest: + entity_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'entity_id', 'style': 'form', 'explode': True }}) + slug: shared_entityslug.EntitySlug = dataclasses.field(metadata={'query_param': { 'field_name': 'slug', 'style': 'form', 'explode': True }}) + r"""URL-friendly identifier for the entity schema""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class FetchPortalUsersByRelatedEntity200ApplicationJSON: + r"""Returns the portal users under the given entity.""" + portal_users: Optional[List[shared_portaluser.PortalUser]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('portalUsers'), 'exclude': lambda f: f is None }}) + + + + +@dataclasses.dataclass +class FetchPortalUsersByRelatedEntityResponse: + 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""" + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) + r"""Could not authenticate the user""" + fetch_portal_users_by_related_entity_200_application_json_object: Optional[FetchPortalUsersByRelatedEntity200ApplicationJSON] = dataclasses.field(default=None) + r"""Returns the portal users under the given entity.""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/customer_portal/src/epilot/sdkconfiguration.py b/customer_portal/src/epilot/sdkconfiguration.py index 4bc667d71..a8d437036 100755 --- a/customer_portal/src/epilot/sdkconfiguration.py +++ b/customer_portal/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.4' + sdk_version: str = '2.1.5' gen_version: str = '2.173.0' - user_agent: str = 'speakeasy-sdk/python 2.1.4 2.173.0 1.0.0 epilot-customer-portal' + user_agent: str = 'speakeasy-sdk/python 2.1.5 2.173.0 1.0.0 epilot-customer-portal' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: