Skip to content

Commit 9f994c1

Browse files
Merge pull request #6 from avadev/25.8.0
25.8.0
2 parents 7f9bc41 + e60d70d commit 9f994c1

File tree

304 files changed

+15805
-2284
lines changed

Some content is hidden

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

304 files changed

+15805
-2284
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
limitations under the License.
1717
1818
Avalara 1099 & W-9 API Definition
19-
## 🔐 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)
19+
## 🔐 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)
2020
2121
@author Sachin Baijal <[email protected]>
2222
@author Jonathan Wenger <[email protected]>
2323
@copyright 2022 Avalara, Inc.
2424
@license https://www.apache.org/licenses/LICENSE-2.0
25-
@version 25.7.2
25+
@version 25.8.0
2626
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
2727
"""
2828

@@ -61,7 +61,7 @@ def __verify_api_client(self,api_client):
6161

6262
def __set_configuration(self, api_client):
6363
self.__verify_api_client(api_client)
64-
api_client.set_sdk_version("25.7.2")
64+
api_client.set_sdk_version("25.8.0")
6565
self.api_client = api_client
6666

6767
self.create_company_endpoint = _Endpoint(
@@ -455,9 +455,9 @@ def create_company(
455455
avalara_version,
456456
**kwargs
457457
):
458-
"""Creates a new company # noqa: E501
458+
"""Create a company # noqa: E501
459459
460-
Creates a new company # noqa: E501
460+
Create a company. # noqa: E501
461461
This method makes a synchronous HTTP request by default. To make an
462462
asynchronous HTTP request, please pass async_req=True
463463
@@ -526,9 +526,9 @@ def delete_company(
526526
avalara_version,
527527
**kwargs
528528
):
529-
"""Deletes a company # noqa: E501
529+
"""Delete a company # noqa: E501
530530
531-
Deletes a company # noqa: E501
531+
Delete a company. # noqa: E501
532532
This method makes a synchronous HTTP request by default. To make an
533533
asynchronous HTTP request, please pass async_req=True
534534
@@ -675,7 +675,7 @@ def get_company(
675675
):
676676
"""Retrieve a company # noqa: E501
677677
678-
Retrieve an existing company # noqa: E501
678+
Retrieve a company. # noqa: E501
679679
This method makes a synchronous HTTP request by default. To make an
680680
asynchronous HTTP request, please pass async_req=True
681681
@@ -747,7 +747,7 @@ def update_company(
747747
):
748748
"""Update a company # noqa: E501
749749
750-
Update a company # noqa: E501
750+
Update a company. # noqa: E501
751751
This method makes a synchronous HTTP request by default. To make an
752752
asynchronous HTTP request, please pass async_req=True
753753

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

Lines changed: 30 additions & 22 deletions
Large diffs are not rendered by default.

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

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
limitations under the License.
1717
1818
Avalara 1099 & W-9 API Definition
19-
## 🔐 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)
19+
## 🔐 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)
2020
2121
@author Sachin Baijal <[email protected]>
2222
@author Jonathan Wenger <[email protected]>
2323
@copyright 2022 Avalara, Inc.
2424
@license https://www.apache.org/licenses/LICENSE-2.0
25-
@version 25.7.2
25+
@version 25.8.0
2626
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
2727
"""
2828

@@ -43,6 +43,8 @@
4343
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
4444
from typing import Optional, Union
4545
from typing_extensions import Annotated
46+
from Avalara.SDK.models.A1099.V2.create_w9_form201_response import CreateW9Form201Response
47+
from Avalara.SDK.models.A1099.V2.create_w9_form_request import CreateW9FormRequest
4648
from Avalara.SDK.models.A1099.V2.iw9_form_data_models_one_of import IW9FormDataModelsOneOf
4749
from Avalara.SDK.models.A1099.V2.paginated_w9_forms_model import PaginatedW9FormsModel
4850
from Avalara.SDK.exceptions import ApiTypeError, ApiValueError, ApiException
@@ -59,12 +61,12 @@ def __verify_api_client(self,api_client):
5961

6062
def __set_configuration(self, api_client):
6163
self.__verify_api_client(api_client)
62-
api_client.set_sdk_version("25.7.2")
64+
api_client.set_sdk_version("25.8.0")
6365
self.api_client = api_client
6466

