avalara_sdk 25.7.0 → 25.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +76 -39
  4. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
  5. data/docs/A1099/V2/CompaniesW9Api.md +22 -22
  6. data/docs/A1099/V2/CoveredIndividualReferenceResponse.md +56 -0
  7. data/docs/A1099/V2/CoveredIndividualRequest.md +19 -19
  8. data/docs/A1099/V2/Create1099Form201Response.md +59 -0
  9. data/docs/A1099/V2/CreateW9Form201Response.md +55 -0
  10. data/docs/A1099/V2/CreateW9FormRequest.md +55 -0
  11. data/docs/A1099/V2/Form1042SList.md +20 -0
  12. data/docs/A1099/V2/Form1042SListItem.md +108 -0
  13. data/docs/A1099/V2/Form1042SListItemResponse.md +130 -0
  14. data/docs/A1099/V2/Form1042SRequest.md +110 -0
  15. data/docs/A1099/V2/Form1042SResponse.md +88 -0
  16. data/docs/A1099/V2/Form1095BListItem.md +31 -31
  17. data/docs/A1099/V2/Form1095BListItemResponse.md +86 -0
  18. data/docs/A1099/V2/Form1095BRequest.md +33 -33
  19. data/docs/A1099/V2/Form1099BaseResponse.md +82 -0
  20. data/docs/A1099/V2/Form1099DivListItem.md +45 -45
  21. data/docs/A1099/V2/Form1099DivRequest.md +44 -44
  22. data/docs/A1099/V2/Form1099DivResponse.md +3 -3
  23. data/docs/A1099/V2/Form1099KListItem.md +46 -46
  24. data/docs/A1099/V2/Form1099KListItemResponse.md +122 -0
  25. data/docs/A1099/V2/Form1099KRequest.md +45 -45
  26. data/docs/A1099/V2/Form1099ListResponse.md +18 -0
  27. data/docs/A1099/V2/Form1099ListResponseValueInner.md +59 -0
  28. data/docs/A1099/V2/Form1099MiscListItem.md +43 -43
  29. data/docs/A1099/V2/Form1099MiscListItemResponse.md +108 -0
  30. data/docs/A1099/V2/Form1099MiscRequest.md +42 -42
  31. data/docs/A1099/V2/Form1099MiscResponse.md +5 -5
  32. data/docs/A1099/V2/Form1099NecListItem.md +31 -31
  33. data/docs/A1099/V2/Form1099NecListItemResponse.md +88 -0
  34. data/docs/A1099/V2/Form1099NecRequest.md +30 -30
  35. data/docs/A1099/V2/Form1099NecResponse.md +5 -5
  36. data/docs/A1099/V2/Form1099RListItem.md +47 -47
  37. data/docs/A1099/V2/Form1099RListItemResponse.md +122 -0
  38. data/docs/A1099/V2/Form1099RRequest.md +45 -45
  39. data/docs/A1099/V2/Form1099StatusDetailResponse.md +20 -0
  40. data/docs/A1099/V2/FormRequestBase.md +23 -23
  41. data/docs/A1099/V2/FormRequestListItemBase.md +66 -0
  42. data/docs/A1099/V2/FormResponseBase.md +3 -3
  43. data/docs/A1099/V2/FormSingleRequestBase.md +25 -25
  44. data/docs/A1099/V2/Forms1099Api.md +75 -63
  45. data/docs/A1099/V2/FormsW9Api.md +61 -56
  46. data/docs/A1099/V2/Get1099Form200Response.md +15 -11
  47. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +38 -0
  48. data/docs/A1099/V2/IntermediaryOrFlowThroughRequest.md +38 -0
  49. data/docs/A1099/V2/IntermediaryOrFlowThroughResponse.md +38 -0
  50. data/docs/A1099/V2/Issuers1099Api.md +23 -23
  51. data/docs/A1099/V2/JobResult.md +15 -15
  52. data/docs/A1099/V2/Jobs1099Api.md +2 -2
  53. data/docs/A1099/V2/PrimaryWithholdingAgent.md +20 -0
  54. data/docs/A1099/V2/PrimaryWithholdingAgentRequest.md +20 -0
  55. data/docs/A1099/V2/PrimaryWithholdingAgentResponse.md +20 -0
  56. data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +8 -8
  57. data/docs/A1099/V2/StateEfileStatusDetailResponse.md +22 -0
  58. data/docs/A1099/V2/SubstantialUsOwnerRequest.md +22 -0
  59. data/docs/A1099/V2/Update1099Form200Response.md +3 -1
  60. data/docs/A1099/V2/ValidationErrorResponse.md +20 -0
  61. data/docs/A1099/V2/W4FormDataModel.md +5 -5
  62. data/docs/A1099/V2/W4FormRequest.md +66 -0
  63. data/docs/A1099/V2/W8BenEFormRequest.md +218 -0
  64. data/docs/A1099/V2/W8BenEFormResponse.md +3 -3
  65. data/docs/A1099/V2/W8BenFormDataModel.md +5 -5
  66. data/docs/A1099/V2/W8BenFormRequest.md +76 -0
  67. data/docs/A1099/V2/W8BeneFormDataModel.md +5 -5
  68. data/docs/A1099/V2/W8ImyFormDataModel.md +5 -5
  69. data/docs/A1099/V2/W8ImyFormRequest.md +250 -0
  70. data/docs/A1099/V2/W8ImyFormResponse.md +2 -2
  71. data/docs/A1099/V2/W9FormBaseRequest.md +28 -0
  72. data/docs/A1099/V2/W9FormDataModel.md +5 -5
  73. data/docs/A1099/V2/W9FormRequest.md +64 -0
  74. data/docs/EInvoicing/V1/Address.md +28 -0
  75. data/docs/EInvoicing/V1/BatchErrorDetail.md +20 -0
  76. data/docs/EInvoicing/V1/BatchSearchListResponse.md +2 -2
  77. data/docs/EInvoicing/V1/Consents.md +18 -0
  78. data/docs/EInvoicing/V1/CreateTradingPartner201Response.md +22 -0
  79. data/docs/EInvoicing/V1/CreateTradingPartnersBatch200Response.md +22 -0
  80. data/docs/EInvoicing/V1/CreateTradingPartnersBatch200ResponseValueInner.md +22 -0
  81. data/docs/EInvoicing/V1/CreateTradingPartnersBatchRequest.md +18 -0
  82. data/docs/EInvoicing/V1/DataInputFieldsApi.md +5 -5
  83. data/docs/EInvoicing/V1/DocumentsApi.md +9 -9
  84. data/docs/EInvoicing/V1/Extension.md +20 -0
  85. data/docs/EInvoicing/V1/Identifier.md +22 -0
  86. data/docs/EInvoicing/V1/InteropApi.md +1 -1
  87. data/docs/EInvoicing/V1/MandatesApi.md +6 -6
  88. data/docs/EInvoicing/V1/SearchParticipants200Response.md +22 -0
  89. data/docs/EInvoicing/V1/SubscriptionsApi.md +12 -12
  90. data/docs/EInvoicing/V1/SupportedDocumentTypes.md +26 -0
  91. data/docs/EInvoicing/V1/TaxIdentifierRequest.md +24 -0
  92. data/docs/EInvoicing/V1/TaxIdentifierResponse.md +20 -0
  93. data/docs/EInvoicing/V1/TaxIdentifierResponseValue.md +22 -0
  94. data/docs/EInvoicing/V1/TaxIdentifierSchemaByCountry200Response.md +20 -0
  95. data/docs/EInvoicing/V1/TaxIdentifiersApi.md +177 -0
  96. data/docs/EInvoicing/V1/TradingPartner.md +34 -0
  97. data/docs/EInvoicing/V1/TradingPartnersApi.md +412 -75
  98. data/docs/EInvoicing/V1/UpdateTradingPartner200Response.md +22 -0
  99. data/docs/EInvoicing/V1/ValidationError.md +20 -0
  100. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +14 -14
  101. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +51 -39
  102. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +56 -50
  103. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +20 -20
  104. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +2 -2
  105. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +7 -7
  106. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +11 -11
  107. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +2 -2
  108. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +8 -8
  109. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +21 -21
  110. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +531 -0
  111. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +660 -80
  112. data/lib/avalara_sdk/models/A1099/V2/attribute.rb +1 -1
  113. data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_model.rb +1 -1
  114. data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_v2_data_model.rb +1 -1
  115. data/lib/avalara_sdk/models/A1099/V2/base_company_model.rb +1 -1
  116. data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +1 -1
  117. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -1
  118. data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +1 -1
  119. data/lib/avalara_sdk/models/A1099/V2/company_model.rb +1 -1
  120. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
  121. data/lib/avalara_sdk/models/A1099/V2/company_response_model.rb +1 -1
  122. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +407 -0
  123. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +20 -1
  124. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +106 -0
  125. data/lib/avalara_sdk/models/A1099/V2/create_w9_form201_response.rb +104 -0
  126. data/lib/avalara_sdk/models/A1099/V2/create_w9_form_request.rb +104 -0
  127. data/lib/avalara_sdk/models/A1099/V2/data.rb +1 -1
  128. data/lib/avalara_sdk/models/A1099/V2/error_model.rb +1 -1
  129. data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
  130. data/lib/avalara_sdk/models/A1099/V2/error_response_errors_inner.rb +1 -1
  131. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +238 -0
  132. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +891 -0
  133. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +925 -0
  134. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +855 -0
  135. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +600 -0
  136. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +1 -1
  137. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +147 -14
  138. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +700 -0
  139. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +149 -16
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +661 -0
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list.rb +1 -1
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +168 -13
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +159 -14
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +5 -5
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +1 -1
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +169 -13
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +930 -0
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +160 -14
  149. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +220 -0
  150. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +106 -0
  151. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +1 -1
  152. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +171 -19
  153. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +810 -0
  154. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +162 -20
  155. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +12 -12
  156. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +1 -1
  157. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +168 -20
  158. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +700 -0
  159. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +157 -20
  160. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +12 -12
  161. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +1 -1
  162. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +1 -1
  163. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +171 -15
  164. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +888 -0
  165. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +160 -14
  166. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +223 -0
  167. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +138 -12
  168. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +611 -0
  169. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +5 -5
  170. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +140 -14
  171. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +8 -6
  172. data/lib/avalara_sdk/models/A1099/V2/http_validation_problem_details.rb +1 -1
  173. data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -1
  174. data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -1
  175. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +311 -0
  176. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +311 -0
  177. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +311 -0
  178. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -1
  179. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
  180. data/lib/avalara_sdk/models/A1099/V2/iw9_form_data_models_one_of.rb +1 -1
  181. data/lib/avalara_sdk/models/A1099/V2/job_result.rb +16 -1
  182. data/lib/avalara_sdk/models/A1099/V2/link.rb +1 -1
  183. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model.rb +1 -1
  184. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_company_response.rb +1 -1
  185. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_issuer_response.rb +1 -1
  186. data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +1 -1
  187. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +221 -0
  188. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +221 -0
  189. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +221 -0
  190. data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +1 -1
  191. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +5 -1
  192. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +9 -1
  193. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +231 -0
  194. data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +1 -1
  195. data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_request.rb +233 -0
  196. data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_response.rb +1 -1
  197. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +2 -1
  198. data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +231 -0
  199. data/lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb +6 -6
  200. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +509 -0
  201. data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +1 -1
  202. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +1343 -0
  203. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +4 -4
  204. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_substantial_us_owner_data_model.rb +1 -1
  205. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb +6 -6
  206. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +561 -0
  207. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +1 -1
  208. data/lib/avalara_sdk/models/A1099/V2/w8_bene_form_data_model.rb +6 -6
  209. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_data_model.rb +6 -6
  210. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +1518 -0
  211. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +3 -3
  212. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +299 -0
  213. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +1 -1
  214. data/lib/avalara_sdk/models/A1099/V2/w9_form_data_model.rb +6 -6
  215. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +495 -0
  216. data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +4 -3
  217. data/lib/avalara_sdk/models/EInvoicing/V1/address.rb +382 -0
  218. data/lib/avalara_sdk/models/EInvoicing/V1/batch_error_detail.rb +223 -0
  219. data/lib/avalara_sdk/models/EInvoicing/V1/batch_search.rb +1 -1
  220. data/lib/avalara_sdk/models/EInvoicing/V1/batch_search_list_response.rb +3 -2
  221. data/lib/avalara_sdk/models/EInvoicing/V1/consents.rb +213 -0
  222. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partner201_response.rb +231 -0
  223. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response.rb +232 -0
  224. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response_value_inner.rb +231 -0
  225. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch_request.rb +212 -0
  226. data/lib/avalara_sdk/models/EInvoicing/V1/data_input_fields_response.rb +1 -2
  227. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch.rb +1 -2
  228. data/lib/avalara_sdk/models/EInvoicing/V1/error_response.rb +1 -1
  229. data/lib/avalara_sdk/models/EInvoicing/V1/extension.rb +256 -0
  230. data/lib/avalara_sdk/models/EInvoicing/V1/hmac_signature_value.rb +1 -2
  231. data/lib/avalara_sdk/models/EInvoicing/V1/identifier.rb +302 -0
  232. data/lib/avalara_sdk/models/EInvoicing/V1/mandate.rb +1 -2
  233. data/lib/avalara_sdk/models/EInvoicing/V1/pagination.rb +1 -2
  234. data/lib/avalara_sdk/models/EInvoicing/V1/required_when_field.rb +1 -2
  235. data/lib/avalara_sdk/models/EInvoicing/V1/search_participants200_response.rb +232 -0
  236. data/lib/avalara_sdk/models/EInvoicing/V1/signature.rb +1 -2
  237. data/lib/avalara_sdk/models/EInvoicing/V1/signature_value.rb +1 -2
  238. data/lib/avalara_sdk/models/EInvoicing/V1/subscription_common.rb +1 -2
  239. data/lib/avalara_sdk/models/EInvoicing/V1/success_response.rb +1 -2
  240. data/lib/avalara_sdk/models/EInvoicing/V1/supported_document_types.rb +305 -0
  241. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_request.rb +329 -0
  242. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response.rb +228 -0
  243. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response_value.rb +231 -0
  244. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_schema_by_country200_response.rb +235 -0
  245. data/lib/avalara_sdk/models/EInvoicing/V1/trading_partner.rb +411 -0
  246. data/lib/avalara_sdk/models/EInvoicing/V1/update_trading_partner200_response.rb +231 -0
  247. data/lib/avalara_sdk/models/EInvoicing/V1/validation_error.rb +222 -0
  248. data/lib/avalara_sdk/models/EInvoicing/V1/webhooks_error_response.rb +1 -2
  249. data/lib/avalara_sdk/version.rb +1 -1
  250. data/lib/avalara_sdk.rb +53 -0
  251. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/byebug/byebug.so +0 -0
  252. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +6 -6
  253. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/date_core.so +0 -0
  254. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +6 -6
  255. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/mkmf.log +4 -4
  256. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/attach.so +0 -0
  257. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/debase_internals.so +0 -0
  258. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +7 -7
  259. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/mkmf.log +6 -6
  260. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/debug/debug.so +0 -0
  261. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +6 -6
  262. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/erb/escape.so +0 -0
  263. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +6 -6
  264. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +6 -6
  265. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/io/console.so +0 -0
  266. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/mkmf.log +21 -21
  267. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +6 -6
  268. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/generator.so +0 -0
  269. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/parser.so +0 -0
  270. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/mkmf.log +7 -7
  271. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +6 -6
  272. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/mkmf.log +6 -6
  273. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/prism/prism.so +0 -0
  274. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +6 -6
  275. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/mkmf.log +10 -10
  276. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/psych.so +0 -0
  277. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +6 -6
  278. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/racc/cparse.so +0 -0
  279. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/ruby-debug-ide-0.7.3/gem_make.out +2 -2
  280. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +6 -6
  281. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/mkmf.log +2 -2
  282. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/stringio.so +0 -0
  283. data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
  284. data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  285. data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date/Makefile +3 -3
  286. data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so +0 -0
  287. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/Makefile +3 -3
  288. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach/Makefile +3 -3
  289. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/attach.so +0 -0
  290. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/debase_internals.so +0 -0
  291. data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug/Makefile +3 -3
  292. data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/lib/debug/debug.so +0 -0
  293. data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/ext/erb/escape/Makefile +3 -3
  294. data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/lib/erb/escape.so +0 -0
  295. data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/ext/io/console/Makefile +3 -3
  296. data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/lib/io/console.so +0 -0
  297. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/generator/Makefile +3 -3
  298. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/parser/Makefile +3 -3
  299. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/generator.so +0 -0
  300. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/parser.so +0 -0
  301. data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/ext/prism/Makefile +3 -3
  302. data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/lib/prism/prism.so +0 -0
  303. data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/ext/psych/Makefile +3 -3
  304. data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/lib/psych.so +0 -0
  305. data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
  306. data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
  307. data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/ext/stringio/Makefile +3 -3
  308. data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
  309. metadata +109 -3
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
17
17
  if (api_client.nil?)
