avatax 22.2.0 → 22.2.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avatax/client/accounts.rb +11 -11
  3. data/lib/avatax/client/addresses.rb +2 -2
  4. data/lib/avatax/client/advancedrules.rb +5 -5
  5. data/lib/avatax/client/avafileforms.rb +5 -5
  6. data/lib/avatax/client/batches.rb +8 -8
  7. data/lib/avatax/client/certexpressinvites.rb +3 -3
  8. data/lib/avatax/client/certificates.rb +15 -15
  9. data/lib/avatax/client/companies.rb +22 -22
  10. data/lib/avatax/client/compliance.rb +1 -1
  11. data/lib/avatax/client/contacts.rb +6 -6
  12. data/lib/avatax/client/customers.rb +13 -13
  13. data/lib/avatax/client/datasources.rb +6 -6
  14. data/lib/avatax/client/definitions.rb +70 -70
  15. data/lib/avatax/client/distancethresholds.rb +6 -6
  16. data/lib/avatax/client/ecommercetoken.rb +2 -2
  17. data/lib/avatax/client/filingcalendars.rb +3 -3
  18. data/lib/avatax/client/filings.rb +2 -2
  19. data/lib/avatax/client/firmclientlinkages.rb +9 -9
  20. data/lib/avatax/client/free.rb +1 -1
  21. data/lib/avatax/client/fundingrequests.rb +2 -2
  22. data/lib/avatax/client/items.rb +25 -25
  23. data/lib/avatax/client/jurisdictionoverrides.rb +6 -6
  24. data/lib/avatax/client/locations.rb +12 -12
  25. data/lib/avatax/client/multidocument.rb +10 -10
  26. data/lib/avatax/client/nexus.rb +15 -15
  27. data/lib/avatax/client/notices.rb +4 -4
  28. data/lib/avatax/client/notifications.rb +3 -3
  29. data/lib/avatax/client/provisioning.rb +2 -2
  30. data/lib/avatax/client/registrar.rb +11 -11
  31. data/lib/avatax/client/reports.rb +4 -4
  32. data/lib/avatax/client/settings.rb +6 -6
  33. data/lib/avatax/client/subscriptions.rb +3 -3
  34. data/lib/avatax/client/taxcodes.rb +6 -6
  35. data/lib/avatax/client/taxcontent.rb +5 -5
  36. data/lib/avatax/client/taxrules.rb +6 -6
  37. data/lib/avatax/client/transactions.rb +22 -23
  38. data/lib/avatax/client/upcs.rb +6 -6
  39. data/lib/avatax/client/userdefinedfields.rb +3 -3
  40. data/lib/avatax/client/users.rb +8 -8
  41. data/lib/avatax/client/utilities.rb +3 -3
  42. data/lib/avatax/version.rb +1 -1
  43. metadata +2 -2
@@ -24,7 +24,7 @@ module AvaTax
24
24
  # @param hsCode [String] The partial or full HS Code for which you would like to view all of the parents.
25
25
  # @return [FetchResult]
26
26
  def get_cross_border_code(country, hsCode) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}/hierarchy"
27
- get(path, {}, "22.2.0") end
27
+ get(path, {}, "22.2.1") end
28
28
 
29
29
  # Test whether a form supports online login verification
30
30
  #
@@ -38,7 +38,7 @@ module AvaTax
38
38
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
39
39
  # @return [FetchResult]
