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.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +18 -79
  4. data/docs/A1099/V2/CompaniesW9Api.md +18 -18
  5. data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
  6. data/docs/A1099/V2/CompanyResponse.md +37 -37
  7. data/docs/A1099/V2/CoveredIndividual.md +56 -0
  8. data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
  9. data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
  10. data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
  11. data/docs/A1099/V2/EntryStatusResponse.md +20 -0
  12. data/docs/A1099/V2/Form1042S.md +83 -83
  13. data/docs/A1099/V2/Form1095B.md +72 -62
  14. data/docs/A1099/V2/Form1095C.md +112 -0
  15. data/docs/A1099/V2/Form1099Base.md +60 -60
  16. data/docs/A1099/V2/Form1099Div.md +79 -77
  17. data/docs/A1099/V2/Form1099Int.md +76 -74
  18. data/docs/A1099/V2/Form1099K.md +83 -83
  19. data/docs/A1099/V2/Form1099ListRequest.md +20 -0
  20. data/docs/A1099/V2/Form1099Misc.md +79 -77
  21. data/docs/A1099/V2/Form1099Nec.md +64 -64
  22. data/docs/A1099/V2/Form1099R.md +95 -93
  23. data/docs/A1099/V2/Forms1099Api.md +45 -41
  24. data/docs/A1099/V2/FormsW9Api.md +98 -14
  25. data/docs/A1099/V2/Get1099Form200Response.md +19 -19
  26. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
  27. data/docs/A1099/V2/IssuerCommand.md +16 -16
  28. data/docs/A1099/V2/IssuerResponse.md +35 -35
  29. data/docs/A1099/V2/Issuers1099Api.md +10 -10
  30. data/docs/A1099/V2/JobResponse.md +56 -0
  31. data/docs/A1099/V2/JobsApi.md +91 -0
  32. data/docs/A1099/V2/OfferAndCoverage.md +28 -0
  33. data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
  34. data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
  35. data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
  36. data/docs/A1099/V2/ValidationError.md +2 -2
  37. data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
  38. data/docs/A1099/V2/W4FormRequest.md +6 -6
  39. data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
  40. data/docs/A1099/V2/W8BenEFormRequest.md +6 -6
  41. data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
  42. data/docs/A1099/V2/W8BenFormRequest.md +6 -6
  43. data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
  44. data/docs/A1099/V2/W8ImyFormRequest.md +6 -6
  45. data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
  46. data/docs/A1099/V2/W9FormBaseRequest.md +6 -6
  47. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  48. data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
  49. data/docs/A1099/V2/W9FormRequest.md +6 -6
  50. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
  51. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +89 -57
  52. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +144 -6
  53. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
  54. data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
  55. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  56. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  57. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  58. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  59. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  60. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  61. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  62. data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
  63. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
  64. data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
  65. data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
  66. data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
  67. data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
  68. data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
  69. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +424 -179
  70. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +365 -179
  71. data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +259 -111
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +286 -177
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +310 -171
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +308 -174
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +298 -186
  76. data/lib/avalara_sdk/models/A1099/V2/{form1099_div_list.rb → form1099_list_request.rb} +49 -22
  77. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +337 -201
  78. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +298 -183
  79. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +414 -274
  80. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
  81. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +13 -1
  82. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
  83. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
  84. data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +108 -42
  85. data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
  86. data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
  87. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
  88. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
  89. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -0
  90. data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +418 -0
  91. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +53 -27
  92. data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → w8_ben_e_form_minimal_request.rb} +139 -170
  93. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +53 -27
  94. data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → w8_ben_form_minimal_request.rb} +148 -122
  95. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +53 -27
  96. data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w8_imy_form_minimal_request.rb} +135 -132
  97. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +53 -27
  98. data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → w9_form_base_minimal_request.rb} +87 -53
  99. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +60 -27
  100. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +14 -14
  101. data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → w9_form_minimal_request.rb} +140 -148
  102. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +53 -27
  103. data/lib/avalara_sdk/version.rb +1 -1
  104. data/lib/avalara_sdk.rb +22 -105
  105. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  107. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  108. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  109. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  110. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  111. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  112. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  113. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  114. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  115. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  116. metadata +37 -103
  117. data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
  118. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
  119. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
  120. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
  121. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
  122. data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
  123. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
  124. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
  125. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
  126. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
  127. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
  128. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
  129. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
  130. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
  131. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
  132. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
  133. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
  134. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
  135. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
  136. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
  137. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
  138. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
  149. data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
  150. data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
  151. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
  152. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
  153. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
  154. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
  155. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
  156. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
  157. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
  158. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
  159. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
  160. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
  161. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
  162. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
  163. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
  164. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
  165. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
  166. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
  167. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
  168. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
  169. data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
  170. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
  171. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
  172. data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
  173. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
  174. data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
  175. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
  176. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
  177. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
  178. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +0 -311
  179. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
  180. data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
  181. data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
  182. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
  183. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
  184. data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +0 -251
  185. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
  186. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
  187. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
  188. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
  189. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
  190. data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
  191. data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
  192. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
  193. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
  194. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
  195. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
  196. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
  197. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
  198. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
  199. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
  200. 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.2")
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 company_create_update_request_model [CompanyCreateUpdateRequestModel] The company to create
231
- # @return [CompanyResponseModel]
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 company_create_update_request_model [CompanyCreateUpdateRequestModel] The company to create
244
- # @return [Array<(CompanyResponseModel, Integer, Hash)>] CompanyResponseModel data, response status code and response headers
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
- company_create_update_request_model = request_parameters.get_company_create_update_request_model()
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(company_create_update_request_model) || {}
286
+ post_body = @api_client.object_to_http_body(create_company_request) || {}
287
287
 