18
18
  fail ArgumentError,'api_client is nil'
19
19
  end
20
- api_client.set_sdk_version("25.7.0")
20
+ api_client.set_sdk_version("25.8.0")
21
21
  @api_client = api_client
22
22
  end
23
23
 
@@ -225,23 +225,23 @@ module AvalaraSdk::EInvoicing
225
225
  end
226
226
  end
227
227
 
228
- # Creates a batch search and performs a batch search in the directory for participants in the background.
229
228
  # Handles batch search requests by uploading a file containing search parameters.
230
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param name [String] The human readable name given to this batch search. # @param notification_email [String] The email address of the user to whom the batch search completion notification must go to. # @param file [File] CSV file containing search parameters. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\" # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
229
+ # This endpoint creates a batch search and performs a batch search in the directory for participants in the background.
230
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param name [String] A <b>human-readable</b> name for the batch search. # @param notification_email [String] The email address to which a notification will be sent once the batch search is complete. # @param file [File] CSV file containing search parameters. Input Constraints: - Maximum file size: 1 MB - File Header: Must be less than 500 KB - Total number of lines (including header): Must be 101 or fewer # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\". # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
231
231
  # @return [BatchSearchParticipants202Response]
232
232
  def batch_search_participants(request_parameters)
233
233
  data, _status_code, _headers = batch_search_participants_with_http_info(request_parameters)