40
40
  def get_login_verifier_by_form(form, options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers/#{form}"
41
- get(path, options, "22.2.0") end
41
+ get(path, options, "22.2.1") end
42
42
 
43
43
  # List all market place locations.
44
44
  #
@@ -50,7 +50,7 @@ module AvaTax
50
50
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
51
51
  # @return [FetchResult]
52
52
  def list_all_marketplace_locations(options={}) path = "/api/v2/definitions/listallmarketplacelocations"
53
- get(path, options, "22.2.0") end
53
+ get(path, options, "22.2.1") end
54
54
 
55
55
  # Retrieve the full list of the AvaFile Forms available
56
56
  #
@@ -67,7 +67,7 @@ module AvaTax
67
67
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
68
68
  # @return [FetchResult]
69
69
  def list_ava_file_forms(options={}) path = "/api/v2/definitions/avafileforms"
70
- get(path, options, "22.2.0") end
70
+ get(path, options, "22.2.1") end
71
71
 
72
72
  # List certificate attributes used by a company
73
73
  #
@@ -86,7 +86,7 @@ module AvaTax
86
86
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
87
87
  # @return [FetchResult]
88
88
  def list_certificate_attributes(options={}) path = "/api/v2/definitions/certificateattributes"
89
- get(path, options, "22.2.0") end
89
+ get(path, options, "22.2.1") end
90
90
 
91
91
  # List the certificate exempt reasons defined by a company
92
92
  #
@@ -104,7 +104,7 @@ module AvaTax
104
104
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
105
105
  # @return [FetchResult]
106
106
  def list_certificate_exempt_reasons(options={}) path = "/api/v2/definitions/certificateexemptreasons"
107
- get(path, options, "22.2.0") end
107
+ get(path, options, "22.2.1") end
108
108
 
109
109
  # List certificate exposure zones used by a company
110
110
  #
@@ -122,7 +122,7 @@ module AvaTax
122
122
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
123
123
  # @return [FetchResult]
124
124
  def list_certificate_exposure_zones(options={}) path = "/api/v2/definitions/certificateexposurezones"
125
- get(path, options, "22.2.0") end
125
+ get(path, options, "22.2.1") end
126
126
 
127
127
  # Retrieve the full list of Avalara-supported usage of extra parameters for classification of a item.
128
128
  #
@@ -136,7 +136,7 @@ module AvaTax
136
136
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
137
137
  # @return [FetchResult]
138
138
  def list_classification_parameters_usage(options={}) path = "/api/v2/definitions/classification/parametersusage"
139
- get(path, options, "22.2.0") end
139
+ get(path, options, "22.2.1") end
140
140
 
141
141
  # Retrieve the full list of communications service types
142
142
  #
@@ -149,7 +149,7 @@ module AvaTax
149
149
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
150
150
  # @return [FetchResult]
151
151
  def list_communications_service_types(id, options={}) path = "/api/v2/definitions/communications/transactiontypes/#{id}/servicetypes"
152
- get(path, options, "22.2.0") end
152
+ get(path, options, "22.2.1") end
153
153
 
154
154
  # Retrieve the full list of communications transactiontypes
155
155
  #
@@ -162,7 +162,7 @@ module AvaTax
162
162
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
163
163
  # @return [FetchResult]
164
164
  def list_communications_transaction_types(options={}) path = "/api/v2/definitions/communications/transactiontypes"
165
- get(path, options, "22.2.0") end
165
+ get(path, options, "22.2.1") end
166
166
 
167
167
  # Retrieve the full list of communications transaction/service type pairs
168
168
  #
@@ -175,7 +175,7 @@ module AvaTax
175
175
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
176
176
  # @return [FetchResult]
177
177
  def list_communications_t_s_pairs(options={}) path = "/api/v2/definitions/communications/tspairs"
178
- get(path, options, "22.2.0") end
178
+ get(path, options, "22.2.1") end
179
179
 
180
180
  # List all ISO 3166 countries
181
181
  #
@@ -189,7 +189,7 @@ module AvaTax
189
189
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
190
190
  # @return [FetchResult]
191
191
  def list_countries(options={}) path = "/api/v2/definitions/countries"
192
- get(path, options, "22.2.0") end
192
+ get(path, options, "22.2.1") end
193
193
 
194
194
  # List certificate exposure zones used by a company
195
195
  #
@@ -208,7 +208,7 @@ module AvaTax
208
208
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
209
209
  # @return [FetchResult]
210
210
  def list_cover_letters(options={}) path = "/api/v2/definitions/coverletters"
211
- get(path, options, "22.2.0") end
211
+ get(path, options, "22.2.1") end
212
212
 
213
213
  # Lists the next level of HS Codes given a destination country and HS Code prefix.
214
214
  #
@@ -233,7 +233,7 @@ module AvaTax
233
233
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
234
234
  # @return [FetchResult]
235
235
  def list_cross_border_codes(country, hsCode, options={}) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}"
236
- get(path, options, "22.2.0") end
236
+ get(path, options, "22.2.1") end
237
237
 
238
238
  # List top level HS Code Sections.
239
239
  #
@@ -250,7 +250,7 @@ module AvaTax
250
250
  # Swagger Name: AvaTaxClient
251
251
  # @return [FetchResult]