288
288
  # return_type
289
- return_type = 'CompanyResponseModel'
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 company_create_update_request_model [CompanyCreateUpdateRequestModel] The updated company data
600
- # @return [CompanyResponseModel]
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 company_create_update_request_model [CompanyCreateUpdateRequestModel] The updated company data
614
- # @return [Array<(CompanyResponseModel, Integer, Hash)>] CompanyResponseModel data, response status code and response headers
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
- company_create_update_request_model = request_parameters.get_company_create_update_request_model()
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(company_create_update_request_model) || {}
661
+ post_body = @api_client.object_to_http_body(create_company_request) || {}
662
662
 
663
663
  # return_type
664
- return_type = 'CompanyResponseModel'
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 CompanyCreateUpdateRequestModel $company_create_update_request_model The company to create (optional)
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 :company_create_update_request_model
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 get_company_create_update_request_model()
734
- return @company_create_update_request_model
733
+ def get_create_company_request()
734
+ return @create_company_request
735
735
  end
736
736
 
737
- def set_company_create_update_request_model(company_create_update_request_model)
738
- @company_create_update_request_model = company_create_update_request_model
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 CompanyCreateUpdateRequestModel $company_create_update_request_model The updated company data (optional)
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 :company_create_update_request_model
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 get_company_create_update_request_model()
1004
- return @company_create_update_request_model
1003
+ def get_create_company_request()
1004
+ return @create_company_request
1005
1005
  end
1006
1006
 
