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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions Avalara/SDK/api/A1099/V2/companies_w9_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
limitations under the License.

Avalara 1099 & W-9 API Definition
## 🔐 Authentication Use **username/password** or generate a **license key** from: *Avalara Portal → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)

@author Sachin Baijal <sachin.baijal@avalara.com>
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.7.2
@version 25.8.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.7.2")
api_client.set_sdk_version("25.8.0")
self.api_client = api_client

self.create_company_endpoint = _Endpoint(
Expand Down Expand Up @@ -455,9 +455,9 @@ def create_company(
avalara_version,
**kwargs
):
"""Creates a new company # noqa: E501
"""Create a company # noqa: E501

Creates a new company # noqa: E501
Create a company. # 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 @@ -526,9 +526,9 @@ def delete_company(
avalara_version,
**kwargs
):
"""Deletes a company # noqa: E501
"""Delete a company # noqa: E501

Deletes a company # noqa: E501
Delete a company. # 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 @@ -675,7 +675,7 @@ def get_company(
):
"""Retrieve a company # noqa: E501

Retrieve an existing company # noqa: E501
Retrieve a company. # 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 @@ -747,7 +747,7 @@ def update_company(
):
"""Update a company # noqa: E501

Update a company # noqa: E501
Update a company. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down
52 changes: 30 additions & 22 deletions Avalara/SDK/api/A1099/V2/forms1099_api.py

Large diffs are not rendered by default.

55 changes: 30 additions & 25 deletions Avalara/SDK/api/A1099/V2/forms_w9_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
limitations under the License.

Avalara 1099 & W-9 API Definition
## 🔐 Authentication Use **username/password** or generate a **license key** from: *Avalara Portal → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)

@author Sachin Baijal <sachin.baijal@avalara.com>
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.7.2
@version 25.8.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -43,6 +43,8 @@
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
from typing import Optional, Union
from typing_extensions import Annotated
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_w9_forms_model import PaginatedW9FormsModel
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
Expand All @@ -59,12 +61,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.7.2")
api_client.set_sdk_version("25.8.0")
self.api_client = api_client