252
252
  def list_cross_border_sections() path = "/api/v2/definitions/crossborder/sections"
253
- get(path, {}, "22.2.0") end
253
+ get(path, {}, "22.2.1") end
254
254
 
255
255
  # List all ISO 4217 currencies supported by AvaTax.
256
256
  #
@@ -265,7 +265,7 @@ module AvaTax
265
265
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
266
266
  # @return [FetchResult]
267
267
  def list_currencies(options={}) path = "/api/v2/definitions/currencies"
268
- get(path, options, "22.2.0") end
268
+ get(path, options, "22.2.1") end
269
269
 
270
270
  # Retrieve the full list of Avalara-supported entity use codes
271
271
  #
@@ -281,7 +281,7 @@ module AvaTax
281
281
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
282
282
  # @return [FetchResult]
283
283
  def list_entity_use_codes(options={}) path = "/api/v2/definitions/entityusecodes"
284
- get(path, options, "22.2.0") end
284
+ get(path, options, "22.2.1") end
285
285
 
286
286
  # Retrieve the full list of Avalara-supported filing frequencies.
287
287
  #
@@ -294,7 +294,7 @@ module AvaTax
294
294
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
295
295
  # @return [FetchResult]
296
296
  def list_filing_frequencies(options={}) path = "/api/v2/definitions/filingfrequencies"
297
- get(path, options, "22.2.0") end
297
+ get(path, options, "22.2.1") end
298
298
 
299
299
  # List jurisdictions based on the filter provided
300
300
  #
@@ -311,7 +311,7 @@ module AvaTax
311
311
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
312
312
  # @return [FetchResult]
313
313
  def list_jurisdictions(options={}) path = "/api/v2/definitions/jurisdictions"
314
- get(path, options, "22.2.0") end
314
+ get(path, options, "22.2.1") end
315
315
 
316
316
  # List jurisdictions near a specific address
317
317
  #
@@ -336,7 +336,7 @@ module AvaTax
336
336
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
337
337
  # @return [FetchResult]
338
338
  def list_jurisdictions_by_address(options={}) path = "/api/v2/definitions/jurisdictionsnearaddress"
339
- get(path, options, "22.2.0") end
339
+ get(path, options, "22.2.1") end
340
340
 
341
341
  # List jurisdictions based on the TaxType, TaxSubType and RateType provided
342
342
  #
@@ -358,7 +358,7 @@ module AvaTax
358
358
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
359
359
  # @return [FetchResult]
