avalara_sdk 25.8.2 → 25.8.3
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/Gemfile.lock +1 -1
- data/README.md +18 -79
- data/docs/A1099/V2/CompaniesW9Api.md +18 -18
- data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
- data/docs/A1099/V2/CompanyResponse.md +37 -37
- data/docs/A1099/V2/CoveredIndividual.md +56 -0
- data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
- data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
- data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
- data/docs/A1099/V2/EntryStatusResponse.md +20 -0
- data/docs/A1099/V2/Form1042S.md +83 -83
- data/docs/A1099/V2/Form1095B.md +72 -62
- data/docs/A1099/V2/Form1095C.md +112 -0
- data/docs/A1099/V2/Form1099Base.md +60 -60
- data/docs/A1099/V2/Form1099Div.md +79 -77
- data/docs/A1099/V2/Form1099Int.md +76 -74
- data/docs/A1099/V2/Form1099K.md +83 -83
- data/docs/A1099/V2/Form1099ListRequest.md +20 -0
- data/docs/A1099/V2/Form1099Misc.md +79 -77
- data/docs/A1099/V2/Form1099Nec.md +64 -64
- data/docs/A1099/V2/Form1099R.md +95 -93
- data/docs/A1099/V2/Forms1099Api.md +45 -41
- data/docs/A1099/V2/FormsW9Api.md +98 -14
- data/docs/A1099/V2/Get1099Form200Response.md +19 -19
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
- data/docs/A1099/V2/IssuerCommand.md +16 -16
- data/docs/A1099/V2/IssuerResponse.md +35 -35
- data/docs/A1099/V2/Issuers1099Api.md +10 -10
- data/docs/A1099/V2/JobResponse.md +56 -0
- data/docs/A1099/V2/JobsApi.md +91 -0
- data/docs/A1099/V2/OfferAndCoverage.md +28 -0
- data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
- data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
- data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
- data/docs/A1099/V2/ValidationError.md +2 -2
- data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
- data/docs/A1099/V2/W4FormRequest.md +6 -6
- data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +6 -6
- data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenFormRequest.md +6 -6
- data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8ImyFormRequest.md +6 -6
- data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
- data/docs/A1099/V2/W9FormBaseRequest.md +6 -6
- data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
- data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W9FormRequest.md +6 -6
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +89 -57
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +144 -6
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
- data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
- data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
- data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
- data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
- data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
- data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +424 -179
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +365 -179
- data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +259 -111
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +286 -177
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +310 -171
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +308 -174
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +298 -186
- data/lib/avalara_sdk/models/A1099/V2/{form1099_div_list.rb → form1099_list_request.rb} +49 -22
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +337 -201
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +298 -183
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +414 -274
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +13 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
- data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +108 -42
- data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
- data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +418 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → w8_ben_e_form_minimal_request.rb} +139 -170
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → w8_ben_form_minimal_request.rb} +148 -122
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w8_imy_form_minimal_request.rb} +135 -132
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → w9_form_base_minimal_request.rb} +87 -53
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +60 -27
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +14 -14
- data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → w9_form_minimal_request.rb} +140 -148
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +53 -27
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +22 -105
- 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 +37 -103
- data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
- data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
- data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +0 -311
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
- data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +0 -251
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
- data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
- data/lib/avalara_sdk/models/EInvoicing/V1/submit_document_data.rb +0 -216
@@ -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.8.
|
20
|
+
api_client.set_sdk_version("25.8.3")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -227,8 +227,8 @@ module AvalaraSdk::A1099
|
|
227
227
|
|
228
228
|
# Create a company
|
229
229
|
# Create a company.
|
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
|
231
|
-
# @return [
|
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 create_company_request [CreateCompanyRequest] The company to create
|
231
|
+
# @return [CompanyResponse]
|
232
232
|
def create_company(request_parameters)
|
233
233
|
data, _status_code, _headers = create_company_with_http_info(request_parameters)
|
234
234
|
data
|
@@ -240,8 +240,8 @@ module AvalaraSdk::A1099
|
|
240
240
|
# @param avalara_version [String] API version
|
241
241
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
242
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/) .
|
243
|
-
# @param
|
244
|
-
# @return [Array<(
|
243
|
+
# @param create_company_request [CreateCompanyRequest] The company to create
|
244
|
+
# @return [Array<(CompanyResponse, Integer, Hash)>] CompanyResponse data, response status code and response headers
|
245
245
|
def create_company_with_http_info(request_parameters)
|
246
246
|
# OAuth2 Scopes
|
247
247
|
required_scopes = ''
|
@@ -249,7 +249,7 @@ module AvalaraSdk::A1099
|
|
249
249
|
avalara_version = request_parameters.get_avalara_version()
|
250
250
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
251
251
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
252
|
-
|
252
|
+
create_company_request = request_parameters.get_create_company_request()
|
253
253
|
# verify the required parameter 'avalara_version' is set
|
254
254
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
255
255
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling CompaniesW9Api.create_company"
|
@@ -283,10 +283,10 @@ module AvalaraSdk::A1099
|
|
283
283
|
form_params = {}
|
284
284
|
|
285
285
|
# http body (model)
|
286
|
-
post_body = @api_client.object_to_http_body(
|
286
|
+
post_body = @api_client.object_to_http_body(create_company_request) || {}
|
287
287
|
|
288
288
|
# return_type
|
289
|
-
return_type = '
|
289
|
+
return_type = 'CompanyResponse'
|
290
290
|
|
291
291
|
# auth_names
|
292
292
|
auth_names = ['bearer']
|
@@ -596,8 +596,8 @@ module AvalaraSdk::A1099
|
|
596
596
|
|
597
597
|
# Update a company
|
598
598
|
# Update a company.
|
599
|
-
# @param id [String] The ID of the company 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
|
600
|
-
# @return [
|
599
|
+
# @param id [String] The ID of the company 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 create_company_request [CreateCompanyRequest] The updated company data
|
600
|
+
# @return [CompanyResponse]
|
601
601
|
def update_company(request_parameters)
|
602
602
|
data, _status_code, _headers = update_company_with_http_info(request_parameters)
|
603
603
|
data
|
@@ -610,8 +610,8 @@ module AvalaraSdk::A1099
|
|
610
610
|
# @param avalara_version [String] API version
|
611
611
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
612
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/) .
|
613
|
-
# @param
|
614
|
-
# @return [Array<(
|
613
|
+
# @param create_company_request [CreateCompanyRequest] The updated company data
|
614
|
+
# @return [Array<(CompanyResponse, Integer, Hash)>] CompanyResponse data, response status code and response headers
|
615
615
|
def update_company_with_http_info(request_parameters)
|
616
616
|
# OAuth2 Scopes
|
617
617
|
required_scopes = ''
|
@@ -620,7 +620,7 @@ module AvalaraSdk::A1099
|
|
620
620
|
avalara_version = request_parameters.get_avalara_version()
|
621
621
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
622
622
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
623
|
-
|
623
|
+
create_company_request = request_parameters.get_create_company_request()
|
624
624
|
# verify the required parameter 'id' is set
|
625
625
|
if @api_client.config.client_side_validation && id.nil?
|
626
626
|
fail ArgumentError, "Missing the required parameter 'id' when calling CompaniesW9Api.update_company"
|
@@ -658,10 +658,10 @@ module AvalaraSdk::A1099
|
|
658
658
|
form_params = {}
|
659
659
|
|
660
660
|
# http body (model)
|
661
|
-
post_body = @api_client.object_to_http_body(
|
661
|
+
post_body = @api_client.object_to_http_body(create_company_request) || {}
|
662
662
|
|
663
663
|
# return_type
|
664
|
-
return_type = '
|
664
|
+
return_type = 'CompanyResponse'
|
665
665
|
|
666
666
|
# auth_names
|
667
667
|
auth_names = ['bearer']
|
@@ -692,7 +692,7 @@ module AvalaraSdk::A1099
|
|
692
692
|
# @param String $avalara_version API version (required)
|
693
693
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
694
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)
|
695
|
-
# @param
|
695
|
+
# @param CreateCompanyRequest $create_company_request The company to create (optional)
|
696
696
|
#
|
697
697
|
class CreateCompanyRequestSdk
|
698
698
|
attr_accessor :avalara_version
|
@@ -701,7 +701,7 @@ module AvalaraSdk::A1099
|
|
701
701
|
|
702
702
|
attr_accessor :x_avalara_client
|
703
703
|
|
704
|
-
attr_accessor :
|
704
|
+
attr_accessor :create_company_request
|
705
705
|
|
706
706
|
def initialize()
|
707
707
|
end
|
@@ -730,12 +730,12 @@ module AvalaraSdk::A1099
|
|
730
730
|
@x_avalara_client = x_avalara_client
|
731
731
|
end
|
732
732
|
|
733
|
-
def
|
734
|
-
return @
|
733
|
+
def get_create_company_request()
|
734
|
+
return @create_company_request
|
735
735
|
end
|
736
736
|
|
737
|
-
def
|
738
|
-
@
|
737
|
+
def set_create_company_request(create_company_request)
|
738
|
+
@create_company_request = create_company_request
|
739
739
|
end
|
740
740
|
end
|
741
741
|
# Represents the Request object for the DeleteCompany API
|
@@ -952,7 +952,7 @@ module AvalaraSdk::A1099
|
|
952
952
|
# @param String $avalara_version API version (required)
|
953
953
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
954
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)
|
955
|
-
# @param
|
955
|
+
# @param CreateCompanyRequest $create_company_request The updated company data (optional)
|
956
956
|
#
|
957
957
|
class UpdateCompanyRequestSdk
|
958
958
|
attr_accessor :id
|
@@ -963,7 +963,7 @@ module AvalaraSdk::A1099
|
|
963
963
|
|
964
964
|
attr_accessor :x_avalara_client
|
965
965
|
|
966
|
-
attr_accessor :
|
966
|
+
attr_accessor :create_company_request
|
967
967
|
|
968
968
|
def initialize()
|
969
969
|
end
|
@@ -1000,12 +1000,12 @@ module AvalaraSdk::A1099
|
|
1000
1000
|
@x_avalara_client = x_avalara_client
|
1001
1001
|
end
|
1002
1002
|
|
1003
|
-
def
|
1004
|
-
return @
|
1003
|
+
def get_create_company_request()
|
1004
|
+
return @create_company_request
|
1005
1005
|
end
|
1006
1006
|
|
1007
|
-
def
|
1008
|
-
@
|
1007
|
+
def set_create_company_request(create_company_request)
|
1008
|
+
@create_company_request = create_company_request
|
1009
1009
|
end
|
1010
1010
|
end
|
1011
1011
|
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.8.
|
20
|
+
api_client.set_sdk_version("25.8.3")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -226,23 +226,23 @@ module AvalaraSdk::A1099
|
|
226
226
|
end
|
227
227
|
|
228
228
|
# Create or update multiple 1099/1095/W2/1042S forms
|
229
|
-
# This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.
|
230
|
-
# @param avalara_version [String] API version # @param dry_run [Boolean]
|
231
|
-
# @return [
|
229
|
+
# This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request.
|
230
|
+
# @param avalara_version [String] API version # @param dry_run [Boolean] defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB # @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 form1099_list_request [Form1099ListRequest]
|
231
|
+
# @return [JobResponse]
|
232
232
|
def bulk_upsert1099_forms(request_parameters)
|
233
233
|
data, _status_code, _headers = bulk_upsert1099_forms_with_http_info(request_parameters)
|
234
234
|
data
|
235
235
|
end
|
236
236
|
|
237
237
|
# Create or update multiple 1099/1095/W2/1042S forms
|
238
|
-
# This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.
|
238
|
+
# This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request.
|
239
239
|
|
240
240
|
# @param avalara_version [String] API version
|
241
|
-
# @param dry_run [Boolean]
|
241
|
+
# @param dry_run [Boolean] defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
|
242
242
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
243
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/) .
|
244
|
-
# @param
|
245
|
-
# @return [Array<(
|
244
|
+
# @param form1099_list_request [Form1099ListRequest]
|
245
|
+
# @return [Array<(JobResponse, Integer, Hash)>] JobResponse data, response status code and response headers
|
246
246
|
def bulk_upsert1099_forms_with_http_info(request_parameters)
|
247
247
|
# OAuth2 Scopes
|
248
248
|
required_scopes = ''
|
@@ -251,7 +251,7 @@ module AvalaraSdk::A1099
|
|
251
251
|
dry_run = request_parameters.get_dry_run()
|
252
252
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
253
253
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
254
|
-
|
254
|
+
form1099_list_request = request_parameters.get_form1099_list_request()
|
255
255
|
# verify the required parameter 'avalara_version' is set
|
256
256
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
257
257
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.bulk_upsert1099_forms"
|
@@ -288,10 +288,10 @@ module AvalaraSdk::A1099
|
|
288
288
|
form_params = {}
|
289
289
|
|
290
290
|
# http body (model)
|
291
|
-
post_body = @api_client.object_to_http_body(
|
291
|
+
post_body = @api_client.object_to_http_body(form1099_list_request) || {}
|
292
292
|
|
293
293
|
# return_type
|
294
|
-
return_type = '
|
294
|
+
return_type = 'JobResponse'
|
295
295
|
|
296
296
|
# auth_names
|
297
297
|
auth_names = ['bearer']
|
@@ -319,8 +319,8 @@ module AvalaraSdk::A1099
|
|
319
319
|
|
320
320
|
# Create a 1099/1095/W2/1042S form
|
321
321
|
# Create a 1099/1095/W2/1042S form.
|
322
|
-
# @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
|
323
|
-
# @return [
|
322
|
+
# @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 get1099_form200_response [Get1099Form200Response]
|
323
|
+
# @return [Get1099Form200Response]
|
324
324
|
def create1099_form(request_parameters)
|
325
325
|
data, _status_code, _headers = create1099_form_with_http_info(request_parameters)
|
326
326
|
data
|
@@ -332,8 +332,8 @@ module AvalaraSdk::A1099
|
|
332
332
|
# @param avalara_version [String] API version
|
333
333
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
334
334
|
# @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/) .
|
335
|
-
# @param
|
336
|
-
# @return [Array<(
|
335
|
+
# @param get1099_form200_response [Get1099Form200Response]
|
336
|
+
# @return [Array<(Get1099Form200Response, Integer, Hash)>] Get1099Form200Response data, response status code and response headers
|
337
337
|
def create1099_form_with_http_info(request_parameters)
|
338
338
|
# OAuth2 Scopes
|
339
339
|
required_scopes = ''
|
@@ -341,7 +341,7 @@ module AvalaraSdk::A1099
|
|
341
341
|
avalara_version = request_parameters.get_avalara_version()
|
342
342
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
343
343
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
344
|
-
|
344
|
+
get1099_form200_response = request_parameters.get_get1099_form200_response()
|
345
345
|
# verify the required parameter 'avalara_version' is set
|
346
346
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
347
347
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.create1099_form"
|
@@ -375,10 +375,10 @@ module AvalaraSdk::A1099
|
|
375
375
|
form_params = {}
|
376
376
|
|
377
377
|
# http body (model)
|
378
|
-
post_body = @api_client.object_to_http_body(
|
378
|
+
post_body = @api_client.object_to_http_body(get1099_form200_response) || {}
|
379
379
|
|
380
380
|
# return_type
|
381
|
-
return_type = '
|
381
|
+
return_type = 'Get1099Form200Response'
|
382
382
|
|
383
383
|
# auth_names
|
384
384
|
auth_names = ['bearer']
|
@@ -668,25 +668,27 @@ module AvalaraSdk::A1099
|
|
668
668
|
end
|
669
669
|
|
670
670
|
# List 1099/1095/W2/1042S forms
|
671
|
-
# List 1099/1095/W2/1042S forms.
|
672
|
-
# @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve.
|
673
|
-
# @return [
|
671
|
+
# List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.
|
672
|
+
# @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/) .
|
673
|
+
# @return [PaginatedQueryResultModelForm1099Base]
|
674
674
|
def list1099_forms(request_parameters)
|
675
675
|
data, _status_code, _headers = list1099_forms_with_http_info(request_parameters)
|
676
676
|
data
|
677
677
|
end
|
678
678
|
|
679
679
|
# List 1099/1095/W2/1042S forms
|
680
|
-
# List 1099/1095/W2/1042S forms.
|
680
|
+
# List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.
|
681
681
|
|
682
682
|
# @param avalara_version [String] API version
|
683
|
-
# @param filter [String] A filter statement to identify specific records to retrieve.
|
684
|
-
# @param top [Integer] If
|
683
|
+
# @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>.
|
684
|
+
# @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.
|
685
685
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
686
|
-
# @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example
|
686
|
+
# @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
687
|
+
# @param count [Boolean] If true, return the global count of elements in the collection.
|
688
|
+
# @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
687
689
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
688
690
|
# @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/) .
|
689
|
-
# @return [Array<(
|
691
|
+
# @return [Array<(PaginatedQueryResultModelForm1099Base, Integer, Hash)>] PaginatedQueryResultModelForm1099Base data, response status code and response headers
|
690
692
|
def list1099_forms_with_http_info(request_parameters)
|
691
693
|
# OAuth2 Scopes
|
692
694
|
required_scopes = ''
|
@@ -696,6 +698,8 @@ module AvalaraSdk::A1099
|
|
696
698
|
top = request_parameters.get_top()
|
697
699
|
skip = request_parameters.get_skip()
|
698
700
|
order_by = request_parameters.get_order_by()
|
701
|
+
count = request_parameters.get_count()
|
702
|
+
count_only = request_parameters.get_count_only()
|
699
703
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
700
704
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
701
705
|
# verify the required parameter 'avalara_version' is set
|
@@ -719,6 +723,12 @@ module AvalaraSdk::A1099
|
|
719
723
|
if !order_by.nil?
|
720
724
|
query_params[:'$orderBy'] = order_by
|
721
725
|
end
|
726
|
+
if !count.nil?
|
727
|
+
query_params[:'count'] = count
|
728
|
+
end
|
729
|
+
if !count_only.nil?
|
730
|
+
query_params[:'countOnly'] = count_only
|
731
|
+
end
|
722
732
|
|
723
733
|
# header parameters
|
724
734
|
header_params = {}
|
@@ -741,7 +751,7 @@ module AvalaraSdk::A1099
|
|
741
751
|
post_body = {}
|
742
752
|
|
743
753
|
# return_type
|
744
|
-
return_type = '
|
754
|
+
return_type = 'PaginatedQueryResultModelForm1099Base'
|
745
755
|
|
746
756
|
# auth_names
|
747
757
|
auth_names = ['bearer']
|
@@ -769,8 +779,8 @@ module AvalaraSdk::A1099
|
|
769
779
|
|
770
780
|
# Update a 1099/1095/W2/1042S form
|
771
781
|
# Update a 1099/1095/W2/1042S form.
|
772
|
-
# @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/) . # @param
|
773
|
-
# @return [
|
782
|
+
# @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/) . # @param get1099_form200_response [Get1099Form200Response]
|
783
|
+
# @return [Get1099Form200Response]
|
774
784
|
def update1099_form(request_parameters)
|
775
785
|
data, _status_code, _headers = update1099_form_with_http_info(request_parameters)
|
776
786
|
data
|
@@ -783,8 +793,8 @@ module AvalaraSdk::A1099
|
|
783
793
|
# @param avalara_version [String] API version
|
784
794
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
785
795
|
# @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/) .
|
786
|
-
# @param
|
787
|
-
# @return [Array<(
|
796
|
+
# @param get1099_form200_response [Get1099Form200Response]
|
797
|
+
# @return [Array<(Get1099Form200Response, Integer, Hash)>] Get1099Form200Response data, response status code and response headers
|
788
798
|
def update1099_form_with_http_info(request_parameters)
|
789
799
|
# OAuth2 Scopes
|
790
800
|
required_scopes = ''
|
@@ -793,7 +803,7 @@ module AvalaraSdk::A1099
|
|
793
803
|
avalara_version = request_parameters.get_avalara_version()
|
794
804
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
795
805
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
796
|
-
|
806
|
+
get1099_form200_response = request_parameters.get_get1099_form200_response()
|
797
807
|
# verify the required parameter 'id' is set
|
798
808
|
if @api_client.config.client_side_validation && id.nil?
|
799
809
|
fail ArgumentError, "Missing the required parameter 'id' when calling Forms1099Api.update1099_form"
|
@@ -831,10 +841,10 @@ module AvalaraSdk::A1099
|
|
831
841
|
form_params = {}
|
832
842
|
|
833
843
|
# http body (model)
|
834
|
-
post_body = @api_client.object_to_http_body(
|
844
|
+
post_body = @api_client.object_to_http_body(get1099_form200_response) || {}
|
835
845
|
|
836
846
|
# return_type
|
837
|
-
return_type = '
|
847
|
+
return_type = 'Get1099Form200Response'
|
838
848
|
|
839
849
|
# auth_names
|
840
850
|
auth_names = ['bearer']
|
@@ -863,10 +873,10 @@ module AvalaraSdk::A1099
|
|
863
873
|
# Represents the Request object for the BulkUpsert1099Forms API
|
864
874
|
#
|
865
875
|
# @param String $avalara_version API version (required)
|
866
|
-
# @param Boolean $dry_run
|
876
|
+
# @param Boolean $dry_run defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB (optional, default to false)
|
867
877
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
868
878
|
# @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)
|
869
|
-
# @param
|
879
|
+
# @param Form1099ListRequest $form1099_list_request (optional)
|
870
880
|
#
|
871
881
|
class BulkUpsert1099FormsRequestSdk
|
872
882
|
attr_accessor :avalara_version
|
@@ -877,7 +887,7 @@ module AvalaraSdk::A1099
|
|
877
887
|
|
878
888
|
attr_accessor :x_avalara_client
|
879
889
|
|
880
|
-
attr_accessor :
|
890
|
+
attr_accessor :form1099_list_request
|
881
891
|
|
882
892
|
def initialize()
|
883
893
|
end
|
@@ -914,12 +924,12 @@ module AvalaraSdk::A1099
|
|
914
924
|
@x_avalara_client = x_avalara_client
|
915
925
|
end
|
916
926
|
|
917
|
-
def
|
918
|
-
return @
|
927
|
+
def get_form1099_list_request()
|
928
|
+
return @form1099_list_request
|
919
929
|
end
|
920
930
|
|
921
|
-
def
|
922
|
-
@
|
931
|
+
def set_form1099_list_request(form1099_list_request)
|
932
|
+
@form1099_list_request = form1099_list_request
|
923
933
|
end
|
924
934
|
end
|
925
935
|
# Represents the Request object for the Create1099Form API
|
@@ -927,7 +937,7 @@ module AvalaraSdk::A1099
|
|
927
937
|
# @param String $avalara_version API version (required)
|
928
938
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
929
939
|
# @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)
|
930
|
-
# @param
|
940
|
+
# @param Get1099Form200Response $get1099_form200_response get1099_form200_response (optional)
|
931
941
|
#
|
932
942
|
class Create1099FormRequestSdk
|
933
943
|
attr_accessor :avalara_version
|
@@ -936,7 +946,7 @@ module AvalaraSdk::A1099
|
|
936
946
|
|
937
947
|
attr_accessor :x_avalara_client
|
938
948
|
|
939
|
-
attr_accessor :
|
949
|
+
attr_accessor :get1099_form200_response
|
940
950
|
|
941
951
|
def initialize()
|
942
952
|
end
|
@@ -965,12 +975,12 @@ module AvalaraSdk::A1099
|
|
965
975
|
@x_avalara_client = x_avalara_client
|
966
976
|
end
|
967
977
|
|
968
|
-
def
|
969
|
-
return @
|
978
|
+
def get_get1099_form200_response()
|
979
|
+
return @get1099_form200_response
|
970
980
|
end
|
971
981
|
|
972
|
-
def
|
973
|
-
@
|
982
|
+
def set_get1099_form200_response(get1099_form200_response)
|
983
|
+
@get1099_form200_response = get1099_form200_response
|
974
984
|
end
|
975
985
|
end
|
976
986
|
# Represents the Request object for the Delete1099Form API
|
@@ -1140,10 +1150,12 @@ module AvalaraSdk::A1099
|
|
1140
1150
|
# Represents the Request object for the List1099Forms API
|
1141
1151
|
#
|
1142
1152
|
# @param String $avalara_version API version (required)
|
1143
|
-
# @param String $filter A filter statement to identify specific records to retrieve.
|
1144
|
-
# @param Integer $top If
|
1145
|
-
# @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional
|
1146
|
-
# @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example
|
1153
|
+
# @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)
|
1154
|
+
# @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)
|
1155
|
+
# @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional)
|
1156
|
+
# @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. (optional)
|
1157
|
+
# @param Boolean $count If true, return the global count of elements in the collection. (optional)
|
1158
|
+
# @param Boolean $count_only If true, return ONLY the global count of elements in the collection. It only applies when count=true. (optional)
|
1147
1159
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
1148
1160
|
# @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)
|
1149
1161
|
#
|
@@ -1158,6 +1170,10 @@ module AvalaraSdk::A1099
|
|
1158
1170
|
|
1159
1171
|
attr_accessor :order_by
|
1160
1172
|
|
1173
|
+
attr_accessor :count
|
1174
|
+
|
1175
|
+
attr_accessor :count_only
|
1176
|
+
|
1161
1177
|
attr_accessor :x_correlation_id
|
1162
1178
|
|
1163
1179
|
attr_accessor :x_avalara_client
|
@@ -1205,6 +1221,22 @@ module AvalaraSdk::A1099
|
|
1205
1221
|
@order_by = order_by
|
1206
1222
|
end
|
1207
1223
|
|
1224
|
+
def get_count()
|
1225
|
+
return @count
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def set_count(count)
|
1229
|
+
@count = count
|
1230
|
+
end
|
1231
|
+
|
1232
|
+
def get_count_only()
|
1233
|
+
return @count_only
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
def set_count_only(count_only)
|
1237
|
+
@count_only = count_only
|
1238
|
+
end
|
1239
|
+
|
1208
1240
|
def get_x_correlation_id()
|
1209
1241
|
return @x_correlation_id
|
1210
1242
|
end
|
@@ -1227,7 +1259,7 @@ module AvalaraSdk::A1099
|
|
1227
1259
|
# @param String $avalara_version API version (required)
|
1228
1260
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
1229
1261
|
# @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)
|
1230
|
-
# @param
|
1262
|
+
# @param Get1099Form200Response $get1099_form200_response get1099_form200_response (optional)
|
1231
1263
|
#
|
1232
1264
|
class Update1099FormRequestSdk
|
1233
1265
|
attr_accessor :id
|
@@ -1238,7 +1270,7 @@ module AvalaraSdk::A1099
|
|
1238
1270
|
|
1239
1271
|
attr_accessor :x_avalara_client
|
1240
1272
|
|
1241
|
-
attr_accessor :
|
1273
|
+
attr_accessor :get1099_form200_response
|
1242
1274
|
|
1243
1275
|
def initialize()
|
1244
1276
|
end
|
@@ -1275,12 +1307,12 @@ module AvalaraSdk::A1099
|
|
1275
1307
|
@x_avalara_client = x_avalara_client
|
1276
1308
|
end
|
1277
1309
|
|
1278
|
-
def
|
1279
|
-
return @
|
1310
|
+
def get_get1099_form200_response()
|
1311
|
+
return @get1099_form200_response
|
1280
1312
|
end
|
1281
1313
|
|
1282
|
-
def
|
1283
|
-
@
|
1314
|
+
def set_get1099_form200_response(get1099_form200_response)
|
1315
|
+
@get1099_form200_response = get1099_form200_response
|
1284
1316
|
end
|
1285
1317
|
end
|
1286
1318
|
end
|