234
234
  data
235
235
  end
236
236
 
237
- # Creates a batch search and performs a batch search in the directory for participants in the background.
238
237
  # Handles batch search requests by uploading a file containing search parameters.
238
+ # This endpoint creates a batch search and performs a batch search in the directory for participants in the background.
239
239
 
240
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
241
- # @param name [String] The human readable name given to this batch search.
242
- # @param notification_email [String] The email address of the user to whom the batch search completion notification must go to.
243
- # @param file [File] CSV file containing search parameters.
244
- # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\"
240
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
241
+ # @param name [String] A <b>human-readable</b> name for the batch search.
242
+ # @param notification_email [String] The email address to which a notification will be sent once the batch search is complete.
243
+ # @param file [File] CSV file containing search parameters. Input Constraints: - Maximum file size: 1 MB - File Header: Must be less than 500 KB - Total number of lines (including header): Must be 101 or fewer
244
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \"Fingerprint\".
245
245
  # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
246
246
  # @return [Array<(BatchSearchParticipants202Response, Integer, Hash)>] BatchSearchParticipants202Response data, response status code and response headers
247
247
  def batch_search_participants_with_http_info(request_parameters)
@@ -337,21 +337,289 @@ module AvalaraSdk::EInvoicing
337
337
  return data, response.code, response.headers
338
338
  end
339
339
 