self.create_w9_form_endpoint = _Endpoint(
settings={
'response_type': (IW9FormDataModelsOneOf,),
'response_type': (CreateW9Form201Response,),
'auth': [
'bearer'
],
Expand All @@ -78,7 +80,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': [
'avalara_version',
Expand All @@ -102,8 +104,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': {
'avalara_version': 'avalara-version',
Expand All @@ -114,7 +116,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 @@ -206,7 +208,7 @@ def __set_configuration(self, api_client):
)
self.get_w9_form_endpoint = _Endpoint(
settings={
'response_type': (IW9FormDataModelsOneOf,),
'response_type': (CreateW9Form201Response,),
'auth': [
'bearer'
],
Expand Down Expand Up @@ -513,13 +515,13 @@ def __set_configuration(self, api_client):
)
self.upload_w9_files_endpoint = _Endpoint(
settings={
'response_type': (str,),
'response_type': None,
'auth': [
'bearer'
],
'endpoint_path': '/w9/forms/{id}/attachment',
'operation_id': 'upload_w9_files',
'http_method': 'PUT',
'http_method': 'POST',
'servers': None,
},
params_map={
Expand Down Expand Up @@ -597,6 +599,7 @@ def create_w9_form(
):
"""Create a W9/W4/W8 form # noqa: E501

Create a W9/W4/W8 form. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand All @@ -609,7 +612,7 @@ def create_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 created. [optional]
create_w9_form_request (CreateW9FormRequest): Form to be created. [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 @@ -631,7 +634,7 @@ def create_w9_form(
async_req (bool): execute request asynchronously

Returns:
IW9FormDataModelsOneOf
CreateW9Form201Response
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -665,17 +668,17 @@ def delete_w9_form(
avalara_version,
**kwargs
):
"""Delete a form # noqa: E501
"""Delete a W9/W4/W8 form # noqa: E501

Delete a form # noqa: E501
Delete a W9/W4/W8 form. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.delete_w9_form(id, avalara_version, async_req=True)
>>> result = thread.get()

Args:
id (str): Id of the form to delete
id (str): ID of the form to delete
avalara_version (str): API version

Keyword Args:
Expand Down Expand Up @@ -739,15 +742,15 @@ def get_w9_form(
):
"""Retrieve a W9/W4/W8 form # noqa: E501

Retrieve a W9/W4/W8 form # noqa: E501
Retrieve a W9/W4/W8 form. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.get_w9_form(id, avalara_version, async_req=True)
>>> result = thread.get()

Args:
id (str): Id of the form
id (str): ID of the form
avalara_version (str): API version

Keyword Args:
Expand All @@ -774,7 +777,7 @@ def get_w9_form(
async_req (bool): execute request asynchronously

Returns:
IW9FormDataModelsOneOf
CreateW9Form201Response
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -808,7 +811,7 @@ def list_w9_forms(
avalara_version,
**kwargs
):
"""List W9/W4/W8 forms. # noqa: E501
"""List W9/W4/W8 forms # noqa: E501

List W9/W4/W8 forms. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand Down Expand Up @@ -883,8 +886,9 @@ def send_w9_form_email(
avalara_version,
**kwargs
):
"""Sends a W9 email request to a vendor/payee # noqa: E501
"""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. # 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 @@ -956,14 +960,15 @@ def update_w9_form(
):
"""Update a W9/W4/W8 form # noqa: E501

Update a W9/W4/W8 form. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.update_w9_form(id, avalara_version, async_req=True)
>>> result = thread.get()

Args:
id (str): Id of the form to update
id (str): ID of the form to update
avalara_version (str): API version

Keyword Args:
Expand Down Expand Up @@ -1026,9 +1031,9 @@ def upload_w9_files(
avalara_version,
**kwargs
):
"""Upload files for a W9/W4/W8 form # noqa: E501
"""Replace the PDF file for a W9/W4/W8 form # noqa: E501

Upload files for a W9/W4/W8 form # noqa: E501
Replaces the PDF file for a W9/W4/W8 form. # 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 @@ -1064,7 +1069,7 @@ def upload_w9_files(
async_req (bool): execute request asynchronously

Returns:
str
None
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
22 changes: 11 additions & 11 deletions Avalara/SDK/api/A1099/V2/issuers1099_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
limitations under the License.

Avalara 1099 & W-9 API Definition
## 🔐 Authentication Use **username/password** or generate a **license key** from: *Avalara Portal → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
## 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)

@author Sachin Baijal <sachin.baijal@avalara.com>
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.7.2
@version 25.8.0
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -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.7.2")
api_client.set_sdk_version("25.8.0")
self.api_client = api_client

self.create_issuer_endpoint = _Endpoint(
Expand Down Expand Up @@ -456,7 +456,7 @@ def create_issuer(
):
"""Create an issuer # noqa: E501

Create a new issuer # noqa: E501
Create an issuer (also known as a Payer). # 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 @@ -527,7 +527,7 @@ def delete_issuer(
):
"""Delete an issuer # noqa: E501

Delete an issuer # noqa: E501
Delete an issuer (also known as a Payer). # 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 @@ -597,17 +597,17 @@ def get_issuer(
avalara_version,
**kwargs
):
"""Get an issuer # noqa: E501
"""Retrieve an issuer # noqa: E501

Get an issuer # noqa: E501
Retrieve an issuer (also known as a Payer). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.get_issuer(id, avalara_version, async_req=True)
>>> result = thread.get()

Args:
id (str):
id (str): Id of the issuer to retrieve
avalara_version (str): API version

Keyword Args:
Expand Down Expand Up @@ -670,7 +670,7 @@ def get_issuers(
):
"""List issuers # noqa: E501

List issuers for a given tax year. Filterable fields are name, referenceId and taxYear # noqa: E501
List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear. # 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 @@ -746,15 +746,15 @@ def update_issuer(
):
"""Update an issuer # noqa: E501

Update an existing issuer # noqa: E501
Update an issuer (also known as a Payer). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.update_issuer(id, avalara_version, async_req=True)
>>> result = thread.get()

Args:
id (str): Id of the issuer to Update
id (str): Id of the issuer to update
avalara_version (str): API version

Keyword Args:
Expand Down
Loading