From 0431b90360713d5c16dfecb8261d760326177a0c Mon Sep 17 00:00:00 2001 From: svc-developer Date: Thu, 26 May 2022 22:17:17 +0000 Subject: [PATCH] 22.5.0 --- src/Constants.php | 94 ++--- src/Methods.php | 874 ++++++++++++++++++++-------------------------- src/Models.php | 88 ++++- 3 files changed, 515 insertions(+), 541 deletions(-) diff --git a/src/Constants.php b/src/Constants.php index 65f384a..2ad75c4 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -67,47 +67,6 @@ class CertificatePreviewType } -/** - * Swagger Name: AvaTaxClient - * - */ -class FilingFrequencyId -{ const C_MONTHLY = 1; - const C_QUARTERLY = 2; - const C_SEMIANNUALLY = 3; - const C_ANNUALLY = 4; - const C_BIMONTHLY = 5; - const C_OCCASIONAL = 6; - const C_INVERSEQUARTERLY = 7; - const C_WEEKLY = 8; - -} - -/** - * Swagger Name: AvaTaxClient - * - */ -class FilingStatusId -{ const C_PENDINGAPPROVAL = 0; - const C_DIRTY = 1; - const C_APPROVEDTOFILE = 2; - const C_PENDINGFILING = 3; - const C_PENDINGFILINGONBEHALF = 4; - const C_FILED = 5; - const C_FILEDONBEHALF = 6; - const C_RETURNACCEPTED = 7; - const C_RETURNACCEPTEDONBEHALF = 8; - const C_PAYMENTREMITTED = 9; - const C_VOIDED = 10; - const C_PENDINGRETURN = 11; - const C_PENDINGRETURNONBEHALF = 12; - const C_DONOTFILE = 13; - const C_RETURNREJECTED = 14; - const C_RETURNREJECTEDONBEHALF = 15; - const C_APPROVEDTOFILEONBEHALF = 16; - -} - /** * Swagger Name: AvaTaxClient * @@ -505,6 +464,7 @@ class ErrorCodeId const C_INVALIDNAMEFORUSERDEFINEDFIELD = 1732; const C_INVALIDRESTRICTIONTYPE = 1733; const C_INVALIDPARAMETER = 1734; + const C_INVALIDSYSTEMCODE = 1735; const C_UNSUPPORTEDFILEFORMAT = 1800; const C_UNSUPPORTEDOUTPUTFILETYPE = 1801; const C_TAXPROFILENOTPROVIDED = 1900; @@ -1112,6 +1072,22 @@ class AvataxDeleteErrorTransactionStatus } +/** + * Swagger Name: AvaTaxClient + * + */ +class FilingFrequencyId +{ const C_MONTHLY = 1; + const C_QUARTERLY = 2; + const C_SEMIANNUALLY = 3; + const C_ANNUALLY = 4; + const C_BIMONTHLY = 5; + const C_OCCASIONAL = 6; + const C_INVERSEQUARTERLY = 7; + const C_WEEKLY = 8; + +} + /** * Swagger Name: AvaTaxClient * @@ -1155,6 +1131,32 @@ class FilingRequestStatus } +/** + * Swagger Name: AvaTaxClient + * + */ +class FilingStatusId +{ const C_PENDINGAPPROVAL = 0; + const C_DIRTY = 1; + const C_APPROVEDTOFILE = 2; + const C_PENDINGFILING = 3; + const C_PENDINGFILINGONBEHALF = 4; + const C_FILED = 5; + const C_FILEDONBEHALF = 6; + const C_RETURNACCEPTED = 7; + const C_RETURNACCEPTEDONBEHALF = 8; + const C_PAYMENTREMITTED = 9; + const C_VOIDED = 10; + const C_PENDINGRETURN = 11; + const C_PENDINGRETURNONBEHALF = 12; + const C_DONOTFILE = 13; + const C_RETURNREJECTED = 14; + const C_RETURNREJECTEDONBEHALF = 15; + const C_APPROVEDTOFILEONBEHALF = 16; + const C_FILEDBYCUSTOMER = 17; + +} + /** * Swagger Name: AvaTaxClient * @@ -1396,6 +1398,16 @@ class ReportDocType } +/** + * Swagger Name: AvaTaxClient + * + */ +class ReportSource +{ const C_SNOWFLAKE = 0; + const C_MONGODB = 1; + +} + /** * Swagger Name: AvaTaxClient * diff --git a/src/Methods.php b/src/Methods.php index 033f5eb..e0dc475 100644 --- a/src/Methods.php +++ b/src/Methods.php @@ -53,7 +53,7 @@ public function accountResetLicenseKey($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -85,7 +85,7 @@ public function activateAccount($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -124,7 +124,7 @@ public function auditAccount($id, $start, $end, $top=null, $skip=null) { 'query' => ['start' => $start, 'end' => $end, '$top' => $top, '$skip' => $skip], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -156,7 +156,7 @@ public function createLicenseKey($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -183,7 +183,7 @@ public function deleteLicenseKey($id, $licensekeyname) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -210,7 +210,7 @@ public function getAccount($id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -243,7 +243,7 @@ public function getAccountConfiguration($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -264,7 +264,7 @@ public function getLicenseKey($id, $licensekeyname) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -286,7 +286,7 @@ public function getLicenseKeys($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -323,7 +323,7 @@ public function queryAccounts($include=null, $filter=null, $top=null, $skip=null 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -357,7 +357,7 @@ public function setAccountConfiguration($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -397,7 +397,7 @@ public function resolveAddress($line1, $line2, $line3, $city, $region, $postalCo 'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country, 'textCase' => $textCase], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -425,7 +425,7 @@ public function resolveAddressPost($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -445,7 +445,7 @@ public function createCompanyLookupFile($accountId, $companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -464,7 +464,7 @@ public function deleteLookupFile($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -483,7 +483,7 @@ public function getCompanyLookupFiles($accountId, $companyId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -502,7 +502,7 @@ public function getLookupFile($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -522,7 +522,7 @@ public function updateLookupFile($accountId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -546,7 +546,7 @@ public function createAvaFileForms($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -569,7 +569,7 @@ public function deleteAvaFileForm($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -592,7 +592,7 @@ public function getAvaFileForm($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -619,7 +619,7 @@ public function queryAvaFileForms($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -644,7 +644,7 @@ public function updateAvaFileForm($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -678,7 +678,7 @@ public function cancelBatch($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -719,7 +719,7 @@ public function createBatches($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -758,7 +758,7 @@ public function createTransactionBatch($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -790,7 +790,7 @@ public function deleteBatch($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -814,7 +814,7 @@ public function downloadBatch($companyId, $batchId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -851,7 +851,7 @@ public function getBatch($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -898,7 +898,7 @@ public function listBatchesByCompany($companyId, $filter=null, $include=null, $t 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -941,7 +941,7 @@ public function queryBatches($filter=null, $include=null, $top=null, $skip=null, 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -980,7 +980,7 @@ public function createCertExpressInvitation($companyId, $customerCode, $model) 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1020,7 +1020,7 @@ public function getCertExpressInvitation($companyId, $customerCode, $id, $includ 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1062,7 +1062,7 @@ public function listCertExpressInvitations($companyId, $include=null, $filter=nu 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1107,7 +1107,7 @@ public function createCertificates($companyId, $preValidatedExemptionReason, $mo 'query' => ['$preValidatedExemptionReason' => $preValidatedExemptionReason], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1143,7 +1143,7 @@ public function deleteCertificate($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -1182,7 +1182,7 @@ public function downloadCertificateImage($companyId, $id, $page, $type) { 'query' => ['$page' => $page, '$type' => $type], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1223,7 +1223,7 @@ public function getCertificate($companyId, $id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1252,7 +1252,7 @@ public function getCertificateSetup($companyId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1290,7 +1290,7 @@ public function linkAttributesToCertificate($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1329,7 +1329,7 @@ public function linkCustomersToCertificate($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1366,7 +1366,7 @@ public function listAttributesForCertificate($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1404,7 +1404,7 @@ public function listCustomersForCertificate($companyId, $id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1448,7 +1448,7 @@ public function queryCertificates($companyId, $include=null, $filter=null, $top= 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1479,7 +1479,7 @@ public function requestCertificateSetup($companyId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1517,7 +1517,7 @@ public function unlinkAttributesFromCertificate($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1557,7 +1557,7 @@ public function unlinkCustomersFromCertificate($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1592,7 +1592,7 @@ public function updateCertificate($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -1630,7 +1630,7 @@ public function uploadCertificateImage($companyId, $id, $file) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1674,7 +1674,7 @@ public function certifyIntegration($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1709,7 +1709,7 @@ public function changeFilingStatus($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1742,7 +1742,7 @@ public function companyInitialize($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1768,7 +1768,7 @@ public function createCompanies($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1801,7 +1801,7 @@ public function createCompanyParameters($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1834,7 +1834,7 @@ public function createFundingRequest($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -1856,7 +1856,7 @@ public function deleteCompany($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -1884,7 +1884,7 @@ public function deleteCompanyParameter($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -1910,7 +1910,7 @@ public function fundingConfigurationByCompany($companyId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1937,7 +1937,7 @@ public function fundingConfigurationsByCompanyAndCurrency($companyId, $currency) 'query' => ['currency' => $currency], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -1972,7 +1972,7 @@ public function getCompany($id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2005,7 +2005,7 @@ public function getCompanyConfiguration($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2034,7 +2034,7 @@ public function getCompanyParameterDetail($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2069,7 +2069,7 @@ public function getFilingStatus($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2097,7 +2097,7 @@ public function listACHEntryDetailsForCompany($id, $periodyear, $periodmonth) 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2132,7 +2132,7 @@ public function listCompanyParameterDetails($companyId, $filter=null, $top=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2158,7 +2158,7 @@ public function listFundingRequestsByCompany($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2181,7 +2181,7 @@ public function listMrsCompanies() { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2223,7 +2223,7 @@ public function queryCompanies($include=null, $filter=null, $top=null, $skip=nul 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2257,7 +2257,7 @@ public function setCompanyConfiguration($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -2290,7 +2290,7 @@ public function updateCompany($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -2320,7 +2320,7 @@ public function updateCompanyParameterDetail($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -2349,7 +2349,7 @@ public function queryTaxAuthorityJurisdictionRates($taxAuthorityId, $effectiveDa 'query' => ['taxAuthorityId' => $taxAuthorityId, 'effectiveDate' => $effectiveDate, 'endDate' => $endDate, '$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2374,7 +2374,7 @@ public function createContacts($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -2397,7 +2397,7 @@ public function deleteContact($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -2422,7 +2422,7 @@ public function getContact($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2451,7 +2451,7 @@ public function listContactsByCompany($companyId, $filter=null, $top=null, $skip 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2481,7 +2481,7 @@ public function queryContacts($filter=null, $top=null, $skip=null, $orderBy=null 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2509,7 +2509,7 @@ public function updateContact($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -2547,7 +2547,7 @@ public function createCustomers($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -2582,7 +2582,7 @@ public function deleteCustomer($companyId, $customerCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -2624,7 +2624,7 @@ public function getCustomer($companyId, $customerCode, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2663,7 +2663,7 @@ public function linkAttributesToCustomer($companyId, $customerCode, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -2699,7 +2699,7 @@ public function linkCertificatesToCustomer($companyId, $customerCode, $model) 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -2736,7 +2736,7 @@ public function linkShipToCustomersToBillCustomer($companyId, $code, $model) 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -2774,7 +2774,7 @@ public function listAttributesForCustomer($companyId, $customerCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2814,7 +2814,7 @@ public function listCertificatesForCustomer($companyId, $customerCode, $include= 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2854,7 +2854,7 @@ public function listValidCertificatesForCustomer($companyId, $customerCode, $cou 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2898,7 +2898,7 @@ public function queryCustomers($companyId, $include=null, $filter=null, $top=nul 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -2937,7 +2937,7 @@ public function unlinkAttributesFromCustomer($companyId, $customerCode, $model) 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -2973,7 +2973,7 @@ public function unlinkCertificatesFromCustomer($companyId, $customerCode, $model 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -3009,7 +3009,7 @@ public function updateCustomer($companyId, $customerCode, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -3033,7 +3033,7 @@ public function createDataSources($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -3057,7 +3057,7 @@ public function deleteDataSource($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -3081,7 +3081,7 @@ public function getDataSourceById($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3108,7 +3108,7 @@ public function listDataSources($companyId, $filter=null, $top=null, $skip=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3137,7 +3137,7 @@ public function queryDataSources($filter=null, $top=null, $skip=null, $orderBy=n 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3162,7 +3162,7 @@ public function updateDataSource($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -3194,7 +3194,7 @@ public function getCrossBorderCode($country, $hsCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3217,7 +3217,7 @@ public function getLoginVerifierByForm($form, $filter=null, $top=null, $skip=nul 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3238,7 +3238,7 @@ public function listAllMarketplaceLocations($filter=null, $top=null, $skip=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3264,7 +3264,7 @@ public function listAvaFileForms($filter=null, $top=null, $skip=null, $orderBy=n 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3292,7 +3292,7 @@ public function listCertificateAttributes($companyid, $filter=null, $top=null, $ 'query' => ['companyid' => $companyid, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3319,7 +3319,7 @@ public function listCertificateExemptReasons($filter=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3346,7 +3346,7 @@ public function listCertificateExposureZones($filter=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3369,7 +3369,7 @@ public function listClassificationParametersUsage($filter=null, $top=null, $skip 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3391,7 +3391,7 @@ public function listCommunicationsServiceTypes($id, $filter=null, $top=null, $sk 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3413,7 +3413,7 @@ public function listCommunicationsTransactionTypes($filter=null, $top=null, $ski 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3435,7 +3435,7 @@ public function listCommunicationsTSPairs($filter=null, $top=null, $skip=null, $ 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3458,7 +3458,7 @@ public function listCountries($filter=null, $top=null, $skip=null, $orderBy=null 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3486,7 +3486,7 @@ public function listCoverLetters($filter=null, $top=null, $skip=null, $orderBy=n 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3520,7 +3520,7 @@ public function listCrossBorderCodes($country, $hsCode, $filter=null, $top=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3546,7 +3546,7 @@ public function listCrossBorderSections() { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3570,7 +3570,7 @@ public function listCurrencies($filter=null, $top=null, $skip=null, $orderBy=nul 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3595,7 +3595,7 @@ public function listEntityUseCodes($filter=null, $top=null, $skip=null, $orderBy 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3617,7 +3617,7 @@ public function listFilingFrequencies($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3643,7 +3643,7 @@ public function listJurisdictions($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3677,7 +3677,7 @@ public function listJurisdictionsByAddress($line1, $line2, $line3, $city, $regio 'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3707,7 +3707,7 @@ public function listJurisdictionsByRateTypeTaxTypeMapping($country, $taxTypeId, 'query' => ['rateTypeId' => $rateTypeId, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3742,7 +3742,7 @@ public function listLocationQuestionsByAddress($line1, $line2, $line3, $city, $r 'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country, 'latitude' => $latitude, 'longitude' => $longitude, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3765,7 +3765,7 @@ public function listLoginVerifiers($filter=null, $top=null, $skip=null, $orderBy 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3786,7 +3786,7 @@ public function listMarketplaceLocations($marketplaceId, $top=null, $skip=null, 'query' => ['marketplaceId' => $marketplaceId, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3809,7 +3809,7 @@ public function listNexus($filter=null, $top=null, $skip=null, $orderBy=null) 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3841,7 +3841,7 @@ public function listNexusByAddress($line1, $line2, $line3, $city, $region, $post 'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3865,7 +3865,7 @@ public function listNexusByCountry($country, $filter=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3890,7 +3890,7 @@ public function listNexusByCountryAndRegion($country, $region, $filter=null, $to 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3922,7 +3922,7 @@ public function listNexusByFormCode($formCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3946,7 +3946,7 @@ public function listNexusByTaxTypeGroup($taxTypeGroup, $filter=null, $top=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3968,7 +3968,7 @@ public function listNexusTaxTypeGroups($filter=null, $top=null, $skip=null, $ord 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -3990,7 +3990,7 @@ public function listNoticeCustomerFundingOptions($filter=null, $top=null, $skip= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4012,7 +4012,7 @@ public function listNoticeCustomerTypes($filter=null, $top=null, $skip=null, $or 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4034,7 +4034,7 @@ public function listNoticeFilingtypes($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4056,7 +4056,7 @@ public function listNoticePriorities($filter=null, $top=null, $skip=null, $order 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4078,7 +4078,7 @@ public function listNoticeReasons($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4100,7 +4100,7 @@ public function listNoticeResponsibilities($filter=null, $top=null, $skip=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4122,7 +4122,7 @@ public function listNoticeRootCauses($filter=null, $top=null, $skip=null, $order 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4144,7 +4144,7 @@ public function listNoticeStatuses($filter=null, $top=null, $skip=null, $orderBy 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4166,7 +4166,7 @@ public function listNoticeTypes($filter=null, $top=null, $skip=null, $orderBy=nu 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4189,7 +4189,7 @@ public function listParameters($filter=null, $top=null, $skip=null, $orderBy=nul 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4229,7 +4229,7 @@ public function listParametersByItem($companyCode, $itemCode, $filter=null, $top 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4252,7 +4252,7 @@ public function listParametersUsage($filter=null, $top=null, $skip=null, $orderB 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4272,7 +4272,7 @@ public function listPermissions($top=null, $skip=null) { 'query' => ['$top' => $top, '$skip' => $skip], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4293,7 +4293,7 @@ public function listPostalCodes($filter=null, $top=null, $skip=null, $orderBy=nu 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4322,7 +4322,7 @@ public function listPreferredPrograms($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4347,7 +4347,7 @@ public function listProductClassificationSystems($filter=null, $top=null, $skip= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy, '$countryCode' => $countryCode], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4381,7 +4381,7 @@ public function listProductClassificationSystemsByCompany($companyCode, $filter= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy, '$countryCode' => $countryCode], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4404,7 +4404,7 @@ public function listRateTypesByCountry($country, $filter=null, $top=null, $skip= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4429,7 +4429,7 @@ public function listRateTypesByCountryTaxTypeTaxSubType($country, $taxTypeId, $t 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4452,7 +4452,7 @@ public function listRegions($filter=null, $top=null, $skip=null, $orderBy=null) 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4476,7 +4476,7 @@ public function listRegionsByCountry($country, $filter=null, $top=null, $skip=nu 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4498,7 +4498,7 @@ public function listResourceFileTypes($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4521,7 +4521,7 @@ public function listReturnsParametersUsage($filter=null, $top=null, $skip=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4544,7 +4544,7 @@ public function listSecurityRoles($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4568,7 +4568,7 @@ public function listSubscriptionTypes($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4589,7 +4589,7 @@ public function listTags($filter=null, $top=null, $skip=null, $orderBy=null) 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4611,7 +4611,7 @@ public function listTaxAuthorities($filter=null, $top=null, $skip=null, $orderBy 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4635,7 +4635,7 @@ public function listTaxAuthorityForms($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4657,7 +4657,7 @@ public function listTaxAuthorityTypes($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4686,7 +4686,7 @@ public function listTaxCodes($filter=null, $top=null, $skip=null, $orderBy=null) 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4707,7 +4707,7 @@ public function listTaxCodeTypes($top=null, $skip=null) { 'query' => ['$top' => $top, '$skip' => $skip], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4729,7 +4729,7 @@ public function listTaxForms($filter=null, $top=null, $skip=null, $orderBy=null) 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4751,7 +4751,7 @@ public function listTaxSubTypes($filter=null, $top=null, $skip=null, $orderBy=nu 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4775,7 +4775,7 @@ public function listTaxSubTypesByCountryAndTaxType($country, $taxTypeId, $filter 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4799,7 +4799,7 @@ public function listTaxSubTypesByJurisdictionAndRegion($jurisdictionCode, $regio 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4821,7 +4821,7 @@ public function listTaxTypeGroups($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4843,7 +4843,7 @@ public function listTaxTypesByNexusAndCountry($country, $companyId, $top=null, $ 'query' => ['companyId' => $companyId, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4867,7 +4867,7 @@ public function listUnitOfBasisByCountryAndTaxTypeAndTaxSubTypeAndRateType($coun 'query' => ['rateTypeId' => $rateTypeId, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4890,7 +4890,7 @@ public function listUnitOfMeasurement($filter=null, $top=null, $skip=null, $orde 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -4917,7 +4917,7 @@ public function createDistanceThreshold($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -4944,7 +4944,7 @@ public function deleteDistanceThreshold($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -4971,7 +4971,7 @@ public function getDistanceThreshold($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5002,7 +5002,7 @@ public function listDistanceThresholds($companyId, $filter=null, $include=null, 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5035,7 +5035,7 @@ public function queryDistanceThresholds($filter=null, $include=null, $top=null, 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5066,7 +5066,7 @@ public function updateDistanceThreshold($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -5091,7 +5091,7 @@ public function createECommerceToken($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5116,140 +5116,7 @@ public function refreshECommerceToken($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); - } - - /** - * Add or Edit options - * - * Returns a list of options for adding tax forms for the company and tax form code specified. - * Returns edit options when modifying a filing calendar. - * This API is available by invitation only. - * - * ### Security Policies - * - * * This API requires openId bearer token for authentication - * * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged. - * Swagger Name: AvaTaxClient - * - * @param int $companyId The unique ID of the company that owns the filing calendar object - * @param CycleSafeEditRequestModel $model Cycle Safe Options Request - * @return CycleSafeOptionResultModel - */ - public function cycleSafeOptions($companyId, $model) { - $path = "/api/v2/companies/{$companyId}/filingcalendars/edit/cycleSafeOptions"; - $guzzleParams = [ - 'query' => [], - 'body' => json_encode($model) - ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); - } - - /** - * Delete a company return setting - * - * This API is available by invitation only and only available for users with Compliance access - * - * ### Security Policies - * - * * This API requires openId bearer token for authentication - * * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. - * Swagger Name: AvaTaxClient - * - * @param int $companyId The unique ID of the company - * @param int $filingCalendarId The unique ID of the filing calendar that will remove setting - * @param int $companyReturnSettingId The unique ID of the company return setting that will be deleted from the filing calendar - * @return CompanyReturnSettingModel[] - */ - public function deleteCompanyReturnSettings($companyId, $filingCalendarId, $companyReturnSettingId) { - $path = "/api/v2/companies/{$companyId}/filingcalendars/{$filingCalendarId}/setting/{$companyReturnSettingId}"; - $guzzleParams = [ - 'query' => [], - 'body' => null - ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); - } - - /** - * Retrieve all legacy filing calendars for this company - * - * This API is available by invitation only. - * - * ### Security Policies - * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. - * * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged. - * Swagger Name: AvaTaxClient - * - * @param int $companyId The ID of the company that owns these batches - * @param string $filter A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxTypes, taxAuthorityId, taxAuthorityName, taxAuthorityType, settings - * @param int $top If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. - * @param int $skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. - * @param string $orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. - * @param string $returnCountry A comma separated list of countries - * @param string $returnRegion A comma separated list of regions - * @return FetchResult - */ - public function legacyFilingCalendars($companyId, $filter=null, $top=null, $skip=null, $orderBy=null, $returnCountry=null, $returnRegion=null) { - $path = "/api/v2/companies/{$companyId}/filingcalendars/Legacy"; - $guzzleParams = [ - 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy, 'returnCountry' => $returnCountry, 'returnRegion' => $returnRegion], - 'body' => null - ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); - } - - /** - * Retrieve a filing containing the return and all its accrual returns. - * - * ### Security Policies - * - * * This API requires openId bearer token for authentication - * * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. - * Swagger Name: AvaTaxClient - * - * @param int $companyId The ID of the company that owns these returns - * @param int $filingReturnId The ID of the filing return - * @return FetchResult - */ - public function getAccrualFilings($companyId, $filingReturnId) { - $path = "/api/v2/companies/{$companyId}/filings/accrual/{$filingReturnId}"; - $guzzleParams = [ - 'query' => [], - 'body' => null - ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); - } - - /** - * Retrieve a list of filed returns for the specified company in the year and month of a given filing period. - * - * ### Security Policies - * - * * This API requires openId bearer token for authentication - * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. - * * This API is available by invitation only.*Exempt security roles*: ComplianceRootUser, ComplianceAdmin, ComplianceUser, TechnicalSupportAdmin, TechnicalSupportUser, CompanyUser, AccountUser, CompanyAdmin, AccountAdmin. - * * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged. - * Swagger Name: AvaTaxClient - * - * @param int $companyId The ID of the company that owns these batches - * @param int $endPeriodMonth The month of the period you are trying to retrieve - * @param int $endPeriodYear The year of the period you are trying to retrieve - * @param string $frequency The frequency of the return you are trying to retrieve (See FilingFrequencyId::* for a list of allowable values) - * @param string $status The status of the return(s) you are trying to retrieve (See FilingStatusId::* for a list of allowable values) - * @param string $country The country of the return(s) you are trying to retrieve - * @param string $region The region of the return(s) you are trying to retrieve - * @param int $filingCalendarId The filing calendar id of the return you are trying to retrieve - * @param string $taxformCode The unique tax form code of the form. - * @return FetchResult - */ - public function getFiledReturns($companyId, $endPeriodMonth, $endPeriodYear, $frequency, $status, $country, $region, $filingCalendarId, $taxformCode) { - $path = "/api/v2/companies/{$companyId}/filings/returns/filed"; - $guzzleParams = [ - 'query' => ['endPeriodMonth' => $endPeriodMonth, 'endPeriodYear' => $endPeriodYear, 'frequency' => $frequency, 'status' => $status, 'country' => $country, 'region' => $region, 'filingCalendarId' => $filingCalendarId, 'taxformCode' => $taxformCode], - 'body' => null - ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -5271,7 +5138,7 @@ public function approveFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5302,7 +5169,7 @@ public function createAndLinkNewFirmClientAccount($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5324,7 +5191,7 @@ public function createFirmClientLinkage($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5346,7 +5213,7 @@ public function deleteFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5368,7 +5235,7 @@ public function getFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5390,7 +5257,7 @@ public function listFirmClientLinkage($filter=null) { 'query' => ['$filter' => $filter], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5412,7 +5279,7 @@ public function rejectFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5434,7 +5301,7 @@ public function resetFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5456,7 +5323,7 @@ public function revokeFirmClientLinkage($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5487,7 +5354,7 @@ public function requestFreeTrial($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5521,7 +5388,7 @@ public function activateFundingRequest($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5553,7 +5420,7 @@ public function fundingRequestStatus($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -5580,7 +5447,7 @@ public function batchDeleteItemClassifications($companyId, $itemId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5609,7 +5476,7 @@ public function batchDeleteItemParameters($companyId, $itemId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5640,7 +5507,7 @@ public function bulkUploadItems($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5670,7 +5537,7 @@ public function createItemClassifications($companyId, $itemId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5704,7 +5571,7 @@ public function createItemParameters($companyId, $itemId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5735,7 +5602,7 @@ public function createItems($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5761,7 +5628,7 @@ public function createItemTags($companyId, $itemId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5788,7 +5655,7 @@ public function createTaxCodeClassificationRequest($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -5825,7 +5692,7 @@ public function deleteCatalogueItem($companyId, $itemCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5856,7 +5723,7 @@ public function deleteItem($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5884,7 +5751,7 @@ public function deleteItemClassification($companyId, $itemId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5914,7 +5781,7 @@ public function deleteItemParameter($companyId, $itemId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5940,7 +5807,7 @@ public function deleteItemTag($companyId, $itemId, $itemTagDetailId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5965,7 +5832,7 @@ public function deleteItemTags($companyId, $itemId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -5998,7 +5865,7 @@ public function getClassificationStatus($companyId, $includeClassificationDetail 'query' => ['$includeClassificationDetails' => $includeClassificationDetails, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6028,7 +5895,7 @@ public function getItem($companyId, $id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6056,7 +5923,7 @@ public function getItemClassification($companyId, $itemId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6086,7 +5953,7 @@ public function getItemParameter($companyId, $itemId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6114,7 +5981,40 @@ public function getItemTags($companyId, $itemId, $filter=null, $top=null, $skip= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); + } + + /** + * Retrieve premium classification for a company's item based on its ItemCode and SystemCode. + * + * Retrieves the premium classification for an ItemCode and SystemCode. + * + * NOTE: If your item code contains any of these characters /, +, ?,",' ,% or #, please use the following encoding before making a request: + * * Replace '/' with '\_-ava2f-\_' For example: 'Item/Code' becomes 'Item_-ava2f-_Code' + * * Replace '+' with '\_-ava2b-\_' For example: 'Item+Code' becomes 'Item_-ava2b-_Code' + * * Replace '?' with '\_-ava3f-\_' For example: 'Item?Code' becomes 'Item_-ava3f-_Code' + * * Replace '%' with '\_-ava25-\_' For example: 'Item%Code' becomes 'Item_-ava25-_Code' + * * Replace '#' with '\_-ava23-\_' For example: 'Item#Code' becomes 'Item_-ava23-_Code' + * * Replace ''' with '\_-ava27-\_' For example: 'Item'Code' becomes 'Item_-ava27-_Code' + * * Replace '"' with '\_-ava22-\_' For example: 'Item"Code' becomes 'Item_-ava22-_Code' + * + * ### Security Policies + * + * * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * Swagger Name: AvaTaxClient + * + * @param int $companyId The ID of the company that owns this item object + * @param string $itemCode The ItemCode of the item for which you want to retrieve premium classification + * @param string $systemCode The SystemCode for which you want to retrieve premium classification + * @return ItemPremiumClassificationOutputModel + */ + public function getPremiumClassification($companyId, $itemCode, $systemCode) { + $path = "/api/v2/companies/{$companyId}/items/{$itemCode}/premiumClassification/{$systemCode}"; + $guzzleParams = [ + 'query' => [], + 'body' => null + ]; + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6145,7 +6045,7 @@ public function getTaxCodeRecommendations($companyId, $requestId, $filter=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6181,7 +6081,7 @@ public function listImportRestrictions($companyId, $itemCode, $countryOfImport, 'query' => ['$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6215,7 +6115,7 @@ public function listItemClassifications($companyId, $itemId, $filter=null, $top= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6251,7 +6151,7 @@ public function listItemParameters($companyId, $itemId, $filter=null, $top=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6297,7 +6197,7 @@ public function listItemsByCompany($companyId, $filter=null, $include=null, $top 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy, 'tagName' => $tagName], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6333,7 +6233,7 @@ public function queryItems($filter=null, $include=null, $top=null, $skip=null, $ 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6371,7 +6271,7 @@ public function queryItemsByTag($companyId, $tag, $filter=null, $include=null, $ 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6398,7 +6298,7 @@ public function syncItemCatalogue($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -6432,7 +6332,7 @@ public function syncItems($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -6467,7 +6367,7 @@ public function updateItem($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -6498,7 +6398,7 @@ public function updateItemClassification($companyId, $itemId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -6529,7 +6429,7 @@ public function updateItemParameter($companyId, $itemId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -6557,7 +6457,7 @@ public function createJurisdictionOverrides($accountId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -6580,7 +6480,7 @@ public function deleteJurisdictionOverride($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -6608,7 +6508,7 @@ public function getJurisdictionOverride($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6643,7 +6543,7 @@ public function listJurisdictionOverridesByAccount($accountId, $filter=null, $in 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6677,7 +6577,7 @@ public function queryJurisdictionOverrides($filter=null, $include=null, $top=nul 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6701,7 +6601,7 @@ public function updateJurisdictionOverride($accountId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -6735,7 +6635,7 @@ public function createLocationParameters($companyId, $locationId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -6758,7 +6658,7 @@ public function createLocations($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -6781,7 +6681,7 @@ public function deleteLocation($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -6811,7 +6711,7 @@ public function deleteLocationParameter($companyId, $locationId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -6844,7 +6744,7 @@ public function getLocation($companyId, $id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6874,7 +6774,7 @@ public function getLocationParameter($companyId, $locationId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6910,7 +6810,7 @@ public function listLocationParameters($companyId, $locationId, $filter=null, $t 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6948,7 +6848,7 @@ public function listLocationsByCompany($companyId, $filter=null, $include=null, 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -6986,7 +6886,7 @@ public function queryLocations($filter=null, $include=null, $top=null, $skip=nul 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7012,7 +6912,7 @@ public function updateLocation($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -7043,7 +6943,7 @@ public function updateLocationParameter($companyId, $locationId, $id, $model) 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -7068,7 +6968,7 @@ public function validateLocation($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7111,7 +7011,7 @@ public function adjustMultiDocumentTransaction($code, $type, $include=null, $mod 'query' => ['include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7156,7 +7056,7 @@ public function auditMultiDocumentTransaction($code, $type) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7194,7 +7094,7 @@ public function commitMultiDocumentTransaction($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7257,7 +7157,7 @@ public function createMultiDocumentTransaction($include=null, $model=null) { 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7301,7 +7201,7 @@ public function getMultiDocumentTransactionByCodeAndType($code, $type, $include= 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7353,7 +7253,7 @@ public function getMultiDocumentTransactionById($id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7406,7 +7306,7 @@ public function listMultiDocumentTransactions($filter=null, $include=null, $top= 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7475,7 +7375,7 @@ public function refundMultiDocumentTransaction($code, $type, $include=null, $mod 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7511,7 +7411,7 @@ public function verifyMultiDocumentTransaction($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7552,7 +7452,7 @@ public function voidMultiDocumentTransaction($code, $type, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7593,7 +7493,7 @@ public function createNexus($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7626,7 +7526,7 @@ public function createNexusParameters($companyId, $nexusId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7663,7 +7563,7 @@ public function declareNexusByAddress($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -7694,7 +7594,7 @@ public function deleteNexus($companyId, $id, $cascadeDelete) { 'query' => ['cascadeDelete' => $cascadeDelete], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -7723,7 +7623,7 @@ public function deleteNexusParameter($companyId, $nexusId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -7751,7 +7651,7 @@ public function deleteNexusParameters($companyId, $nexusId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -7782,7 +7682,7 @@ public function getNexus($companyId, $id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7817,7 +7717,7 @@ public function getNexusByFormCode($companyId, $formCode, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7846,7 +7746,7 @@ public function getNexusParameter($companyId, $nexusId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7883,7 +7783,7 @@ public function listNexusByCompany($companyId, $filter=null, $include=null, $top 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7921,7 +7821,7 @@ public function listNexusByCompanyAndTaxTypeGroup($companyId, $taxTypeGroup, $fi 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7956,7 +7856,7 @@ public function listNexusParameters($companyId, $nexusId, $filter=null, $top=nul 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -7992,7 +7892,7 @@ public function queryNexus($filter=null, $include=null, $top=null, $skip=null, $ 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8034,7 +7934,7 @@ public function updateNexus($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8065,7 +7965,7 @@ public function updateNexusParameter($companyId, $nexusId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8088,7 +7988,7 @@ public function createNoticeResponsibilityType($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8111,7 +8011,7 @@ public function createNoticeRootCauseType($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8133,7 +8033,7 @@ public function deleteNoticeResponsibilityType($responsibilityId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8155,7 +8055,7 @@ public function deleteNoticeRootCauseType($rootCauseId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8190,7 +8090,7 @@ public function dismissNotification($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8219,7 +8119,7 @@ public function getNotification($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8254,7 +8154,7 @@ public function listNotifications($filter=null, $top=null, $skip=null, $orderBy= 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8291,7 +8191,7 @@ public function requestNewAccount($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8317,7 +8217,7 @@ public function requestNewEntitlement($id, $offer) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8343,7 +8243,7 @@ public function createAccount($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8378,7 +8278,7 @@ public function createNotifications($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8405,7 +8305,7 @@ public function createSubscriptions($accountId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8431,7 +8331,7 @@ public function deleteAccount($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8463,7 +8363,7 @@ public function deleteNotification($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8489,7 +8389,7 @@ public function deleteSubscription($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8509,17 +8409,17 @@ public function deleteSubscription($accountId, $id) { * Swagger Name: AvaTaxClient * * @param int $userId The unique ID of the user whose password will be changed - * @param boolean $unmigrateFromAi If user's password was migrated to AI, undo this. + * @param boolean $isUndoMigrateRequest If user's password was migrated to AI, undo this. * @param SetPasswordModel $model The new password for this user * @return string */ - public function resetPassword($userId, $unmigrateFromAi, $model) { + public function resetPassword($userId, $isUndoMigrateRequest, $model) { $path = "/api/v2/passwords/{$userId}/reset"; $guzzleParams = [ - 'query' => ['unmigrateFromAi' => $unmigrateFromAi], + 'query' => ['isUndoMigrateRequest' => $isUndoMigrateRequest], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8545,7 +8445,7 @@ public function updateAccount($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8578,7 +8478,7 @@ public function updateNotification($id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8609,7 +8509,7 @@ public function updateSubscription($accountId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8644,7 +8544,7 @@ public function downloadReport($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8672,7 +8572,7 @@ public function getReport($id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8714,7 +8614,7 @@ public function initiateExportDocumentLineReport($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8749,7 +8649,7 @@ public function listReports($companyId, $pageKey, $skip=null, $top=null) { 'query' => ['companyId' => $companyId, 'pageKey' => $pageKey, '$skip' => $skip, '$top' => $top], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8786,7 +8686,7 @@ public function createSettings($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -8818,7 +8718,7 @@ public function deleteSetting($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -8850,7 +8750,7 @@ public function getSetting($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8889,7 +8789,7 @@ public function listSettingsByCompany($companyId, $filter=null, $include=null, $ 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8927,7 +8827,7 @@ public function querySettings($filter=null, $include=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -8964,7 +8864,7 @@ public function updateSetting($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -8989,7 +8889,7 @@ public function getSubscription($accountId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9020,7 +8920,7 @@ public function listSubscriptionsByAccount($accountId, $filter=null, $top=null, 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9050,7 +8950,7 @@ public function querySubscriptions($filter=null, $top=null, $skip=null, $orderBy 'query' => ['$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9077,7 +8977,7 @@ public function createTaxCodes($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9100,7 +9000,7 @@ public function deleteTaxCode($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -9127,7 +9027,7 @@ public function getTaxCode($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9161,7 +9061,7 @@ public function listTaxCodesByCompany($companyId, $filter=null, $include=null, $ 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9194,7 +9094,7 @@ public function queryTaxCodes($filter=null, $include=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9224,7 +9124,7 @@ public function updateTaxCode($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -9269,7 +9169,7 @@ public function buildTaxContentFile($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9319,7 +9219,7 @@ public function buildTaxContentFileForLocation($companyId, $id, $date, $format, 'query' => ['date' => $date, 'format' => $format, 'partnerId' => $partnerId, 'includeJurisCodes' => $includeJurisCodes], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9381,7 +9281,7 @@ public function downloadTaxRatesByZipCode($date, $region) { 'query' => ['region' => $region], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9424,7 +9324,7 @@ public function taxRatesByAddress($line1, $line2, $line3, $city, $region, $posta 'query' => ['line1' => $line1, 'line2' => $line2, 'line3' => $line3, 'city' => $city, 'region' => $region, 'postalCode' => $postalCode, 'country' => $country], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9464,7 +9364,7 @@ public function taxRatesByPostalCode($country, $postalCode) { 'query' => ['country' => $country, 'postalCode' => $postalCode], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9499,7 +9399,7 @@ public function createTaxRules($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9534,7 +9434,7 @@ public function deleteTaxRule($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -9569,7 +9469,7 @@ public function getTaxRule($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9611,7 +9511,7 @@ public function listTaxRules($companyId, $filter=null, $include=null, $top=null, 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9652,7 +9552,7 @@ public function queryTaxRules($filter=null, $include=null, $top=null, $skip=null 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9688,7 +9588,7 @@ public function updateTaxRule($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -9731,7 +9631,7 @@ public function addLines($include=null, $model=null) { 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9786,7 +9686,7 @@ public function adjustTransaction($companyCode, $transactionCode, $documentType, 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9832,7 +9732,7 @@ public function auditTransaction($companyCode, $transactionCode) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9879,7 +9779,7 @@ public function auditTransactionWithType($companyCode, $transactionCode, $docume 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -9908,7 +9808,7 @@ public function bulkLockTransaction($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -9963,7 +9863,7 @@ public function changeTransactionCode($companyCode, $transactionCode, $documentT 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10016,7 +9916,7 @@ public function commitTransaction($companyCode, $transactionCode, $documentType, 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10072,7 +9972,7 @@ public function createOrAdjustTransaction($include=null, $model=null) { 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10135,7 +10035,7 @@ public function createTransaction($include=null, $model=null) { 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10175,7 +10075,7 @@ public function deleteLines($include=null, $model=null) { 'query' => ['$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10226,7 +10126,7 @@ public function getTransactionByCode($companyCode, $transactionCode, $documentTy 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10260,7 +10160,7 @@ public function getTransactionByCodeAndType($companyCode, $transactionCode, $doc 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10299,7 +10199,7 @@ public function getTransactionById($id, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10356,7 +10256,7 @@ public function listTransactionsByCompany($companyCode, $dataSourceId, $include= 'query' => ['dataSourceId' => $dataSourceId, '$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10411,7 +10311,7 @@ public function lockTransaction($companyCode, $transactionCode, $documentType, $ 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10477,7 +10377,7 @@ public function refundTransaction($companyCode, $transactionCode, $include=null, 'query' => ['$include' => $include, 'documentType' => $documentType, 'useTaxDateOverride' => $useTaxDateOverride], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10530,7 +10430,7 @@ public function settleTransaction($companyCode, $transactionCode, $documentType, 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10577,7 +10477,7 @@ public function uncommitTransaction($companyCode, $transactionCode, $documentTyp 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10621,7 +10521,7 @@ public function unvoidTransaction($companyCode, $transactionCode, $documentType, 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => null ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10673,7 +10573,7 @@ public function verifyTransaction($companyCode, $transactionCode, $documentType, 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10727,7 +10627,7 @@ public function voidTransaction($companyCode, $transactionCode, $documentType, $ 'query' => ['documentType' => $documentType, '$include' => $include], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10752,7 +10652,7 @@ public function createUPCs($companyId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10776,7 +10676,7 @@ public function deleteUPC($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -10801,7 +10701,7 @@ public function getUPC($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10833,7 +10733,7 @@ public function listUPCsByCompany($companyId, $filter=null, $include=null, $top= 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10864,7 +10764,7 @@ public function queryUPCs($filter=null, $include=null, $top=null, $skip=null, $o 'query' => ['$filter' => $filter, '$include' => $include, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10892,7 +10792,7 @@ public function updateUPC($companyId, $id, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -10916,7 +10816,7 @@ public function deleteUserDefinedField($companyId, $id) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -10939,7 +10839,7 @@ public function listUserDefinedFieldsByCompanyId($companyId, $udfType, $allowDef 'query' => ['udfType' => $udfType, 'allowDefaults' => $allowDefaults], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -10964,7 +10864,7 @@ public function updateUserDefinedField($companyId, $id, $model) { 'query' => ['id' => $id], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -10992,7 +10892,7 @@ public function changePassword($model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -11023,7 +10923,7 @@ public function createUsers($accountId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'POST', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'POST', $guzzleParams,'22.5.0' ); } /** @@ -11051,7 +10951,7 @@ public function deleteUser($id, $accountId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'DELETE', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'DELETE', $guzzleParams,'22.5.0' ); } /** @@ -11080,7 +10980,7 @@ public function getUser($id, $accountId, $include=null) { 'query' => ['$include' => $include], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11117,7 +11017,7 @@ public function getUserEntitlements($id, $accountId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11155,7 +11055,7 @@ public function listUsersByAccount($accountId, $include=null, $filter=null, $top 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11194,7 +11094,7 @@ public function queryUsers($include=null, $filter=null, $top=null, $skip=null, $ 'query' => ['$include' => $include, '$filter' => $filter, '$top' => $top, '$skip' => $skip, '$orderBy' => $orderBy], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11221,7 +11121,7 @@ public function updateUser($id, $accountId, $model) { 'query' => [], 'body' => json_encode($model) ]; - return $this->restCall($path, 'PUT', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'PUT', $guzzleParams,'22.5.0' ); } /** @@ -11246,7 +11146,7 @@ public function getMySubscription($serviceTypeId) { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11270,7 +11170,7 @@ public function listMySubscriptions() { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** @@ -11306,7 +11206,7 @@ public function ping() { 'query' => [], 'body' => null ]; - return $this->restCall($path, 'GET', $guzzleParams,'22.3.0' ); + return $this->restCall($path, 'GET', $guzzleParams,'22.5.0' ); } /** diff --git a/src/Models.php b/src/Models.php index f552350..3caf9e3 100644 --- a/src/Models.php +++ b/src/Models.php @@ -9490,6 +9490,60 @@ class ItemClassificationOutputModel */ public $systemCode; } +/** + * Represents a Premium Classification output model associated with an item's SystemCode.. + * Swagger Name: AvaTaxClient + */ +class ItemPremiumClassificationOutputModel +{ + /** + * @var string ItemPremiumClassificationDetailId + */ + public $id; + /** + * @var string Item associated with this premium classification. + */ + public $itemCode; + /** + * @var int CompanyId with which the Item is associated. + */ + public $companyId; + /** + * @var string The HS code associated with this item's premium classification. + */ + public $hsCode; + /** + * @var string SystemCode associated with this premium classificaitons. + */ + public $systemCode; + /** + * @var string Justification why this HsCode is attached to this item. + */ + public $justification; + /** + * @var string The date when this record was created. + */ + public $createdDate; + /** + * @var int The user who created the record. + */ + public $createdUserId; +} +/** + * Represents a premium classification associated with an item's HS code for a system code. + * Swagger Name: AvaTaxClient + */ +class ItemPremiumClassificationInputModel +{ + /** + * @var string The HsCode for which this premium classification is being created. + */ + public $hsCode; + /** + * @var string Justification why this HsCode is attached to this item. + */ + public $justification; +} /** * An abridged item model used for syncing product catalogs with AvaTax. * Swagger Name: AvaTaxClient @@ -9598,14 +9652,6 @@ class ItemCatalogueInputModel * @var string A summary for selection of the tax code. */ public $summary; - /** - * @var int The account ID that owns this item. - */ - public $accountId; - /** - * @var int The unique ID of the company that owns this item. - */ - public $companyId; /** * @var string The tax code of the item. */ @@ -9622,10 +9668,6 @@ class ItemCatalogueInputModel * @var string A path to the category where item is included. */ public $category; - /** - * @var string[] The AvaTax category to identify the product. - */ - public $productCategories; /** * @var string The source of creation of this item. */ @@ -9832,6 +9874,14 @@ class ClassificationDetailsModel * @var int The number of items which are not classified */ public $notClassified; + /** + * @var int The number of items which are failed because of some error + */ + public $failed; + /** + * @var int The number of items which are not found as they may be deleted + */ + public $notFound; } /** * Represents a tax code classification request status output model @@ -11911,6 +11961,10 @@ class NoticeModel * @var int The user ID of the user who last modified this record. */ public $modifiedUserId; + /** + * @var string The registration id of the notice + */ + public $registrationId; } /** * Model to create a new tax notice responsibility type. @@ -12092,6 +12146,10 @@ class SetPasswordModel * @var string New Password */ public $newPassword; + /** + * @var boolean SuppressResetPasswordEmail + */ + public $suppressResetPasswordEmail; } /** * An input model for executing a report detailed to the document line level @@ -12175,6 +12233,10 @@ class ExportDocumentLineModel * @var string Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc. */ public $taxSubType; + /** + * @var string Defines report source. (See ReportSource::* for a list of allowable values) + */ + public $reportSource; } /** * The output model for report parameter definitions @@ -12877,7 +12939,7 @@ class AgeVerifyResult */ public $isOfAge; /** - * @var AgeVerifyResult[] A list of failure codes describing why a *false* age determination was made. + * @var string[] A list of failure codes describing why a *false* age determination was made. */ public $failureCodes; }?> \ No newline at end of file