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
4 changes: 2 additions & 2 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.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.create_company_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.bulk_upsert1099_forms_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.create_and_send_w9_form_email_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.create_issuer_endpoint = _Endpoint(
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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
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 <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.download_document_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/interop_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.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.submit_interop_document_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/mandates_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.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -59,7 +59,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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.get_mandate_data_input_fields_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/subscriptions_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.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.create_webhook_subscription_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/tax_identifiers_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.11.0
@version 25.11.1
@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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.tax_identifier_schema_by_country_endpoint = _Endpoint(
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/api/EInvoicing/V1/trading_partners_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.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -66,7 +66,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.11.0")
api_client.set_sdk_version("25.11.1")
self.api_client = api_client

self.batch_search_participants_endpoint = _Endpoint(
Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/company_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/company_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/company_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
11 changes: 2 additions & 9 deletions Avalara/SDK/models/A1099/V2/covered_individual.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand All @@ -50,7 +50,6 @@ class CoveredIndividual(BaseModel):
name_suffix: Optional[StrictStr] = Field(default=None, description="Covered individual's name suffix", alias="nameSuffix")
tin: Optional[StrictStr] = Field(default=None, description="Covered individual's Federal Tax Identification Number (TIN).. SSN or ITIN. Required unless unavailable.")
birth_date: Optional[date] = Field(default=None, description="Covered individual's date of birth - Required when SSN is missing.", alias="birthDate")
covered_all_months: Optional[StrictBool] = Field(default=None, description="Coverage indicator for all 12 months", alias="coveredAllMonths")
covered_january: Optional[StrictBool] = Field(default=None, description="Coverage indicator for January", alias="coveredJanuary")
covered_february: Optional[StrictBool] = Field(default=None, description="Coverage indicator for February", alias="coveredFebruary")
covered_march: Optional[StrictBool] = Field(default=None, description="Coverage indicator for March", alias="coveredMarch")
Expand All @@ -63,7 +62,7 @@ class CoveredIndividual(BaseModel):
covered_october: Optional[StrictBool] = Field(default=None, description="Coverage indicator for October", alias="coveredOctober")
covered_november: Optional[StrictBool] = Field(default=None, description="Coverage indicator for November", alias="coveredNovember")
covered_december: Optional[StrictBool] = Field(default=None, description="Coverage indicator for December", alias="coveredDecember")
__properties: ClassVar[List[str]] = ["id", "firstName", "middleName", "lastName", "nameSuffix", "tin", "birthDate", "coveredAllMonths", "coveredJanuary", "coveredFebruary", "coveredMarch", "coveredApril", "coveredMay", "coveredJune", "coveredJuly", "coveredAugust", "coveredSeptember", "coveredOctober", "coveredNovember", "coveredDecember"]
__properties: ClassVar[List[str]] = ["id", "firstName", "middleName", "lastName", "nameSuffix", "tin", "birthDate", "coveredJanuary", "coveredFebruary", "coveredMarch", "coveredApril", "coveredMay", "coveredJune", "coveredJuly", "coveredAugust", "coveredSeptember", "coveredOctober", "coveredNovember", "coveredDecember"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -141,11 +140,6 @@ def to_dict(self) -> Dict[str, Any]:
if self.birth_date is None and "birth_date" in self.model_fields_set:
_dict['birthDate'] = None

# set to None if covered_all_months (nullable) is None
# and model_fields_set contains the field
if self.covered_all_months is None and "covered_all_months" in self.model_fields_set:
_dict['coveredAllMonths'] = None

# set to None if covered_january (nullable) is None
# and model_fields_set contains the field
if self.covered_january is None and "covered_january" in self.model_fields_set:
Expand Down Expand Up @@ -225,7 +219,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"nameSuffix": obj.get("nameSuffix"),
"tin": obj.get("tin"),
"birthDate": obj.get("birthDate"),
"coveredAllMonths": obj.get("coveredAllMonths"),
"coveredJanuary": obj.get("coveredJanuary"),
"coveredFebruary": obj.get("coveredFebruary"),
"coveredMarch": obj.get("coveredMarch"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/models/A1099/V2/create_company_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
import pprint
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
from typing import Any, List, Optional
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.company_create_update_request_model import CompanyCreateUpdateRequestModel
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.company_response import CompanyResponse
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.company_create_update_request_model import CompanyCreateUpdateRequestModel
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.company_response import CompanyResponse
from pydantic import StrictStr, Field
from typing import Union, List, Set, Optional, Dict
from typing_extensions import Literal, Self
Expand Down
4 changes: 2 additions & 2 deletions Avalara/SDK/models/A1099/V2/create_issuer_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
import pprint
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
from typing import Any, List, Optional
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.issuer_command import IssuerCommand
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.issuer_response import IssuerResponse
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.issuer_command import IssuerCommand
from Avalara.SDK.models.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.A1099.V2.issuer_response import IssuerResponse
from pydantic import StrictStr, Field
from typing import Union, List, Set, Optional, Dict
from typing_extensions import Literal, Self
Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/create_w9_form201_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/create_w9_form_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/entry_status_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/error_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
2 changes: 1 addition & 1 deletion Avalara/SDK/models/A1099/V2/error_response_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down
6 changes: 3 additions & 3 deletions Avalara/SDK/models/A1099/V2/form1042_s.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@author Jonathan Wenger <jonathan.wenger@avalara.com>
@copyright 2022 Avalara, Inc.
@license https://www.apache.org/licenses/LICENSE-2.0
@version 25.11.0
@version 25.11.1
@link https://github.com/avadev/AvaTax-REST-V3-Python-SDK
"""

Expand Down Expand Up @@ -206,8 +206,8 @@ def chap4_status_code_validate_enum(cls, value):
@field_validator('type')
def type_validate_enum(cls, value):
"""Validates the enum"""
if value not in set(['Form1099Nec', 'Form1099Misc', 'Form1099Div', 'Form1099R', 'Form1099K', 'Form1095B', 'Form1042S', 'Form1095C', 'Form1099Int']):
raise ValueError("must be one of enum values ('Form1099Nec', 'Form1099Misc', 'Form1099Div', 'Form1099R', 'Form1099K', 'Form1095B', 'Form1042S', 'Form1095C', 'Form1099Int')")
if value not in set(['1042-S', '1095-B', '1095-C', '1099-DIV', '1099-INT', '1099-K', '1099-MISC', '1099-NEC', '1099-R']):
raise ValueError("must be one of enum values ('1042-S', '1095-B', '1095-C', '1099-DIV', '1099-INT', '1099-K', '1099-MISC', '1099-NEC', '1099-R')")
return value

model_config = ConfigDict(
Expand Down
Loading