340
- # Download batch search results in a csv file.
341
- # Downloads the report for a specific batch search using the batch search ID.
342
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param id [String] The ID of the batch search whose report is to be downloaded. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
340
+ # Creates a new trading partner.
341
+ # This endpoint creates a new trading partner with the provided details. The request body must include the necessary information as defined in the `TradingPartner` schema.
342
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param trading_partner [TradingPartner] # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
343
+ # @return [CreateTradingPartner201Response]
344
+ def create_trading_partner(request_parameters)
345
+ data, _status_code, _headers = create_trading_partner_with_http_info(request_parameters)
346
+ data
347
+ end
348
+
349
+ # Creates a new trading partner.
350
+ # This endpoint creates a new trading partner with the provided details. The request body must include the necessary information as defined in the &#x60;TradingPartner&#x60; schema.
351
+
352
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
353
+ # @param trading_partner [TradingPartner]
354
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
355
+ # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
356
+ # @return [Array<(CreateTradingPartner201Response, Integer, Hash)>] CreateTradingPartner201Response data, response status code and response headers
357
+ def create_trading_partner_with_http_info(request_parameters)
358
+ # OAuth2 Scopes
359
+ required_scopes = ''
360
+ # Request Parameters
361
+ avalara_version = request_parameters.get_avalara_version()
362
+ trading_partner = request_parameters.get_trading_partner()
363
+ x_avalara_client = request_parameters.get_x_avalara_client()
364
+ x_correlation_id = request_parameters.get_x_correlation_id()
365
+ # verify the required parameter 'avalara_version' is set
366
+ if @api_client.config.client_side_validation && avalara_version.nil?
367
+ fail ArgumentError, "Missing the required parameter 'avalara_version' when calling TradingPartnersApi.create_trading_partner"
368
+ end
369
+ # verify the required parameter 'trading_partner' is set
370
+ if @api_client.config.client_side_validation && trading_partner.nil?
371
+ fail ArgumentError, "Missing the required parameter 'trading_partner' when calling TradingPartnersApi.create_trading_partner"
372
+ end
373
+ # resource path
374
+ local_var_path = '/einvoicing/trading-partners'
375
+
376
+ # query parameters
377
+ query_params = {}
378
+
379
+ # header parameters
380
+ header_params = {}
381
+ # HTTP header 'Accept' (if needed)
382
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
383
+ # HTTP header 'Content-Type'
384
+ content_type = @api_client.select_header_content_type(['application/json'])
385
+ if !content_type.nil?
386
+ header_params['Content-Type'] = content_type
387
+ end
388
+ if !avalara_version.nil?
389
+ header_params[:'avalara-version'] = avalara_version
390
+ end
391
+ if !x_avalara_client.nil?
392
+ header_params[:'X-Avalara-Client'] = x_avalara_client
393
+ end
394
+ if !x_correlation_id.nil?
395
+ header_params[:'X-Correlation-ID'] = x_correlation_id
396
+ end
397
+
398
+ # form parameters
399
+ form_params = {}
400
+
401
+ # http body (model)
402
+ post_body = @api_client.object_to_http_body(trading_partner) || {}
403
+
404
+ # return_type
405
+ return_type = 'CreateTradingPartner201Response'
406
+
407
+ # auth_names
408
+ auth_names = ['Bearer']
409
+
410
+ @api_client.apply_auth_to_request!(header_params, auth_names, required_scopes)
411
+
412
+ new_options = {
413
+ :operation => :"TradingPartnersApi.create_trading_partner",
414
+ :header_params => header_params,
415
+ :query_params => query_params,
416
+ :form_params => form_params,
417
+ :body => post_body,
418
+ :auth_names => auth_names,
419
+ :return_type => return_type
420
+ }
421
+
422
+ response = @api_client.call_api(:POST, local_var_path, new_options, required_scopes, false, :EInvoicing)
423
+ if new_options[:return_type]
424
+ data = deserialize(response, new_options[:return_type])
425
+ else
426
+ data = nil
427
+ end
428
+ return data, response.code, response.headers
429
+ end
430
+
431
+ # Creates a batch of multiple trading partners.
432
+ # This endpoint creates multiple trading partners in a single batch request. It accepts an array of trading partners and processes them synchronously. Supports a maximum of 100 records or 1 MB request payload. The batch is processed atomically and partial success is not allowed.
433
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param create_trading_partners_batch_request [CreateTradingPartnersBatchRequest] # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
434
+ # @return [CreateTradingPartnersBatch200Response]
435
+ def create_trading_partners_batch(request_parameters)
436
+ data, _status_code, _headers = create_trading_partners_batch_with_http_info(request_parameters)
437
+ data
438
+ end
439
+
440
+ # Creates a batch of multiple trading partners.
441
+ # This endpoint creates multiple trading partners in a single batch request. It accepts an array of trading partners and processes them synchronously. Supports a maximum of 100 records or 1 MB request payload. The batch is processed atomically and partial success is not allowed.
442
+
443
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
444
+ # @param create_trading_partners_batch_request [CreateTradingPartnersBatchRequest]
445
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
446
+ # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
447
+ # @return [Array<(CreateTradingPartnersBatch200Response, Integer, Hash)>] CreateTradingPartnersBatch200Response data, response status code and response headers
448
+ def create_trading_partners_batch_with_http_info(request_parameters)
449
+ # OAuth2 Scopes
450
+ required_scopes = ''
451
+ # Request Parameters
452
+ avalara_version = request_parameters.get_avalara_version()
453
+ create_trading_partners_batch_request = request_parameters.get_create_trading_partners_batch_request()
454
+ x_avalara_client = request_parameters.get_x_avalara_client()
455
+ x_correlation_id = request_parameters.get_x_correlation_id()
456
+ # verify the required parameter 'avalara_version' is set
457
+ if @api_client.config.client_side_validation && avalara_version.nil?
458
+ fail ArgumentError, "Missing the required parameter 'avalara_version' when calling TradingPartnersApi.create_trading_partners_batch"
459
+ end
460
+ # verify the required parameter 'create_trading_partners_batch_request' is set
461
+ if @api_client.config.client_side_validation && create_trading_partners_batch_request.nil?
462
+ fail ArgumentError, "Missing the required parameter 'create_trading_partners_batch_request' when calling TradingPartnersApi.create_trading_partners_batch"
463
+ end
464
+ # resource path
465
+ local_var_path = '/einvoicing/trading-partners/batch'
466
+
467
+ # query parameters
468
+ query_params = {}
469
+
470
+ # header parameters
471
+ header_params = {}
472
+ # HTTP header 'Accept' (if needed)
473
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
474
+ # HTTP header 'Content-Type'
475
+ content_type = @api_client.select_header_content_type(['application/json'])
476
+ if !content_type.nil?
477
+ header_params['Content-Type'] = content_type
478
+ end
479
+ if !avalara_version.nil?
480
+ header_params[:'avalara-version'] = avalara_version
481
+ end
482
+ if !x_avalara_client.nil?
483
+ header_params[:'X-Avalara-Client'] = x_avalara_client
484
+ end
485
+ if !x_correlation_id.nil?
486
+ header_params[:'X-Correlation-ID'] = x_correlation_id
487
+ end
488
+
489
+ # form parameters
490
+ form_params = {}
491
+
492
+ # http body (model)
493
+ post_body = @api_client.object_to_http_body(create_trading_partners_batch_request) || {}
494
+
495
+ # return_type
496
+ return_type = 'CreateTradingPartnersBatch200Response'
497
+
498
+ # auth_names
499
+ auth_names = ['Bearer']
500
+
501
+ @api_client.apply_auth_to_request!(header_params, auth_names, required_scopes)
502
+
503
+ new_options = {
504
+ :operation => :"TradingPartnersApi.create_trading_partners_batch",
505
+ :header_params => header_params,
506
+ :query_params => query_params,
507
+ :form_params => form_params,
508
+ :body => post_body,
509
+ :auth_names => auth_names,
510
+ :return_type => return_type
511
+ }
512
+
513
+ response = @api_client.call_api(:POST, local_var_path, new_options, required_scopes, false, :EInvoicing)
514
+ if new_options[:return_type]
515
+ data = deserialize(response, new_options[:return_type])
516
+ else
517
+ data = nil
518
+ end
519
+ return data, response.code, response.headers
520
+ end
521
+
522
+ # Deletes a trading partner using ID.
523
+ # This endpoint deletes an existing trading partner identified by the provided ID.
524
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param id [String] The ID of the trading partner which is being deleted. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
525
+ # @return [nil]
526
+ def delete_trading_partner(request_parameters)
527
+ delete_trading_partner_with_http_info(request_parameters)
528
+ nil
529
+ end
530
+
531
+ # Deletes a trading partner using ID.
532
+ # This endpoint deletes an existing trading partner identified by the provided ID.
533
+
534
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
535
+ # @param id [String] The ID of the trading partner which is being deleted.
536
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
537
+ # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
538
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
539
+ def delete_trading_partner_with_http_info(request_parameters)
540
+ # OAuth2 Scopes
541
+ required_scopes = ''
542
+ # Request Parameters
543
+ avalara_version = request_parameters.get_avalara_version()
544
+ id = request_parameters.get_id()
545
+ x_avalara_client = request_parameters.get_x_avalara_client()
546
+ x_correlation_id = request_parameters.get_x_correlation_id()
547
+ # verify the required parameter 'avalara_version' is set
548
+ if @api_client.config.client_side_validation && avalara_version.nil?
549
+ fail ArgumentError, "Missing the required parameter 'avalara_version' when calling TradingPartnersApi.delete_trading_partner"
550
+ end
551
+ # verify the required parameter 'id' is set
552
+ if @api_client.config.client_side_validation && id.nil?
553
+ fail ArgumentError, "Missing the required parameter 'id' when calling TradingPartnersApi.delete_trading_partner"
554
+ end
555
+ # resource path
556
+ local_var_path = '/einvoicing/trading-partners/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
557
+
558
+ # query parameters
559
+ query_params = {}
560
+
561
+ # header parameters
562
+ header_params = {}
563
+ # HTTP header 'Accept' (if needed)
564
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
565
+ if !avalara_version.nil?
566
+ header_params[:'avalara-version'] = avalara_version
567
+ end
568
+ if !x_avalara_client.nil?
569
+ header_params[:'X-Avalara-Client'] = x_avalara_client
570
+ end
571
+ if !x_correlation_id.nil?
572
+ header_params[:'X-Correlation-ID'] = x_correlation_id
573
+ end
574
+
575
+ # form parameters
576
+ form_params = {}
577
+
578
+ # http body (model)
579
+ post_body = {}
580
+
581
+ # return_type
582
+ return_type = ''
583
+
584
+ # auth_names
585
+ auth_names = ['Bearer']
586
+
587
+ @api_client.apply_auth_to_request!(header_params, auth_names, required_scopes)
588
+
589
+ new_options = {
590
+ :operation => :"TradingPartnersApi.delete_trading_partner",
591
+ :header_params => header_params,
592
+ :query_params => query_params,
593
+ :form_params => form_params,
594
+ :body => post_body,
595
+ :auth_names => auth_names,
596
+ :return_type => return_type
597
+ }
598
+
599
+ response = @api_client.call_api(:DELETE, local_var_path, new_options, required_scopes, false, :EInvoicing)
600
+ if new_options[:return_type]
601
+ data = deserialize(response, new_options[:return_type])
602
+ else
603
+ data = nil
604
+ end
605
+ return data, response.code, response.headers
606
+ end
607
+
608
+ # Downloads batch search results in a csv file.
609
+ # This endpoint downloads the report for a specific batch search using the batch search ID. It returns a CSV file containing up to 1,000 query results.
610
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param id [String] The ID of the batch search for which the report should be downloaded. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
343
611
  # @return [File]
