Skip to content

Commit 201dded

Browse files
author
Jonathan Wenger
committed
25.8.3
1 parent b0de571 commit 201dded

File tree

289 files changed

+5665
-20601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+5665
-20601
lines changed

Avalara/SDK/api/A1099/V2/companies_w9_api.py

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@author Jonathan Wenger <[email protected]>
2323
@copyright 2022 Avalara, Inc.
2424
@license https://www.apache.org/licenses/LICENSE-2.0
25-
@version 25.8.2
25+
@version 25.8.3
2626
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
2727
"""
2828

@@ -43,9 +43,8 @@
4343
from pydantic import Field, StrictBool, StrictInt, StrictStr
4444
from typing import Optional
4545
from typing_extensions import Annotated
46-
from Avalara.SDK.models.A1099.V2.company_create_update_request_model import CompanyCreateUpdateRequestModel
4746
from Avalara.SDK.models.A1099.V2.company_response import CompanyResponse
48-
from Avalara.SDK.models.A1099.V2.company_response_model import CompanyResponseModel
47+
from Avalara.SDK.models.A1099.V2.create_company_request import CreateCompanyRequest
4948
from Avalara.SDK.models.A1099.V2.paginated_query_result_model_company_response import PaginatedQueryResultModelCompanyResponse
5049
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
5150
from Avalara.SDK.oauth_helper.AvalaraSdkOauthUtils import avalara_retry_oauth
@@ -61,12 +60,12 @@ def __verify_api_client(self,api_client):
6160

6261
def __set_configuration(self, api_client):
6362
self.__verify_api_client(api_client)
64-
api_client.set_sdk_version("25.8.2")
63+
api_client.set_sdk_version("25.8.3")
6564
self.api_client = api_client
6665

6766
self.create_company_endpoint = _Endpoint(
6867
settings={
69-
'response_type': (CompanyResponseModel,),
68+
'response_type': (CompanyResponse,),
7069
'auth': [
7170
'bearer'
7271
],
@@ -80,7 +79,7 @@ def __set_configuration(self, api_client):
8079
'avalara_version',
8180
'x_correlation_id',
8281
'x_avalara_client',
83-
'company_create_update_request_model',
82+
'create_company_request',
8483
],
8584
'required': [
8685
'avalara_version',
@@ -104,8 +103,8 @@ def __set_configuration(self, api_client):
104103
(str,),
105104
'x_avalara_client':
106105
(str,),
107-
'company_create_update_request_model':
108-
(CompanyCreateUpdateRequestModel,),
106+
'create_company_request':
107+
(CreateCompanyRequest,),
109108
},
110109
'attribute_map': {
111110
'avalara_version': 'avalara-version',
@@ -116,7 +115,7 @@ def __set_configuration(self, api_client):
116115
'avalara_version': 'header',
117116
'x_correlation_id': 'header',
118117
'x_avalara_client': 'header',
119-
'company_create_update_request_model': 'body',
118+
'create_company_request': 'body',
120119
},
121120
'collection_format_map': {
122121
}
@@ -372,7 +371,7 @@ def __set_configuration(self, api_client):
372371
)
373372
self.update_company_endpoint = _Endpoint(
374373
settings={
375-
'response_type': (CompanyResponseModel,),
374+
'response_type': (CompanyResponse,),
376375
'auth': [
377376
'bearer'
378377
],
@@ -387,7 +386,7 @@ def __set_configuration(self, api_client):
387386
'avalara_version',
388387
'x_correlation_id',
389388
'x_avalara_client',
390-
'company_create_update_request_model',
389+
'create_company_request',
391390
],
392391
'required': [
393392
'id',
@@ -414,8 +413,8 @@ def __set_configuration(self, api_client):
414413
(str,),
415414
'x_avalara_client':
416415
(str,),
417-
'company_create_update_request_model':
418-
(CompanyCreateUpdateRequestModel,),
416+
'create_company_request':
417+
(CreateCompanyRequest,),
419418
},
420419
'attribute_map': {
421420
'id': 'id',
@@ -428,7 +427,7 @@ def __set_configuration(self, api_client):
428427
'avalara_version': 'header',
429428
'x_correlation_id': 'header',
430429
'x_avalara_client': 'header',
431-
'company_create_update_request_model': 'body',
430+
'create_company_request': 'body',
432431
},
433432
'collection_format_map': {
434433
}
@@ -470,7 +469,7 @@ def create_company(
470469
Keyword Args:
471470
x_correlation_id (str): Unique correlation Id in a GUID format. [optional]
472471
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]
473-
company_create_update_request_model (CompanyCreateUpdateRequestModel): The company to create. [optional]
472+
create_company_request (CreateCompanyRequest): The company to create. [optional]
474473
_return_http_data_only (bool): response data without head status
475474
code and headers. Default is True.
476475
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -492,7 +491,7 @@ def create_company(
492491
async_req (bool): execute request asynchronously
493492
494493
Returns:
495-
CompanyResponseModel
494+
CompanyResponse
496495
If the method is called asynchronously, returns the request
497496
thread.
498497
"""
@@ -761,7 +760,7 @@ def update_company(
761760
Keyword Args:
762761
x_correlation_id (str): Unique correlation Id in a GUID format. [optional]
763762
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]
764-
company_create_update_request_model (CompanyCreateUpdateRequestModel): The updated company data. [optional]
763+
create_company_request (CreateCompanyRequest): The updated company data. [optional]
765764
_return_http_data_only (bool): response data without head status
766765
code and headers. Default is True.
767766
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -783,7 +782,7 @@ def update_company(
783782
async_req (bool): execute request asynchronously
784783
785784
Returns:
786-
CompanyResponseModel
785+
CompanyResponse
787786
If the method is called asynchronously, returns the request
788787
thread.
789788
"""

0 commit comments

Comments
 (0)