-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from avadev/24.8.2
Update for 24.8.2
- Loading branch information
Showing
7 changed files
with
150 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
module AvaTax | ||
class Client | ||
module CommunicationCertificates | ||
|
||
|
||
# Retrieve a single communication certificate. | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPremiumComms, ECMProComms. | ||
# Swagger Name: AvaTaxClient | ||
# @param companyId [Integer] The ID number of the company to search | ||
# @param certificateId [Integer] The ID number of the certifificate to search | ||
# @return [Object] | ||
def get_communication_certificate(companyId, certificateId) path = "/companies/#{companyId}/communication-certificates/#{certificateId}" | ||
get(path, {}, AvaTax::VERSION) end | ||
|
||
# Retrieve all communication certificates. | ||
# | ||
# List all account objects that can be seen by the current user. | ||
# | ||
# This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account. | ||
# | ||
# Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . | ||
# Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. | ||
# For more information about filtering in REST, please see the documentation at http://developer.avalara.com/avatax/filtering-in-rest/ . | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPremiumComms, ECMProComms. | ||
# Swagger Name: AvaTaxClient | ||
# @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:* EffectiveDate, ExpirationDate, TaxNumber, Exemptions | ||
# @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`. | ||
# @param companyId [Integer] The ID number of the company to search | ||
# @return [Object] | ||
def list_communication_certificates(companyId, options={}) path = "/companies/#{companyId}/communication-certificates" | ||
get(path, options, AvaTax::VERSION) end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
module AvaTax | ||
class Client | ||
module EcmEventNotifications | ||
|
||
|
||
# Delete AFC event notifications. | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPremiumComms, ECMProComms. | ||
# Swagger Name: AvaTaxClient | ||
# @param isDlq [Boolean] Specify `true` to delete event notifications from the dead letter queue; otherwise, specify `false`. | ||
# @param model [Object] Details of the event you want to delete. | ||
# @return [FetchResult] | ||
def delete_afc_event_notifications(model, options={}) path = "/api/v2/event-notifications/afc" | ||
delete(path, model, options, AvaTax::VERSION) end | ||
|
||
# Delete company event notifications | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPro, ECMPremium. | ||
# Swagger Name: AvaTaxClient | ||
# @param companyId [Integer] The unique ID number of the company that recorded these event notifications. | ||
# @param model [Object] Details of the event you want to delete. | ||
# @return [FetchResult] | ||
def delete_event_notifications(companyId, model) path = "/api/v2/event-notifications/companies/#{companyId}" | ||
delete(path, model, {}, AvaTax::VERSION) end | ||
|
||
# Retrieve company event notifications. | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPro, ECMPremium. | ||
# Swagger Name: AvaTaxClient | ||
# @param companyId [Integer] The unique ID number of the company that recorded these event notifications. | ||
# @return [FetchResult] | ||
def get_event_notifications(companyId) path = "/api/v2/event-notifications/companies/#{companyId}" | ||
get(path, {}, AvaTax::VERSION) end | ||
|
||
# Retrieve AFC event notifications | ||
# | ||
# ### Security Policies | ||
# | ||
# * This API depends on the following active services:*Required* (all): ECMPremiumComms, ECMProComms. | ||
# Swagger Name: AvaTaxClient | ||
# @param isDlq [Boolean] Specify `true` to retrieve event notifications from the dead letter queue; otherwise, specify `false`. | ||
# @return [FetchResult] | ||
def list_afc_event_notifications(options={}) path = "/api/v2/event-notifications/afc" | ||
get(path, options, AvaTax::VERSION) end | ||
end | ||
end | ||
end |
Oops, something went wrong.