344
612
  def download_batch_search_report(request_parameters)
345
613
  data, _status_code, _headers = download_batch_search_report_with_http_info(request_parameters)
346
614
  data
347
615
  end
348
616
 
349
- # Download batch search results in a csv file.
350
- # Downloads the report for a specific batch search using the batch search ID.
617
+ # Downloads batch search results in a csv file.
618
+ # This endpoint downloads the report for a specific batch search using the batch search ID. It returns a CSV file containing up to 1,000 query results.
351
619
 
352
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
353
- # @param id [String] The ID of the batch search whose report is to be downloaded.
354
- # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;
620
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
621
+ # @param id [String] The ID of the batch search for which the report should be downloaded.
622
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
355
623
  # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
356
624
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
357
625
  def download_batch_search_report_with_http_info(request_parameters)
@@ -423,21 +691,21 @@ module AvalaraSdk::EInvoicing
423
691
  return data, response.code, response.headers
424
692
  end
425
693
 
426
- # Get the batch search details for a given id.
427
- # This endpoint provides a detailed information for a specific batch search based on a given ID. It is ideal for tracking the progress of a previously initiated batch search operation.
428
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param id [String] The ID of the batch search that was submitted earlier. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
694
+ # Returns the batch search details using ID.
695
+ # This endpoint returns detailed information for a specific batch search using the provided ID. It is useful for tracking the status and progress of a previously initiated batch search operation.
696
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param id [String] The ID of the batch search that was submitted earlier. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
429
697
  # @return [BatchSearch]
430
698
  def get_batch_search_detail(request_parameters)
431
699
  data, _status_code, _headers = get_batch_search_detail_with_http_info(request_parameters)
432
700
  data
433
701
  end
434
702
 
435
- # Get the batch search details for a given id.
436
- # This endpoint provides a detailed information for a specific batch search based on a given ID. It is ideal for tracking the progress of a previously initiated batch search operation.
703
+ # Returns the batch search details using ID.
704
+ # This endpoint returns detailed information for a specific batch search using the provided ID. It is useful for tracking the status and progress of a previously initiated batch search operation.
437
705
 
438
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
706
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
439
707
  # @param id [String] The ID of the batch search that was submitted earlier.
440
- # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;
708
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
441
709
  # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
442
710
  # @return [Array<(BatchSearch, Integer, Hash)>] BatchSearch data, response status code and response headers
443
711
  def get_batch_search_detail_with_http_info(request_parameters)
@@ -509,25 +777,25 @@ module AvalaraSdk::EInvoicing
509
777
  return data, response.code, response.headers
510
778
  end
511
779
 
512
- # List all batch searches that were previously submitted.
513
- # This endpoint provides a way to retrieve a comprehensive list of all batch search operations that have been previously submitted. This endpoint returns details about each batch search, such as their id, status, created date and associated metadata, allowing users to easily view past batch search requests. It's particularly useful for tracking the progress of a previously initiated batch search operations.
514
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; # @param filter [String] Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported is &lt;code&gt;name&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters. # @param count [Boolean] When set to true, the count of the collection is included as @recordSetCount in the response body. # @param top [Float] The number of items to include in the result. # @param skip [String] If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets. # @param order_by [String] The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
780
+ # Lists all batch searches that were previously submitted.
781
+ # This endpoint retrieves a list of all batch search operations that have been previously submitted. It returns details such as the batch search ID, status, creation date, and associated metadata. It is useful for tracking the progress of a previously initiated batch search operations.
782
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param filter [String] Filters the results by field name. Only the &lt;code&gt;eq&lt;/code&gt; operator and the name field is supported. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/). # @param count [Boolean] When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body. # @param top [Integer] The number of items to include in the result. # @param skip [Integer] The number of items to skip in the result. # @param order_by [String] The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
515
783
  # @return [BatchSearchListResponse]
516
784
  def list_batch_searches(request_parameters)
517
785
  data, _status_code, _headers = list_batch_searches_with_http_info(request_parameters)
518
786
  data
519
787
  end
520
788
 
521
- # List all batch searches that were previously submitted.
522
- # This endpoint provides a way to retrieve a comprehensive list of all batch search operations that have been previously submitted. This endpoint returns details about each batch search, such as their id, status, created date and associated metadata, allowing users to easily view past batch search requests. It&#39;s particularly useful for tracking the progress of a previously initiated batch search operations.
789
+ # Lists all batch searches that were previously submitted.
790
+ # This endpoint retrieves a list of all batch search operations that have been previously submitted. It returns details such as the batch search ID, status, creation date, and associated metadata. It is useful for tracking the progress of a previously initiated batch search operations.
523
791
 
524
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
525
- # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;
526
- # @param filter [String] Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported is &lt;code&gt;name&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters.
527
- # @param count [Boolean] When set to true, the count of the collection is included as @recordSetCount in the response body.
528
- # @param top [Float] The number of items to include in the result.
529
- # @param skip [String] If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets.
530
- # @param order_by [String] The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.
792
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
793
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
794
+ # @param filter [String] Filters the results by field name. Only the &lt;code&gt;eq&lt;/code&gt; operator and the name field is supported. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/).
795
+ # @param count [Boolean] When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body.
796
+ # @param top [Integer] The number of items to include in the result.
797
+ # @param skip [Integer] The number of items to skip in the result.
798
+ # @param order_by [String] The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.
531
799
  # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
532
800
  # @return [Array<(BatchSearchListResponse, Integer, Hash)>] BatchSearchListResponse data, response status code and response headers
533
801
  def list_batch_searches_with_http_info(request_parameters)
@@ -615,27 +883,27 @@ module AvalaraSdk::EInvoicing
615
883
  end
616
884
 
617
885
  # Returns a list of participants matching the input query.