1007
- def set_company_create_update_request_model(company_create_update_request_model)
1008
- @company_create_update_request_model = company_create_update_request_model
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.2")
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. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
230
- # @param avalara_version [String] API version # @param dry_run [Boolean] # @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 bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
231
- # @return [Form1099ProccessResult]
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&#39;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. You can use one of the following payload structures: **Form 1099-MISC:** &#x60;&#x60;&#x60;json { \&quot;formType\&quot;: \&quot;1099-MISC\&quot;, \&quot;forms\&quot;: [ { \&quot;IssuerId\&quot;: \&quot;123456\&quot;, \&quot;IssuerReferenceId\&quot;: \&quot;REF123\&quot;, \&quot;IssuerTin\&quot;: \&quot;12-3456789\&quot;, \&quot;TaxYear\&quot;: 2023, \&quot;ReferenceId\&quot;: \&quot;FORM123456\&quot;, \&quot;RecipientName\&quot;: \&quot;John Doe\&quot;, \&quot;RecipientTin\&quot;: \&quot;587-65-4321\&quot;, \&quot;TinType\&quot;: \&quot;SSN\&quot;, \&quot;RecipientSecondName\&quot;: \&quot;Jane Doe\&quot;, \&quot;Address\&quot;: \&quot;123 Main Street\&quot;, \&quot;Address2\&quot;: \&quot;Apt 4B\&quot;, \&quot;City\&quot;: \&quot;New York\&quot;, \&quot;State\&quot;: \&quot;NY\&quot;, \&quot;Zip\&quot;: \&quot;10001\&quot;, \&quot;Email\&quot;: \&quot;john.doe@email.com\&quot;, \&quot;AccountNumber\&quot;: \&quot;ACC123456\&quot;, \&quot;OfficeCode\&quot;: \&quot;NYC01\&quot;, \&quot;SecondTinNotice\&quot;: false, \&quot;NonUsProvince\&quot;: \&quot;\&quot;, \&quot;CountryCode\&quot;: \&quot;US\&quot;, \&quot;Rents\&quot;: 12000.00, \&quot;Royalties\&quot;: 5000.00, \&quot;OtherIncome\&quot;: 3000.00, \&quot;FishingBoatProceeds\&quot;: 0.00, \&quot;MedicalAndHealthCarePayments\&quot;: 15000.00, \&quot;SubstitutePayments\&quot;: 1000.00, \&quot;CropInsuranceProceeds\&quot;: 0.00, \&quot;GrossProceedsPaidToAttorney\&quot;: 7500.00, \&quot;FishPurchasedForResale\&quot;: 0.00, \&quot;FedIncomeTaxWithheld\&quot;: 5000.00, \&quot;Section409ADeferrals\&quot;: 0.00, \&quot;ExcessGoldenParachutePayments\&quot;: 0.00, \&quot;NonqualifiedDeferredCompensation\&quot;: 0.00, \&quot;DirectSalesIndicator\&quot;: false, \&quot;FatcaFilingRequirement\&quot;: false, \&quot;StateAndLocalWithholding\&quot;: { \&quot;StateTaxWithheld\&quot;: 2500.00, \&quot;LocalTaxWithheld\&quot;: 1000.00, \&quot;State\&quot;: \&quot;NY\&quot;, \&quot;StateIdNumber\&quot;: \&quot;NY123456\&quot;, \&quot;Locality\&quot;: \&quot;New York City\&quot;, \&quot;StateIncome\&quot;: 35000.00, \&quot;LocalIncome\&quot;: 35000.00 } } ] } &#x60;&#x60;&#x60; **Form 1099-NEC:** &#x60;&#x60;&#x60;json { \&quot;formType\&quot;: \&quot;1099-NEC\&quot;, \&quot;forms\&quot;: [ { \&quot;issuerID\&quot;: \&quot;180337282\&quot;, \&quot;issuerReferenceId\&quot;: \&quot;ISS123\&quot;, \&quot;issuerTin\&quot;: \&quot;12-3000000\&quot;, \&quot;taxYear\&quot;: 2024, \&quot;referenceID\&quot;: \&quot;REF-002\&quot;, \&quot;recipientName\&quot;: \&quot;Jane Smith\&quot;, \&quot;recipientSecondName\&quot;: \&quot;\&quot;, \&quot;recipientTin\&quot;: \&quot;587-65-4321\&quot;, \&quot;tinType\&quot;: \&quot;SSN\&quot;, \&quot;address\&quot;: \&quot;123 Center St\&quot;, \&quot;address2\&quot;: \&quot;\&quot;, \&quot;city\&quot;: \&quot;Santa Monica\&quot;, \&quot;state\&quot;: \&quot;CA\&quot;, \&quot;zip\&quot;: \&quot;90401\&quot;, \&quot;countryCode\&quot;: \&quot;US\&quot;, \&quot;nonUsProvince\&quot;: \&quot;\&quot;, \&quot;email\&quot;: \&quot;\&quot;, \&quot;accountNumber\&quot;: \&quot;\&quot;, \&quot;officeCode\&quot;: \&quot;\&quot;, \&quot;secondTinNotice\&quot;: false, \&quot;nonemployeeCompensation\&quot;: 123.45, \&quot;directSalesIndicator\&quot;: false, \&quot;federalIncomeTaxWithheld\&quot;: 12.34, \&quot;stateAndLocalWithholding\&quot;: { \&quot;state\&quot;: \&quot;CA\&quot;, \&quot;stateIdNumber\&quot;: \&quot;123123123\&quot;, \&quot;stateIncome\&quot;: 123.45, \&quot;stateTaxWithheld\&quot;: 12.34, \&quot;locality\&quot;: \&quot;Santa Monica\&quot;, \&quot;localityIdNumber\&quot;: \&quot;456456\&quot;, \&quot;localTaxWithheld\&quot;: 12.34, \&quot;localIncome\&quot;: 50000.00 }, \&quot;federalEFile\&quot;: true, \&quot;postalMail\&quot;: true, \&quot;stateEFile\&quot;: true, \&quot;tinMatch\&quot;: true, \&quot;addressVerification\&quot;: true } ] } &#x60;&#x60;&#x60; For the full version of the payload and its schema details, refer to the Swagger schemas section.
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&#39;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 bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
245
- # @return [Array<(Form1099ProccessResult, Integer, Hash)>] Form1099ProccessResult data, response status code and response headers
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
- bulk_upsert1099_forms_request = request_parameters.get_bulk_upsert1099_forms_request()
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(bulk_upsert1099_forms_request) || {}
291
+ post_body = @api_client.object_to_http_body(form1099_list_request) || {}
292
292
 