6567
self.create_w9_form_endpoint = _Endpoint(
6668
settings={
67-
'response_type': (IW9FormDataModelsOneOf,),
69+
'response_type': (CreateW9Form201Response,),
6870
'auth': [
6971
'bearer'
7072
],
@@ -78,7 +80,7 @@ def __set_configuration(self, api_client):
7880
'avalara_version',
7981
'x_correlation_id',
8082
'x_avalara_client',
81-
'iw9_form_data_models_one_of',
83+
'create_w9_form_request',
8284
],
8385
'required': [
8486
'avalara_version',
@@ -102,8 +104,8 @@ def __set_configuration(self, api_client):
102104
(str,),
103105
'x_avalara_client':
104106
(str,),
105-
'iw9_form_data_models_one_of':
106-
(IW9FormDataModelsOneOf,),
107+
'create_w9_form_request':
108+
(CreateW9FormRequest,),
107109
},
108110
'attribute_map': {
109111
'avalara_version': 'avalara-version',
@@ -114,7 +116,7 @@ def __set_configuration(self, api_client):
114116
'avalara_version': 'header',
115117
'x_correlation_id': 'header',
116118
'x_avalara_client': 'header',
117-
'iw9_form_data_models_one_of': 'body',
119+
'create_w9_form_request': 'body',
118120
},
119121
'collection_format_map': {
120122
}
@@ -206,7 +208,7 @@ def __set_configuration(self, api_client):
206208
)
207209
self.get_w9_form_endpoint = _Endpoint(
208210
settings={
209-
'response_type': (IW9FormDataModelsOneOf,),
211+
'response_type': (CreateW9Form201Response,),
210212
'auth': [
211213
'bearer'
212214
],
@@ -513,13 +515,13 @@ def __set_configuration(self, api_client):
513515
)
514516
self.upload_w9_files_endpoint = _Endpoint(
515517
settings={
516-
'response_type': (str,),
518+
'response_type': None,
517519
'auth': [
518520
'bearer'
519521
],
520522
'endpoint_path': '/w9/forms/{id}/attachment',
521523
'operation_id': 'upload_w9_files',
522-
'http_method': 'PUT',
524+
'http_method': 'POST',
523525
'servers': None,
524526
},
525527
params_map={
@@ -597,6 +599,7 @@ def create_w9_form(
597599
):
598600
"""Create a W9/W4/W8 form # noqa: E501
599601
602+
Create a W9/W4/W8 form. # noqa: E501
600603
This method makes a synchronous HTTP request by default. To make an
601604
asynchronous HTTP request, please pass async_req=True
602605
@@ -609,7 +612,7 @@ def create_w9_form(
609612
Keyword Args:
610613
x_correlation_id (str): Unique correlation Id in a GUID format. [optional]
611614
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]
612-
iw9_form_data_models_one_of (IW9FormDataModelsOneOf): Form to be created. [optional]
615+
create_w9_form_request (CreateW9FormRequest): Form to be created. [optional]
613616
_return_http_data_only (bool): response data without head status
614617
code and headers. Default is True.
615618
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -631,7 +634,7 @@ def create_w9_form(
631634
async_req (bool): execute request asynchronously
632635
633636
Returns:
634-
IW9FormDataModelsOneOf
637+
CreateW9Form201Response
635638
If the method is called asynchronously, returns the request
636639
thread.
637640
"""
@@ -665,17 +668,17 @@ def delete_w9_form(
665668
avalara_version,
666669
**kwargs
667670
):
668-
"""Delete a form # noqa: E501
671+
"""Delete a W9/W4/W8 form # noqa: E501
669672
670-
Delete a form # noqa: E501
673+
Delete a W9/W4/W8 form. # noqa: E501
671674
This method makes a synchronous HTTP request by default. To make an
672675
asynchronous HTTP request, please pass async_req=True
673676
674677
>>> thread = api.delete_w9_form(id, avalara_version, async_req=True)
675678
>>> result = thread.get()
676679
677680
Args:
678-
id (str): Id of the form to delete
681+
id (str): ID of the form to delete
679682
avalara_version (str): API version
680683
681684
Keyword Args:
@@ -739,15 +742,15 @@ def get_w9_form(
739742
):
740743
"""Retrieve a W9/W4/W8 form # noqa: E501
741744
742-
Retrieve a W9/W4/W8 form # noqa: E501
745+
Retrieve a W9/W4/W8 form. # noqa: E501
743746
This method makes a synchronous HTTP request by default. To make an
744747
asynchronous HTTP request, please pass async_req=True
745748
746749
>>> thread = api.get_w9_form(id, avalara_version, async_req=True)
747750
>>> result = thread.get()
748751
749752
Args:
750-
id (str): Id of the form
753+
id (str): ID of the form
751754
avalara_version (str): API version
752755
753756
Keyword Args:
@@ -774,7 +777,7 @@ def get_w9_form(
774777
async_req (bool): execute request asynchronously
775778
776779
Returns:
777-
IW9FormDataModelsOneOf
780+
CreateW9Form201Response
778781
If the method is called asynchronously, returns the request
779782
thread.
780783
"""
@@ -808,7 +811,7 @@ def list_w9_forms(
808811
avalara_version,
809812
**kwargs
810813
):
811-
"""List W9/W4/W8 forms. # noqa: E501
814+
"""List W9/W4/W8 forms # noqa: E501
812815
813816
List W9/W4/W8 forms. # noqa: E501
814817
This method makes a synchronous HTTP request by default. To make an
@@ -883,8 +886,9 @@ def send_w9_form_email(
883886
avalara_version,
884887
**kwargs
885888
):
886-
"""Sends a W9 email request to a vendor/payee # noqa: E501
889+
"""Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form # noqa: E501
887890
891+
Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form. # noqa: E501
888892
This method makes a synchronous HTTP request by default. To make an
889893
asynchronous HTTP request, please pass async_req=True
890894
@@ -956,14 +960,15 @@ def update_w9_form(
956960
):
957961
"""Update a W9/W4/W8 form # noqa: E501
958962
963+
Update a W9/W4/W8 form. # noqa: E501
959964
This method makes a synchronous HTTP request by default. To make an
960965
asynchronous HTTP request, please pass async_req=True
961966
962967
>>> thread = api.update_w9_form(id, avalara_version, async_req=True)
963968
>>> result = thread.get()
964969
965970
Args:
966-
id (str): Id of the form to update
971+
id (str): ID of the form to update
967972
avalara_version (str): API version
968973
969974
Keyword Args:
@@ -1026,9 +1031,9 @@ def upload_w9_files(
10261031
avalara_version,
10271032
**kwargs
10281033
):
1029-
"""Upload files for a W9/W4/W8 form # noqa: E501
1034+
"""Replace the PDF file for a W9/W4/W8 form # noqa: E501
10301035
1031-
Upload files for a W9/W4/W8 form # noqa: E501
1036+
Replaces the PDF file for a W9/W4/W8 form. # noqa: E501
10321037
This method makes a synchronous HTTP request by default. To make an
10331038
asynchronous HTTP request, please pass async_req=True
10341039
@@ -1064,7 +1069,7 @@ def upload_w9_files(
10641069
async_req (bool): execute request asynchronously
10651070
10661071
Returns:
1067-
str
1072+
None
10681073
If the method is called asynchronously, returns the request
10691074
thread.
10701075
"""

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
limitations under the License.
1717
1818
Avalara 1099 & W-9 API Definition
19-
## 🔐 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)
19+
## 🔐 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)
2020
2121
@author Sachin Baijal <[email protected]>
2222
@author Jonathan Wenger <[email protected]>
2323
@copyright 2022 Avalara, Inc.
2424
@license https://www.apache.org/licenses/LICENSE-2.0
25-
@version 25.7.2
25+
@version 25.8.0
2626
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
2727
"""
2828

@@ -60,7 +60,7 @@ def __verify_api_client(self,api_client):
6060

6161
def __set_configuration(self, api_client):
6262
self.__verify_api_client(api_client)
63-
api_client.set_sdk_version("25.7.2")
63+
api_client.set_sdk_version("25.8.0")
6464
self.api_client = api_client
6565

6666
self.create_issuer_endpoint = _Endpoint(
@@ -456,7 +456,7 @@ def create_issuer(
456456
):
457457
"""Create an issuer # noqa: E501
458458
459-
Create a new issuer # noqa: E501
459+
Create an issuer (also known as a Payer). # noqa: E501
460460
This method makes a synchronous HTTP request by default. To make an
461461
asynchronous HTTP request, please pass async_req=True
462462
@@ -527,7 +527,7 @@ def delete_issuer(
527527
):
528528
"""Delete an issuer # noqa: E501
529529
530-
Delete an issuer # noqa: E501
530+
Delete an issuer (also known as a Payer). # noqa: E501
531531
This method makes a synchronous HTTP request by default. To make an
532532
asynchronous HTTP request, please pass async_req=True
533533
@@ -597,17 +597,17 @@ def get_issuer(
597597
avalara_version,
598598
**kwargs
599599
):
600-
"""Get an issuer # noqa: E501
600+
"""Retrieve an issuer # noqa: E501
601601
602-
Get an issuer # noqa: E501
602+
Retrieve an issuer (also known as a Payer). # noqa: E501
603603
This method makes a synchronous HTTP request by default. To make an
604604
asynchronous HTTP request, please pass async_req=True
605605
606606
>>> thread = api.get_issuer(id, avalara_version, async_req=True)
607607
>>> result = thread.get()
608608
609609
Args:
610-
id (str):
610+
id (str): Id of the issuer to retrieve
611611
avalara_version (str): API version
612612
613613
Keyword Args:
@@ -670,7 +670,7 @@ def get_issuers(
670670
):
671671
"""List issuers # noqa: E501
672672
673-
List issuers for a given tax year. Filterable fields are name, referenceId and taxYear # noqa: E501
673+
List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear. # noqa: E501
674674
This method makes a synchronous HTTP request by default. To make an
675675
asynchronous HTTP request, please pass async_req=True
676676
@@ -746,15 +746,15 @@ def update_issuer(
746746
):
747747
"""Update an issuer # noqa: E501
748748
749-
Update an existing issuer # noqa: E501
749+
Update an issuer (also known as a Payer). # noqa: E501
750750
This method makes a synchronous HTTP request by default. To make an
751751
asynchronous HTTP request, please pass async_req=True
752752
753753
>>> thread = api.update_issuer(id, avalara_version, async_req=True)
754754
>>> result = thread.get()
755755
756756
Args:
757-
id (str): Id of the issuer to Update
757+
id (str): Id of the issuer to update
758758
avalara_version (str): API version
759759
760760
Keyword Args:

0 commit comments

Comments
 (0)