360
360
  def list_jurisdictions_by_rate_type_tax_type_mapping(country, region, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/jurisdictions/countries/#{country}/regions/#{region}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
361
- get(path, options, "22.2.0") end
361
+ get(path, options, "22.2.1") end
362
362
 
363
363
  # Retrieve the list of questions that are required for a tax location
364
364
  #
@@ -384,7 +384,7 @@ module AvaTax
384
384
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
385
385
  # @return [FetchResult]
386
386
  def list_location_questions_by_address(options={}) path = "/api/v2/definitions/locationquestions"
387
- get(path, options, "22.2.0") end
387
+ get(path, options, "22.2.1") end
388
388
 
389
389
  # List all forms where logins can be verified automatically
390
390
  #
@@ -398,7 +398,7 @@ module AvaTax
398
398
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
399
399
  # @return [FetchResult]
400
400
  def list_login_verifiers(options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers"
401
- get(path, options, "22.2.0") end
401
+ get(path, options, "22.2.1") end
402
402
 
403
403
  # Retrieve the list of locations for a marketplace.
404
404
  #
@@ -410,7 +410,7 @@ module AvaTax
410
410
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
411
411
  # @return [FetchResult]
412
412
  def list_marketplace_locations(options={}) path = "/api/v2/definitions/marketplacelocations"
413
- get(path, options, "22.2.0") end
413
+ get(path, options, "22.2.1") end
414
414
 
415
415
  # Retrieve the full list of Avalara-supported nexus for all countries and regions.
416
416
  #
@@ -424,7 +424,7 @@ module AvaTax
424
424
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
425
425
  # @return [FetchResult]
426
426
  def list_nexus(options={}) path = "/api/v2/definitions/nexus"
427
- get(path, options, "22.2.0") end
427
+ get(path, options, "22.2.1") end
428
428
 
429
429
  # List all nexus that apply to a specific address.
430
430
  #
@@ -447,7 +447,7 @@ module AvaTax
447
447
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
448
448
  # @return [FetchResult]
449
449
  def list_nexus_by_address(options={}) path = "/api/v2/definitions/nexus/byaddress"
450
- get(path, options, "22.2.0") end
450
+ get(path, options, "22.2.1") end
451
451
 
452
452
  # Retrieve the full list of Avalara-supported nexus for a country.
453
453
  #
@@ -462,7 +462,7 @@ module AvaTax
462
462
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
463
463
  # @return [FetchResult]
464
464
  def list_nexus_by_country(country, options={}) path = "/api/v2/definitions/nexus/#{country}"
465
- get(path, options, "22.2.0") end
465
+ get(path, options, "22.2.1") end
466
466
 
467
467
  # Retrieve the full list of Avalara-supported nexus for a country and region.
468
468
  #
@@ -478,7 +478,7 @@ module AvaTax
478
478
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
479
479
  # @return [FetchResult]
480
480
  def list_nexus_by_country_and_region(country, region, options={}) path = "/api/v2/definitions/nexus/#{country}/#{region}"
481
- get(path, options, "22.2.0") end
481
+ get(path, options, "22.2.1") end
482
482
 
483
483
  # List nexus related to a tax form
484
484
  #
@@ -501,7 +501,7 @@ module AvaTax
501
501
  # @param formCode [String] The form code that we are looking up the nexus for
502
502
  # @return [Object]
503
503
  def list_nexus_by_form_code(formCode) path = "/api/v2/definitions/nexus/byform/#{formCode}"
504
- get(path, {}, "22.2.0") end
504
+ get(path, {}, "22.2.1") end
505
505
 
506
506
  # Retrieve the full list of Avalara-supported nexus for a tax type group.
507
507
  #
@@ -516,7 +516,7 @@ module AvaTax
516
516
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
517
517
  # @return [FetchResult]
518
518
  def list_nexus_by_tax_type_group(taxTypeGroup, options={}) path = "/api/v2/definitions/nexus/bytaxtypegroup/#{taxTypeGroup}"
519
- get(path, options, "22.2.0") end
519
+ get(path, options, "22.2.1") end
520
520
 
521
521
  # Retrieve the full list of nexus tax type groups
522
522
  #
@@ -529,7 +529,7 @@ module AvaTax
529
529
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
530
530
  # @return [FetchResult]
531
531
  def list_nexus_tax_type_groups(options={}) path = "/api/v2/definitions/nexustaxtypegroups"
532
- get(path, options, "22.2.0") end
532
+ get(path, options, "22.2.1") end
533
533
 
534
534
  # Retrieve the full list of Avalara-supported tax notice customer funding options.
535
535
  #
@@ -542,7 +542,7 @@ module AvaTax
542
542
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
543
543
  # @return [FetchResult]
544
544
  def list_notice_customer_funding_options(options={}) path = "/api/v2/definitions/noticecustomerfundingoptions"
545
- get(path, options, "22.2.0") end
545
+ get(path, options, "22.2.1") end
546
546
 
547
547
  # Retrieve the full list of Avalara-supported tax notice customer types.
548
548
  #
@@ -555,7 +555,7 @@ module AvaTax
555
555
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
556
556
  # @return [FetchResult]
557
557
  def list_notice_customer_types(options={}) path = "/api/v2/definitions/noticecustomertypes"
558
- get(path, options, "22.2.0") end
558
+ get(path, options, "22.2.1") end
559
559
 
560
560
  # Retrieve the full list of Avalara-supported tax notice filing types.
561
561
  #
@@ -568,7 +568,7 @@ module AvaTax
568
568
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
569
569
  # @return [FetchResult]
570
570
  def list_notice_filingtypes(options={}) path = "/api/v2/definitions/noticefilingtypes"
571
- get(path, options, "22.2.0") end
571
+ get(path, options, "22.2.1") end
572
572
 
573
573
  # Retrieve the full list of Avalara-supported tax notice priorities.
574
574
  #
@@ -581,7 +581,7 @@ module AvaTax
581
581
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
582
582
  # @return [FetchResult]
583
583
  def list_notice_priorities(options={}) path = "/api/v2/definitions/noticepriorities"
584
- get(path, options, "22.2.0") end
584
+ get(path, options, "22.2.1") end
585
585
 
586
586
  # Retrieve the full list of Avalara-supported tax notice reasons.
587
587
  #
@@ -594,7 +594,7 @@ module AvaTax
594
594
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
595
595
  # @return [FetchResult]
596
596
  def list_notice_reasons(options={}) path = "/api/v2/definitions/noticereasons"
597
- get(path, options, "22.2.0") end
597
+ get(path, options, "22.2.1") end
598
598
 
599
599
  # Retrieve the full list of Avalara-supported tax notice responsibility ids
600
600
  #
@@ -607,7 +607,7 @@ module AvaTax
607
607
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
608
608
  # @return [FetchResult]
609
609
  def list_notice_responsibilities(options={}) path = "/api/v2/definitions/noticeresponsibilities"
610
- get(path, options, "22.2.0") end
610
+ get(path, options, "22.2.1") end
611
611
 
612
612
  # Retrieve the full list of Avalara-supported tax notice root causes
613
613
  #
@@ -620,7 +620,7 @@ module AvaTax
620
620
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
621
621
  # @return [FetchResult]
622
622
  def list_notice_root_causes(options={}) path = "/api/v2/definitions/noticerootcauses"
623
- get(path, options, "22.2.0") end
623
+ get(path, options, "22.2.1") end
624
624
 
625
625
  # Retrieve the full list of Avalara-supported tax notice statuses.
626
626
  #
@@ -633,7 +633,7 @@ module AvaTax
633
633
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
634
634
  # @return [FetchResult]
635
635
  def list_notice_statuses(options={}) path = "/api/v2/definitions/noticestatuses"
636
- get(path, options, "22.2.0") end
636
+ get(path, options, "22.2.1") end
637
637
 
638
638
  # Retrieve the full list of Avalara-supported tax notice types.
639
639
  #
@@ -646,7 +646,7 @@ module AvaTax
646
646
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
647
647
  # @return [FetchResult]
648
648
  def list_notice_types(options={}) path = "/api/v2/definitions/noticetypes"
649
- get(path, options, "22.2.0") end
649
+ get(path, options, "22.2.1") end
650
650
 
651
651
  # Retrieve the full list of Avalara-supported extra parameters for creating transactions.
652
652
  #
@@ -660,7 +660,7 @@ module AvaTax
660
660
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
661
661
  # @return [FetchResult]
662
662
  def list_parameters(options={}) path = "/api/v2/definitions/parameters"
663
- get(path, options, "22.2.0") end
663
+ get(path, options, "22.2.1") end
664
664
 
665
665
  # Retrieve the parameters by companyCode and itemCode.
666
666
  #
@@ -687,7 +687,7 @@ module AvaTax
687
687
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
688
688
  # @return [FetchResult]
689
689
  def list_parameters_by_item(companyCode, itemCode, options={}) path = "/api/v2/definitions/parameters/byitem/#{companyCode}/#{itemCode}"
690
- get(path, options, "22.2.0") end
690
+ get(path, options, "22.2.1") end
691
691
 
692
692
  # Retrieve the full list of Avalara-supported usage of extra parameters for creating transactions.
693
693
  #
@@ -701,7 +701,7 @@ module AvaTax
701
701
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
702
702
  # @return [FetchResult]
703
703
  def list_parameters_usage(options={}) path = "/api/v2/definitions/parametersusage"
704
- get(path, options, "22.2.0") end
704
+ get(path, options, "22.2.1") end
705
705
 
706
706
  # Retrieve the full list of Avalara-supported permissions
707
707
  #
@@ -712,7 +712,7 @@ module AvaTax
712
712
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
713
713
  # @return [FetchResult]
714
714
  def list_permissions(options={}) path = "/api/v2/definitions/permissions"
715
- get(path, options, "22.2.0") end
715
+ get(path, options, "22.2.1") end
716
716
 
717
717
  # Retrieve the full list of Avalara-supported postal codes.
718
718
  #
@@ -724,7 +724,7 @@ module AvaTax
724
724
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
725
725
  # @return [FetchResult]
726
726
  def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
727
- get(path, options, "22.2.0") end
727
+ get(path, options, "22.2.1") end
728
728
 
729
729
  # List all customs duty programs recognized by AvaTax
730
730
  #
@@ -744,7 +744,7 @@ module AvaTax
744
744
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
745
745
  # @return [FetchResult]
746
746
  def list_preferred_programs(options={}) path = "/api/v2/definitions/preferredprograms"
747
- get(path, options, "22.2.0") end
747
+ get(path, options, "22.2.1") end
748
748
 
749
749
  # List all available product classification systems.
750
750
  #
@@ -760,7 +760,7 @@ module AvaTax
760
760
  # @param countryCode [String] If not null, return all records with this code.
761
761
  # @return [FetchResult]
762
762
  def list_product_classification_systems(options={}) path = "/api/v2/definitions/productclassificationsystems"
763
- get(path, options, "22.2.0") end
763
+ get(path, options, "22.2.1") end
764
764
 
765
765
  # List all product classification systems available to a company based on its nexus.
766
766
  #
@@ -785,7 +785,7 @@ module AvaTax
785
785
  # @param countryCode [String] If not null, return all records with this code.
786
786
  # @return [FetchResult]
787
787
  def list_product_classification_systems_by_company(companyCode, options={}) path = "/api/v2/definitions/productclassificationsystems/bycompany/#{companyCode}"
788
- get(path, options, "22.2.0") end
788
+ get(path, options, "22.2.1") end
789
789
 
790
790
  # Retrieve the full list of rate types for each country
791
791
  #
@@ -799,7 +799,7 @@ module AvaTax
799
799
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
800
800
  # @return [FetchResult]
801
801
  def list_rate_types_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/ratetypes"
802
- get(path, options, "22.2.0") end
802
+ get(path, options, "22.2.1") end
803
803
 
804
804
  # Retrieve the list of rate types by country, TaxType and by TaxSubType
805
805
  #
@@ -815,7 +815,7 @@ module AvaTax
815
815
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
816
816
  # @return [FetchResult]
817
817
  def list_rate_types_by_country_tax_type_tax_sub_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}/ratetypes"
818
- get(path, options, "22.2.0") end
818
+ get(path, options, "22.2.1") end
819
819
 
820
820
  # List all ISO 3166 regions
821
821
  #
@@ -829,7 +829,7 @@ module AvaTax
829
829
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
830
830
  # @return [FetchResult]
831
831
  def list_regions(options={}) path = "/api/v2/definitions/regions"
832
- get(path, options, "22.2.0") end
832
+ get(path, options, "22.2.1") end
833
833
 
834
834
  # List all ISO 3166 regions for a country
835
835
  #
@@ -844,7 +844,7 @@ module AvaTax
844
844
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
845
845
  # @return [FetchResult]
846
846
  def list_regions_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/regions"
847
- get(path, options, "22.2.0") end
847
+ get(path, options, "22.2.1") end
848
848
 
849
849
  # Retrieve the full list of Avalara-supported resource file types
850
850
  #
@@ -857,7 +857,7 @@ module AvaTax
857
857
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
858
858
  # @return [FetchResult]
859
859
  def list_resource_file_types(options={}) path = "/api/v2/definitions/resourcefiletypes"
860
- get(path, options, "22.2.0") end
860
+ get(path, options, "22.2.1") end
861
861
 
862
862
  # Retrieve the full list of Avalara-supported usage of parameters used for returns.
863
863
  #
@@ -871,7 +871,7 @@ module AvaTax
871
871
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
872
872
  # @return [FetchResult]
873
873
  def list_returns_parameters_usage(options={}) path = "/api/v2/definitions/returns/parametersusage"
874
- get(path, options, "22.2.0") end
874
+ get(path, options, "22.2.1") end
875
875
 
876
876
  # Retrieve the full list of Avalara-supported permissions
877
877
  #
@@ -885,7 +885,7 @@ module AvaTax
885
885
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
886
886
  # @return [FetchResult]
887
887
  def list_security_roles(options={}) path = "/api/v2/definitions/securityroles"
888
- get(path, options, "22.2.0") end
888
+ get(path, options, "22.2.1") end
889
889
 
890
890
  # Retrieve the full list of Avalara-supported subscription types
891
891
  #
@@ -900,7 +900,7 @@ module AvaTax
900
900
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
901
901
  # @return [FetchResult]
902
902
  def list_subscription_types(options={}) path = "/api/v2/definitions/subscriptiontypes"
903
- get(path, options, "22.2.0") end
903
+ get(path, options, "22.2.1") end
904
904
 
905
905
  # Retrieve the list all tags supported by avalara
906
906
  #
@@ -912,7 +912,7 @@ module AvaTax
912
912
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
913
913
  # @return [FetchResult]
914
914
  def list_tags(options={}) path = "/api/v2/definitions/tags"
915
- get(path, options, "22.2.0") end
915
+ get(path, options, "22.2.1") end
916
916
 
917
917
  # Retrieve the full list of Avalara-supported tax authorities.
918
918
  #
@@ -925,7 +925,7 @@ module AvaTax
925
925
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
926
926
  # @return [FetchResult]
927
927
  def list_tax_authorities(options={}) path = "/api/v2/definitions/taxauthorities"
928
- get(path, options, "22.2.0") end
928
+ get(path, options, "22.2.1") end
929
929
 
930
930
  # Retrieve the full list of Avalara-supported forms for each tax authority.
931
931
  #
@@ -940,7 +940,7 @@ module AvaTax
940
940
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
941
941
  # @return [FetchResult]
942
942
  def list_tax_authority_forms(options={}) path = "/api/v2/definitions/taxauthorityforms"
943
- get(path, options, "22.2.0") end
943
+ get(path, options, "22.2.1") end
944
944
 
945
945
  # Retrieve the full list of Avalara-supported tax authority types.
946
946
  #
@@ -953,7 +953,7 @@ module AvaTax
953
953
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
954
954
  # @return [FetchResult]
955
955
  def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxauthoritytypes"
956
- get(path, options, "22.2.0") end
956
+ get(path, options, "22.2.1") end
957
957
 
958
958
  # Retrieve the full list of Avalara-supported tax codes.
959
959
  #
@@ -973,7 +973,7 @@ module AvaTax
973
973
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
974
974
  # @return [FetchResult]
975
975
  def list_tax_codes(options={}) path = "/api/v2/definitions/taxcodes"
976
- get(path, options, "22.2.0") end
976
+ get(path, options, "22.2.1") end
977
977
 
978
978
  # Retrieve the full list of Avalara-supported tax code types.
979
979
  #
@@ -985,7 +985,7 @@ module AvaTax
985
985
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
986
986
  # @return [Object]
987
987
  def list_tax_code_types(options={}) path = "/api/v2/definitions/taxcodetypes"
988
- get(path, options, "22.2.0") end
988
+ get(path, options, "22.2.1") end
989
989
 
990
990
  # Retrieve the full list of the Tax Forms available
991
991
  #
@@ -998,7 +998,7 @@ module AvaTax
998
998
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
999
999
  # @return [FetchResult]
1000
1000
  def list_tax_forms(options={}) path = "/api/v2/definitions/taxforms"
1001
- get(path, options, "22.2.0") end
1001
+ get(path, options, "22.2.1") end
1002
1002
 
1003
1003
  # Retrieve the full list of tax sub types
1004
1004
  #
@@ -1011,7 +1011,7 @@ module AvaTax
1011
1011
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1012
1012
  # @return [FetchResult]
1013
1013
  def list_tax_sub_types(options={}) path = "/api/v2/definitions/taxsubtypes"
1014
- get(path, options, "22.2.0") end
1014
+ get(path, options, "22.2.1") end
1015
1015
 
1016
1016
  # Retrieve the full list of tax sub types by Country and TaxType
1017
1017
  #
@@ -1026,7 +1026,7 @@ module AvaTax
1026
1026
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1027
1027
  # @return [FetchResult]
1028
1028
  def list_tax_sub_types_by_country_and_tax_type(country, taxTypeId, options={}) path = "/api/v2/definitions/taxsubtypes/countries/#{country}/taxtypes/#{taxTypeId}"
1029
- get(path, options, "22.2.0") end
1029
+ get(path, options, "22.2.1") end
1030
1030
 
1031
1031
  # Retrieve the full list of tax sub types by jurisdiction code and region
1032
1032
  #
@@ -1041,7 +1041,7 @@ module AvaTax
1041
1041
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1042
1042
  # @return [FetchResult]
1043
1043
  def list_tax_sub_types_by_jurisdiction_and_region(jurisdictionCode, region, options={}) path = "/api/v2/definitions/taxsubtypes/#{jurisdictionCode}/#{region}"
1044
- get(path, options, "22.2.0") end
1044
+ get(path, options, "22.2.1") end
1045
1045
 
1046
1046
  # Retrieve the full list of tax type groups
1047
1047
  #
@@ -1054,7 +1054,7 @@ module AvaTax
1054
1054
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1055
1055
  # @return [FetchResult]
1056
1056
  def list_tax_type_groups(options={}) path = "/api/v2/definitions/taxtypegroups"
1057
- get(path, options, "22.2.0") end
1057
+ get(path, options, "22.2.1") end
1058
1058
 
1059
1059
  # Retrieve the list of applicable TaxTypes
1060
1060
  #
@@ -1067,7 +1067,7 @@ module AvaTax
1067
1067
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1068
1068
  # @return [FetchResult]
1069
1069
  def list_tax_types_by_nexus_and_country(country, options={}) path = "/api/v2/definitions/taxtypes/countries/#{country}"
1070
- get(path, options, "22.2.0") end
1070
+ get(path, options, "22.2.1") end
1071
1071
 
1072
1072
  # Retrieve the list of applicable UnitOfBasis
1073
1073
  #
@@ -1082,7 +1082,7 @@ module AvaTax
1082
1082
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1083
1083
  # @return [FetchResult]
1084
1084
  def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/unitofbasis/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
1085
- get(path, options, "22.2.0") end
1085
+ get(path, options, "22.2.1") end
1086
1086
 
1087
1087
  # List all defined units of measurement
1088
1088
  #
@@ -1096,7 +1096,7 @@ module AvaTax
1096
1096
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
1097
1097
  # @return [FetchResult]
1098
1098
  def list_unit_of_measurement(options={}) path = "/api/v2/definitions/unitofmeasurements"
1099
- get(path, options, "22.2.0") end
1099
+ get(path, options, "22.2.1") end
1100
1100
  end
1101
1101
  end
1102
1102
  end
@@ -19,7 +19,7 @@ module AvaTax
19
19
  # @param model [CompanyDistanceThresholdModel[]] The DistanceThreshold object or objects you wish to create.
20
20
  # @return [CompanyDistanceThresholdModel[]]
21
21
  def create_distance_threshold(companyId, model) path = "/api/v2/companies/#{companyId}/distancethresholds"
22
- post(path, model, {}, "22.2.0") end
22
+ post(path, model, {}, "22.2.1") end
23
23
 
24
24
  # Delete a single DistanceThreshold object
25
25
  #
@@ -37,7 +37,7 @@ module AvaTax
37
37
  # @param id [Integer] The unique ID number of the DistanceThreshold object you wish to delete.
38
38
  # @return [ErrorDetail[]]
39
39
  def delete_distance_threshold(companyId, id) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
40
- delete(path, {}, "22.2.0") end
40
+ delete(path, {}, "22.2.1") end
41
41
 
42
42
  # Retrieve a single DistanceThreshold
43
43
  #
@@ -55,7 +55,7 @@ module AvaTax
55
55
  # @param id [Integer] The unique ID number referring to this DistanceThreshold object
56
56
  # @return [Object]
57
57
  def get_distance_threshold(companyId, id) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
58
- get(path, {}, "22.2.0") end
58
+ get(path, {}, "22.2.1") end
59
59
 
60
60
  # Retrieve all DistanceThresholds for this company.
61
61
  #
@@ -77,7 +77,7 @@ module AvaTax
77
77
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
78
78
  # @return [FetchResult]
79
79
  def list_distance_thresholds(companyId, options={}) path = "/api/v2/companies/#{companyId}/distancethresholds"
80
- get(path, options, "22.2.0") end
80
+ get(path, options, "22.2.1") end
81
81
 
82
82
  # Retrieve all DistanceThreshold objects
83
83
  #
@@ -101,7 +101,7 @@ module AvaTax
101
101
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
102
102
  # @return [FetchResult]
103
103
  def query_distance_thresholds(options={}) path = "/api/v2/distancethresholds"
104
- get(path, options, "22.2.0") end
104
+ get(path, options, "22.2.1") end
105
105
 
106
106
  # Update a DistanceThreshold object
107
107
  #
@@ -123,7 +123,7 @@ module AvaTax
123
123
  # @param model [Object] The new DistanceThreshold object to store.
124
124
  # @return [Object]
125
125
  def update_distance_threshold(companyId, id, model) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
126
- put(path, model, {}, "22.2.0") end
126
+ put(path, model, {}, "22.2.1") end
127
127
  end
128
128
  end
129
129
  end