618
- # This endpoint provides a list of trading partners that match a specified input query. The search is performed based on various filters, search text, and other relevant parameters.
619
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param search [String] Search by value supports logical AND and OR. Refer to [https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search) for more information on search. Search will be done over &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;identifier&lt;/code&gt; parameters only. # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; # @param count [Boolean] When set to true, the count of the collection is included as @recordSetCount in the response body. # @param filter [String] Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported are &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters. # @param top [Float] The number of items to include in the result. # @param skip [String] If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets. # @param order_by [String] The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
620
- # @return [DirectorySearchResponse]
886
+ # This endpoint retrieves a list of trading partners that match the specified search criteria. It supports filtering, search text, and other relevant query parameters to narrow down the results.
887
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param search [String] Search by value supports logical &lt;code&gt;AND&lt;/code&gt; / &lt;code&gt;OR&lt;/code&gt; operators. Search is performed only over the name and identifier value fields. For more information, refer to [Query options overview - OData.](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search). # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param count [Boolean] When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body. # @param filter [String] Filters the results using the &lt;code&gt;eq&lt;/code&gt; operator. Supported fields: &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/). # @param top [Integer] The number of items to include in the result. # @param skip [Integer] The number of items to skip in the result. # @param order_by [String] The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
888
+ # @return [SearchParticipants200Response]
621
889
  def search_participants(request_parameters)
622
890
  data, _status_code, _headers = search_participants_with_http_info(request_parameters)
623
891
  data
624
892
  end
625
893
 
626
894
  # Returns a list of participants matching the input query.
627
- # This endpoint provides a list of trading partners that match a specified input query. The search is performed based on various filters, search text, and other relevant parameters.
895
+ # This endpoint retrieves a list of trading partners that match the specified search criteria. It supports filtering, search text, and other relevant query parameters to narrow down the results.
628
896
 
629
- # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
630
- # @param search [String] Search by value supports logical AND and OR. Refer to [https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search) for more information on search. Search will be done over &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;identifier&lt;/code&gt; parameters only.
631
- # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;
632
- # @param count [Boolean] When set to true, the count of the collection is included as @recordSetCount in the response body.
633
- # @param filter [String] Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported are &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters.
634
- # @param top [Float] The number of items to include in the result.
635
- # @param skip [String] If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets.
636
- # @param order_by [String] The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.
897
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
898
+ # @param search [String] Search by value supports logical &lt;code&gt;AND&lt;/code&gt; / &lt;code&gt;OR&lt;/code&gt; operators. Search is performed only over the name and identifier value fields. For more information, refer to [Query options overview - OData.](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search).
899
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
900
+ # @param count [Boolean] When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body.
901
+ # @param filter [String] Filters the results using the &lt;code&gt;eq&lt;/code&gt; operator. Supported fields: &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/).
902
+ # @param top [Integer] The number of items to include in the result.
903
+ # @param skip [Integer] The number of items to skip in the result.
904
+ # @param order_by [String] The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space.
637
905
  # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
638
- # @return [Array<(DirectorySearchResponse, Integer, Hash)>] DirectorySearchResponse data, response status code and response headers
906
+ # @return [Array<(SearchParticipants200Response, Integer, Hash)>] SearchParticipants200Response data, response status code and response headers
639
907
  def search_participants_with_http_info(request_parameters)
640
908
  # OAuth2 Scopes
641
909
  required_scopes = ''
@@ -702,7 +970,7 @@ module AvalaraSdk::EInvoicing
702
970
  post_body = {}
703
971
 
704
972
  # return_type
705
- return_type = 'DirectorySearchResponse'
973
+ return_type = 'SearchParticipants200Response'
706
974
 
707
975
  # auth_names
708
976
  auth_names = ['Bearer']
@@ -727,14 +995,111 @@ module AvalaraSdk::EInvoicing
727
995
  end
728
996
  return data, response.code, response.headers
729
997
  end
998
+
999
+ # Updates a trading partner using ID.
1000
+ # This endpoint updates the details of an existing trading partner specified by the provided ID. It performs a full update, and the request body must include all required fields.
1001
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used. # @param id [String] The ID of the trading partner which is being updated. # @param trading_partner [TradingPartner] # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
1002
+ # @return [UpdateTradingPartner200Response]
1003
+ def update_trading_partner(request_parameters)
1004
+ data, _status_code, _headers = update_trading_partner_with_http_info(request_parameters)
1005
+ data
1006
+ end
1007
+
1008
+ # Updates a trading partner using ID.
1009
+ # This endpoint updates the details of an existing trading partner specified by the provided ID. It performs a full update, and the request body must include all required fields.
1010
+
1011
+ # @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used.
1012
+ # @param id [String] The ID of the trading partner which is being updated.
1013
+ # @param trading_partner [TradingPartner]
1014
+ # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;.
1015
+ # @param x_correlation_id [String] The caller can use this as an identifier to use as a correlation id to trace the call.
1016
+ # @return [Array<(UpdateTradingPartner200Response, Integer, Hash)>] UpdateTradingPartner200Response data, response status code and response headers
1017
+ def update_trading_partner_with_http_info(request_parameters)
1018
+ # OAuth2 Scopes
1019
+ required_scopes = ''
1020
+ # Request Parameters
1021
+ avalara_version = request_parameters.get_avalara_version()
1022
+ id = request_parameters.get_id()
1023
+ trading_partner = request_parameters.get_trading_partner()
1024
+ x_avalara_client = request_parameters.get_x_avalara_client()
1025
+ x_correlation_id = request_parameters.get_x_correlation_id()
1026
+ # verify the required parameter 'avalara_version' is set
1027
+ if @api_client.config.client_side_validation && avalara_version.nil?
1028
+ fail ArgumentError, "Missing the required parameter 'avalara_version' when calling TradingPartnersApi.update_trading_partner"
1029
+ end
1030
+ # verify the required parameter 'id' is set
1031
+ if @api_client.config.client_side_validation && id.nil?
1032
+ fail ArgumentError, "Missing the required parameter 'id' when calling TradingPartnersApi.update_trading_partner"
1033
+ end
1034
+ # verify the required parameter 'trading_partner' is set
1035
+ if @api_client.config.client_side_validation && trading_partner.nil?
1036
+ fail ArgumentError, "Missing the required parameter 'trading_partner' when calling TradingPartnersApi.update_trading_partner"
1037
+ end
1038
+ # resource path
1039
+ local_var_path = '/einvoicing/trading-partners/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1040
+
1041
+ # query parameters
1042
+ query_params = {}
1043
+
1044
+ # header parameters
1045
+ header_params = {}
1046
+ # HTTP header 'Accept' (if needed)
1047
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1048
+ # HTTP header 'Content-Type'
1049
+ content_type = @api_client.select_header_content_type(['application/json'])
1050
+ if !content_type.nil?
1051
+ header_params['Content-Type'] = content_type
1052
+ end
1053
+ if !avalara_version.nil?
1054
+ header_params[:'avalara-version'] = avalara_version
1055
+ end
1056
+ if !x_avalara_client.nil?
1057
+ header_params[:'X-Avalara-Client'] = x_avalara_client
1058
+ end
1059
+ if !x_correlation_id.nil?
1060
+ header_params[:'X-Correlation-ID'] = x_correlation_id
1061
+ end
1062
+
1063
+ # form parameters
1064
+ form_params = {}
1065
+
1066
+ # http body (model)
1067
+ post_body = @api_client.object_to_http_body(trading_partner) || {}
1068
+
1069
+ # return_type
1070
+ return_type = 'UpdateTradingPartner200Response'
1071
+
1072
+ # auth_names
1073
+ auth_names = ['Bearer']
1074
+
1075
+ @api_client.apply_auth_to_request!(header_params, auth_names, required_scopes)
1076
+
1077
+ new_options = {
1078
+ :operation => :"TradingPartnersApi.update_trading_partner",
1079
+ :header_params => header_params,
1080
+ :query_params => query_params,
1081
+ :form_params => form_params,
1082
+ :body => post_body,
1083
+ :auth_names => auth_names,
1084
+ :return_type => return_type
1085
+ }
1086
+
1087
+ response = @api_client.call_api(:PUT, local_var_path, new_options, required_scopes, false, :EInvoicing)
1088
+ if new_options[:return_type]
1089
+ data = deserialize(response, new_options[:return_type])
1090
+ else
1091
+ data = nil
1092
+ end
1093
+ return data, response.code, response.headers
1094
+ end
730
1095
  end
