avalara_sdk 25.6.0 → 25.7.0
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/README.md +17 -3
- data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
- data/docs/A1099/V2/CompaniesW9Api.md +45 -31
- data/docs/A1099/V2/CoveredIndividualReference.md +58 -0
- data/docs/A1099/V2/CoveredIndividualRequest.md +54 -0
- data/docs/A1099/V2/Form1095B.md +86 -0
- data/docs/A1099/V2/Form1095BList.md +20 -0
- data/docs/A1099/V2/Form1095BListItem.md +74 -0
- data/docs/A1099/V2/Form1095BRequest.md +76 -0
- data/docs/A1099/V2/Form1099Base.md +8 -8
- data/docs/A1099/V2/Form1099DivListItem.md +11 -11
- data/docs/A1099/V2/Form1099DivRequest.md +11 -17
- data/docs/A1099/V2/Form1099DivResponse.md +88 -0
- data/docs/A1099/V2/Form1099K.md +8 -8
- data/docs/A1099/V2/Form1099KListItem.md +11 -11
- data/docs/A1099/V2/Form1099KRequest.md +11 -17
- data/docs/A1099/V2/Form1099List.md +1 -1
- data/docs/A1099/V2/Form1099ListDataInner.md +32 -0
- data/docs/A1099/V2/Form1099Misc.md +8 -8
- data/docs/A1099/V2/Form1099MiscListItem.md +11 -11
- data/docs/A1099/V2/Form1099MiscRequest.md +11 -17
- data/docs/A1099/V2/Form1099MiscResponse.md +120 -0
- data/docs/A1099/V2/Form1099Nec.md +8 -8
- data/docs/A1099/V2/Form1099NecListItem.md +11 -11
- data/docs/A1099/V2/Form1099NecRequest.md +11 -17
- data/docs/A1099/V2/Form1099NecResponse.md +96 -0
- data/docs/A1099/V2/Form1099R.md +8 -8
- data/docs/A1099/V2/Form1099RListItem.md +11 -11
- data/docs/A1099/V2/Form1099RRequest.md +11 -17
- data/docs/A1099/V2/FormRequestBase.md +9 -13
- data/docs/A1099/V2/FormRequestCsvBase.md +66 -0
- data/docs/A1099/V2/FormResponseBase.md +43 -9
- data/docs/A1099/V2/FormSingleRequestBase.md +11 -15
- data/docs/A1099/V2/Forms1099Api.md +75 -57
- data/docs/A1099/V2/FormsW9Api.md +63 -123
- data/docs/A1099/V2/Get1099Form200Response.md +55 -0
- data/docs/A1099/V2/IncludedBase.md +20 -0
- data/docs/A1099/V2/Issuers1099Api.md +45 -31
- data/docs/A1099/V2/Jobs1099Api.md +10 -6
- data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +32 -0
- data/docs/A1099/V2/StateEfileStatusDetail.md +1 -1
- data/docs/A1099/V2/StateEfileStatusDetailApp.md +22 -0
- data/docs/A1099/V2/StatusDetail.md +20 -0
- data/docs/A1099/V2/Update1099Form200Response.md +53 -0
- data/docs/A1099/V2/ValidationErrorApp.md +20 -0
- data/docs/EInvoicing/V1/DataInputFieldsApi.md +4 -4
- data/docs/EInvoicing/V1/DocumentsApi.md +2 -2
- data/docs/EInvoicing/V1/MandatesApi.md +4 -4
- data/docs/EInvoicing/V1/SubscriptionsApi.md +4 -4
- data/docs/EInvoicing/V1/TradingPartnersApi.md +4 -4
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +103 -43
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +171 -87
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +135 -176
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +103 -43
- data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +19 -7
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +6 -6
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +4 -4
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +6 -6
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +6 -6
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +7 -7
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +403 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +378 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +572 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +538 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +559 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +29 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +78 -36
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +80 -53
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +600 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +29 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -37
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +80 -54
- data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +20 -68
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +29 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +78 -36
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +80 -53
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +744 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +29 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +78 -36
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +80 -53
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +636 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +29 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +56 -36
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +80 -53
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +68 -44
- data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +475 -0
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +252 -31
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +80 -44
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +104 -0
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +219 -0
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +274 -0
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +231 -0
- data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +103 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +229 -0
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +17 -0
- data/spec/integration/a1099_spec.rb +12 -12
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- metadata +36 -2
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.7.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -227,7 +227,7 @@ module AvalaraSdk::A1099
|
|
227
227
|
|
228
228
|
# Create an issuer
|
229
229
|
# Create a new issuer
|
230
|
-
# @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param issuer_command [IssuerCommand] The issuer to create
|
230
|
+
# @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param issuer_command [IssuerCommand] The issuer to create
|
231
231
|
# @return [IssuerResponse]
|
232
232
|
def create_issuer(request_parameters)
|
233
233
|
data, _status_code, _headers = create_issuer_with_http_info(request_parameters)
|
@@ -239,6 +239,7 @@ module AvalaraSdk::A1099
|
|
239
239
|
|
240
240
|
# @param avalara_version [String] API version
|
241
241
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
242
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
242
243
|
# @param issuer_command [IssuerCommand] The issuer to create
|
243
244
|
# @return [Array<(IssuerResponse, Integer, Hash)>] IssuerResponse data, response status code and response headers
|
244
245
|
def create_issuer_with_http_info(request_parameters)
|
@@ -247,15 +248,12 @@ module AvalaraSdk::A1099
|
|
247
248
|
# Request Parameters
|
248
249
|
avalara_version = request_parameters.get_avalara_version()
|
249
250
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
251
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
250
252
|
issuer_command = request_parameters.get_issuer_command()
|
251
253
|
# verify the required parameter 'avalara_version' is set
|
252
254
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
253
255
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Issuers1099Api.create_issuer"
|
254
256
|
end
|
255
|
-
# verify the required parameter 'x_correlation_id' is set
|
256
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
257
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Issuers1099Api.create_issuer"
|
258
|
-
end
|
259
257
|
# resource path
|
260
258
|
local_var_path = '/1099/issuers'
|
261
259
|
|
@@ -277,6 +275,9 @@ module AvalaraSdk::A1099
|
|
277
275
|
if !x_correlation_id.nil?
|
278
276
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
279
277
|
end
|
278
|
+
if !x_avalara_client.nil?
|
279
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
280
|
+
end
|
280
281
|
|
281
282
|
# form parameters
|
282
283
|
form_params = {}
|
@@ -313,7 +314,7 @@ module AvalaraSdk::A1099
|
|
313
314
|
|
314
315
|
# Delete an issuer
|
315
316
|
# Delete an issuer
|
316
|
-
# @param id [String] Id of the issuer to delete # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format
|
317
|
+
# @param id [String] Id of the issuer to delete # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
317
318
|
# @return [nil]
|
318
319
|
def delete_issuer(request_parameters)
|
319
320
|
delete_issuer_with_http_info(request_parameters)
|
@@ -326,6 +327,7 @@ module AvalaraSdk::A1099
|
|
326
327
|
# @param id [String] Id of the issuer to delete
|
327
328
|
# @param avalara_version [String] API version
|
328
329
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
330
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
329
331
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
330
332
|
def delete_issuer_with_http_info(request_parameters)
|
331
333
|
# OAuth2 Scopes
|
@@ -334,6 +336,7 @@ module AvalaraSdk::A1099
|
|
334
336
|
id = request_parameters.get_id()
|
335
337
|
avalara_version = request_parameters.get_avalara_version()
|
336
338
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
339
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
337
340
|
# verify the required parameter 'id' is set
|
338
341
|
if @api_client.config.client_side_validation && id.nil?
|
339
342
|
fail ArgumentError, "Missing the required parameter 'id' when calling Issuers1099Api.delete_issuer"
|
@@ -342,10 +345,6 @@ module AvalaraSdk::A1099
|
|
342
345
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
343
346
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Issuers1099Api.delete_issuer"
|
344
347
|
end
|
345
|
-
# verify the required parameter 'x_correlation_id' is set
|
346
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
347
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Issuers1099Api.delete_issuer"
|
348
|
-
end
|
349
348
|
# resource path
|
350
349
|
local_var_path = '/1099/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
351
350
|
|
@@ -362,6 +361,9 @@ module AvalaraSdk::A1099
|
|
362
361
|
if !x_correlation_id.nil?
|
363
362
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
364
363
|
end
|
364
|
+
if !x_avalara_client.nil?
|
365
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
366
|
+
end
|
365
367
|
|
366
368
|
# form parameters
|
367
369
|
form_params = {}
|
@@ -398,7 +400,7 @@ module AvalaraSdk::A1099
|
|
398
400
|
|
399
401
|
# Get an issuer
|
400
402
|
# Get an issuer
|
401
|
-
# @param id [String] # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format
|
403
|
+
# @param id [String] # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
402
404
|
# @return [IssuerResponse]
|
403
405
|
def get_issuer(request_parameters)
|
404
406
|
data, _status_code, _headers = get_issuer_with_http_info(request_parameters)
|
@@ -411,6 +413,7 @@ module AvalaraSdk::A1099
|
|
411
413
|
# @param id [String]
|
412
414
|
# @param avalara_version [String] API version
|
413
415
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
416
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
414
417
|
# @return [Array<(IssuerResponse, Integer, Hash)>] IssuerResponse data, response status code and response headers
|
415
418
|
def get_issuer_with_http_info(request_parameters)
|
416
419
|
# OAuth2 Scopes
|
@@ -419,6 +422,7 @@ module AvalaraSdk::A1099
|
|
419
422
|
id = request_parameters.get_id()
|
420
423
|
avalara_version = request_parameters.get_avalara_version()
|
421
424
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
425
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
422
426
|
# verify the required parameter 'id' is set
|
423
427
|
if @api_client.config.client_side_validation && id.nil?
|
424
428
|
fail ArgumentError, "Missing the required parameter 'id' when calling Issuers1099Api.get_issuer"
|
@@ -427,10 +431,6 @@ module AvalaraSdk::A1099
|
|
427
431
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
428
432
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Issuers1099Api.get_issuer"
|
429
433
|
end
|
430
|
-
# verify the required parameter 'x_correlation_id' is set
|
431
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
432
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Issuers1099Api.get_issuer"
|
433
|
-
end
|
434
434
|
# resource path
|
435
435
|
local_var_path = '/1099/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
436
436
|
|
@@ -447,6 +447,9 @@ module AvalaraSdk::A1099
|
|
447
447
|
if !x_correlation_id.nil?
|
448
448
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
449
449
|
end
|
450
|
+
if !x_avalara_client.nil?
|
451
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
452
|
+
end
|
450
453
|
|
451
454
|
# form parameters
|
452
455
|
form_params = {}
|
@@ -483,7 +486,7 @@ module AvalaraSdk::A1099
|
|
483
486
|
|
484
487
|
# List issuers
|
485
488
|
# List issuers for a given tax year. Filterable fields are name, referenceId and taxYear
|
486
|
-
# @param avalara_version [String] API version # @param
|
489
|
+
# @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>. # @param top [Integer] If zero or greater than 1000, return at most 1000 results. Otherwise, return 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 order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. # @param count [Boolean] If true, return the global count of elements in the collection. # @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true. # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
487
490
|
# @return [PaginatedQueryResultModelIssuerResponse]
|
488
491
|
def get_issuers(request_parameters)
|
489
492
|
data, _status_code, _headers = get_issuers_with_http_info(request_parameters)
|
@@ -494,34 +497,32 @@ module AvalaraSdk::A1099
|
|
494
497
|
# List issuers for a given tax year. Filterable fields are name, referenceId and taxYear
|
495
498
|
|
496
499
|
# @param avalara_version [String] API version
|
497
|
-
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
498
500
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
|
499
501
|
# @param top [Integer] If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets.
|
500
502
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
501
503
|
# @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
502
504
|
# @param count [Boolean] If true, return the global count of elements in the collection.
|
503
505
|
# @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
506
|
+
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
507
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
504
508
|
# @return [Array<(PaginatedQueryResultModelIssuerResponse, Integer, Hash)>] PaginatedQueryResultModelIssuerResponse data, response status code and response headers
|
505
509
|
def get_issuers_with_http_info(request_parameters)
|
506
510
|
# OAuth2 Scopes
|
507
511
|
required_scopes = ''
|
508
512
|
# Request Parameters
|
509
513
|
avalara_version = request_parameters.get_avalara_version()
|
510
|
-
x_correlation_id = request_parameters.get_x_correlation_id()
|
511
514
|
filter = request_parameters.get_filter()
|
512
515
|
top = request_parameters.get_top()
|
513
516
|
skip = request_parameters.get_skip()
|
514
517
|
order_by = request_parameters.get_order_by()
|
515
518
|
count = request_parameters.get_count()
|
516
519
|
count_only = request_parameters.get_count_only()
|
520
|
+
x_correlation_id = request_parameters.get_x_correlation_id()
|
521
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
517
522
|
# verify the required parameter 'avalara_version' is set
|
518
523
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
519
524
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Issuers1099Api.get_issuers"
|
520
525
|
end
|
521
|
-
# verify the required parameter 'x_correlation_id' is set
|
522
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
523
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Issuers1099Api.get_issuers"
|
524
|
-
end
|
525
526
|
# resource path
|
526
527
|
local_var_path = '/1099/issuers'
|
527
528
|
|
@@ -556,6 +557,9 @@ module AvalaraSdk::A1099
|
|
556
557
|
if !x_correlation_id.nil?
|
557
558
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
558
559
|
end
|
560
|
+
if !x_avalara_client.nil?
|
561
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
562
|
+
end
|
559
563
|
|
560
564
|
# form parameters
|
561
565
|
form_params = {}
|
@@ -592,7 +596,7 @@ module AvalaraSdk::A1099
|
|
592
596
|
|
593
597
|
# Update an issuer
|
594
598
|
# Update an existing issuer
|
595
|
-
# @param id [String] Id of the issuer to Update # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param issuer_command [IssuerCommand] The issuer to update
|
599
|
+
# @param id [String] Id of the issuer to Update # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param issuer_command [IssuerCommand] The issuer to update
|
596
600
|
# @return [nil]
|
597
601
|
def update_issuer(request_parameters)
|
598
602
|
update_issuer_with_http_info(request_parameters)
|
@@ -605,6 +609,7 @@ module AvalaraSdk::A1099
|
|
605
609
|
# @param id [String] Id of the issuer to Update
|
606
610
|
# @param avalara_version [String] API version
|
607
611
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
612
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
608
613
|
# @param issuer_command [IssuerCommand] The issuer to update
|
609
614
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
610
615
|
def update_issuer_with_http_info(request_parameters)
|
@@ -614,6 +619,7 @@ module AvalaraSdk::A1099
|
|
614
619
|
id = request_parameters.get_id()
|
615
620
|
avalara_version = request_parameters.get_avalara_version()
|
616
621
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
622
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
617
623
|
issuer_command = request_parameters.get_issuer_command()
|
618
624
|
# verify the required parameter 'id' is set
|
619
625
|
if @api_client.config.client_side_validation && id.nil?
|
@@ -623,10 +629,6 @@ module AvalaraSdk::A1099
|
|
623
629
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
624
630
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Issuers1099Api.update_issuer"
|
625
631
|
end
|
626
|
-
# verify the required parameter 'x_correlation_id' is set
|
627
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
628
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Issuers1099Api.update_issuer"
|
629
|
-
end
|
630
632
|
# resource path
|
631
633
|
local_var_path = '/1099/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
632
634
|
|
@@ -648,6 +650,9 @@ module AvalaraSdk::A1099
|
|
648
650
|
if !x_correlation_id.nil?
|
649
651
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
650
652
|
end
|
653
|
+
if !x_avalara_client.nil?
|
654
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
655
|
+
end
|
651
656
|
|
652
657
|
# form parameters
|
653
658
|
form_params = {}
|
@@ -685,7 +690,8 @@ module AvalaraSdk::A1099
|
|
685
690
|
# Represents the Request object for the CreateIssuer API
|
686
691
|
#
|
687
692
|
# @param String $avalara_version API version (required)
|
688
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (
|
693
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
694
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
689
695
|
# @param IssuerCommand $issuer_command The issuer to create (optional)
|
690
696
|
#
|
691
697
|
class CreateIssuerRequestSdk
|
@@ -693,6 +699,8 @@ module AvalaraSdk::A1099
|
|
693
699
|
|
694
700
|
attr_accessor :x_correlation_id
|
695
701
|
|
702
|
+
attr_accessor :x_avalara_client
|
703
|
+
|
696
704
|
attr_accessor :issuer_command
|
697
705
|
|
698
706
|
def initialize()
|
@@ -714,6 +722,14 @@ module AvalaraSdk::A1099
|
|
714
722
|
@x_correlation_id = x_correlation_id
|
715
723
|
end
|
716
724
|
|
725
|
+
def get_x_avalara_client()
|
726
|
+
return @x_avalara_client
|
727
|
+
end
|
728
|
+
|
729
|
+
def set_x_avalara_client(x_avalara_client)
|
730
|
+
@x_avalara_client = x_avalara_client
|
731
|
+
end
|
732
|
+
|
717
733
|
def get_issuer_command()
|
718
734
|
return @issuer_command
|
719
735
|
end
|
@@ -726,7 +742,8 @@ module AvalaraSdk::A1099
|
|
726
742
|
#
|
727
743
|
# @param String $id Id of the issuer to delete (required)
|
728
744
|
# @param String $avalara_version API version (required)
|
729
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (
|
745
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
746
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
730
747
|
#
|
731
748
|
class DeleteIssuerRequestSdk
|
732
749
|
attr_accessor :id
|
@@ -735,6 +752,8 @@ module AvalaraSdk::A1099
|
|
735
752
|
|
736
753
|
attr_accessor :x_correlation_id
|
737
754
|
|
755
|
+
attr_accessor :x_avalara_client
|
756
|
+
|
738
757
|
def initialize()
|
739
758
|
end
|
740
759
|
|
@@ -761,12 +780,21 @@ module AvalaraSdk::A1099
|
|
761
780
|
def set_x_correlation_id(x_correlation_id)
|
762
781
|
@x_correlation_id = x_correlation_id
|
763
782
|
end
|
783
|
+
|
784
|
+
def get_x_avalara_client()
|
785
|
+
return @x_avalara_client
|
786
|
+
end
|
787
|
+
|
788
|
+
def set_x_avalara_client(x_avalara_client)
|
789
|
+
@x_avalara_client = x_avalara_client
|
790
|
+
end
|
764
791
|
end
|
765
792
|
# Represents the Request object for the GetIssuer API
|
766
793
|
#
|
767
794
|
# @param String $id id (required)
|
768
795
|
# @param String $avalara_version API version (required)
|
769
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (
|
796
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
797
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
770
798
|
#
|
771
799
|
class GetIssuerRequestSdk
|
772
800
|
attr_accessor :id
|
@@ -775,6 +803,8 @@ module AvalaraSdk::A1099
|
|
775
803
|
|
776
804
|
attr_accessor :x_correlation_id
|
777
805
|
|
806
|
+
attr_accessor :x_avalara_client
|
807
|
+
|
778
808
|
def initialize()
|
779
809
|
end
|
780
810
|
|
@@ -801,23 +831,30 @@ module AvalaraSdk::A1099
|
|
801
831
|
def set_x_correlation_id(x_correlation_id)
|
802
832
|
@x_correlation_id = x_correlation_id
|
803
833
|
end
|
834
|
+
|
835
|
+
def get_x_avalara_client()
|
836
|
+
return @x_avalara_client
|
837
|
+
end
|
838
|
+
|
839
|
+
def set_x_avalara_client(x_avalara_client)
|
840
|
+
@x_avalara_client = x_avalara_client
|
841
|
+
end
|
804
842
|
end
|
805
843
|
# Represents the Request object for the GetIssuers API
|
806
844
|
#
|
807
845
|
# @param String $avalara_version API version (required)
|
808
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (required)
|
809
846
|
# @param String $filter A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>. (optional)
|
810
847
|
# @param Integer $top If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. (optional)
|
811
848
|
# @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional)
|
812
849
|
# @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. (optional)
|
813
850
|
# @param Boolean $count If true, return the global count of elements in the collection. (optional)
|
814
851
|
# @param Boolean $count_only If true, return ONLY the global count of elements in the collection. It only applies when count=true. (optional)
|
852
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
853
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
815
854
|
#
|
816
855
|
class GetIssuersRequestSdk
|
817
856
|
attr_accessor :avalara_version
|
818
857
|
|
819
|
-
attr_accessor :x_correlation_id
|
820
|
-
|
821
858
|
attr_accessor :filter
|
822
859
|
|
823
860
|
attr_accessor :top
|
@@ -830,6 +867,10 @@ module AvalaraSdk::A1099
|
|
830
867
|
|
831
868
|
attr_accessor :count_only
|
832
869
|
|
870
|
+
attr_accessor :x_correlation_id
|
871
|
+
|
872
|
+
attr_accessor :x_avalara_client
|
873
|
+
|
833
874
|
def initialize()
|
834
875
|
end
|
835
876
|
|
@@ -841,14 +882,6 @@ module AvalaraSdk::A1099
|
|
841
882
|
@avalara_version = avalara_version
|
842
883
|
end
|
843
884
|
|
844
|
-
def get_x_correlation_id()
|
845
|
-
return @x_correlation_id
|
846
|
-
end
|
847
|
-
|
848
|
-
def set_x_correlation_id(x_correlation_id)
|
849
|
-
@x_correlation_id = x_correlation_id
|
850
|
-
end
|
851
|
-
|
852
885
|
def get_filter()
|
853
886
|
return @filter
|
854
887
|
end
|
@@ -896,12 +929,29 @@ module AvalaraSdk::A1099
|
|
896
929
|
def set_count_only(count_only)
|
897
930
|
@count_only = count_only
|
898
931
|
end
|
932
|
+
|
933
|
+
def get_x_correlation_id()
|
934
|
+
return @x_correlation_id
|
935
|
+
end
|
936
|
+
|
937
|
+
def set_x_correlation_id(x_correlation_id)
|
938
|
+
@x_correlation_id = x_correlation_id
|
939
|
+
end
|
940
|
+
|
941
|
+
def get_x_avalara_client()
|
942
|
+
return @x_avalara_client
|
943
|
+
end
|
944
|
+
|
945
|
+
def set_x_avalara_client(x_avalara_client)
|
946
|
+
@x_avalara_client = x_avalara_client
|
947
|
+
end
|
899
948
|
end
|
900
949
|
# Represents the Request object for the UpdateIssuer API
|
901
950
|
#
|
902
951
|
# @param String $id Id of the issuer to Update (required)
|
903
952
|
# @param String $avalara_version API version (required)
|
904
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (
|
953
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
954
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
905
955
|
# @param IssuerCommand $issuer_command The issuer to update (optional)
|
906
956
|
#
|
907
957
|
class UpdateIssuerRequestSdk
|
@@ -911,6 +961,8 @@ module AvalaraSdk::A1099
|
|
911
961
|
|
912
962
|
attr_accessor :x_correlation_id
|
913
963
|
|
964
|
+
attr_accessor :x_avalara_client
|
965
|
+
|
914
966
|
attr_accessor :issuer_command
|
915
967
|
|
916
968
|
def initialize()
|
@@ -940,6 +992,14 @@ module AvalaraSdk::A1099
|
|
940
992
|
@x_correlation_id = x_correlation_id
|
941
993
|
end
|
942
994
|
|
995
|
+
def get_x_avalara_client()
|
996
|
+
return @x_avalara_client
|
997
|
+
end
|
998
|
+
|
999
|
+
def set_x_avalara_client(x_avalara_client)
|
1000
|
+
@x_avalara_client = x_avalara_client
|
1001
|
+
end
|
1002
|
+
|
943
1003
|
def get_issuer_command()
|
944
1004
|
return @issuer_command
|
945
1005
|
end
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.7.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -227,7 +227,7 @@ module AvalaraSdk::A1099
|
|
227
227
|
|
228
228
|
# Retrieves information about the job
|
229
229
|
# Retrieves information about the job
|
230
|
-
# @param id [String] Job id obtained from other API responses, like `/1099/bulk-upsert`. # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format
|
230
|
+
# @param id [String] Job id obtained from other API responses, like `/1099/bulk-upsert`. # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
231
231
|
# @return [JobResult]
|
232
232
|
def get_job(request_parameters)
|
233
233
|
data, _status_code, _headers = get_job_with_http_info(request_parameters)
|
@@ -240,6 +240,7 @@ module AvalaraSdk::A1099
|
|
240
240
|
# @param id [String] Job id obtained from other API responses, like `/1099/bulk-upsert`.
|
241
241
|
# @param avalara_version [String] API version
|
242
242
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
243
|
+
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
243
244
|
# @return [Array<(JobResult, Integer, Hash)>] JobResult data, response status code and response headers
|
244
245
|
def get_job_with_http_info(request_parameters)
|
245
246
|
# OAuth2 Scopes
|
@@ -248,6 +249,7 @@ module AvalaraSdk::A1099
|
|
248
249
|
id = request_parameters.get_id()
|
249
250
|
avalara_version = request_parameters.get_avalara_version()
|
250
251
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
252
|
+
x_avalara_client = request_parameters.get_x_avalara_client()
|
251
253
|
# verify the required parameter 'id' is set
|
252
254
|
if @api_client.config.client_side_validation && id.nil?
|
253
255
|
fail ArgumentError, "Missing the required parameter 'id' when calling Jobs1099Api.get_job"
|
@@ -256,10 +258,6 @@ module AvalaraSdk::A1099
|
|
256
258
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
257
259
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Jobs1099Api.get_job"
|
258
260
|
end
|
259
|
-
# verify the required parameter 'x_correlation_id' is set
|
260
|
-
if @api_client.config.client_side_validation && x_correlation_id.nil?
|
261
|
-
fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Jobs1099Api.get_job"
|
262
|
-
end
|
263
261
|
# resource path
|
264
262
|
local_var_path = '/1099/jobs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
265
263
|
|
@@ -276,6 +274,9 @@ module AvalaraSdk::A1099
|
|
276
274
|
if !x_correlation_id.nil?
|
277
275
|
header_params[:'X-Correlation-Id'] = x_correlation_id
|
278
276
|
end
|
277
|
+
if !x_avalara_client.nil?
|
278
|
+
header_params[:'X-Avalara-Client'] = x_avalara_client
|
279
|
+
end
|
279
280
|
|
280
281
|
# form parameters
|
281
282
|
form_params = {}
|
@@ -314,7 +315,8 @@ module AvalaraSdk::A1099
|
|
314
315
|
#
|
315
316
|
# @param String $id Job id obtained from other API responses, like `/1099/bulk-upsert`. (required)
|
316
317
|
# @param String $avalara_version API version (required)
|
317
|
-
# @param String $x_correlation_id Unique correlation Id in a GUID format (
|
318
|
+
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
319
|
+
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
318
320
|
#
|
319
321
|
class GetJobRequestSdk
|
320
322
|
attr_accessor :id
|
@@ -323,6 +325,8 @@ module AvalaraSdk::A1099
|
|
323
325
|
|
324
326
|
attr_accessor :x_correlation_id
|
325
327
|
|
328
|
+
attr_accessor :x_avalara_client
|
329
|
+
|
326
330
|
def initialize()
|
327
331
|
end
|
328
332
|
|
@@ -349,6 +353,14 @@ module AvalaraSdk::A1099
|
|
349
353
|
def set_x_correlation_id(x_correlation_id)
|
350
354
|
@x_correlation_id = x_correlation_id
|
351
355
|
end
|
356
|
+
|
357
|
+
def get_x_avalara_client()
|
358
|
+
return @x_avalara_client
|
359
|
+
end
|
360
|
+
|
361
|
+
def set_x_avalara_client(x_avalara_client)
|
362
|
+
@x_avalara_client = x_avalara_client
|
363
|
+
end
|
352
364
|
end
|
353
365
|
end
|
354
366
|
end
|
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.7.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -227,7 +227,7 @@ module AvalaraSdk::EInvoicing
|
|
227
227
|
|
228
228
|
# Returns the optionality of document fields for different country mandates
|
229
229
|
# This endpoint provides a list of required, conditional, and optional fields for each country mandate. You can use the <code>mandates</code> endpoint to retrieve all available country mandates. You can use the $filter query parameter to retrieve fields for a particular mandate
|
230
|
-
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. # @param top [Float]
|
230
|
+
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. # @param top [Float] The number of items to include in the result. # @param skip [String] If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets. # @param count [Boolean] When set to true, the count of the collection is also returned in the response body # @param count_only [Boolean] When set to true, only the count of the collection is returned
|
231
231
|
# @return [DataInputFieldsResponse]
|
232
232
|
def get_data_input_fields(request_parameters)
|
233
233
|
data, _status_code, _headers = get_data_input_fields_with_http_info(request_parameters)
|
@@ -240,8 +240,8 @@ module AvalaraSdk::EInvoicing
|
|
240
240
|
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
|
241
241
|
# @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint.
|
242
242
|
# @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering.
|
243
|
-
# @param top [Float]
|
244
|
-
# @param skip [
|
243
|
+
# @param top [Float] The number of items to include in the result.
|
244
|
+
# @param skip [String] If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.
|
245
245
|
# @param count [Boolean] When set to true, the count of the collection is also returned in the response body
|
246
246
|
# @param count_only [Boolean] When set to true, only the count of the collection is returned
|
247
247
|
# @return [Array<(DataInputFieldsResponse, Integer, Hash)>] DataInputFieldsResponse data, response status code and response headers
|
@@ -330,8 +330,8 @@ module AvalaraSdk::EInvoicing
|
|
330
330
|
# @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
|
331
331
|
# @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. (optional)
|
332
332
|
# @param String $filter Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. (optional)
|
333
|
-
# @param Float $top
|
334
|
-
# @param
|
333
|
+
# @param Float $top The number of items to include in the result. (optional)
|
334
|
+
# @param String $skip If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets. (optional)
|
335
335
|
# @param Boolean $count When set to true, the count of the collection is also returned in the response body (optional)
|
336
336
|
# @param Boolean $count_only When set to true, only the count of the collection is returned (optional)
|
337
337
|
#
|
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.7.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -403,7 +403,7 @@ module AvalaraSdk::EInvoicing
|
|
403
403
|
|
404
404
|
# Returns a summary of documents for a date range
|
405
405
|
# Get a list of documents on the Avalara E-Invoicing platform that have a processing date within the specified date range.
|
406
|
-
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param start_date [Time] Start date of documents to return. This defaults to the previous month. # @param end_date [Time] End date of documents to return. This defaults to the current date. # @param flow [String] Optionally filter by document direction, where issued = `out` and received = `in` # @param count [String] When set to true, the count of the collection is also returned in the response body # @param count_only [String] When set to true, only the count of the collection is returned # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. # @param top [Float]
|
406
|
+
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param start_date [Time] Start date of documents to return. This defaults to the previous month. # @param end_date [Time] End date of documents to return. This defaults to the current date. # @param flow [String] Optionally filter by document direction, where issued = `out` and received = `in` # @param count [String] When set to true, the count of the collection is also returned in the response body # @param count_only [String] When set to true, only the count of the collection is returned # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. # @param top [Float] The number of items to include in the result. # @param skip [String] If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.
|
407
407
|
# @return [DocumentListResponse]
|
408
408
|
def get_document_list(request_parameters)
|
409
409
|
data, _status_code, _headers = get_document_list_with_http_info(request_parameters)
|
@@ -421,7 +421,7 @@ module AvalaraSdk::EInvoicing
|
|
421
421
|
# @param count [String] When set to true, the count of the collection is also returned in the response body
|
422
422
|
# @param count_only [String] When set to true, only the count of the collection is returned
|
423
423
|
# @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed.
|
424
|
-
# @param top [Float]
|
424
|
+
# @param top [Float] The number of items to include in the result.
|
425
425
|
# @param skip [String] If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets.
|
426
426
|
# @return [Array<(DocumentListResponse, Integer, Hash)>] DocumentListResponse data, response status code and response headers
|
427
427
|
def get_document_list_with_http_info(request_parameters)
|
@@ -796,7 +796,7 @@ module AvalaraSdk::EInvoicing
|
|
796
796
|
# @param String $count When set to true, the count of the collection is also returned in the response body (optional)
|
797
797
|
# @param String $count_only When set to true, only the count of the collection is returned (optional)
|
798
798
|
# @param String $filter Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. (optional)
|
799
|
-
# @param Float $top
|
799
|
+
# @param Float $top The number of items to include in the result. (optional)
|
800
800
|
# @param String $skip If nonzero, skip this number of results before returning data. Used with <code>$top</code> to provide pagination for large datasets. (optional)
|
801
801
|
#
|
802
802
|
class GetDocumentListRequestSdk
|