From 373b5717ef0500d391276ce1cfc32e99eb5c4a15 Mon Sep 17 00:00:00 2001 From: svc-developer Date: Tue, 30 Aug 2022 03:44:05 +0000 Subject: [PATCH] 22.8.0 --- setup.py | 2 +- src/avalara/client_methods.py | 706 +++++++++++++++++----------------- src/client_methods.py | 706 +++++++++++++++++----------------- 3 files changed, 707 insertions(+), 707 deletions(-) diff --git a/setup.py b/setup.py index 540567c..e05378f 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='Avalara', - version='22.7.0', + version='22.8.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 39da48d..530b2e1 100644 --- a/src/avalara/client_methods.py +++ b/src/avalara/client_methods.py @@ -28,7 +28,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -53,7 +53,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -84,7 +84,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -109,7 +109,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -130,7 +130,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -152,7 +152,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -178,7 +178,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -196,7 +196,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -214,7 +214,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -243,7 +243,7 @@ def get_license_keys(self, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -270,7 +270,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -305,7 +305,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -329,7 +329,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -347,7 +347,7 @@ def resolve_address_post(self, model): """ def create_company_lookup_file(self, accountId, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -364,7 +364,7 @@ def create_company_lookup_file(self, accountId, companyId, model): """ def delete_lookup_file(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -381,7 +381,7 @@ def delete_lookup_file(self, accountId, id_): """ def get_company_lookup_files(self, accountId, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -398,7 +398,7 @@ def get_company_lookup_files(self, accountId, companyId): """ def get_lookup_file(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -416,7 +416,7 @@ def get_lookup_file(self, accountId, id_): """ def update_lookup_file(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -436,7 +436,7 @@ def update_lookup_file(self, accountId, id_, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -455,7 +455,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -474,7 +474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -497,7 +497,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -518,7 +518,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -545,7 +545,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -578,7 +578,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -610,7 +610,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -636,7 +636,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -656,7 +656,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -686,7 +686,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -724,7 +724,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -759,7 +759,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -791,7 +791,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -824,7 +824,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -859,7 +859,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -895,7 +895,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -924,7 +924,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -956,7 +956,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -989,7 +989,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1013,7 +1013,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1044,7 +1044,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1076,7 +1076,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1106,7 +1106,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1137,7 +1137,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1173,7 +1173,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1198,7 +1198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1229,7 +1229,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1262,7 +1262,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1291,7 +1291,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1322,7 +1322,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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 certify_integration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1388,7 +1388,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1415,7 +1415,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1436,7 +1436,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1460,7 +1460,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1491,7 +1491,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1509,7 +1509,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1531,7 +1531,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1553,7 +1553,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1576,7 +1576,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1606,7 +1606,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1632,7 +1632,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1654,7 +1654,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1682,7 +1682,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1706,7 +1706,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1733,7 +1733,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1755,7 +1755,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1773,7 +1773,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1808,7 +1808,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1835,7 +1835,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1860,7 +1860,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1883,7 +1883,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1908,7 +1908,7 @@ def update_company_parameter_detail(self, companyId, id_, model): """ def query_tax_authority_jurisdiction_rates(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/compliance/taxauthorityjurisdictionrates'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1929,7 +1929,7 @@ def query_tax_authority_jurisdiction_rates(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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1948,7 +1948,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1969,7 +1969,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1993,7 +1993,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2018,7 +2018,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2042,7 +2042,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2073,7 +2073,7 @@ def update_contact(self, companyId, id_, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2102,7 +2102,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2136,7 +2136,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2168,7 +2168,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2198,7 +2198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2228,7 +2228,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2259,7 +2259,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2293,7 +2293,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2326,7 +2326,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2362,7 +2362,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2394,7 +2394,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2424,7 +2424,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2454,7 +2454,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2474,7 +2474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2494,7 +2494,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2514,7 +2514,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2537,7 +2537,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2561,7 +2561,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2582,7 +2582,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2607,7 +2607,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2628,7 +2628,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2647,7 +2647,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2669,7 +2669,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2693,7 +2693,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2716,7 +2716,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2739,7 +2739,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2760,7 +2760,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2780,7 +2780,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2800,7 +2800,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2820,7 +2820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2841,7 +2841,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2865,7 +2865,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2893,7 +2893,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2914,7 +2914,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2935,7 +2935,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2958,7 +2958,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2978,7 +2978,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3000,7 +3000,7 @@ def list_filing_frequencies(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3030,7 +3030,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3058,7 +3058,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3077,7 +3077,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3110,7 +3110,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3131,7 +3131,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3150,7 +3150,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3170,7 +3170,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3200,7 +3200,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3221,7 +3221,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3243,7 +3243,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3268,7 +3268,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3289,7 +3289,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3309,7 +3309,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3329,7 +3329,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3349,7 +3349,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3369,7 +3369,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3389,7 +3389,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3409,7 +3409,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3429,7 +3429,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3449,7 +3449,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3469,7 +3469,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3489,7 +3489,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3510,7 +3510,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3544,7 +3544,7 @@ def list_parameters(self, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3565,7 +3565,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3583,7 +3583,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3602,7 +3602,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3627,7 +3627,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3649,7 +3649,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3678,7 +3678,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3699,7 +3699,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3722,7 +3722,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3743,7 +3743,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3765,7 +3765,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3785,7 +3785,7 @@ def list_regions_by_country(self, country, include=None): """ def list_resource_file_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3806,7 +3806,7 @@ def list_resource_file_types(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3827,7 +3827,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3849,7 +3849,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3868,7 +3868,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3888,7 +3888,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3910,7 +3910,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3930,7 +3930,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3955,7 +3955,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3974,7 +3974,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3994,7 +3994,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4014,7 +4014,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4036,7 +4036,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4058,7 +4058,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4078,7 +4078,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4098,7 +4098,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4120,7 +4120,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4140,7 +4140,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4162,7 +4162,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4184,7 +4184,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4206,7 +4206,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4232,7 +4232,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4259,7 +4259,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4284,7 +4284,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4304,7 +4304,7 @@ def update_distance_threshold(self, companyId, id_, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4324,7 +4324,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4342,7 +4342,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4366,7 +4366,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4384,7 +4384,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4402,7 +4402,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4420,7 +4420,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4438,7 +4438,7 @@ def get_firm_client_linkage(self, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4456,7 +4456,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4474,7 +4474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4492,7 +4492,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4516,7 +4516,7 @@ def revoke_firm_client_linkage(self, id_): """ def request_free_trial(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4548,7 +4548,7 @@ def request_free_trial(self, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4578,7 +4578,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4599,7 +4599,7 @@ def funding_request_status(self, id_, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4621,7 +4621,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4646,7 +4646,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4669,7 +4669,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4694,7 +4694,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4719,7 +4719,7 @@ def create_item_parameters(self, companyId, itemId, model): """ def create_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4740,7 +4740,7 @@ def create_items(self, companyId, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4762,7 +4762,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4792,7 +4792,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4817,7 +4817,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4839,7 +4839,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4862,7 +4862,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4883,7 +4883,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4903,7 +4903,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4930,7 +4930,7 @@ def delete_item_tags(self, companyId, itemId): """ def get_classification_status(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4955,7 +4955,7 @@ def get_classification_status(self, companyId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4977,7 +4977,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5000,7 +5000,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5023,7 +5023,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5051,7 +5051,7 @@ def get_item_tags(self, companyId, itemId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5077,7 +5077,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode): """ def get_tax_code_recommendations(self, companyId, requestId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5108,7 +5108,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5135,7 +5135,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5163,7 +5163,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5199,7 +5199,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5228,7 +5228,7 @@ def list_items_by_company(self, companyId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5259,7 +5259,7 @@ def query_items(self, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5281,7 +5281,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5308,7 +5308,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5336,7 +5336,7 @@ def sync_items(self, companyId, model): """ def update_item(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.put('{}/api/v2/companies/{}/items/{}'.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) @@ -5360,7 +5360,7 @@ def update_item(self, companyId, id_, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5384,7 +5384,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5407,7 +5407,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5426,7 +5426,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5449,7 +5449,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5478,7 +5478,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5506,7 +5506,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5526,7 +5526,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5551,7 +5551,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5570,7 +5570,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5589,7 +5589,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5612,7 +5612,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5639,7 +5639,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5662,7 +5662,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5690,7 +5690,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5722,7 +5722,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5753,7 +5753,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5775,7 +5775,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5799,7 +5799,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5820,7 +5820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5854,7 +5854,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5891,7 +5891,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5921,7 +5921,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5971,7 +5971,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6007,7 +6007,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6049,7 +6049,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6092,7 +6092,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6147,7 +6147,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6176,7 +6176,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6209,7 +6209,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6241,7 +6241,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6266,7 +6266,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6295,7 +6295,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6320,7 +6320,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6343,7 +6343,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6365,7 +6365,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6390,7 +6390,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6418,7 +6418,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6441,7 +6441,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6471,7 +6471,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6502,7 +6502,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6530,7 +6530,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6559,7 +6559,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6592,7 +6592,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6616,7 +6616,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6635,7 +6635,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6654,7 +6654,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6672,7 +6672,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6690,7 +6690,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6717,7 +6717,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6740,7 +6740,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6768,7 +6768,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6798,7 +6798,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6820,7 +6820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6841,7 +6841,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6868,7 +6868,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6890,7 +6890,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6911,7 +6911,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6936,7 +6936,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6957,7 +6957,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6982,7 +6982,7 @@ def delete_subscription(self, accountId, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7003,7 +7003,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7029,7 +7029,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7055,7 +7055,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7082,7 +7082,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7105,7 +7105,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7137,7 +7137,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7165,7 +7165,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7194,7 +7194,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7220,7 +7220,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7246,7 +7246,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7278,7 +7278,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7309,7 +7309,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7338,7 +7338,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7359,7 +7359,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7385,7 +7385,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7410,7 +7410,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7433,7 +7433,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7452,7 +7452,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7475,7 +7475,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7504,7 +7504,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7532,7 +7532,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7558,7 +7558,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7593,7 +7593,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7633,7 +7633,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7684,7 +7684,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7721,7 +7721,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7754,7 +7754,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7782,7 +7782,7 @@ def tax_rates_by_postal_code(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7810,7 +7810,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7838,7 +7838,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7872,7 +7872,7 @@ def get_tax_rule(self, companyId, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7905,7 +7905,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7934,7 +7934,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7969,7 +7969,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8014,7 +8014,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8051,7 +8051,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8089,7 +8089,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8112,7 +8112,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8156,7 +8156,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8198,7 +8198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8242,7 +8242,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8291,7 +8291,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8323,7 +8323,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8364,7 +8364,7 @@ def delete_lines(self, model, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8393,7 +8393,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8424,7 +8424,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8470,7 +8470,7 @@ def get_transaction_by_id(self, id_, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8514,7 +8514,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8568,7 +8568,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8610,7 +8610,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8649,7 +8649,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8686,7 +8686,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8728,7 +8728,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8771,7 +8771,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8792,7 +8792,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8812,7 +8812,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8833,7 +8833,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8860,7 +8860,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8886,7 +8886,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8910,7 +8910,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8930,7 +8930,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8950,7 +8950,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8971,7 +8971,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8993,7 +8993,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9017,7 +9017,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9039,7 +9039,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9062,7 +9062,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9093,7 +9093,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9123,7 +9123,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9153,7 +9153,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9176,7 +9176,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9197,7 +9197,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9217,7 +9217,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9246,7 +9246,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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 7ae2395..71f118b 100644 --- a/src/client_methods.py +++ b/src/client_methods.py @@ -28,7 +28,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -53,7 +53,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -84,7 +84,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -109,7 +109,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -130,7 +130,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -152,7 +152,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -178,7 +178,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -196,7 +196,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -214,7 +214,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -243,7 +243,7 @@ def get_license_keys(self, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -270,7 +270,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -305,7 +305,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -329,7 +329,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -347,7 +347,7 @@ def resolve_address_post(self, model): """ def create_company_lookup_file(self, accountId, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -364,7 +364,7 @@ def create_company_lookup_file(self, accountId, companyId, model): """ def delete_lookup_file(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -381,7 +381,7 @@ def delete_lookup_file(self, accountId, id_): """ def get_company_lookup_files(self, accountId, companyId): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId), auth=self.auth, headers=self.client_header, params=None, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -398,7 +398,7 @@ def get_company_lookup_files(self, accountId, companyId): """ def get_lookup_file(self, accountId, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -416,7 +416,7 @@ def get_lookup_file(self, accountId, id_): """ def update_lookup_file(self, accountId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.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) @@ -436,7 +436,7 @@ def update_lookup_file(self, accountId, id_, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -455,7 +455,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -474,7 +474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -497,7 +497,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -518,7 +518,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -545,7 +545,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -578,7 +578,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -610,7 +610,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -636,7 +636,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -656,7 +656,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -686,7 +686,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -724,7 +724,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -759,7 +759,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -791,7 +791,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -824,7 +824,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -859,7 +859,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -895,7 +895,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -924,7 +924,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -956,7 +956,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -989,7 +989,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1013,7 +1013,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1044,7 +1044,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1076,7 +1076,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1106,7 +1106,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1137,7 +1137,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1173,7 +1173,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1198,7 +1198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1229,7 +1229,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1262,7 +1262,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1291,7 +1291,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1322,7 +1322,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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 certify_integration(self, id_): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1388,7 +1388,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1415,7 +1415,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1436,7 +1436,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1460,7 +1460,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1491,7 +1491,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1509,7 +1509,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1531,7 +1531,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1553,7 +1553,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1576,7 +1576,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1606,7 +1606,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1632,7 +1632,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1654,7 +1654,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1682,7 +1682,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1706,7 +1706,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1733,7 +1733,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1755,7 +1755,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1773,7 +1773,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1808,7 +1808,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1835,7 +1835,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1860,7 +1860,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1883,7 +1883,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1908,7 +1908,7 @@ def update_company_parameter_detail(self, companyId, id_, model): """ def query_tax_authority_jurisdiction_rates(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/compliance/taxauthorityjurisdictionrates'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -1929,7 +1929,7 @@ def query_tax_authority_jurisdiction_rates(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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1948,7 +1948,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1969,7 +1969,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -1993,7 +1993,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2018,7 +2018,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2042,7 +2042,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2073,7 +2073,7 @@ def update_contact(self, companyId, id_, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2102,7 +2102,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2136,7 +2136,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2168,7 +2168,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2198,7 +2198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2228,7 +2228,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2259,7 +2259,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2293,7 +2293,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2326,7 +2326,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2362,7 +2362,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2394,7 +2394,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2424,7 +2424,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2454,7 +2454,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2474,7 +2474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2494,7 +2494,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2514,7 +2514,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2537,7 +2537,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2561,7 +2561,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2582,7 +2582,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2607,7 +2607,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2628,7 +2628,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2647,7 +2647,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2669,7 +2669,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2693,7 +2693,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2716,7 +2716,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2739,7 +2739,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2760,7 +2760,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2780,7 +2780,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2800,7 +2800,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2820,7 +2820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2841,7 +2841,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2865,7 +2865,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2893,7 +2893,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2914,7 +2914,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2935,7 +2935,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2958,7 +2958,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -2978,7 +2978,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3000,7 +3000,7 @@ def list_filing_frequencies(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3030,7 +3030,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3058,7 +3058,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3077,7 +3077,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3110,7 +3110,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3131,7 +3131,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3150,7 +3150,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3170,7 +3170,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3200,7 +3200,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3221,7 +3221,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3243,7 +3243,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3268,7 +3268,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3289,7 +3289,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3309,7 +3309,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3329,7 +3329,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3349,7 +3349,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3369,7 +3369,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3389,7 +3389,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3409,7 +3409,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3429,7 +3429,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3449,7 +3449,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3469,7 +3469,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3489,7 +3489,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3510,7 +3510,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3544,7 +3544,7 @@ def list_parameters(self, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3565,7 +3565,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3583,7 +3583,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3602,7 +3602,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3627,7 +3627,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3649,7 +3649,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3678,7 +3678,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3699,7 +3699,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3722,7 +3722,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3743,7 +3743,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3765,7 +3765,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3785,7 +3785,7 @@ def list_regions_by_country(self, country, include=None): """ def list_resource_file_types(self, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -3806,7 +3806,7 @@ def list_resource_file_types(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3827,7 +3827,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3849,7 +3849,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3868,7 +3868,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3888,7 +3888,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3910,7 +3910,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3930,7 +3930,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3955,7 +3955,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3974,7 +3974,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -3994,7 +3994,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4014,7 +4014,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4036,7 +4036,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4058,7 +4058,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4078,7 +4078,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4098,7 +4098,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4120,7 +4120,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4140,7 +4140,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4162,7 +4162,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4184,7 +4184,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4206,7 +4206,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4232,7 +4232,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4259,7 +4259,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4284,7 +4284,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4304,7 +4304,7 @@ def update_distance_threshold(self, companyId, id_, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4324,7 +4324,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4342,7 +4342,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4366,7 +4366,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4384,7 +4384,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4402,7 +4402,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4420,7 +4420,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4438,7 +4438,7 @@ def get_firm_client_linkage(self, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4456,7 +4456,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4474,7 +4474,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4492,7 +4492,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4516,7 +4516,7 @@ def revoke_firm_client_linkage(self, id_): """ def request_free_trial(self, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4548,7 +4548,7 @@ def request_free_trial(self, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4578,7 +4578,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4599,7 +4599,7 @@ def funding_request_status(self, id_, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4621,7 +4621,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4646,7 +4646,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4669,7 +4669,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4694,7 +4694,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4719,7 +4719,7 @@ def create_item_parameters(self, companyId, itemId, model): """ def create_items(self, companyId, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, json=model, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4740,7 +4740,7 @@ def create_items(self, companyId, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4762,7 +4762,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4792,7 +4792,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4817,7 +4817,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4839,7 +4839,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4862,7 +4862,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4883,7 +4883,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4903,7 +4903,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4930,7 +4930,7 @@ def delete_item_tags(self, companyId, itemId): """ def get_classification_status(self, companyId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -4955,7 +4955,7 @@ def get_classification_status(self, companyId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -4977,7 +4977,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5000,7 +5000,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5023,7 +5023,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5051,7 +5051,7 @@ def get_item_tags(self, companyId, itemId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5077,7 +5077,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode): """ def get_tax_code_recommendations(self, companyId, requestId, include=None): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId), auth=self.auth, headers=self.client_header, params=include, timeout=self.timeout_limit if self.timeout_limit else 1200) @@ -5108,7 +5108,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5135,7 +5135,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5163,7 +5163,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5199,7 +5199,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5228,7 +5228,7 @@ def list_items_by_company(self, companyId, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5259,7 +5259,7 @@ def query_items(self, 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5281,7 +5281,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5308,7 +5308,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5336,7 +5336,7 @@ def sync_items(self, companyId, model): """ def update_item(self, companyId, id_, model): if ('X-Avalara-Client' in self.client_header): - self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.0") return requests.put('{}/api/v2/companies/{}/items/{}'.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) @@ -5360,7 +5360,7 @@ def update_item(self, companyId, id_, model): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5384,7 +5384,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5407,7 +5407,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5426,7 +5426,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5449,7 +5449,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5478,7 +5478,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5506,7 +5506,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5526,7 +5526,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5551,7 +5551,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5570,7 +5570,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5589,7 +5589,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5612,7 +5612,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5639,7 +5639,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5662,7 +5662,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5690,7 +5690,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5722,7 +5722,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5753,7 +5753,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5775,7 +5775,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5799,7 +5799,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5820,7 +5820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5854,7 +5854,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5891,7 +5891,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5921,7 +5921,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -5971,7 +5971,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6007,7 +6007,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6049,7 +6049,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6092,7 +6092,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6147,7 +6147,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6176,7 +6176,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6209,7 +6209,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6241,7 +6241,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6266,7 +6266,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6295,7 +6295,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6320,7 +6320,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6343,7 +6343,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6365,7 +6365,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6390,7 +6390,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6418,7 +6418,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6441,7 +6441,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6471,7 +6471,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6502,7 +6502,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6530,7 +6530,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6559,7 +6559,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6592,7 +6592,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6616,7 +6616,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6635,7 +6635,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6654,7 +6654,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6672,7 +6672,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6690,7 +6690,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6717,7 +6717,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6740,7 +6740,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6768,7 +6768,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6798,7 +6798,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6820,7 +6820,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6841,7 +6841,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6868,7 +6868,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6890,7 +6890,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6911,7 +6911,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6936,7 +6936,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6957,7 +6957,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -6982,7 +6982,7 @@ def delete_subscription(self, accountId, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7003,7 +7003,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7029,7 +7029,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7055,7 +7055,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7082,7 +7082,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7105,7 +7105,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7137,7 +7137,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7165,7 +7165,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7194,7 +7194,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7220,7 +7220,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7246,7 +7246,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7278,7 +7278,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7309,7 +7309,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7338,7 +7338,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7359,7 +7359,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7385,7 +7385,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7410,7 +7410,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7433,7 +7433,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7452,7 +7452,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7475,7 +7475,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7504,7 +7504,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7532,7 +7532,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7558,7 +7558,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7593,7 +7593,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7633,7 +7633,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7684,7 +7684,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7721,7 +7721,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7754,7 +7754,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7782,7 +7782,7 @@ def tax_rates_by_postal_code(self, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7810,7 +7810,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7838,7 +7838,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7872,7 +7872,7 @@ def get_tax_rule(self, companyId, id_): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7905,7 +7905,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7934,7 +7934,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -7969,7 +7969,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8014,7 +8014,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8051,7 +8051,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8089,7 +8089,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8112,7 +8112,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8156,7 +8156,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8198,7 +8198,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8242,7 +8242,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8291,7 +8291,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8323,7 +8323,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8364,7 +8364,7 @@ def delete_lines(self, model, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8393,7 +8393,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8424,7 +8424,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8470,7 +8470,7 @@ def get_transaction_by_id(self, id_, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8514,7 +8514,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8568,7 +8568,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8610,7 +8610,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8649,7 +8649,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8686,7 +8686,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8728,7 +8728,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None): """ 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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8771,7 +8771,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8792,7 +8792,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8812,7 +8812,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8833,7 +8833,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8860,7 +8860,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8886,7 +8886,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8910,7 +8910,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8930,7 +8930,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8950,7 +8950,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8971,7 +8971,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -8993,7 +8993,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9017,7 +9017,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9039,7 +9039,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9062,7 +9062,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9093,7 +9093,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9123,7 +9123,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9153,7 +9153,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9176,7 +9176,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9197,7 +9197,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9217,7 +9217,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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) @@ -9246,7 +9246,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","22.7.0") + self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","22.8.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)