293
293
  # return_type
294
- return_type = 'Form1099ProccessResult'
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 i_create_form1099_request [ICreateForm1099Request]
323
- # @return [Create1099Form201Response]
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 i_create_form1099_request [ICreateForm1099Request]
336
- # @return [Array<(Create1099Form201Response, Integer, Hash)>] Create1099Form201Response data, response status code and response headers
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
- i_create_form1099_request = request_parameters.get_i_create_form1099_request()
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(i_create_form1099_request) || {}
378
+ post_body = @api_client.object_to_http_body(get1099_form200_response) || {}
379
379
 
380
380
  # return_type
381
- return_type = 'Create1099Form201Response'
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. Filterable fields are name, referenceId and taxYear.
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 &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. 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 # @param top [Integer] If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt # @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 [Form1099ListResponse]
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 &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. # @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&#x3D;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. Filterable fields are name, referenceId and taxYear.
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 &lt;see href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/see&gt;.
681
681
 
682
682
  # @param avalara_version [String] API version
683
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. 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
684
- # @param top [Integer] If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
683
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;.
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 issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt
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&#x3D;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<(Form1099ListResponse, Integer, Hash)>] Form1099ListResponse data, response status code and response headers
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 = 'Form1099ListResponse'
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 i_update_form1099_request [IUpdateForm1099Request]
773
- # @return [Update1099Form200Response]
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 i_update_form1099_request [IUpdateForm1099Request]
787
- # @return [Array<(Update1099Form200Response, Integer, Hash)>] Update1099Form200Response data, response status code and response headers
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
- i_update_form1099_request = request_parameters.get_i_update_form1099_request()
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(i_update_form1099_request) || {}
844
+ post_body = @api_client.object_to_http_body(get1099_form200_response) || {}
835
845
 
836
846
  # return_type
837
- return_type = 'Update1099Form200Response'
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 (optional, default to false)
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&#39;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 BulkUpsert1099FormsRequest $bulk_upsert1099_forms_request (optional)
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 :bulk_upsert1099_forms_request
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 get_bulk_upsert1099_forms_request()
918
- return @bulk_upsert1099_forms_request
927
+ def get_form1099_list_request()
928
+ return @form1099_list_request
919
929
  end
920
930
 
921
- def set_bulk_upsert1099_forms_request(bulk_upsert1099_forms_request)
922
- @bulk_upsert1099_forms_request = bulk_upsert1099_forms_request
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 ICreateForm1099Request $i_create_form1099_request i_create_form1099_request (optional)
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 :i_create_form1099_request
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 get_i_create_form1099_request()
969
- return @i_create_form1099_request
978
+ def get_get1099_form200_response()
979
+ return @get1099_form200_response
970
980
  end
971
981
 
972
- def set_i_create_form1099_request(i_create_form1099_request)
973
- @i_create_form1099_request = i_create_form1099_request
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. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. 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 (optional)
1144
- # @param Integer $top If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. (optional, default to 10)
1145
- # @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional, default to 0)
1146
- # @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt (optional)
1153
+ # @param String $filter A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. (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&#x3D;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 IUpdateForm1099Request $i_update_form1099_request i_update_form1099_request (optional)
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 :i_update_form1099_request
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 get_i_update_form1099_request()
1279
- return @i_update_form1099_request
1310
+ def get_get1099_form200_response()
1311
+ return @get1099_form200_response
1280
1312
  end
1281
1313
 
1282
- def set_i_update_form1099_request(i_update_form1099_request)
1283
- @i_update_form1099_request = i_update_form1099_request
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