731
1096
  # Represents the Request object for the BatchSearchParticipants API
732
1097
  #
733
- # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
734
- # @param String $name The human readable name given to this batch search. (required)
735
- # @param String $notification_email The email address of the user to whom the batch search completion notification must go to. (required)
736
- # @param File $file CSV file containing search parameters. (required)
737
- # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; (optional)
1098
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1099
+ # @param String $name A &lt;b&gt;human-readable&lt;/b&gt; name for the batch search. (required)
1100
+ # @param String $notification_email The email address to which a notification will be sent once the batch search is complete. (required)
1101
+ # @param File $file CSV file containing search parameters. Input Constraints: - Maximum file size: 1 MB - File Header: Must be less than 500 KB - Total number of lines (including header): Must be 101 or fewer (required)
1102
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
738
1103
  # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
739
1104
  #
740
1105
  class BatchSearchParticipantsRequestSdk
@@ -754,7 +1119,7 @@ module AvalaraSdk::EInvoicing
754
1119
  end
755
1120
 
756
1121
  def get_avalara_version()
757
- return @avalara_version || '1.3'
1122
+ return @avalara_version || '1.4'
758
1123
  end
759
1124
 
760
1125
  def set_avalara_version(avalara_version)
@@ -801,11 +1166,164 @@ module AvalaraSdk::EInvoicing
801
1166
  @x_correlation_id = x_correlation_id
802
1167
  end
803
1168
  end
1169
+ # Represents the Request object for the CreateTradingPartner API
1170
+ #
1171
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1172
+ # @param TradingPartner $trading_partner trading_partner (required)
1173
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1174
+ # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
1175
+ #
1176
+ class CreateTradingPartnerRequestSdk
1177
+ attr_accessor :avalara_version
1178
+
1179
+ attr_accessor :trading_partner
1180
+
1181
+ attr_accessor :x_avalara_client
1182
+
1183
+ attr_accessor :x_correlation_id
1184
+
1185
+ def initialize()
1186
+ end
1187
+
1188
+ def get_avalara_version()
1189
+ return @avalara_version || '1.4'
1190
+ end
1191
+
1192
+ def set_avalara_version(avalara_version)
1193
+ @avalara_version = avalara_version
1194
+ end
1195
+
1196
+ def get_trading_partner()
1197
+ return @trading_partner
1198
+ end
1199
+
1200
+ def set_trading_partner(trading_partner)
1201
+ @trading_partner = trading_partner
1202
+ end
1203
+
1204
+ def get_x_avalara_client()
1205
+ return @x_avalara_client
1206
+ end
1207
+
1208
+ def set_x_avalara_client(x_avalara_client)
1209
+ @x_avalara_client = x_avalara_client
1210
+ end
1211
+
1212
+ def get_x_correlation_id()
1213
+ return @x_correlation_id
1214
+ end
1215
+
1216
+ def set_x_correlation_id(x_correlation_id)
1217
+ @x_correlation_id = x_correlation_id
1218
+ end
1219
+ end
1220
+ # Represents the Request object for the CreateTradingPartnersBatch API
1221
+ #
1222
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1223
+ # @param CreateTradingPartnersBatchRequest $create_trading_partners_batch_request create_trading_partners_batch_request (required)
1224
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1225
+ # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
1226
+ #
1227
+ class CreateTradingPartnersBatchRequestSdk
1228
+ attr_accessor :avalara_version
1229
+
1230
+ attr_accessor :create_trading_partners_batch_request
1231
+
1232
+ attr_accessor :x_avalara_client
1233
+
1234
+ attr_accessor :x_correlation_id
1235
+
1236
+ def initialize()
1237
+ end
1238
+
1239
+ def get_avalara_version()
1240
+ return @avalara_version || '1.4'
1241
+ end
1242
+
1243
+ def set_avalara_version(avalara_version)
1244
+ @avalara_version = avalara_version
1245
+ end
1246
+
1247
+ def get_create_trading_partners_batch_request()
1248
+ return @create_trading_partners_batch_request
1249
+ end
1250
+
1251
+ def set_create_trading_partners_batch_request(create_trading_partners_batch_request)
1252
+ @create_trading_partners_batch_request = create_trading_partners_batch_request
1253
+ end
1254
+
1255
+ def get_x_avalara_client()
1256
+ return @x_avalara_client
1257
+ end
1258
+
1259
+ def set_x_avalara_client(x_avalara_client)
1260
+ @x_avalara_client = x_avalara_client
1261
+ end
1262
+
1263
+ def get_x_correlation_id()
1264
+ return @x_correlation_id
1265
+ end
1266
+
1267
+ def set_x_correlation_id(x_correlation_id)
1268
+ @x_correlation_id = x_correlation_id
1269
+ end
1270
+ end
1271
+ # Represents the Request object for the DeleteTradingPartner API
1272
+ #
1273
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1274
+ # @param String $id The ID of the trading partner which is being deleted. (required)
1275
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1276
+ # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
1277
+ #
1278
+ class DeleteTradingPartnerRequestSdk
1279
+ attr_accessor :avalara_version
1280
+
1281
+ attr_accessor :id
1282
+
1283
+ attr_accessor :x_avalara_client
1284
+
1285
+ attr_accessor :x_correlation_id
1286
+
1287
+ def initialize()
1288
+ end
1289
+
1290
+ def get_avalara_version()
1291
+ return @avalara_version || '1.4'
1292
+ end
1293
+
1294
+ def set_avalara_version(avalara_version)
1295
+ @avalara_version = avalara_version
1296
+ end
1297
+
1298
+ def get_id()
1299
+ return @id
1300
+ end
1301
+
1302
+ def set_id(id)
1303
+ @id = id
1304
+ end
1305
+
1306
+ def get_x_avalara_client()
1307
+ return @x_avalara_client
1308
+ end
1309
+
1310
+ def set_x_avalara_client(x_avalara_client)
1311
+ @x_avalara_client = x_avalara_client
1312
+ end
1313
+
1314
+ def get_x_correlation_id()
1315
+ return @x_correlation_id
1316
+ end
1317
+
1318
+ def set_x_correlation_id(x_correlation_id)
1319
+ @x_correlation_id = x_correlation_id
1320
+ end
1321
+ end
804
1322
  # Represents the Request object for the DownloadBatchSearchReport API
805
1323
  #
806
- # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
807
- # @param String $id The ID of the batch search whose report is to be downloaded. (required)
808
- # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; (optional)
1324
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1325
+ # @param String $id The ID of the batch search for which the report should be downloaded. (required)
1326
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
809
1327
  # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
810
1328
  #
811
1329
  class DownloadBatchSearchReportRequestSdk
@@ -821,7 +1339,7 @@ module AvalaraSdk::EInvoicing
821
1339
  end
822
1340
 
