Skip to content
Merged
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
26 changes: 13 additions & 13 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 <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -43,8 +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_request import CompanyRequest
from Avalara.SDK.models.A1099.V2.company_response import CompanyResponse
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 @@ -60,7 +60,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.create_company_endpoint = _Endpoint(
Expand All @@ -79,7 +79,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'create_company_request',
'company_request',
],
'required': [
'avalara_version',
Expand All @@ -103,8 +103,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'create_company_request':
(CreateCompanyRequest,),
'company_request':
(CompanyRequest,),
},
'attribute_map': {
'avalara_version': 'avalara-version',
Expand All @@ -115,7 +115,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'create_company_request': 'body',
'company_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -386,7 +386,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'create_company_request',
'company_request',
],
'required': [
'id',
Expand All @@ -413,8 +413,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'create_company_request':
(CreateCompanyRequest,),
'company_request':
(CompanyRequest,),
},
'attribute_map': {
'id': 'id',
Expand All @@ -427,7 +427,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'create_company_request': 'body',
'company_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -469,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]
create_company_request (CreateCompanyRequest): The company to create. [optional]
company_request (CompanyRequest): 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 Down Expand Up @@ -760,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]
create_company_request (CreateCompanyRequest): The updated company data. [optional]
company_request (CompanyRequest): 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 Down
10 changes: 5 additions & 5 deletions Avalara/SDK/api/A1099/V2/forms1099_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -61,7 +61,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.bulk_upsert1099_forms_endpoint = _Endpoint(
Expand Down Expand Up @@ -610,7 +610,7 @@ def bulk_upsert1099_forms(
):
"""Create or update multiple 1099/1095/W2/1042S forms # noqa: E501

This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request. # noqa: E501
This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -681,7 +681,7 @@ def create1099_form(
):
"""Create a 1099/1095/W2/1042S form # noqa: E501

Create a 1099/1095/W2/1042S form. # noqa: E501
Create a 1099/1095/W2/1042S form. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -1044,7 +1044,7 @@ def update1099_form(
):
"""Update a 1099/1095/W2/1042S form # noqa: E501

Update a 1099/1095/W2/1042S form. # noqa: E501
Update a 1099/1095/W2/1042S form. **Date Update Rules:** Possible to update scheduled dates (same validation rules apply). Cannot change from scheduled to unscheduled status - must delete form and create new one. If dates are between current date and blackout period, scheduled to that date. If dates are in past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down
21 changes: 10 additions & 11 deletions Avalara/SDK/api/A1099/V2/forms_w9_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -46,7 +46,6 @@
from Avalara.SDK.models.A1099.V2.create_and_send_w9_form_email_request import CreateAndSendW9FormEmailRequest
from Avalara.SDK.models.A1099.V2.create_w9_form201_response import CreateW9Form201Response
from Avalara.SDK.models.A1099.V2.create_w9_form_request import CreateW9FormRequest
from Avalara.SDK.models.A1099.V2.iw9_form_data_models_one_of import IW9FormDataModelsOneOf
from Avalara.SDK.models.A1099.V2.paginated_query_result_model_w9_form_base_response import PaginatedQueryResultModelW9FormBaseResponse
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
from Avalara.SDK.oauth_helper.AvalaraSdkOauthUtils import avalara_retry_oauth
Expand All @@ -62,7 +61,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.create_and_send_w9_form_email_endpoint = _Endpoint(
Expand Down Expand Up @@ -515,7 +514,7 @@ def __set_configuration(self, api_client):
)
self.update_w9_form_endpoint = _Endpoint(
settings={
'response_type': (IW9FormDataModelsOneOf,),
'response_type': (CreateW9Form201Response,),
'auth': [
'bearer'
],
Expand All @@ -530,7 +529,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'iw9_form_data_models_one_of',
'create_w9_form_request',
],
'required': [
'id',
Expand All @@ -557,8 +556,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'iw9_form_data_models_one_of':
(IW9FormDataModelsOneOf,),
'create_w9_form_request':
(CreateW9FormRequest,),
},
'attribute_map': {
'id': 'id',
Expand All @@ -571,7 +570,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'iw9_form_data_models_one_of': 'body',
'create_w9_form_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -1037,7 +1036,7 @@ def send_w9_form_email(
):
"""Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form # noqa: E501

Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form. If the form is not in 'Requested' status, it will either use an existing descendant form in 'Requested' status or create a new minimal form and send the email request. # noqa: E501
Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form. If the form is not in 'Requested' status, it will either use an existing descendant form in 'Requested' status or create a new minimal form and send the email request. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -1123,7 +1122,7 @@ def update_w9_form(
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]
iw9_form_data_models_one_of (IW9FormDataModelsOneOf): Form to be updated. [optional]
create_w9_form_request (CreateW9FormRequest): Form to be updated. [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 @@ -1145,7 +1144,7 @@ def update_w9_form(
async_req (bool): execute request asynchronously

Returns:
IW9FormDataModelsOneOf
CreateW9Form201Response
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
26 changes: 13 additions & 13 deletions Avalara/SDK/api/A1099/V2/issuers1099_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -43,7 +43,7 @@
from pydantic import Field, StrictBool, StrictInt, StrictStr
from typing import Optional
from typing_extensions import Annotated
from Avalara.SDK.models.A1099.V2.create_issuer_request import CreateIssuerRequest
from Avalara.SDK.models.A1099.V2.issuer_request import IssuerRequest
from Avalara.SDK.models.A1099.V2.issuer_response import IssuerResponse
from Avalara.SDK.models.A1099.V2.paginated_query_result_model_issuer_response import PaginatedQueryResultModelIssuerResponse
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
Expand All @@ -60,7 +60,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.create_issuer_endpoint = _Endpoint(
Expand All @@ -79,7 +79,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'create_issuer_request',
'issuer_request',
],
'required': [
'avalara_version',
Expand All @@ -103,8 +103,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'create_issuer_request':
(CreateIssuerRequest,),
'issuer_request':
(IssuerRequest,),
},
'attribute_map': {
'avalara_version': 'avalara-version',
Expand All @@ -115,7 +115,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'create_issuer_request': 'body',
'issuer_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -386,7 +386,7 @@ def __set_configuration(self, api_client):
'avalara_version',
'x_correlation_id',
'x_avalara_client',
'create_issuer_request',
'issuer_request',
],
'required': [
'id',
Expand All @@ -413,8 +413,8 @@ def __set_configuration(self, api_client):
(str,),
'x_avalara_client':
(str,),
'create_issuer_request':
(CreateIssuerRequest,),
'issuer_request':
(IssuerRequest,),
},
'attribute_map': {
'id': 'id',
Expand All @@ -427,7 +427,7 @@ def __set_configuration(self, api_client):
'avalara_version': 'header',
'x_correlation_id': 'header',
'x_avalara_client': 'header',
'create_issuer_request': 'body',
'issuer_request': 'body',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -469,7 +469,7 @@ def create_issuer(
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]
create_issuer_request (CreateIssuerRequest): The issuer to create. [optional]
issuer_request (IssuerRequest): The issuer 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 Down Expand Up @@ -760,7 +760,7 @@ def update_issuer(
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]
create_issuer_request (CreateIssuerRequest): The issuer to update. [optional]
issuer_request (IssuerRequest): The issuer to update. [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 Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/A1099/V2/jobs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -58,7 +58,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.get_job_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/data_input_fields_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -58,7 +58,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.get_data_input_fields_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/documents_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@author Jonathan Wenger <[email protected]>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.8.3
@version 25.9.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -64,7 +64,7 @@ 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.3")
api_client.set_sdk_version("25.9.0")
self.api_client = api_client

self.download_document_endpoint = _Endpoint(
Expand Down
Loading