diff --git a/setup.py b/setup.py index 3171e5e..f85f79b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='Avalara', - version='24.11.2', + version='24.12.0', url='https://github.com/avadev/AvaTax-REST-V2-Python-SDK', package_dir={'': 'src'}, packages=['avalara'], diff --git a/src/avalara/client_methods.py b/src/avalara/client_methods.py index 50a127f..5ad5c9c 100644 --- a/src/avalara/client_methods.py +++ b/src/avalara/client_methods.py @@ -31,7 +31,7 @@ class Mixin: """ def account_reset_license_key(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -56,7 +56,7 @@ def account_reset_license_key(self, id_, model): """ def activate_account(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -87,7 +87,7 @@ def activate_account(self, id_, model): """ def audit_account(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -112,7 +112,7 @@ def audit_account(self, id_, include=None): """ def create_license_key(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -133,7 +133,7 @@ def create_license_key(self, id_, model): """ def delete_license_key(self, id_, licensekeyname): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -155,7 +155,7 @@ def delete_license_key(self, id_, licensekeyname): """ def get_account(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -181,7 +181,7 @@ def get_account(self, id_, include=None): """ def get_account_configuration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -199,7 +199,7 @@ def get_account_configuration(self, id_): """ def get_license_key(self, id_, licensekeyname): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -217,7 +217,7 @@ def get_license_key(self, id_, licensekeyname): """ def get_license_keys(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -235,7 +235,7 @@ def get_license_keys(self, id_): """ def list_mrs_accounts(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/mrs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -264,7 +264,7 @@ def list_mrs_accounts(self): """ def query_accounts(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -291,7 +291,7 @@ def query_accounts(self, include=None): """ def set_account_configuration(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -327,7 +327,7 @@ def set_account_configuration(self, id_, model): """ def resolve_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -352,7 +352,7 @@ def resolve_address(self, include=None): """ def resolve_address_post(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -369,7 +369,7 @@ def resolve_address_post(self, model): """ def create_a_p_config_setting(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -390,7 +390,7 @@ def create_a_p_config_setting(self, companyid, model): """ def get_a_p_config_setting_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -410,7 +410,7 @@ def get_a_p_config_setting_by_company(self, companyid, include=None): """ def query_a_p_config_setting(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/apconfigsetting'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -427,7 +427,7 @@ def query_a_p_config_setting(self, include=None): """ def update_a_p_config_setting(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -447,7 +447,7 @@ def update_a_p_config_setting(self, companyid, model): """ def create_ava_file_forms(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -466,7 +466,7 @@ def create_ava_file_forms(self, model): """ def delete_ava_file_form(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -485,7 +485,7 @@ def delete_ava_file_form(self, id_): """ def get_ava_file_form(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -508,7 +508,7 @@ def get_ava_file_form(self, id_): """ def query_ava_file_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -529,7 +529,7 @@ def query_ava_file_forms(self, include=None): """ def update_ava_file_form(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -556,7 +556,7 @@ def update_ava_file_form(self, id_, model): """ def cancel_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -589,7 +589,7 @@ def cancel_batch(self, companyId, id_): """ def create_batches(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -621,7 +621,7 @@ def create_batches(self, companyId, model): """ def create_transaction_batch(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -647,7 +647,7 @@ def create_transaction_batch(self, companyId, model): """ def delete_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -667,7 +667,7 @@ def delete_batch(self, companyId, id_): """ def download_batch(self, companyId, batchId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -697,7 +697,7 @@ def download_batch(self, companyId, batchId, id_): """ def get_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -735,7 +735,7 @@ def get_batch(self, companyId, id_): """ def list_batches_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -770,7 +770,7 @@ def list_batches_by_company(self, companyId, include=None): """ def query_batches(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/batches'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -802,7 +802,7 @@ def query_batches(self, include=None): """ def create_cert_express_invitation(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -835,7 +835,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model): """ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -870,7 +870,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None """ def list_cert_express_invitations(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -906,7 +906,7 @@ def list_cert_express_invitations(self, companyId, include=None): """ def create_certificates(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -935,7 +935,7 @@ def create_certificates(self, companyId, model, include=None): """ def delete_certificate(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -967,7 +967,7 @@ def delete_certificate(self, companyId, id_): """ def download_certificate_image(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1005,7 +1005,7 @@ def download_certificate_image(self, companyId, id_, include=None): """ def get_certificate(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1029,7 +1029,7 @@ def get_certificate(self, companyId, id_, include=None): """ def get_certificate_setup(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1060,7 +1060,7 @@ def get_certificate_setup(self, companyId): """ def link_attributes_to_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1092,7 +1092,7 @@ def link_attributes_to_certificate(self, companyId, id_, model): """ def link_customers_to_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1122,7 +1122,7 @@ def link_customers_to_certificate(self, companyId, id_, model): """ def list_attributes_for_certificate(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1153,7 +1153,7 @@ def list_attributes_for_certificate(self, companyId, id_): """ def list_customers_for_certificate(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/customers'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1194,7 +1194,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None): """ def query_certificates(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1219,7 +1219,7 @@ def query_certificates(self, companyId, include=None): """ def request_certificate_setup(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1250,7 +1250,7 @@ def request_certificate_setup(self, companyId): """ def unlink_attributes_from_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1283,7 +1283,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model): """ def unlink_customers_from_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1312,7 +1312,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model): """ def update_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1343,7 +1343,7 @@ def update_certificate(self, companyId, id_, model): """ def upload_certificate_image(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1361,7 +1361,7 @@ def upload_certificate_image(self, companyId, id_): """ def get_communication_certificate(self, companyId, certificateId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/companies/{}/communication-certificates/{}'.format(self.base_url, companyId, certificateId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1387,7 +1387,7 @@ def get_communication_certificate(self, companyId, certificateId): """ def list_communication_certificates(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/companies/{}/communication-certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1426,7 +1426,7 @@ def list_communication_certificates(self, companyId, include=None): """ def certify_integration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1453,7 +1453,7 @@ def certify_integration(self, id_): """ def change_filing_status(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1480,7 +1480,7 @@ def change_filing_status(self, id_, model): """ def company_initialize(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/initialize'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1501,7 +1501,7 @@ def company_initialize(self, model): """ def create_companies(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1525,7 +1525,7 @@ def create_companies(self, model): """ def create_company_parameters(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1556,7 +1556,7 @@ def create_company_parameters(self, companyId, model): """ def create_funding_request(self, id_, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1574,7 +1574,7 @@ def create_funding_request(self, id_, model, include=None): """ def delete_company(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1596,7 +1596,7 @@ def delete_company(self, id_): """ def delete_company_parameter(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1618,7 +1618,7 @@ def delete_company_parameter(self, companyId, id_): """ def funding_configuration_by_company(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1641,7 +1641,7 @@ def funding_configuration_by_company(self, companyId): """ def funding_configurations_by_company_and_currency(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1671,7 +1671,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None """ def get_company(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1697,7 +1697,7 @@ def get_company(self, id_, include=None): """ def get_company_configuration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1719,7 +1719,7 @@ def get_company_configuration(self, id_): """ def get_company_parameter_detail(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1747,7 +1747,7 @@ def get_company_parameter_detail(self, companyId, id_): """ def get_filing_status(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1771,7 +1771,7 @@ def get_filing_status(self, id_): """ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1798,7 +1798,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth): """ def list_company_parameter_details(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1820,7 +1820,7 @@ def list_company_parameter_details(self, companyId, include=None): """ def list_funding_requests_by_company(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1838,7 +1838,7 @@ def list_funding_requests_by_company(self, id_): """ def list_mrs_companies(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/mrs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1873,7 +1873,7 @@ def list_mrs_companies(self): """ def query_companies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1900,7 +1900,7 @@ def query_companies(self, include=None): """ def set_company_configuration(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1925,7 +1925,7 @@ def set_company_configuration(self, id_, model): """ def update_company(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1948,7 +1948,7 @@ def update_company(self, id_, model): """ def update_company_parameter_detail(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1972,7 +1972,7 @@ def update_company_parameter_detail(self, companyId, id_, model): """ def query_juris_names(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/jurisnames/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1998,7 +1998,7 @@ def query_juris_names(self, country, region, include=None): """ def query_rate_options(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/rateOptions/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2019,7 +2019,7 @@ def query_rate_options(self, country, region, include=None): """ def query_state_config(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/stateconfig'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2043,7 +2043,7 @@ def query_state_config(self, include=None): """ def query_state_reporting_codes(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/stateReportingCodes/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2063,7 +2063,7 @@ def query_state_reporting_codes(self, country, region, include=None): """ def query_tax_type_mappings(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/taxtypemappings'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2084,7 +2084,7 @@ def query_tax_type_mappings(self, include=None): """ def create_contacts(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2103,7 +2103,7 @@ def create_contacts(self, companyId, model): """ def delete_contact(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2124,7 +2124,7 @@ def delete_contact(self, companyId, id_): """ def get_contact(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2148,7 +2148,7 @@ def get_contact(self, companyId, id_): """ def list_contacts_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2173,7 +2173,7 @@ def list_contacts_by_company(self, companyId, include=None): """ def query_contacts(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/contacts'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2197,7 +2197,7 @@ def query_contacts(self, include=None): """ def update_contact(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2214,7 +2214,7 @@ def update_contact(self, companyId, id_, model): """ def bulk_upload_cost_centers(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/costcenters/$upload'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2232,7 +2232,7 @@ def bulk_upload_cost_centers(self, companyid, model): """ def create_cost_center(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2249,7 +2249,7 @@ def create_cost_center(self, companyid, model): """ def delete_cost_center(self, companyid, costcenterid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2266,7 +2266,7 @@ def delete_cost_center(self, companyid, costcenterid): """ def get_cost_center_by_id(self, companyid, costcenterid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2287,7 +2287,7 @@ def get_cost_center_by_id(self, companyid, costcenterid): """ def list_cost_centers_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2307,7 +2307,7 @@ def list_cost_centers_by_company(self, companyid, include=None): """ def query_cost_centers(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/costcenters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2325,7 +2325,7 @@ def query_cost_centers(self, include=None): """ def update_cost_center(self, companyid, costcenterid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2356,7 +2356,7 @@ def update_cost_center(self, companyid, costcenterid, model): """ def create_customers(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2385,7 +2385,7 @@ def create_customers(self, companyId, model): """ def delete_customer(self, companyId, customerCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2426,7 +2426,7 @@ def delete_customer(self, companyId, customerCode): """ def get_customer(self, companyId, customerCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2458,7 +2458,7 @@ def get_customer(self, companyId, customerCode, include=None): """ def link_attributes_to_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2488,7 +2488,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model): """ def link_certificates_to_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2518,7 +2518,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model): """ def link_ship_to_customers_to_bill_customer(self, companyId, code, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2549,7 +2549,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model): """ def list_attributes_for_customer(self, companyId, customerCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2583,7 +2583,7 @@ def list_attributes_for_customer(self, companyId, customerCode): """ def list_certificates_for_customer(self, companyId, customerCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2616,7 +2616,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None): """ def list_valid_certificates_for_customer(self, companyId, customerCode, country, region): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2660,7 +2660,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country, """ def query_customers(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2692,7 +2692,7 @@ def query_customers(self, companyId, include=None): """ def unlink_attributes_from_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2722,7 +2722,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model): """ def unlink_certificates_from_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2752,7 +2752,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model): """ def update_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2772,7 +2772,7 @@ def update_customer(self, companyId, customerCode, model): """ def create_data_sources(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2792,7 +2792,7 @@ def create_data_sources(self, companyId, model): """ def delete_data_source(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2812,7 +2812,7 @@ def delete_data_source(self, companyId, id_): """ def get_data_source_by_id(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2835,7 +2835,7 @@ def get_data_source_by_id(self, companyId, id_): """ def list_data_sources(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2859,7 +2859,7 @@ def list_data_sources(self, companyId, include=None): """ def query_data_sources(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/datasources'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2880,7 +2880,7 @@ def query_data_sources(self, include=None): """ def update_data_source(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2905,7 +2905,7 @@ def update_data_source(self, companyId, id_, model): """ def get_cross_border_code(self, country, hsCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2926,7 +2926,7 @@ def get_cross_border_code(self, country, hsCode): """ def get_login_verifier_by_form(self, form, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2945,7 +2945,7 @@ def get_login_verifier_by_form(self, form, include=None): """ def list_all_marketplace_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2967,7 +2967,7 @@ def list_all_marketplace_locations(self, include=None): """ def list_ava_file_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2991,7 +2991,7 @@ def list_ava_file_forms(self, include=None): """ def list_certificate_attributes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3014,7 +3014,7 @@ def list_certificate_attributes(self, include=None): """ def list_certificate_exempt_reasons(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3037,7 +3037,7 @@ def list_certificate_exempt_reasons(self, include=None): """ def list_certificate_exposure_zones(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3058,7 +3058,7 @@ def list_certificate_exposure_zones(self, include=None): """ def list_classification_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3078,7 +3078,7 @@ def list_classification_parameters_usage(self, include=None): """ def list_communications_service_types(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3098,7 +3098,7 @@ def list_communications_service_types(self, id_, include=None): """ def list_communications_transaction_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3118,7 +3118,7 @@ def list_communications_transaction_types(self, include=None): """ def list_communications_t_s_pairs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3139,7 +3139,7 @@ def list_communications_t_s_pairs(self, include=None): """ def list_countries(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3163,7 +3163,7 @@ def list_countries(self, include=None): """ def list_cover_letters(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3191,7 +3191,7 @@ def list_cover_letters(self, include=None): """ def list_cross_border_codes(self, country, hsCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3212,7 +3212,7 @@ def list_cross_border_codes(self, country, hsCode, include=None): """ def list_cross_border_sections(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3233,7 +3233,7 @@ def list_cross_border_sections(self): """ def list_currencies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3256,7 +3256,7 @@ def list_currencies(self, include=None): """ def list_entity_use_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3276,7 +3276,7 @@ def list_entity_use_codes(self, include=None): """ def list_filing_frequencies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3292,7 +3292,7 @@ def list_filing_frequencies(self, include=None): """ def list_items_recommendations_status(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/items/recommendationstatus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3308,7 +3308,7 @@ def list_items_recommendations_status(self): """ def list_items_status(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/items/status'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3330,7 +3330,7 @@ def list_items_status(self): """ def list_jurisdictions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3360,7 +3360,7 @@ def list_jurisdictions(self, include=None): """ def list_jurisdictions_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3388,7 +3388,7 @@ def list_jurisdictions_by_address(self, include=None): """ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3409,7 +3409,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t """ def list_jurisdictions_hierarchy(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions/hierarchy'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3428,7 +3428,7 @@ def list_jurisdictions_hierarchy(self, include=None): """ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3461,7 +3461,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType """ def list_location_questions_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3482,7 +3482,7 @@ def list_location_questions_by_address(self, include=None): """ def list_login_verifiers(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3501,7 +3501,7 @@ def list_login_verifiers(self, include=None): """ def list_marketplace_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3521,7 +3521,7 @@ def list_marketplace_locations(self, include=None): """ def list_nexus(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3551,7 +3551,7 @@ def list_nexus(self, include=None): """ def list_nexus_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3572,7 +3572,7 @@ def list_nexus_by_address(self, include=None): """ def list_nexus_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3594,7 +3594,7 @@ def list_nexus_by_country(self, country, include=None): """ def list_nexus_by_country_and_region(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3619,7 +3619,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None): """ def list_nexus_by_form_code(self, formCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3640,7 +3640,7 @@ def list_nexus_by_form_code(self, formCode): """ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3660,7 +3660,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None): """ def list_nexus_tax_type_groups(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3680,7 +3680,7 @@ def list_nexus_tax_type_groups(self, include=None): """ def list_notice_customer_funding_options(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3700,7 +3700,7 @@ def list_notice_customer_funding_options(self, include=None): """ def list_notice_customer_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3720,7 +3720,7 @@ def list_notice_customer_types(self, include=None): """ def list_notice_filingtypes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3740,7 +3740,7 @@ def list_notice_filingtypes(self, include=None): """ def list_notice_priorities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3760,7 +3760,7 @@ def list_notice_priorities(self, include=None): """ def list_notice_reasons(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3780,7 +3780,7 @@ def list_notice_reasons(self, include=None): """ def list_notice_responsibilities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3800,7 +3800,7 @@ def list_notice_responsibilities(self, include=None): """ def list_notice_root_causes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3820,7 +3820,7 @@ def list_notice_root_causes(self, include=None): """ def list_notice_statuses(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3840,7 +3840,7 @@ def list_notice_statuses(self, include=None): """ def list_notice_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3861,7 +3861,7 @@ def list_notice_types(self, include=None): """ def list_parameters(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3881,7 +3881,7 @@ def list_parameters(self, include=None): """ def list_parameters_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3915,7 +3915,7 @@ def list_parameters_by_account(self, accountId, include=None): """ def list_parameters_by_item(self, companyCode, itemCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parameters/byitem/{}/{}'.format(self.base_url, companyCode, itemCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3936,7 +3936,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None): """ def list_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3954,7 +3954,7 @@ def list_parameters_usage(self, include=None): """ def list_permissions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3974,7 +3974,7 @@ def list_permissions(self, include=None): """ def list_postal_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3999,7 +3999,7 @@ def list_postal_codes(self, include=None): """ def list_preferred_programs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4021,7 +4021,7 @@ def list_preferred_programs(self, include=None): """ def list_product_classification_systems(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4050,7 +4050,7 @@ def list_product_classification_systems(self, include=None): """ def list_product_classification_systems_by_company(self, companyCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/productclassificationsystems/bycompany/{}'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4071,7 +4071,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No """ def list_rate_types_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4094,7 +4094,7 @@ def list_rate_types_by_country(self, country, include=None): """ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4115,7 +4115,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t """ def list_regions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/regions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4137,7 +4137,7 @@ def list_regions(self, include=None): """ def list_regions_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4163,7 +4163,7 @@ def list_regions_by_country(self, country, include=None): """ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4184,7 +4184,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co """ def list_returns_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4205,7 +4205,7 @@ def list_returns_parameters_usage(self, include=None): """ def list_security_roles(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4227,7 +4227,7 @@ def list_security_roles(self, include=None): """ def list_subscription_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4246,7 +4246,7 @@ def list_subscription_types(self, include=None): """ def list_tags(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/tags'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4266,7 +4266,7 @@ def list_tags(self, include=None): """ def list_tax_authorities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4288,7 +4288,7 @@ def list_tax_authorities(self, include=None): """ def list_tax_authority_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4308,7 +4308,7 @@ def list_tax_authority_forms(self, include=None): """ def list_tax_authority_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4333,7 +4333,7 @@ def list_tax_authority_types(self, include=None): """ def list_tax_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4352,7 +4352,7 @@ def list_tax_codes(self, include=None): """ def list_tax_code_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4372,7 +4372,7 @@ def list_tax_code_types(self, include=None): """ def list_tax_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4392,7 +4392,7 @@ def list_tax_forms(self, include=None): """ def list_tax_sub_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4415,7 +4415,7 @@ def list_tax_sub_types(self, include=None): """ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4437,7 +4437,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include """ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4457,7 +4457,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region """ def list_tax_type_groups(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4477,7 +4477,7 @@ def list_tax_type_groups(self, include=None): """ def list_tax_types_by_nexus_and_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4499,7 +4499,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None): """ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4519,7 +4519,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se """ def list_unit_of_measurement(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4541,7 +4541,7 @@ def list_unit_of_measurement(self, include=None): """ def create_distance_threshold(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4563,7 +4563,7 @@ def create_distance_threshold(self, companyId, model): """ def delete_distance_threshold(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4585,7 +4585,7 @@ def delete_distance_threshold(self, companyId, id_): """ def get_distance_threshold(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4611,7 +4611,7 @@ def get_distance_threshold(self, companyId, id_): """ def list_distance_thresholds(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4638,7 +4638,7 @@ def list_distance_thresholds(self, companyId, include=None): """ def query_distance_thresholds(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/distancethresholds'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4663,7 +4663,7 @@ def query_distance_thresholds(self, include=None): """ def update_distance_threshold(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4679,7 +4679,7 @@ def update_distance_threshold(self, companyId, id_, model): """ def create_dcv(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/domain-control-verifications'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4695,7 +4695,7 @@ def create_dcv(self, model): """ def filter_dcv(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/domain-control-verifications'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4711,7 +4711,7 @@ def filter_dcv(self, include=None): """ def get_dcv_by_id(self, domainControlVerificationId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/domain-control-verifications/{}'.format(self.base_url, domainControlVerificationId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4729,7 +4729,7 @@ def get_dcv_by_id(self, domainControlVerificationId): """ def delete_afc_event_notifications(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/event-notifications/afc'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4747,7 +4747,7 @@ def delete_afc_event_notifications(self, model, include=None): """ def delete_event_notifications(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/event-notifications/companies/{}'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4764,7 +4764,7 @@ def delete_event_notifications(self, companyId, model): """ def get_event_notifications(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/event-notifications/companies/{}'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4781,7 +4781,7 @@ def get_event_notifications(self, companyId): """ def list_afc_event_notifications(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/event-notifications/afc'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4803,7 +4803,7 @@ def list_afc_event_notifications(self, include=None): """ def create_e_commerce_token(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4823,7 +4823,7 @@ def create_e_commerce_token(self, companyId, model): """ def refresh_e_commerce_token(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4841,7 +4841,7 @@ def refresh_e_commerce_token(self, companyId, model): """ def approve_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4865,7 +4865,7 @@ def approve_firm_client_linkage(self, id_): """ def create_and_link_new_firm_client_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4883,7 +4883,7 @@ def create_and_link_new_firm_client_account(self, model): """ def create_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4901,7 +4901,7 @@ def create_firm_client_linkage(self, model): """ def delete_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4919,7 +4919,7 @@ def delete_firm_client_linkage(self, id_): """ def get_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4938,7 +4938,7 @@ def get_firm_client_linkage(self, id_): """ def insert_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/insert'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4956,7 +4956,7 @@ def insert_firm_client_linkage(self, model): """ def list_firm_client_linkage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4974,7 +4974,7 @@ def list_firm_client_linkage(self, include=None): """ def reject_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4992,7 +4992,7 @@ def reject_firm_client_linkage(self, id_): """ def reset_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5010,7 +5010,7 @@ def reset_firm_client_linkage(self, id_): """ def revoke_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5029,7 +5029,7 @@ def revoke_firm_client_linkage(self, id_): """ def update_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5057,11 +5057,13 @@ def update_firm_client_linkage(self, model): :param id_ [int] The unique ID number of this funding request :param businessUnit [POABusinessUnit] The company's business unit (See POABusinessUnit::* for a list of allowable values) :param subscriptionType [POASubscriptionType] The company's subscription type (See POASubscriptionType::* for a list of allowable values) + :param currency [string] Currency + :param agreementType [string] Agreement Type :return FundingStatusModel """ def activate_funding_request(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5091,7 +5093,7 @@ def activate_funding_request(self, id_, include=None): """ def funding_request_status(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5108,7 +5110,7 @@ def funding_request_status(self, id_, include=None): """ def bulk_upload_g_l_accounts(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/glaccounts/$upload'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5126,7 +5128,7 @@ def bulk_upload_g_l_accounts(self, companyid, model): """ def create_g_l_account(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5143,7 +5145,7 @@ def create_g_l_account(self, companyid, model): """ def delete_g_l_account(self, companyid, glaccountid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5160,7 +5162,7 @@ def delete_g_l_account(self, companyid, glaccountid): """ def get_g_l_account_by_id(self, companyid, glaccountid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5181,7 +5183,7 @@ def get_g_l_account_by_id(self, companyid, glaccountid): """ def list_g_l_accounts_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5199,7 +5201,7 @@ def list_g_l_accounts_by_company(self, companyid, include=None): """ def update_g_l_account(self, companyid, glaccountid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5220,7 +5222,7 @@ def update_g_l_account(self, companyid, glaccountid, model): """ def batch_delete_item_classifications(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5242,7 +5244,7 @@ def batch_delete_item_classifications(self, companyId, itemId): """ def batch_delete_item_parameters(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5267,7 +5269,7 @@ def batch_delete_item_parameters(self, companyId, itemId): """ def bulk_upload_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5290,7 +5292,7 @@ def bulk_upload_items(self, companyId, model): """ def create_item_classifications(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5315,7 +5317,7 @@ def create_item_classifications(self, companyId, itemId, model): """ def create_item_parameters(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5341,7 +5343,7 @@ def create_item_parameters(self, companyId, itemId, model): """ def create_items(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5362,7 +5364,7 @@ def create_items(self, companyId, model, include=None): """ def create_item_tags(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5384,7 +5386,7 @@ def create_item_tags(self, companyId, itemId, model): """ def create_tax_code_classification_request(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5414,7 +5416,7 @@ def create_tax_code_classification_request(self, companyId, model): """ def delete_catalogue_item(self, companyId, itemCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5439,7 +5441,7 @@ def delete_catalogue_item(self, companyId, itemCode): """ def delete_item(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5461,7 +5463,7 @@ def delete_item(self, companyId, id_): """ def delete_item_classification(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5484,7 +5486,7 @@ def delete_item_classification(self, companyId, itemId, id_): """ def delete_item_parameter(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5505,7 +5507,7 @@ def delete_item_parameter(self, companyId, itemId, id_): """ def delete_item_tag(self, companyId, itemId, itemTagDetailId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5525,7 +5527,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId): """ def delete_item_tags(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5550,7 +5552,7 @@ def delete_item_tags(self, companyId, itemId): """ def get_item(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5572,7 +5574,7 @@ def get_item(self, companyId, id_, include=None): """ def get_item_classification(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5595,7 +5597,7 @@ def get_item_classification(self, companyId, itemId, id_): """ def get_item_parameter(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5618,7 +5620,7 @@ def get_item_parameter(self, companyId, itemId, id_): """ def get_item_tags(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5637,7 +5639,7 @@ def get_item_tags(self, companyId, itemId, include=None): """ def get_item_tax_code_recommendations(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/taxcoderecommendations'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5665,7 +5667,7 @@ def get_item_tax_code_recommendations(self, companyId, itemId): """ def get_premium_classification(self, companyId, itemCode, systemCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5696,7 +5698,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode): """ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5723,7 +5725,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include """ def list_item_classifications(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5751,7 +5753,7 @@ def list_item_classifications(self, companyId, itemId, include=None): """ def list_item_parameters(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5794,7 +5796,7 @@ def list_item_parameters(self, companyId, itemId, include=None): """ def list_items_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5819,7 +5821,7 @@ def list_items_by_company(self, companyId, include=None): """ def list_recommended_parameter_by_company_id_and_item_id(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5848,7 +5850,7 @@ def list_recommended_parameter_by_company_id_and_item_id(self, companyId, itemId """ def query_items(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/items'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5878,7 +5880,7 @@ def query_items(self, include=None): """ def query_items_by_system_code(self, companyId, systemCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/internal/bySystemCode/{}'.format(self.base_url, companyId, systemCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5909,7 +5911,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, include=None) """ def query_items_by_tag(self, companyId, tag, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5932,7 +5934,7 @@ def query_items_by_tag(self, companyId, tag, include=None): """ def sync_item_catalogue(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5959,7 +5961,7 @@ def sync_item_catalogue(self, companyId, model): """ def sync_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5989,7 +5991,7 @@ def sync_items(self, companyId, model): """ def update_item(self, companyId, id_, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6013,7 +6015,7 @@ def update_item(self, companyId, id_, model, include=None): """ def update_item_classification(self, companyId, itemId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6037,7 +6039,7 @@ def update_item_classification(self, companyId, itemId, id_, model): """ def update_item_parameter(self, companyId, itemId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6060,7 +6062,7 @@ def update_item_parameter(self, companyId, itemId, id_, model): """ def create_jurisdiction_overrides(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6079,7 +6081,7 @@ def create_jurisdiction_overrides(self, accountId, model): """ def delete_jurisdiction_override(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6102,7 +6104,7 @@ def delete_jurisdiction_override(self, accountId, id_): """ def get_jurisdiction_override(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6131,7 +6133,7 @@ def get_jurisdiction_override(self, accountId, id_): """ def list_jurisdiction_overrides_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6159,7 +6161,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None): """ def query_jurisdiction_overrides(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6179,7 +6181,7 @@ def query_jurisdiction_overrides(self, include=None): """ def update_jurisdiction_override(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6204,7 +6206,7 @@ def update_jurisdiction_override(self, accountId, id_, model): """ def create_location_parameters(self, companyId, locationId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6223,7 +6225,7 @@ def create_location_parameters(self, companyId, locationId, model): """ def create_locations(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6242,7 +6244,7 @@ def create_locations(self, companyId, model): """ def delete_location(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6265,7 +6267,7 @@ def delete_location(self, companyId, id_): """ def delete_location_parameter(self, companyId, locationId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6292,7 +6294,7 @@ def delete_location_parameter(self, companyId, locationId, id_): """ def get_location(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6315,7 +6317,7 @@ def get_location(self, companyId, id_, include=None): """ def get_location_parameter(self, companyId, locationId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6343,7 +6345,7 @@ def get_location_parameter(self, companyId, locationId, id_): """ def list_location_parameters(self, companyId, locationId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6375,7 +6377,7 @@ def list_location_parameters(self, companyId, locationId, include=None): """ def list_locations_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6406,7 +6408,7 @@ def list_locations_by_company(self, companyId, include=None): """ def query_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/locations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6428,7 +6430,7 @@ def query_locations(self, include=None): """ def update_location(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6452,7 +6454,7 @@ def update_location(self, companyId, id_, model): """ def update_location_parameter(self, companyId, locationId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6473,7 +6475,7 @@ def update_location_parameter(self, companyId, locationId, id_, model): """ def validate_location(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6507,7 +6509,7 @@ def validate_location(self, companyId, id_): """ def adjust_multi_document_transaction(self, code, type, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6544,7 +6546,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None): """ def audit_multi_document_transaction(self, code, type): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6574,7 +6576,7 @@ def audit_multi_document_transaction(self, code, type): """ def commit_multi_document_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6624,7 +6626,7 @@ def commit_multi_document_transaction(self, model): """ def create_multi_document_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6660,7 +6662,7 @@ def create_multi_document_transaction(self, model, include=None): """ def get_multi_document_transaction_by_code_and_type(self, code, type, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6702,7 +6704,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No """ def get_multi_document_transaction_by_id(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6745,7 +6747,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None): """ def list_multi_document_transactions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6800,7 +6802,7 @@ def list_multi_document_transactions(self, include=None): """ def refund_multi_document_transaction(self, code, type, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6829,7 +6831,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None): """ def verify_multi_document_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6862,7 +6864,7 @@ def verify_multi_document_transaction(self, model): """ def void_multi_document_transaction(self, code, type, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6894,7 +6896,7 @@ def void_multi_document_transaction(self, code, type, model): """ def create_nexus(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6919,7 +6921,7 @@ def create_nexus(self, companyId, model): """ def create_nexus_parameters(self, companyId, nexusId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6948,7 +6950,7 @@ def create_nexus_parameters(self, companyId, nexusId, model): """ def declare_nexus_by_address(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6973,7 +6975,7 @@ def declare_nexus_by_address(self, companyId, model): """ def delete_nexus(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6996,7 +6998,7 @@ def delete_nexus(self, companyId, id_, include=None): """ def delete_nexus_parameter(self, companyId, nexusId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7018,7 +7020,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_): """ def delete_nexus_parameters(self, companyId, nexusId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7043,7 +7045,7 @@ def delete_nexus_parameters(self, companyId, nexusId): """ def get_nexus(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7071,7 +7073,7 @@ def get_nexus(self, companyId, id_, include=None): """ def get_nexus_by_form_code(self, companyId, formCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7094,7 +7096,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None): """ def get_nexus_parameter(self, companyId, nexusId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7124,7 +7126,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_): """ def list_nexus_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7155,7 +7157,7 @@ def list_nexus_by_company(self, companyId, include=None): """ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7183,7 +7185,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl """ def list_nexus_parameters(self, companyId, nexusId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7212,7 +7214,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None): """ def query_nexus(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/nexus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7245,7 +7247,7 @@ def query_nexus(self, include=None): """ def update_nexus(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7269,7 +7271,7 @@ def update_nexus(self, companyId, id_, model): """ def update_nexus_parameter(self, companyId, nexusId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7288,7 +7290,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model): """ def create_notice_responsibility_type(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7307,7 +7309,7 @@ def create_notice_responsibility_type(self, model): """ def create_notice_root_cause_type(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7325,7 +7327,7 @@ def create_notice_root_cause_type(self, model): """ def delete_notice_responsibility_type(self, responsibilityId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7343,7 +7345,7 @@ def delete_notice_responsibility_type(self, responsibilityId): """ def delete_notice_root_cause_type(self, rootCauseId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7370,7 +7372,7 @@ def delete_notice_root_cause_type(self, rootCauseId): """ def dismiss_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7393,7 +7395,7 @@ def dismiss_notification(self, id_): """ def get_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7421,7 +7423,7 @@ def get_notification(self, id_): """ def list_notifications(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/notifications'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7451,7 +7453,7 @@ def list_notifications(self, include=None): """ def request_new_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/request'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7473,7 +7475,7 @@ def request_new_account(self, model): """ def request_new_entitlement(self, id_, offer): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7494,7 +7496,7 @@ def request_new_entitlement(self, id_, offer): """ def create_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7521,7 +7523,7 @@ def create_account(self, model): """ def create_notifications(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notifications'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7543,7 +7545,7 @@ def create_notifications(self, model): """ def create_subscriptions(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7564,7 +7566,7 @@ def create_subscriptions(self, accountId, model): """ def delete_account(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7589,7 +7591,7 @@ def delete_account(self, id_): """ def delete_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7610,7 +7612,7 @@ def delete_notification(self, id_): """ def delete_subscription(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7636,7 +7638,7 @@ def delete_subscription(self, accountId, id_): """ def list_service_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7661,7 +7663,7 @@ def list_service_types(self, include=None): """ def reset_password(self, userId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7682,7 +7684,7 @@ def reset_password(self, userId, model, include=None): """ def update_account(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7708,7 +7710,7 @@ def update_account(self, id_, model): """ def update_notification(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7734,7 +7736,7 @@ def update_notification(self, id_, model): """ def update_subscription(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7761,7 +7763,7 @@ def update_subscription(self, accountId, id_, model): """ def download_report(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7784,7 +7786,7 @@ def download_report(self, id_): """ def get_report(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7816,7 +7818,7 @@ def get_report(self, id_): """ def initiate_export_document_line_report(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7844,7 +7846,7 @@ def initiate_export_document_line_report(self, companyId, model): """ def list_reports(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7873,7 +7875,7 @@ def list_reports(self, include=None): """ def create_settings(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7899,7 +7901,7 @@ def create_settings(self, companyId, model): """ def delete_setting(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7925,7 +7927,7 @@ def delete_setting(self, companyId, id_): """ def get_setting(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7957,7 +7959,7 @@ def get_setting(self, companyId, id_): """ def list_settings_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7988,7 +7990,7 @@ def list_settings_by_company(self, companyId, include=None): """ def query_settings(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/settings'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8017,7 +8019,7 @@ def query_settings(self, include=None): """ def update_setting(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8038,7 +8040,7 @@ def update_setting(self, companyId, id_, model): """ def get_subscription(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8064,7 +8066,7 @@ def get_subscription(self, accountId, id_): """ def list_subscriptions_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8089,7 +8091,7 @@ def list_subscriptions_by_account(self, accountId, include=None): """ def query_subscriptions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/subscriptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8112,7 +8114,7 @@ def query_subscriptions(self, include=None): """ def create_tax_codes(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8131,7 +8133,7 @@ def create_tax_codes(self, companyId, model): """ def delete_tax_code(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8154,7 +8156,7 @@ def delete_tax_code(self, companyId, id_): """ def get_tax_code(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8183,7 +8185,7 @@ def get_tax_code(self, companyId, id_): """ def list_tax_codes_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8211,7 +8213,7 @@ def list_tax_codes_by_company(self, companyId, include=None): """ def query_tax_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8237,7 +8239,7 @@ def query_tax_codes(self, include=None): """ def update_tax_code(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8272,7 +8274,7 @@ def update_tax_code(self, companyId, id_, model): """ def build_tax_content_file(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8312,7 +8314,7 @@ def build_tax_content_file(self, model): """ def build_tax_content_file_for_location(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8363,7 +8365,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None): """ def download_tax_rates_by_zip_code(self, date, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8402,7 +8404,7 @@ def download_tax_rates_by_zip_code(self, date, include=None): """ def tax_rates_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8437,7 +8439,7 @@ def tax_rates_by_address(self, include=None): """ def tax_rates_by_postal_code(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrates/bypostalcode'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8460,7 +8462,7 @@ def tax_rates_by_postal_code(self, include=None): """ def create_country_coefficients(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/countryCoefficients'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8488,7 +8490,7 @@ def create_country_coefficients(self, model): """ def create_tax_rules(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8516,7 +8518,7 @@ def create_tax_rules(self, companyId, model): """ def delete_tax_rule(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8544,7 +8546,7 @@ def delete_tax_rule(self, companyId, id_): """ def get_tax_rule(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8567,7 +8569,7 @@ def get_tax_rule(self, companyId, id_): """ def list_country_coefficients(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/{}/CountryCoefficients'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8601,7 +8603,7 @@ def list_country_coefficients(self, country, include=None): """ def list_tax_rules(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8634,7 +8636,7 @@ def list_tax_rules(self, companyId, include=None): """ def query_tax_rules(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrules'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8663,7 +8665,7 @@ def query_tax_rules(self, include=None): """ def update_tax_rule(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8699,7 +8701,7 @@ def update_tax_rule(self, companyId, id_, model): """ def add_lines(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/transactions/lines/add'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8745,7 +8747,7 @@ def add_lines(self, model, include=None): """ def adjust_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/adjust'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8782,7 +8784,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None): """ def audit_transaction(self, companyCode, transactionCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/audit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8820,7 +8822,7 @@ def audit_transaction(self, companyCode, transactionCode): """ def audit_transaction_with_type(self, companyCode, transactionCode, documentType): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}/audit'.format(self.base_url, companyCode, transactionCode, documentType), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8843,7 +8845,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType """ def bulk_lock_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/lock'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8888,7 +8890,7 @@ def bulk_lock_transaction(self, model): """ def change_transaction_code(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/changecode'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8931,7 +8933,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N """ def commit_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/commit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8977,7 +8979,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None): """ def create_or_adjust_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/createoradjust'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9028,7 +9030,7 @@ def create_or_adjust_transaction(self, model, include=None): """ def create_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/create'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9061,7 +9063,7 @@ def create_transaction(self, model, include=None): """ def delete_lines(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/transactions/lines/delete'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9079,7 +9081,7 @@ def delete_lines(self, model, include=None): """ def get_all_variance_report_by_company_code(self, companyCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/AllVariance'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9121,7 +9123,7 @@ def get_all_variance_report_by_company_code(self, companyCode): """ def get_transaction_by_code(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9150,7 +9152,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None): """ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}'.format(self.base_url, companyCode, transactionCode, documentType), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9182,7 +9184,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen """ def get_transaction_by_id(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9201,7 +9203,7 @@ def get_transaction_by_id(self, id_, include=None): """ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/variance'.format(self.base_url, companyCode, transactionId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9248,7 +9250,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra """ def list_transactions_by_company(self, companyCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9293,7 +9295,7 @@ def list_transactions_by_company(self, companyCode, include=None): """ def lock_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/lock'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9348,7 +9350,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None): """ def refund_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/refund'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9391,7 +9393,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None): """ def settle_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/settle'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9431,7 +9433,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None): """ def uncommit_transaction(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/uncommit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9469,7 +9471,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None): """ def unvoid_transaction(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/unvoid'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9488,7 +9490,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None): """ def variance_report(self, companyCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/variance'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9531,7 +9533,7 @@ def variance_report(self, companyCode, model): """ def verify_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/verify'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9575,7 +9577,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None): """ def void_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/void'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9596,7 +9598,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None): """ def create_u_p_cs(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9616,7 +9618,7 @@ def create_u_p_cs(self, companyId, model): """ def delete_u_p_c(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9637,7 +9639,7 @@ def delete_u_p_c(self, companyId, id_): """ def get_u_p_c(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9664,7 +9666,7 @@ def get_u_p_c(self, companyId, id_): """ def list_u_p_cs_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9690,7 +9692,7 @@ def list_u_p_cs_by_company(self, companyId, include=None): """ def query_u_p_cs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/upcs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9714,7 +9716,7 @@ def query_u_p_cs(self, include=None): """ def update_u_p_c(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9734,7 +9736,7 @@ def update_u_p_c(self, companyId, id_, model): """ def delete_user_defined_field(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/userdefinedfields/{}'.format(self.base_url, companyId, accountId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9754,7 +9756,7 @@ def delete_user_defined_field(self, companyId, id_): """ def list_user_defined_fields_by_company_id(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9775,7 +9777,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None): """ def update_user_defined_field(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9797,7 +9799,7 @@ def update_user_defined_field(self, companyId, model, include=None): """ def change_password(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/passwords'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9821,7 +9823,7 @@ def change_password(self, model): """ def create_users(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9843,7 +9845,7 @@ def create_users(self, accountId, model): """ def delete_user(self, id_, accountId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9866,7 +9868,7 @@ def delete_user(self, id_, accountId): """ def get_user(self, id_, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9897,7 +9899,7 @@ def get_user(self, id_, accountId, include=None): """ def get_user_entitlements(self, id_, accountId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users/{}/entitlements'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9927,7 +9929,7 @@ def get_user_entitlements(self, id_, accountId): """ def list_users_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9957,7 +9959,7 @@ def list_users_by_account(self, accountId, include=None): """ def query_users(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/users'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9980,7 +9982,7 @@ def query_users(self, include=None): """ def update_user(self, id_, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10001,7 +10003,7 @@ def update_user(self, id_, accountId, model): """ def get_my_subscription(self, serviceTypeId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/subscriptions/{}'.format(self.base_url, serviceTypeId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10021,7 +10023,7 @@ def get_my_subscription(self, serviceTypeId): """ def list_my_subscriptions(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/subscriptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10050,7 +10052,7 @@ def list_my_subscriptions(self): """ def ping(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/ping'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) diff --git a/src/client_methods.py b/src/client_methods.py index b3ec43c..72ba02f 100644 --- a/src/client_methods.py +++ b/src/client_methods.py @@ -30,7 +30,7 @@ class Mixin: """ def account_reset_license_key(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -55,7 +55,7 @@ def account_reset_license_key(self, id_, model): """ def activate_account(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -86,7 +86,7 @@ def activate_account(self, id_, model): """ def audit_account(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -111,7 +111,7 @@ def audit_account(self, id_, include=None): """ def create_license_key(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -132,7 +132,7 @@ def create_license_key(self, id_, model): """ def delete_license_key(self, id_, licensekeyname): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -154,7 +154,7 @@ def delete_license_key(self, id_, licensekeyname): """ def get_account(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -180,7 +180,7 @@ def get_account(self, id_, include=None): """ def get_account_configuration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -198,7 +198,7 @@ def get_account_configuration(self, id_): """ def get_license_key(self, id_, licensekeyname): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -216,7 +216,7 @@ def get_license_key(self, id_, licensekeyname): """ def get_license_keys(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -234,7 +234,7 @@ def get_license_keys(self, id_): """ def list_mrs_accounts(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/mrs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -263,7 +263,7 @@ def list_mrs_accounts(self): """ def query_accounts(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -290,7 +290,7 @@ def query_accounts(self, include=None): """ def set_account_configuration(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -326,7 +326,7 @@ def set_account_configuration(self, id_, model): """ def resolve_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -351,7 +351,7 @@ def resolve_address(self, include=None): """ def resolve_address_post(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -368,7 +368,7 @@ def resolve_address_post(self, model): """ def create_a_p_config_setting(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -389,7 +389,7 @@ def create_a_p_config_setting(self, companyid, model): """ def get_a_p_config_setting_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -409,7 +409,7 @@ def get_a_p_config_setting_by_company(self, companyid, include=None): """ def query_a_p_config_setting(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/apconfigsetting'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -426,7 +426,7 @@ def query_a_p_config_setting(self, include=None): """ def update_a_p_config_setting(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -446,7 +446,7 @@ def update_a_p_config_setting(self, companyid, model): """ def create_ava_file_forms(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -465,7 +465,7 @@ def create_ava_file_forms(self, model): """ def delete_ava_file_form(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -484,7 +484,7 @@ def delete_ava_file_form(self, id_): """ def get_ava_file_form(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -507,7 +507,7 @@ def get_ava_file_form(self, id_): """ def query_ava_file_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -528,7 +528,7 @@ def query_ava_file_forms(self, include=None): """ def update_ava_file_form(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -555,7 +555,7 @@ def update_ava_file_form(self, id_, model): """ def cancel_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -588,7 +588,7 @@ def cancel_batch(self, companyId, id_): """ def create_batches(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -620,7 +620,7 @@ def create_batches(self, companyId, model): """ def create_transaction_batch(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -646,7 +646,7 @@ def create_transaction_batch(self, companyId, model): """ def delete_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -666,7 +666,7 @@ def delete_batch(self, companyId, id_): """ def download_batch(self, companyId, batchId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -696,7 +696,7 @@ def download_batch(self, companyId, batchId, id_): """ def get_batch(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -734,7 +734,7 @@ def get_batch(self, companyId, id_): """ def list_batches_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -769,7 +769,7 @@ def list_batches_by_company(self, companyId, include=None): """ def query_batches(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/batches'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -801,7 +801,7 @@ def query_batches(self, include=None): """ def create_cert_express_invitation(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -834,7 +834,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model): """ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -869,7 +869,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None """ def list_cert_express_invitations(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -905,7 +905,7 @@ def list_cert_express_invitations(self, companyId, include=None): """ def create_certificates(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -934,7 +934,7 @@ def create_certificates(self, companyId, model, include=None): """ def delete_certificate(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -966,7 +966,7 @@ def delete_certificate(self, companyId, id_): """ def download_certificate_image(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1004,7 +1004,7 @@ def download_certificate_image(self, companyId, id_, include=None): """ def get_certificate(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1028,7 +1028,7 @@ def get_certificate(self, companyId, id_, include=None): """ def get_certificate_setup(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1059,7 +1059,7 @@ def get_certificate_setup(self, companyId): """ def link_attributes_to_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1091,7 +1091,7 @@ def link_attributes_to_certificate(self, companyId, id_, model): """ def link_customers_to_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1121,7 +1121,7 @@ def link_customers_to_certificate(self, companyId, id_, model): """ def list_attributes_for_certificate(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1152,7 +1152,7 @@ def list_attributes_for_certificate(self, companyId, id_): """ def list_customers_for_certificate(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates/{}/customers'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1193,7 +1193,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None): """ def query_certificates(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1218,7 +1218,7 @@ def query_certificates(self, companyId, include=None): """ def request_certificate_setup(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1249,7 +1249,7 @@ def request_certificate_setup(self, companyId): """ def unlink_attributes_from_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1282,7 +1282,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model): """ def unlink_customers_from_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1311,7 +1311,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model): """ def update_certificate(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1342,7 +1342,7 @@ def update_certificate(self, companyId, id_, model): """ def upload_certificate_image(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1360,7 +1360,7 @@ def upload_certificate_image(self, companyId, id_): """ def get_communication_certificate(self, companyId, certificateId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/companies/{}/communication-certificates/{}'.format(self.base_url, companyId, certificateId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1386,7 +1386,7 @@ def get_communication_certificate(self, companyId, certificateId): """ def list_communication_certificates(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/companies/{}/communication-certificates'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1425,7 +1425,7 @@ def list_communication_certificates(self, companyId, include=None): """ def certify_integration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1452,7 +1452,7 @@ def certify_integration(self, id_): """ def change_filing_status(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1479,7 +1479,7 @@ def change_filing_status(self, id_, model): """ def company_initialize(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/initialize'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1500,7 +1500,7 @@ def company_initialize(self, model): """ def create_companies(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1524,7 +1524,7 @@ def create_companies(self, model): """ def create_company_parameters(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1555,7 +1555,7 @@ def create_company_parameters(self, companyId, model): """ def create_funding_request(self, id_, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1573,7 +1573,7 @@ def create_funding_request(self, id_, model, include=None): """ def delete_company(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1595,7 +1595,7 @@ def delete_company(self, id_): """ def delete_company_parameter(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1617,7 +1617,7 @@ def delete_company_parameter(self, companyId, id_): """ def funding_configuration_by_company(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1640,7 +1640,7 @@ def funding_configuration_by_company(self, companyId): """ def funding_configurations_by_company_and_currency(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1670,7 +1670,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None """ def get_company(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1696,7 +1696,7 @@ def get_company(self, id_, include=None): """ def get_company_configuration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1718,7 +1718,7 @@ def get_company_configuration(self, id_): """ def get_company_parameter_detail(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1746,7 +1746,7 @@ def get_company_parameter_detail(self, companyId, id_): """ def get_filing_status(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1770,7 +1770,7 @@ def get_filing_status(self, id_): """ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1797,7 +1797,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth): """ def list_company_parameter_details(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1819,7 +1819,7 @@ def list_company_parameter_details(self, companyId, include=None): """ def list_funding_requests_by_company(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1837,7 +1837,7 @@ def list_funding_requests_by_company(self, id_): """ def list_mrs_companies(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/mrs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1872,7 +1872,7 @@ def list_mrs_companies(self): """ def query_companies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1899,7 +1899,7 @@ def query_companies(self, include=None): """ def set_company_configuration(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1924,7 +1924,7 @@ def set_company_configuration(self, id_, model): """ def update_company(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1947,7 +1947,7 @@ def update_company(self, id_, model): """ def update_company_parameter_detail(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1971,7 +1971,7 @@ def update_company_parameter_detail(self, companyId, id_, model): """ def query_juris_names(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/jurisnames/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1997,7 +1997,7 @@ def query_juris_names(self, country, region, include=None): """ def query_rate_options(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/rateOptions/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2018,7 +2018,7 @@ def query_rate_options(self, country, region, include=None): """ def query_state_config(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/stateconfig'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2042,7 +2042,7 @@ def query_state_config(self, include=None): """ def query_state_reporting_codes(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/stateReportingCodes/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2062,7 +2062,7 @@ def query_state_reporting_codes(self, country, region, include=None): """ def query_tax_type_mappings(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/compliance/taxtypemappings'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2083,7 +2083,7 @@ def query_tax_type_mappings(self, include=None): """ def create_contacts(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2102,7 +2102,7 @@ def create_contacts(self, companyId, model): """ def delete_contact(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2123,7 +2123,7 @@ def delete_contact(self, companyId, id_): """ def get_contact(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2147,7 +2147,7 @@ def get_contact(self, companyId, id_): """ def list_contacts_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2172,7 +2172,7 @@ def list_contacts_by_company(self, companyId, include=None): """ def query_contacts(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/contacts'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2196,7 +2196,7 @@ def query_contacts(self, include=None): """ def update_contact(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2213,7 +2213,7 @@ def update_contact(self, companyId, id_, model): """ def bulk_upload_cost_centers(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/costcenters/$upload'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2231,7 +2231,7 @@ def bulk_upload_cost_centers(self, companyid, model): """ def create_cost_center(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2248,7 +2248,7 @@ def create_cost_center(self, companyid, model): """ def delete_cost_center(self, companyid, costcenterid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2265,7 +2265,7 @@ def delete_cost_center(self, companyid, costcenterid): """ def get_cost_center_by_id(self, companyid, costcenterid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2286,7 +2286,7 @@ def get_cost_center_by_id(self, companyid, costcenterid): """ def list_cost_centers_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2306,7 +2306,7 @@ def list_cost_centers_by_company(self, companyid, include=None): """ def query_cost_centers(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/costcenters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2324,7 +2324,7 @@ def query_cost_centers(self, include=None): """ def update_cost_center(self, companyid, costcenterid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2355,7 +2355,7 @@ def update_cost_center(self, companyid, costcenterid, model): """ def create_customers(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2384,7 +2384,7 @@ def create_customers(self, companyId, model): """ def delete_customer(self, companyId, customerCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2425,7 +2425,7 @@ def delete_customer(self, companyId, customerCode): """ def get_customer(self, companyId, customerCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2457,7 +2457,7 @@ def get_customer(self, companyId, customerCode, include=None): """ def link_attributes_to_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2487,7 +2487,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model): """ def link_certificates_to_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2517,7 +2517,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model): """ def link_ship_to_customers_to_bill_customer(self, companyId, code, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2548,7 +2548,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model): """ def list_attributes_for_customer(self, companyId, customerCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2582,7 +2582,7 @@ def list_attributes_for_customer(self, companyId, customerCode): """ def list_certificates_for_customer(self, companyId, customerCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2615,7 +2615,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None): """ def list_valid_certificates_for_customer(self, companyId, customerCode, country, region): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2659,7 +2659,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country, """ def query_customers(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2691,7 +2691,7 @@ def query_customers(self, companyId, include=None): """ def unlink_attributes_from_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2721,7 +2721,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model): """ def unlink_certificates_from_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2751,7 +2751,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model): """ def update_customer(self, companyId, customerCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2771,7 +2771,7 @@ def update_customer(self, companyId, customerCode, model): """ def create_data_sources(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2791,7 +2791,7 @@ def create_data_sources(self, companyId, model): """ def delete_data_source(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2811,7 +2811,7 @@ def delete_data_source(self, companyId, id_): """ def get_data_source_by_id(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2834,7 +2834,7 @@ def get_data_source_by_id(self, companyId, id_): """ def list_data_sources(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2858,7 +2858,7 @@ def list_data_sources(self, companyId, include=None): """ def query_data_sources(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/datasources'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2879,7 +2879,7 @@ def query_data_sources(self, include=None): """ def update_data_source(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2904,7 +2904,7 @@ def update_data_source(self, companyId, id_, model): """ def get_cross_border_code(self, country, hsCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2925,7 +2925,7 @@ def get_cross_border_code(self, country, hsCode): """ def get_login_verifier_by_form(self, form, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2944,7 +2944,7 @@ def get_login_verifier_by_form(self, form, include=None): """ def list_all_marketplace_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2966,7 +2966,7 @@ def list_all_marketplace_locations(self, include=None): """ def list_ava_file_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -2990,7 +2990,7 @@ def list_ava_file_forms(self, include=None): """ def list_certificate_attributes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3013,7 +3013,7 @@ def list_certificate_attributes(self, include=None): """ def list_certificate_exempt_reasons(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3036,7 +3036,7 @@ def list_certificate_exempt_reasons(self, include=None): """ def list_certificate_exposure_zones(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3057,7 +3057,7 @@ def list_certificate_exposure_zones(self, include=None): """ def list_classification_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3077,7 +3077,7 @@ def list_classification_parameters_usage(self, include=None): """ def list_communications_service_types(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3097,7 +3097,7 @@ def list_communications_service_types(self, id_, include=None): """ def list_communications_transaction_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3117,7 +3117,7 @@ def list_communications_transaction_types(self, include=None): """ def list_communications_t_s_pairs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3138,7 +3138,7 @@ def list_communications_t_s_pairs(self, include=None): """ def list_countries(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3162,7 +3162,7 @@ def list_countries(self, include=None): """ def list_cover_letters(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3190,7 +3190,7 @@ def list_cover_letters(self, include=None): """ def list_cross_border_codes(self, country, hsCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3211,7 +3211,7 @@ def list_cross_border_codes(self, country, hsCode, include=None): """ def list_cross_border_sections(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3232,7 +3232,7 @@ def list_cross_border_sections(self): """ def list_currencies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3255,7 +3255,7 @@ def list_currencies(self, include=None): """ def list_entity_use_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3275,7 +3275,7 @@ def list_entity_use_codes(self, include=None): """ def list_filing_frequencies(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3291,7 +3291,7 @@ def list_filing_frequencies(self, include=None): """ def list_items_recommendations_status(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/items/recommendationstatus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3307,7 +3307,7 @@ def list_items_recommendations_status(self): """ def list_items_status(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/items/status'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3329,7 +3329,7 @@ def list_items_status(self): """ def list_jurisdictions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3359,7 +3359,7 @@ def list_jurisdictions(self, include=None): """ def list_jurisdictions_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3387,7 +3387,7 @@ def list_jurisdictions_by_address(self, include=None): """ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3408,7 +3408,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t """ def list_jurisdictions_hierarchy(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictions/hierarchy'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3427,7 +3427,7 @@ def list_jurisdictions_hierarchy(self, include=None): """ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3460,7 +3460,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType """ def list_location_questions_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3481,7 +3481,7 @@ def list_location_questions_by_address(self, include=None): """ def list_login_verifiers(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3500,7 +3500,7 @@ def list_login_verifiers(self, include=None): """ def list_marketplace_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3520,7 +3520,7 @@ def list_marketplace_locations(self, include=None): """ def list_nexus(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3550,7 +3550,7 @@ def list_nexus(self, include=None): """ def list_nexus_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3571,7 +3571,7 @@ def list_nexus_by_address(self, include=None): """ def list_nexus_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3593,7 +3593,7 @@ def list_nexus_by_country(self, country, include=None): """ def list_nexus_by_country_and_region(self, country, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3618,7 +3618,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None): """ def list_nexus_by_form_code(self, formCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3639,7 +3639,7 @@ def list_nexus_by_form_code(self, formCode): """ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3659,7 +3659,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None): """ def list_nexus_tax_type_groups(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3679,7 +3679,7 @@ def list_nexus_tax_type_groups(self, include=None): """ def list_notice_customer_funding_options(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3699,7 +3699,7 @@ def list_notice_customer_funding_options(self, include=None): """ def list_notice_customer_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3719,7 +3719,7 @@ def list_notice_customer_types(self, include=None): """ def list_notice_filingtypes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3739,7 +3739,7 @@ def list_notice_filingtypes(self, include=None): """ def list_notice_priorities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3759,7 +3759,7 @@ def list_notice_priorities(self, include=None): """ def list_notice_reasons(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3779,7 +3779,7 @@ def list_notice_reasons(self, include=None): """ def list_notice_responsibilities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3799,7 +3799,7 @@ def list_notice_responsibilities(self, include=None): """ def list_notice_root_causes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3819,7 +3819,7 @@ def list_notice_root_causes(self, include=None): """ def list_notice_statuses(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3839,7 +3839,7 @@ def list_notice_statuses(self, include=None): """ def list_notice_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3860,7 +3860,7 @@ def list_notice_types(self, include=None): """ def list_parameters(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3880,7 +3880,7 @@ def list_parameters(self, include=None): """ def list_parameters_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3914,7 +3914,7 @@ def list_parameters_by_account(self, accountId, include=None): """ def list_parameters_by_item(self, companyCode, itemCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parameters/byitem/{}/{}'.format(self.base_url, companyCode, itemCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3935,7 +3935,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None): """ def list_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3953,7 +3953,7 @@ def list_parameters_usage(self, include=None): """ def list_permissions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3973,7 +3973,7 @@ def list_permissions(self, include=None): """ def list_postal_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3998,7 +3998,7 @@ def list_postal_codes(self, include=None): """ def list_preferred_programs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4020,7 +4020,7 @@ def list_preferred_programs(self, include=None): """ def list_product_classification_systems(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4049,7 +4049,7 @@ def list_product_classification_systems(self, include=None): """ def list_product_classification_systems_by_company(self, companyCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/productclassificationsystems/bycompany/{}'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4070,7 +4070,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No """ def list_rate_types_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4093,7 +4093,7 @@ def list_rate_types_by_country(self, country, include=None): """ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4114,7 +4114,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t """ def list_regions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/regions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4136,7 +4136,7 @@ def list_regions(self, include=None): """ def list_regions_by_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4162,7 +4162,7 @@ def list_regions_by_country(self, country, include=None): """ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4183,7 +4183,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co """ def list_returns_parameters_usage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4204,7 +4204,7 @@ def list_returns_parameters_usage(self, include=None): """ def list_security_roles(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4226,7 +4226,7 @@ def list_security_roles(self, include=None): """ def list_subscription_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4245,7 +4245,7 @@ def list_subscription_types(self, include=None): """ def list_tags(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/tags'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4265,7 +4265,7 @@ def list_tags(self, include=None): """ def list_tax_authorities(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4287,7 +4287,7 @@ def list_tax_authorities(self, include=None): """ def list_tax_authority_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4307,7 +4307,7 @@ def list_tax_authority_forms(self, include=None): """ def list_tax_authority_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4332,7 +4332,7 @@ def list_tax_authority_types(self, include=None): """ def list_tax_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4351,7 +4351,7 @@ def list_tax_codes(self, include=None): """ def list_tax_code_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4371,7 +4371,7 @@ def list_tax_code_types(self, include=None): """ def list_tax_forms(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4391,7 +4391,7 @@ def list_tax_forms(self, include=None): """ def list_tax_sub_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4414,7 +4414,7 @@ def list_tax_sub_types(self, include=None): """ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4436,7 +4436,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include """ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4456,7 +4456,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region """ def list_tax_type_groups(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4476,7 +4476,7 @@ def list_tax_type_groups(self, include=None): """ def list_tax_types_by_nexus_and_country(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4498,7 +4498,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None): """ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4518,7 +4518,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se """ def list_unit_of_measurement(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4540,7 +4540,7 @@ def list_unit_of_measurement(self, include=None): """ def create_distance_threshold(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4562,7 +4562,7 @@ def create_distance_threshold(self, companyId, model): """ def delete_distance_threshold(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4584,7 +4584,7 @@ def delete_distance_threshold(self, companyId, id_): """ def get_distance_threshold(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4610,7 +4610,7 @@ def get_distance_threshold(self, companyId, id_): """ def list_distance_thresholds(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4637,7 +4637,7 @@ def list_distance_thresholds(self, companyId, include=None): """ def query_distance_thresholds(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/distancethresholds'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4662,7 +4662,7 @@ def query_distance_thresholds(self, include=None): """ def update_distance_threshold(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4678,7 +4678,7 @@ def update_distance_threshold(self, companyId, id_, model): """ def create_dcv(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/domain-control-verifications'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4694,7 +4694,7 @@ def create_dcv(self, model): """ def filter_dcv(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/domain-control-verifications'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4710,7 +4710,7 @@ def filter_dcv(self, include=None): """ def get_dcv_by_id(self, domainControlVerificationId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/domain-control-verifications/{}'.format(self.base_url, domainControlVerificationId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4728,7 +4728,7 @@ def get_dcv_by_id(self, domainControlVerificationId): """ def delete_afc_event_notifications(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/event-notifications/afc'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4746,7 +4746,7 @@ def delete_afc_event_notifications(self, model, include=None): """ def delete_event_notifications(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/event-notifications/companies/{}'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4763,7 +4763,7 @@ def delete_event_notifications(self, companyId, model): """ def get_event_notifications(self, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/event-notifications/companies/{}'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4780,7 +4780,7 @@ def get_event_notifications(self, companyId): """ def list_afc_event_notifications(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/event-notifications/afc'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4802,7 +4802,7 @@ def list_afc_event_notifications(self, include=None): """ def create_e_commerce_token(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4822,7 +4822,7 @@ def create_e_commerce_token(self, companyId, model): """ def refresh_e_commerce_token(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4840,7 +4840,7 @@ def refresh_e_commerce_token(self, companyId, model): """ def approve_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4864,7 +4864,7 @@ def approve_firm_client_linkage(self, id_): """ def create_and_link_new_firm_client_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4882,7 +4882,7 @@ def create_and_link_new_firm_client_account(self, model): """ def create_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4900,7 +4900,7 @@ def create_firm_client_linkage(self, model): """ def delete_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4918,7 +4918,7 @@ def delete_firm_client_linkage(self, id_): """ def get_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4937,7 +4937,7 @@ def get_firm_client_linkage(self, id_): """ def insert_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/insert'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4955,7 +4955,7 @@ def insert_firm_client_linkage(self, model): """ def list_firm_client_linkage(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4973,7 +4973,7 @@ def list_firm_client_linkage(self, include=None): """ def reject_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4991,7 +4991,7 @@ def reject_firm_client_linkage(self, id_): """ def reset_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5009,7 +5009,7 @@ def reset_firm_client_linkage(self, id_): """ def revoke_firm_client_linkage(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5028,7 +5028,7 @@ def revoke_firm_client_linkage(self, id_): """ def update_firm_client_linkage(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/firmclientlinkages'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5056,11 +5056,13 @@ def update_firm_client_linkage(self, model): :param id_ [int] The unique ID number of this funding request :param businessUnit [POABusinessUnit] The company's business unit (See POABusinessUnit::* for a list of allowable values) :param subscriptionType [POASubscriptionType] The company's subscription type (See POASubscriptionType::* for a list of allowable values) + :param currency [string] Currency + :param agreementType [string] Agreement Type :return FundingStatusModel """ def activate_funding_request(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5090,7 +5092,7 @@ def activate_funding_request(self, id_, include=None): """ def funding_request_status(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5107,7 +5109,7 @@ def funding_request_status(self, id_, include=None): """ def bulk_upload_g_l_accounts(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/glaccounts/$upload'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5125,7 +5127,7 @@ def bulk_upload_g_l_accounts(self, companyid, model): """ def create_g_l_account(self, companyid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5142,7 +5144,7 @@ def create_g_l_account(self, companyid, model): """ def delete_g_l_account(self, companyid, glaccountid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5159,7 +5161,7 @@ def delete_g_l_account(self, companyid, glaccountid): """ def get_g_l_account_by_id(self, companyid, glaccountid): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5180,7 +5182,7 @@ def get_g_l_account_by_id(self, companyid, glaccountid): """ def list_g_l_accounts_by_company(self, companyid, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5198,7 +5200,7 @@ def list_g_l_accounts_by_company(self, companyid, include=None): """ def update_g_l_account(self, companyid, glaccountid, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5219,7 +5221,7 @@ def update_g_l_account(self, companyid, glaccountid, model): """ def batch_delete_item_classifications(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5241,7 +5243,7 @@ def batch_delete_item_classifications(self, companyId, itemId): """ def batch_delete_item_parameters(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5266,7 +5268,7 @@ def batch_delete_item_parameters(self, companyId, itemId): """ def bulk_upload_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5289,7 +5291,7 @@ def bulk_upload_items(self, companyId, model): """ def create_item_classifications(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5314,7 +5316,7 @@ def create_item_classifications(self, companyId, itemId, model): """ def create_item_parameters(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5340,7 +5342,7 @@ def create_item_parameters(self, companyId, itemId, model): """ def create_items(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5361,7 +5363,7 @@ def create_items(self, companyId, model, include=None): """ def create_item_tags(self, companyId, itemId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5383,7 +5385,7 @@ def create_item_tags(self, companyId, itemId, model): """ def create_tax_code_classification_request(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5413,7 +5415,7 @@ def create_tax_code_classification_request(self, companyId, model): """ def delete_catalogue_item(self, companyId, itemCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5438,7 +5440,7 @@ def delete_catalogue_item(self, companyId, itemCode): """ def delete_item(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5460,7 +5462,7 @@ def delete_item(self, companyId, id_): """ def delete_item_classification(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5483,7 +5485,7 @@ def delete_item_classification(self, companyId, itemId, id_): """ def delete_item_parameter(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5504,7 +5506,7 @@ def delete_item_parameter(self, companyId, itemId, id_): """ def delete_item_tag(self, companyId, itemId, itemTagDetailId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5524,7 +5526,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId): """ def delete_item_tags(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5549,7 +5551,7 @@ def delete_item_tags(self, companyId, itemId): """ def get_item(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5571,7 +5573,7 @@ def get_item(self, companyId, id_, include=None): """ def get_item_classification(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5594,7 +5596,7 @@ def get_item_classification(self, companyId, itemId, id_): """ def get_item_parameter(self, companyId, itemId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5617,7 +5619,7 @@ def get_item_parameter(self, companyId, itemId, id_): """ def get_item_tags(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5636,7 +5638,7 @@ def get_item_tags(self, companyId, itemId, include=None): """ def get_item_tax_code_recommendations(self, companyId, itemId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/taxcoderecommendations'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5664,7 +5666,7 @@ def get_item_tax_code_recommendations(self, companyId, itemId): """ def get_premium_classification(self, companyId, itemCode, systemCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5695,7 +5697,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode): """ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5722,7 +5724,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include """ def list_item_classifications(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5750,7 +5752,7 @@ def list_item_classifications(self, companyId, itemId, include=None): """ def list_item_parameters(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5793,7 +5795,7 @@ def list_item_parameters(self, companyId, itemId, include=None): """ def list_items_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5818,7 +5820,7 @@ def list_items_by_company(self, companyId, include=None): """ def list_recommended_parameter_by_company_id_and_item_id(self, companyId, itemId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/definitions/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5847,7 +5849,7 @@ def list_recommended_parameter_by_company_id_and_item_id(self, companyId, itemId """ def query_items(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/items'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5877,7 +5879,7 @@ def query_items(self, include=None): """ def query_items_by_system_code(self, companyId, systemCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/internal/bySystemCode/{}'.format(self.base_url, companyId, systemCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5908,7 +5910,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, include=None) """ def query_items_by_tag(self, companyId, tag, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5931,7 +5933,7 @@ def query_items_by_tag(self, companyId, tag, include=None): """ def sync_item_catalogue(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5958,7 +5960,7 @@ def sync_item_catalogue(self, companyId, model): """ def sync_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5988,7 +5990,7 @@ def sync_items(self, companyId, model): """ def update_item(self, companyId, id_, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6012,7 +6014,7 @@ def update_item(self, companyId, id_, model, include=None): """ def update_item_classification(self, companyId, itemId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6036,7 +6038,7 @@ def update_item_classification(self, companyId, itemId, id_, model): """ def update_item_parameter(self, companyId, itemId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6059,7 +6061,7 @@ def update_item_parameter(self, companyId, itemId, id_, model): """ def create_jurisdiction_overrides(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6078,7 +6080,7 @@ def create_jurisdiction_overrides(self, accountId, model): """ def delete_jurisdiction_override(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6101,7 +6103,7 @@ def delete_jurisdiction_override(self, accountId, id_): """ def get_jurisdiction_override(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6130,7 +6132,7 @@ def get_jurisdiction_override(self, accountId, id_): """ def list_jurisdiction_overrides_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6158,7 +6160,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None): """ def query_jurisdiction_overrides(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6178,7 +6180,7 @@ def query_jurisdiction_overrides(self, include=None): """ def update_jurisdiction_override(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6203,7 +6205,7 @@ def update_jurisdiction_override(self, accountId, id_, model): """ def create_location_parameters(self, companyId, locationId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6222,7 +6224,7 @@ def create_location_parameters(self, companyId, locationId, model): """ def create_locations(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6241,7 +6243,7 @@ def create_locations(self, companyId, model): """ def delete_location(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6264,7 +6266,7 @@ def delete_location(self, companyId, id_): """ def delete_location_parameter(self, companyId, locationId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6291,7 +6293,7 @@ def delete_location_parameter(self, companyId, locationId, id_): """ def get_location(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6314,7 +6316,7 @@ def get_location(self, companyId, id_, include=None): """ def get_location_parameter(self, companyId, locationId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6342,7 +6344,7 @@ def get_location_parameter(self, companyId, locationId, id_): """ def list_location_parameters(self, companyId, locationId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6374,7 +6376,7 @@ def list_location_parameters(self, companyId, locationId, include=None): """ def list_locations_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6405,7 +6407,7 @@ def list_locations_by_company(self, companyId, include=None): """ def query_locations(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/locations'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6427,7 +6429,7 @@ def query_locations(self, include=None): """ def update_location(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6451,7 +6453,7 @@ def update_location(self, companyId, id_, model): """ def update_location_parameter(self, companyId, locationId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6472,7 +6474,7 @@ def update_location_parameter(self, companyId, locationId, id_, model): """ def validate_location(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6506,7 +6508,7 @@ def validate_location(self, companyId, id_): """ def adjust_multi_document_transaction(self, code, type, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6543,7 +6545,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None): """ def audit_multi_document_transaction(self, code, type): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6573,7 +6575,7 @@ def audit_multi_document_transaction(self, code, type): """ def commit_multi_document_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6623,7 +6625,7 @@ def commit_multi_document_transaction(self, model): """ def create_multi_document_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6659,7 +6661,7 @@ def create_multi_document_transaction(self, model, include=None): """ def get_multi_document_transaction_by_code_and_type(self, code, type, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6701,7 +6703,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No """ def get_multi_document_transaction_by_id(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6744,7 +6746,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None): """ def list_multi_document_transactions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6799,7 +6801,7 @@ def list_multi_document_transactions(self, include=None): """ def refund_multi_document_transaction(self, code, type, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6828,7 +6830,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None): """ def verify_multi_document_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6861,7 +6863,7 @@ def verify_multi_document_transaction(self, model): """ def void_multi_document_transaction(self, code, type, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6893,7 +6895,7 @@ def void_multi_document_transaction(self, code, type, model): """ def create_nexus(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6918,7 +6920,7 @@ def create_nexus(self, companyId, model): """ def create_nexus_parameters(self, companyId, nexusId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6947,7 +6949,7 @@ def create_nexus_parameters(self, companyId, nexusId, model): """ def declare_nexus_by_address(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6972,7 +6974,7 @@ def declare_nexus_by_address(self, companyId, model): """ def delete_nexus(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -6995,7 +6997,7 @@ def delete_nexus(self, companyId, id_, include=None): """ def delete_nexus_parameter(self, companyId, nexusId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7017,7 +7019,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_): """ def delete_nexus_parameters(self, companyId, nexusId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7042,7 +7044,7 @@ def delete_nexus_parameters(self, companyId, nexusId): """ def get_nexus(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7070,7 +7072,7 @@ def get_nexus(self, companyId, id_, include=None): """ def get_nexus_by_form_code(self, companyId, formCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7093,7 +7095,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None): """ def get_nexus_parameter(self, companyId, nexusId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7123,7 +7125,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_): """ def list_nexus_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7154,7 +7156,7 @@ def list_nexus_by_company(self, companyId, include=None): """ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7182,7 +7184,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl """ def list_nexus_parameters(self, companyId, nexusId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7211,7 +7213,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None): """ def query_nexus(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/nexus'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7244,7 +7246,7 @@ def query_nexus(self, include=None): """ def update_nexus(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7268,7 +7270,7 @@ def update_nexus(self, companyId, id_, model): """ def update_nexus_parameter(self, companyId, nexusId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7287,7 +7289,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model): """ def create_notice_responsibility_type(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7306,7 +7308,7 @@ def create_notice_responsibility_type(self, model): """ def create_notice_root_cause_type(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7324,7 +7326,7 @@ def create_notice_root_cause_type(self, model): """ def delete_notice_responsibility_type(self, responsibilityId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7342,7 +7344,7 @@ def delete_notice_responsibility_type(self, responsibilityId): """ def delete_notice_root_cause_type(self, rootCauseId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7369,7 +7371,7 @@ def delete_notice_root_cause_type(self, rootCauseId): """ def dismiss_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7392,7 +7394,7 @@ def dismiss_notification(self, id_): """ def get_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7420,7 +7422,7 @@ def get_notification(self, id_): """ def list_notifications(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/notifications'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7450,7 +7452,7 @@ def list_notifications(self, include=None): """ def request_new_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/request'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7472,7 +7474,7 @@ def request_new_account(self, model): """ def request_new_entitlement(self, id_, offer): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7493,7 +7495,7 @@ def request_new_entitlement(self, id_, offer): """ def create_account(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7520,7 +7522,7 @@ def create_account(self, model): """ def create_notifications(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/notifications'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7542,7 +7544,7 @@ def create_notifications(self, model): """ def create_subscriptions(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7563,7 +7565,7 @@ def create_subscriptions(self, accountId, model): """ def delete_account(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7588,7 +7590,7 @@ def delete_account(self, id_): """ def delete_notification(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7609,7 +7611,7 @@ def delete_notification(self, id_): """ def delete_subscription(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7635,7 +7637,7 @@ def delete_subscription(self, accountId, id_): """ def list_service_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7660,7 +7662,7 @@ def list_service_types(self, include=None): """ def reset_password(self, userId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7681,7 +7683,7 @@ def reset_password(self, userId, model, include=None): """ def update_account(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7707,7 +7709,7 @@ def update_account(self, id_, model): """ def update_notification(self, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7733,7 +7735,7 @@ def update_notification(self, id_, model): """ def update_subscription(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7760,7 +7762,7 @@ def update_subscription(self, accountId, id_, model): """ def download_report(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7783,7 +7785,7 @@ def download_report(self, id_): """ def get_report(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7815,7 +7817,7 @@ def get_report(self, id_): """ def initiate_export_document_line_report(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7843,7 +7845,7 @@ def initiate_export_document_line_report(self, companyId, model): """ def list_reports(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/reports'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7872,7 +7874,7 @@ def list_reports(self, include=None): """ def create_settings(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7898,7 +7900,7 @@ def create_settings(self, companyId, model): """ def delete_setting(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7924,7 +7926,7 @@ def delete_setting(self, companyId, id_): """ def get_setting(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7956,7 +7958,7 @@ def get_setting(self, companyId, id_): """ def list_settings_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -7987,7 +7989,7 @@ def list_settings_by_company(self, companyId, include=None): """ def query_settings(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/settings'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8016,7 +8018,7 @@ def query_settings(self, include=None): """ def update_setting(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8037,7 +8039,7 @@ def update_setting(self, companyId, id_, model): """ def get_subscription(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8063,7 +8065,7 @@ def get_subscription(self, accountId, id_): """ def list_subscriptions_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8088,7 +8090,7 @@ def list_subscriptions_by_account(self, accountId, include=None): """ def query_subscriptions(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/subscriptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8111,7 +8113,7 @@ def query_subscriptions(self, include=None): """ def create_tax_codes(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8130,7 +8132,7 @@ def create_tax_codes(self, companyId, model): """ def delete_tax_code(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8153,7 +8155,7 @@ def delete_tax_code(self, companyId, id_): """ def get_tax_code(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8182,7 +8184,7 @@ def get_tax_code(self, companyId, id_): """ def list_tax_codes_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8210,7 +8212,7 @@ def list_tax_codes_by_company(self, companyId, include=None): """ def query_tax_codes(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxcodes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8236,7 +8238,7 @@ def query_tax_codes(self, include=None): """ def update_tax_code(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8271,7 +8273,7 @@ def update_tax_code(self, companyId, id_, model): """ def build_tax_content_file(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8311,7 +8313,7 @@ def build_tax_content_file(self, model): """ def build_tax_content_file_for_location(self, companyId, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8362,7 +8364,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None): """ def download_tax_rates_by_zip_code(self, date, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8401,7 +8403,7 @@ def download_tax_rates_by_zip_code(self, date, include=None): """ def tax_rates_by_address(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8436,7 +8438,7 @@ def tax_rates_by_address(self, include=None): """ def tax_rates_by_postal_code(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrates/bypostalcode'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8459,7 +8461,7 @@ def tax_rates_by_postal_code(self, include=None): """ def create_country_coefficients(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/countryCoefficients'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8487,7 +8489,7 @@ def create_country_coefficients(self, model): """ def create_tax_rules(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8515,7 +8517,7 @@ def create_tax_rules(self, companyId, model): """ def delete_tax_rule(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8543,7 +8545,7 @@ def delete_tax_rule(self, companyId, id_): """ def get_tax_rule(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8566,7 +8568,7 @@ def get_tax_rule(self, companyId, id_): """ def list_country_coefficients(self, country, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/{}/CountryCoefficients'.format(self.base_url, country), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8600,7 +8602,7 @@ def list_country_coefficients(self, country, include=None): """ def list_tax_rules(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8633,7 +8635,7 @@ def list_tax_rules(self, companyId, include=None): """ def query_tax_rules(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/taxrules'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8662,7 +8664,7 @@ def query_tax_rules(self, include=None): """ def update_tax_rule(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8698,7 +8700,7 @@ def update_tax_rule(self, companyId, id_, model): """ def add_lines(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/transactions/lines/add'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8744,7 +8746,7 @@ def add_lines(self, model, include=None): """ def adjust_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/adjust'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8781,7 +8783,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None): """ def audit_transaction(self, companyCode, transactionCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/audit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8819,7 +8821,7 @@ def audit_transaction(self, companyCode, transactionCode): """ def audit_transaction_with_type(self, companyCode, transactionCode, documentType): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}/audit'.format(self.base_url, companyCode, transactionCode, documentType), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8842,7 +8844,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType """ def bulk_lock_transaction(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/lock'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8887,7 +8889,7 @@ def bulk_lock_transaction(self, model): """ def change_transaction_code(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/changecode'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8930,7 +8932,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N """ def commit_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/commit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -8976,7 +8978,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None): """ def create_or_adjust_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/createoradjust'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9027,7 +9029,7 @@ def create_or_adjust_transaction(self, model, include=None): """ def create_transaction(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/transactions/create'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9060,7 +9062,7 @@ def create_transaction(self, model, include=None): """ def delete_lines(self, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/transactions/lines/delete'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9078,7 +9080,7 @@ def delete_lines(self, model, include=None): """ def get_all_variance_report_by_company_code(self, companyCode): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/AllVariance'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9120,7 +9122,7 @@ def get_all_variance_report_by_company_code(self, companyCode): """ def get_transaction_by_code(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9149,7 +9151,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None): """ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}'.format(self.base_url, companyCode, transactionCode, documentType), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9181,7 +9183,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen """ def get_transaction_by_id(self, id_, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/transactions/{}'.format(self.base_url, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9200,7 +9202,7 @@ def get_transaction_by_id(self, id_, include=None): """ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions/{}/variance'.format(self.base_url, companyCode, transactionId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9247,7 +9249,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra """ def list_transactions_by_company(self, companyCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/transactions'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9292,7 +9294,7 @@ def list_transactions_by_company(self, companyCode, include=None): """ def lock_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/lock'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9347,7 +9349,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None): """ def refund_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/refund'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9390,7 +9392,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None): """ def settle_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/settle'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9430,7 +9432,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None): """ def uncommit_transaction(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/uncommit'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9468,7 +9470,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None): """ def unvoid_transaction(self, companyCode, transactionCode, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/unvoid'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9487,7 +9489,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None): """ def variance_report(self, companyCode, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/variance'.format(self.base_url, companyCode), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9530,7 +9532,7 @@ def variance_report(self, companyCode, model): """ def verify_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/verify'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9574,7 +9576,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None): """ def void_transaction(self, companyCode, transactionCode, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/transactions/{}/void'.format(self.base_url, companyCode, transactionCode), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9595,7 +9597,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None): """ def create_u_p_cs(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9615,7 +9617,7 @@ def create_u_p_cs(self, companyId, model): """ def delete_u_p_c(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9636,7 +9638,7 @@ def delete_u_p_c(self, companyId, id_): """ def get_u_p_c(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9663,7 +9665,7 @@ def get_u_p_c(self, companyId, id_): """ def list_u_p_cs_by_company(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9689,7 +9691,7 @@ def list_u_p_cs_by_company(self, companyId, include=None): """ def query_u_p_cs(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/upcs'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9713,7 +9715,7 @@ def query_u_p_cs(self, include=None): """ def update_u_p_c(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9733,7 +9735,7 @@ def update_u_p_c(self, companyId, id_, model): """ def delete_user_defined_field(self, companyId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/companies/{}/userdefinedfields/{}'.format(self.base_url, companyId, accountId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9753,7 +9755,7 @@ def delete_user_defined_field(self, companyId, id_): """ def list_user_defined_fields_by_company_id(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9774,7 +9776,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None): """ def update_user_defined_field(self, companyId, model, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9796,7 +9798,7 @@ def update_user_defined_field(self, companyId, model, include=None): """ def change_password(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/passwords'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9820,7 +9822,7 @@ def change_password(self, model): """ def create_users(self, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.post('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9842,7 +9844,7 @@ def create_users(self, accountId, model): """ def delete_user(self, id_, accountId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.delete('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9865,7 +9867,7 @@ def delete_user(self, id_, accountId): """ def get_user(self, id_, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9896,7 +9898,7 @@ def get_user(self, id_, accountId, include=None): """ def get_user_entitlements(self, id_, accountId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users/{}/entitlements'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9926,7 +9928,7 @@ def get_user_entitlements(self, id_, accountId): """ def list_users_by_account(self, accountId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9956,7 +9958,7 @@ def list_users_by_account(self, accountId, include=None): """ def query_users(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/users'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -9979,7 +9981,7 @@ def query_users(self, include=None): """ def update_user(self, id_, accountId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.put('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10000,7 +10002,7 @@ def update_user(self, id_, accountId, model): """ def get_my_subscription(self, serviceTypeId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/subscriptions/{}'.format(self.base_url, serviceTypeId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10020,7 +10022,7 @@ def get_my_subscription(self, serviceTypeId): """ def list_my_subscriptions(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/subscriptions'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -10049,7 +10051,7 @@ def list_my_subscriptions(self): """ def ping(self): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.11.2") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.12.0") return requests.get('{}/api/v2/utilities/ping'.format(self.base_url), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200)