823
1341
  def get_avalara_version()
824
- return @avalara_version || '1.3'
1342
+ return @avalara_version || '1.4'
825
1343
  end
826
1344
 
827
1345
  def set_avalara_version(avalara_version)
@@ -854,9 +1372,9 @@ module AvalaraSdk::EInvoicing
854
1372
  end
855
1373
  # Represents the Request object for the GetBatchSearchDetail API
856
1374
  #
857
- # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
1375
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
858
1376
  # @param String $id The ID of the batch search that was submitted earlier. (required)
859
- # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; (optional)
1377
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
860
1378
  # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
861
1379
  #
862
1380
  class GetBatchSearchDetailRequestSdk
@@ -872,7 +1390,7 @@ module AvalaraSdk::EInvoicing
872
1390
  end
873
1391
 
874
1392
  def get_avalara_version()
875
- return @avalara_version || '1.3'
1393
+ return @avalara_version || '1.4'
876
1394
  end
877
1395
 
878
1396
  def set_avalara_version(avalara_version)
@@ -905,13 +1423,13 @@ module AvalaraSdk::EInvoicing
905
1423
  end
906
1424
  # Represents the Request object for the ListBatchSearches API
907
1425
  #
908
- # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
909
- # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; (optional)
910
- # @param String $filter Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported is &lt;code&gt;name&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters. (optional)
911
- # @param Boolean $count When set to true, the count of the collection is included as @recordSetCount in the response body. (optional)
912
- # @param Float $top The number of items to include in the result. (optional)
913
- # @param String $skip If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets. (optional)
914
- # @param String $order_by The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. (optional)
1426
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1427
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1428
+ # @param String $filter Filters the results by field name. Only the &lt;code&gt;eq&lt;/code&gt; operator and the name field is supported. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/). (optional)
1429
+ # @param Boolean $count When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body. (optional)
1430
+ # @param Integer $top The number of items to include in the result. (optional)
1431
+ # @param Integer $skip The number of items to skip in the result. (optional)
1432
+ # @param String $order_by The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. (optional)
915
1433
  # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
916
1434
  #
917
1435
  class ListBatchSearchesRequestSdk
@@ -935,7 +1453,7 @@ module AvalaraSdk::EInvoicing
935
1453
  end
936
1454
 
937
1455
  def get_avalara_version()
938
- return @avalara_version || '1.3'
1456
+ return @avalara_version || '1.4'
939
1457
  end
940
1458
 
941
1459
  def set_avalara_version(avalara_version)
@@ -1000,14 +1518,14 @@ module AvalaraSdk::EInvoicing
1000
1518
  end
1001
1519
  # Represents the Request object for the SearchParticipants API
1002
1520
  #
1003
- # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
1004
- # @param String $search Search by value supports logical AND and OR. Refer to [https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search) for more information on search. Search will be done over &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;identifier&lt;/code&gt; parameters only. (required)
1005
- # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot; (optional)
1006
- # @param Boolean $count When set to true, the count of the collection is included as @recordSetCount in the response body. (optional)
1007
- # @param String $filter Filter by field name and value. This filter only supports &lt;code&gt;eq&lt;/code&gt; .The parameters supported are &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided parameters. (optional)
1008
- # @param Float $top The number of items to include in the result. (optional)
1009
- # @param String $skip If nonzero, skip this number of results before returning data. Used with &lt;code&gt;$top&lt;/code&gt; to provide pagination for large datasets. (optional)
1010
- # @param String $order_by The $orderBy query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. (optional)
1521
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1522
+ # @param String $search Search by value supports logical &lt;code&gt;AND&lt;/code&gt; / &lt;code&gt;OR&lt;/code&gt; operators. Search is performed only over the name and identifier value fields. For more information, refer to [Query options overview - OData.](https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#search). (required)
1523
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1524
+ # @param Boolean $count When set to &lt;code&gt;true&lt;/code&gt;, returns the total count of matching records included as &lt;code&gt;@recordSetCount&lt;/code&gt; in the response body. (optional)
1525
+ # @param String $filter Filters the results using the &lt;code&gt;eq&lt;/code&gt; operator. Supported fields: &lt;code&gt;network&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;documentType&lt;/code&gt;, &lt;code&gt;idType&lt;/code&gt;. For more information, refer to [AvaTax filtering guide](https://developer.avalara.com/avatax/filtering-in-rest/). (optional)
1526
+ # @param Integer $top The number of items to include in the result. (optional)
1527
+ # @param Integer $skip The number of items to skip in the result. (optional)
1528
+ # @param String $order_by The &lt;code&gt;$orderBy&lt;/code&gt; query parameter specifies the field and sorting direction for ordering the result set. The value is a string that combines a field name and a sorting direction (asc for ascending or desc for descending), separated by a space. (optional)
1011
1529
  # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
1012
1530
  #
1013
1531
  class SearchParticipantsRequestSdk
@@ -1033,7 +1551,7 @@ module AvalaraSdk::EInvoicing
1033
1551
  end
1034
1552
 
1035
1553
  def get_avalara_version()
1036
- return @avalara_version || '1.3'
1554
+ return @avalara_version || '1.4'
1037
1555
  end
1038
1556
 
1039
1557
  def set_avalara_version(avalara_version)
@@ -1100,6 +1618,68 @@ module AvalaraSdk::EInvoicing
1100
1618
  return @x_correlation_id
1101
1619
  end
1102
1620
 
1621
+ def set_x_correlation_id(x_correlation_id)
1622
+ @x_correlation_id = x_correlation_id
1623
+ end
1624
+ end
1625
+ # Represents the Request object for the UpdateTradingPartner API
1626
+ #
1627
+ # @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used. (required)
1628
+ # @param String $id The ID of the trading partner which is being updated. (required)
1629
+ # @param TradingPartner $trading_partner trading_partner (required)
1630
+ # @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a \&quot;Fingerprint\&quot;. (optional)
1631
+ # @param String $x_correlation_id The caller can use this as an identifier to use as a correlation id to trace the call. (optional)
1632
+ #
1633
+ class UpdateTradingPartnerRequestSdk
1634
+ attr_accessor :avalara_version
1635
+
1636
+ attr_accessor :id
1637
+
1638
+ attr_accessor :trading_partner
1639
+
1640
+ attr_accessor :x_avalara_client
1641
+
1642
+ attr_accessor :x_correlation_id
1643
+
1644
+ def initialize()
1645
+ end
1646
+
1647
+ def get_avalara_version()
1648
+ return @avalara_version || '1.4'
1649
+ end
1650
+
1651
+ def set_avalara_version(avalara_version)
1652
+ @avalara_version = avalara_version
1653
+ end
1654
+
1655
+ def get_id()
1656
+ return @id
1657
+ end
1658
+
1659
+ def set_id(id)
1660
+ @id = id
1661
+ end
1662
+
1663
+ def get_trading_partner()
1664
+ return @trading_partner
1665
+ end
1666
+
1667
+ def set_trading_partner(trading_partner)
1668
+ @trading_partner = trading_partner
1669
+ end
1670
+
1671
+ def get_x_avalara_client()
1672
+ return @x_avalara_client
1673
+ end
1674
+
1675
+ def set_x_avalara_client(x_avalara_client)
1676
+ @x_avalara_client = x_avalara_client
1677
+ end
1678
+
1679
+ def get_x_correlation_id()
1680
+ return @x_correlation_id
1681
+ end
1682
+
1103
1683
  def set_x_correlation_id(x_correlation_id)
1104
1684
  @x_correlation_id = x_correlation_id
1105
1685
  end