Skip to content

Commit

Permalink
18.9 update
Browse files Browse the repository at this point in the history
  • Loading branch information
contygm committed Oct 8, 2018
1 parent be633f9 commit 1118aca
Show file tree
Hide file tree
Showing 32 changed files with 536 additions and 336 deletions.
21 changes: 12 additions & 9 deletions lib/avatax/client/accounts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,25 @@ def activate_account(id, model, options={})

# Retrieve audit history for an account.
#
# Retrieve audit history for an account.
# Retrieve audit trace history for an account.
#
# Audit history provides you with the data necessary to report and investigate calls made from your account.
# Your audit trace history contains a record of all API calls made against the AvaTax REST API. You can use this API to investigate
# problems and see exactly what information was sent back and forth between your code and AvaTax.
#
# When specifying a start and end datetime, please include a valid timezone indicator, such as the "Z" present in the examples for the start and end query parameters.
# You can learn more about valid time zone designators at https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators.
#
# For performance reasons, there are are limits to the request size. Currently, the per-call limits are a one hour duration, 50 MB of data, and 30 records at a time.
# This API enforces limits to the amount of data retrieved. These limits are subject to change.
#
# Due to the volume of traffic from the system, audit history is not guaranteed to be immediately available. In some cases, this could even take an hour or more.
# If you receive no results where results are expected, this is likely an indication that the data is not yet available.
# * You may request data from a maximum of a one-hour time period.
# * The amount of data and number of API calls returned by this API are limited and may be adjusted at any time.
# * Old records may be migrated out of immediately available storage. To request older data, please contact your account manager.
# * New records must migrate to available storage before they can be retrieved. You may need to wait a period of time before newly created records can be fetched.
# @param id [Integer] The ID of the account you wish to audit.
# @param start [DateTime] The start datetime of audit history you with to retrieve, e.g. "2018-06-08T17:00:00Z". Defaults to the past 15 minutes.
# @param end [DateTime] The end datetime of audit history you with to retrieve, e.g. "2018-06-08T17:15:00Z. Defaults to the current time. Maximum of an hour after the start time.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @return [FetchResult]
def audit_account(id, options={})
path = "/api/v2/accounts/#{id}/audit"
Expand Down Expand Up @@ -127,8 +130,8 @@ def get_account_configuration(id)
# For more information about filtering in REST, please see the documentation at http://developer.avalara.com/avatax/filtering-in-rest/ .
# @param include [String] A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name.
# @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/) .
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_accounts(options={})
Expand Down
2 changes: 0 additions & 2 deletions lib/avatax/client/addresses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ module Addresses
# @param postalCode [String] Postal Code / Zip Code
# @param country [String] Two character ISO 3166 Country Code (see /api/v2/definitions/countries for a full list)
# @param textCase [String] selectable text case for address validation (See TextCase::* for a list of allowable values)
# @param latitude [BigDecimal] Geospatial latitude measurement
# @param longitude [BigDecimal] Geospatial longitude measurement
# @return [Object]
def resolve_address(options={})
path = "/api/v2/addresses/resolve"
Expand Down
4 changes: 2 additions & 2 deletions lib/avatax/client/avafileforms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def get_ava_file_form(id)
# Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
# @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/) .
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_ava_file_forms(options={})
Expand Down
8 changes: 4 additions & 4 deletions lib/avatax/client/batches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def get_batch(companyId, id)
# @param companyId [Integer] The ID of the company that owns these batches
# @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/) .
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_batches_by_company(companyId, options={})
Expand Down Expand Up @@ -146,8 +146,8 @@ def list_batches_by_company(companyId, options={})
# [CreateTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/).
# @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/) .
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_batches(options={})
Expand Down
4 changes: 2 additions & 2 deletions lib/avatax/client/certexpressinvites.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def get_cert_express_invitation(companyId, customerCode, id, options={})
# @param companyId [Integer] The unique ID number of the company that issued this invitation
# @param include [String] OPTIONAL: A comma separated list of special fetch options. No options are defined at this time.
# @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/) .
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_cert_express_invitations(companyId, options={})
Expand Down
4 changes: 2 additions & 2 deletions lib/avatax/client/certificates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def list_customers_for_certificate(companyId, id, options={})
# @param companyId [Integer] The ID number of the company to search
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * Customers - Retrieves the list of customers linked to the certificate. * PoNumbers - Retrieves all PO numbers tied to the certificate. * Attributes - Retrieves all attributes applied to the certificate.
# @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/) .
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_certificates(companyId, options={})
Expand Down
4 changes: 2 additions & 2 deletions lib/avatax/client/companies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def list_mrs_companies()
# * UPC
# @param include [String] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
# @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/) .
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_companies(options={})
Expand Down
8 changes: 4 additions & 4 deletions lib/avatax/client/contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def get_contact(companyId, id)
# @param companyId [Integer] The ID of the company that owns these contacts
# @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/) .
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_contacts_by_company(companyId, options={})
Expand All @@ -72,8 +72,8 @@ def list_contacts_by_company(companyId, options={})
# Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
# @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/) .
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with $skip to provide pagination for large datasets.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with $top to provide pagination for large datasets.
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_contacts(options={})
Expand Down
Loading

0 comments on commit 1118aca

Please sign in to comment.