avatax 25.6.2 → 25.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/avatax/client/batches.rb +24 -0
- data/lib/avatax/client/clerk.rb +3 -3
- data/lib/avatax/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0a229b6d286f22be2eeaebcf93c73166eeed847ccc003607c6e5b284721cf88
|
4
|
+
data.tar.gz: e3dc74f5b18d73caaf7bfdac978b327071ffc3ea95ca8edf8600e634ba873ec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab390e09037fd139759275eeb050b11616a45dddde9d5d4db13747d7c581ab94d9d47e1bc37ba823a649241b0f32dd8335e7e5d9fd07cddd18803e26bc9eda13
|
7
|
+
data.tar.gz: 8d8deeef8cd946b790066cde7569ffa74c2fdb40d4fe5c422676cd772f8530734fa1587a86e1b78762859ae2870aecfbacd8ae7cee03fdab3c78d6410effaa95
|
@@ -84,6 +84,30 @@ module AvaTax
|
|
84
84
|
def create_batches(companyId, model) path = "/api/v2/companies/#{companyId}/batches"
|
85
85
|
post(path, model, {}, AvaTax::VERSION) end
|
86
86
|
|
87
|
+
# Create item import batch.
|
88
|
+
#
|
89
|
+
# Create a new item import batch objects attached to this company.
|
90
|
+
#
|
91
|
+
# When an item import batch is created, it is added to the AvaTax Batch v2 Queue and will be
|
92
|
+
# processed in the order it was received. To check the
|
93
|
+
# status of a batch, fetch the batch and retrieve the results of the batch
|
94
|
+
# operation.
|
95
|
+
#
|
96
|
+
# The maximum content length of the request body is limited to 28.6 MB. If this limit
|
97
|
+
# exceeds then a 404 Not Found status is returned (possibly with a CORS error if
|
98
|
+
# the API is called from a browser). In this situation, please split the request into
|
99
|
+
# smaller batches.
|
100
|
+
#
|
101
|
+
# ### Security Policies
|
102
|
+
#
|
103
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
|
104
|
+
# Swagger Name: AvaTaxClient
|
105
|
+
# @param companyId [Integer] The ID of the company that owns this batch.
|
106
|
+
# @param model [Object] The item import batch you wish to create.
|
107
|
+
# @return [Object]
|
108
|
+
def create_item_import_batch(companyId, model) path = "/api/v2/companies/#{companyId}/batches/items"
|
109
|
+
post(path, model, {}, AvaTax::VERSION) end
|
110
|
+
|
87
111
|
# Create a new transaction batch
|
88
112
|
#
|
89
113
|
# Create a new transaction batch objects attached to this company.
|
data/lib/avatax/client/clerk.rb
CHANGED
@@ -3,7 +3,7 @@ module AvaTax
|
|
3
3
|
module Clerk
|
4
4
|
|
5
5
|
|
6
|
-
# Retrieves a list of location records associated with the specified
|
6
|
+
# Retrieves a list of location records associated with the specified account.
|
7
7
|
# This endpoint is secured and requires appropriate subscription and permission levels.
|
8
8
|
#
|
9
9
|
# ### Security Policies
|
@@ -11,14 +11,14 @@ module AvaTax
|
|
11
11
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
12
12
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, ECMEssentials, ECMPro, ECMPremium, VEMPro, VEMPremium, ECMProComms, ECMPremiumComms.
|
13
13
|
# Swagger Name: AvaTaxClient
|
14
|
-
# @param
|
14
|
+
# @param accountId [Integer] The unique identifier of the account whose locations are being requested.
|
15
15
|
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following:
|
16
16
|
# @param filter [String] 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/).<br />*Not filterable:* id
|
17
17
|
# @param top [Integer] 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.
|
18
18
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
19
19
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
20
20
|
# @return [FetchResult]
|
21
|
-
def
|
21
|
+
def list_location_by_account(accountId, options={}) path = "/api/v2/companies/#{accountId}/clerk/locations"
|
22
22
|
get(path, options, AvaTax::VERSION) end
|
23
23
|
end
|
24
24
|
end
|
data/lib/avatax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avatax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 25.
|
4
|
+
version: 25.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Vorwaller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|