Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions Avalara/SDK/api/A1099/V2/companies_w9_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.2
@version 25.8.3
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -43,9 +43,8 @@
from pydantic import Field, StrictBool, StrictInt, StrictStr
from typing import Optional
from typing_extensions import Annotated
from Avalara.SDK.models.A1099.V2.company_create_update_request_model import CompanyCreateUpdateRequestModel
from Avalara.SDK.models.A1099.V2.company_response import CompanyResponse
from Avalara.SDK.models.A1099.V2.company_response_model import CompanyResponseModel
from Avalara.SDK.models.A1099.V2.create_company_request import CreateCompanyRequest
from Avalara.SDK.models.A1099.V2.paginated_query_result_model_company_response import PaginatedQueryResultModelCompanyResponse
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
from Avalara.SDK.oauth_helper.AvalaraSdkOauthUtils import avalara_retry_oauth
Expand All @@ -61,12 +60,12 @@ def __verify_api_client(self,api_client):

def __set_configuration(self, api_client):
self.__verify_api_client(api_client)
api_client.set_sdk_version("25.8.2")
api_client.set_sdk_version("25.8.3")
self.api_client = api_client

self.create_company_endpoint = _Endpoint(
settings={
'response_type': (CompanyResponseModel,),
'response_type': (CompanyResponse,),
'auth': [
'bearer'
],
Expand All @@ -80,7 +79,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'company_create_update_request_model',
'create_company_request',
],
'required': [
'avalara_version',
Expand All @@ -104,8 +103,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'company_create_update_request_model':
(CompanyCreateUpdateRequestModel,),
'create_company_request':
(CreateCompanyRequest,),
},
'attribute_map': {
'avalara_version': 'avalara-version',
Expand All @@ -116,7 +115,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'company_create_update_request_model': 'body',
'create_company_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -372,7 +371,7 @@ def __set_configuration(self, api_client):
)
self.update_company_endpoint = _Endpoint(
settings={
'response_type': (CompanyResponseModel,),
'response_type': (CompanyResponse,),
'auth': [
'bearer'
],
Expand All @@ -387,7 +386,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'company_create_update_request_model',
'create_company_request',
],
'required': [
'id',
Expand All @@ -414,8 +413,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'company_create_update_request_model':
(CompanyCreateUpdateRequestModel,),
'create_company_request':
(CreateCompanyRequest,),
},
'attribute_map': {
'id': 'id',
Expand All @@ -428,7 +427,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'company_create_update_request_model': 'body',
'create_company_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -470,7 +469,7 @@ def create_company(
Keyword Args:
x_correlation_id (str): Unique correlation Id in a GUID format. [optional]
x_avalara_client (str): Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .. [optional]
company_create_update_request_model (CompanyCreateUpdateRequestModel): The company to create. [optional]
create_company_request (CreateCompanyRequest): The company to create. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand All @@ -492,7 +491,7 @@ def create_company(
async_req (bool): execute request asynchronously

Returns:
CompanyResponseModel
CompanyResponse
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -761,7 +760,7 @@ def update_company(
Keyword Args:
x_correlation_id (str): Unique correlation Id in a GUID format. [optional]
x_avalara_client (str): Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .. [optional]
company_create_update_request_model (CompanyCreateUpdateRequestModel): The updated company data. [optional]
create_company_request (CreateCompanyRequest): The updated company data. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand All @@ -783,7 +782,7 @@ def update_company(
async_req (bool): execute request asynchronously

Returns:
CompanyResponseModel
CompanyResponse
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
Loading