avalara_sdk 25.7.2 → 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.
- checksums.yaml +4 -4
- data/README.md +76 -39
- data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
- data/docs/A1099/V2/CompaniesW9Api.md +22 -22
- data/docs/A1099/V2/CoveredIndividualReferenceResponse.md +56 -0
- data/docs/A1099/V2/CoveredIndividualRequest.md +19 -19
- data/docs/A1099/V2/Create1099Form201Response.md +59 -0
- data/docs/A1099/V2/CreateW9Form201Response.md +55 -0
- data/docs/A1099/V2/CreateW9FormRequest.md +55 -0
- data/docs/A1099/V2/Form1042SList.md +20 -0
- data/docs/A1099/V2/Form1042SListItem.md +108 -0
- data/docs/A1099/V2/Form1042SListItemResponse.md +130 -0
- data/docs/A1099/V2/Form1042SRequest.md +110 -0
- data/docs/A1099/V2/Form1042SResponse.md +88 -0
- data/docs/A1099/V2/Form1095BListItem.md +31 -31
- data/docs/A1099/V2/Form1095BListItemResponse.md +86 -0
- data/docs/A1099/V2/Form1095BRequest.md +33 -33
- data/docs/A1099/V2/Form1099BaseResponse.md +82 -0
- data/docs/A1099/V2/Form1099DivListItem.md +45 -45
- data/docs/A1099/V2/Form1099DivRequest.md +44 -44
- data/docs/A1099/V2/Form1099DivResponse.md +3 -3
- data/docs/A1099/V2/Form1099KListItem.md +46 -46
- data/docs/A1099/V2/Form1099KListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099KRequest.md +45 -45
- data/docs/A1099/V2/Form1099ListResponse.md +18 -0
- data/docs/A1099/V2/Form1099ListResponseValueInner.md +59 -0
- data/docs/A1099/V2/Form1099MiscListItem.md +43 -43
- data/docs/A1099/V2/Form1099MiscListItemResponse.md +108 -0
- data/docs/A1099/V2/Form1099MiscRequest.md +42 -42
- data/docs/A1099/V2/Form1099MiscResponse.md +5 -5
- data/docs/A1099/V2/Form1099NecListItem.md +31 -31
- data/docs/A1099/V2/Form1099NecListItemResponse.md +88 -0
- data/docs/A1099/V2/Form1099NecRequest.md +30 -30
- data/docs/A1099/V2/Form1099NecResponse.md +5 -5
- data/docs/A1099/V2/Form1099RListItem.md +47 -47
- data/docs/A1099/V2/Form1099RListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099RRequest.md +45 -45
- data/docs/A1099/V2/Form1099StatusDetailResponse.md +20 -0
- data/docs/A1099/V2/FormRequestBase.md +23 -23
- data/docs/A1099/V2/FormRequestListItemBase.md +66 -0
- data/docs/A1099/V2/FormResponseBase.md +3 -3
- data/docs/A1099/V2/FormSingleRequestBase.md +25 -25
- data/docs/A1099/V2/Forms1099Api.md +75 -63
- data/docs/A1099/V2/FormsW9Api.md +61 -56
- data/docs/A1099/V2/Get1099Form200Response.md +15 -11
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +38 -0
- data/docs/A1099/V2/IntermediaryOrFlowThroughRequest.md +38 -0
- data/docs/A1099/V2/IntermediaryOrFlowThroughResponse.md +38 -0
- data/docs/A1099/V2/Issuers1099Api.md +23 -23
- data/docs/A1099/V2/JobResult.md +15 -15
- data/docs/A1099/V2/Jobs1099Api.md +2 -2
- data/docs/A1099/V2/PrimaryWithholdingAgent.md +20 -0
- data/docs/A1099/V2/PrimaryWithholdingAgentRequest.md +20 -0
- data/docs/A1099/V2/PrimaryWithholdingAgentResponse.md +20 -0
- data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +8 -8
- data/docs/A1099/V2/StateEfileStatusDetailResponse.md +22 -0
- data/docs/A1099/V2/SubstantialUsOwnerRequest.md +22 -0
- data/docs/A1099/V2/Update1099Form200Response.md +3 -1
- data/docs/A1099/V2/ValidationErrorResponse.md +20 -0
- data/docs/A1099/V2/W4FormDataModel.md +5 -5
- data/docs/A1099/V2/W4FormRequest.md +66 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +218 -0
- data/docs/A1099/V2/W8BenEFormResponse.md +3 -3
- data/docs/A1099/V2/W8BenFormDataModel.md +5 -5
- data/docs/A1099/V2/W8BenFormRequest.md +76 -0
- data/docs/A1099/V2/W8BeneFormDataModel.md +5 -5
- data/docs/A1099/V2/W8ImyFormDataModel.md +5 -5
- data/docs/A1099/V2/W8ImyFormRequest.md +250 -0
- data/docs/A1099/V2/W8ImyFormResponse.md +2 -2
- data/docs/A1099/V2/W9FormBaseRequest.md +28 -0
- data/docs/A1099/V2/W9FormDataModel.md +5 -5
- data/docs/A1099/V2/W9FormRequest.md +64 -0
- data/docs/EInvoicing/V1/Address.md +28 -0
- data/docs/EInvoicing/V1/BatchErrorDetail.md +20 -0
- data/docs/EInvoicing/V1/BatchSearchListResponse.md +2 -2
- data/docs/EInvoicing/V1/Consents.md +18 -0
- data/docs/EInvoicing/V1/CreateTradingPartner201Response.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatch200Response.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatch200ResponseValueInner.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatchRequest.md +18 -0
- data/docs/EInvoicing/V1/DataInputFieldsApi.md +5 -5
- data/docs/EInvoicing/V1/DocumentsApi.md +9 -9
- data/docs/EInvoicing/V1/Extension.md +20 -0
- data/docs/EInvoicing/V1/Identifier.md +22 -0
- data/docs/EInvoicing/V1/InteropApi.md +1 -1
- data/docs/EInvoicing/V1/MandatesApi.md +6 -6
- data/docs/EInvoicing/V1/SearchParticipants200Response.md +22 -0
- data/docs/EInvoicing/V1/SubscriptionsApi.md +12 -12
- data/docs/EInvoicing/V1/SupportedDocumentTypes.md +26 -0
- data/docs/EInvoicing/V1/TaxIdentifierRequest.md +24 -0
- data/docs/EInvoicing/V1/TaxIdentifierResponse.md +20 -0
- data/docs/EInvoicing/V1/TaxIdentifierResponseValue.md +22 -0
- data/docs/EInvoicing/V1/TaxIdentifierSchemaByCountry200Response.md +20 -0
- data/docs/EInvoicing/V1/TaxIdentifiersApi.md +177 -0
- data/docs/EInvoicing/V1/TradingPartner.md +34 -0
- data/docs/EInvoicing/V1/TradingPartnersApi.md +412 -75
- data/docs/EInvoicing/V1/UpdateTradingPartner200Response.md +22 -0
- data/docs/EInvoicing/V1/ValidationError.md +20 -0
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +14 -14
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +51 -39
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +56 -50
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +20 -20
- data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +2 -2
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +7 -7
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +11 -11
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +2 -2
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +8 -8
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +21 -21
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +531 -0
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +660 -80
- data/lib/avalara_sdk/models/A1099/V2/attribute.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_v2_data_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/base_company_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -1
- data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_response_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +407 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +20 -1
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +106 -0
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form201_response.rb +104 -0
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form_request.rb +104 -0
- data/lib/avalara_sdk/models/A1099/V2/data.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response_errors_inner.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +891 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +925 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +855 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +600 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +147 -14
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +700 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +149 -16
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +661 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +168 -13
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +159 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +5 -5
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +169 -13
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +930 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +160 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +220 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +106 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +171 -19
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +810 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +162 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +12 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +168 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +700 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +157 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +12 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +171 -15
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +888 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +160 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +223 -0
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +138 -12
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +611 -0
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +5 -5
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +140 -14
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +8 -6
- data/lib/avalara_sdk/models/A1099/V2/http_validation_problem_details.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/iw9_form_data_models_one_of.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/job_result.rb +16 -1
- data/lib/avalara_sdk/models/A1099/V2/link.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +5 -1
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +9 -1
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +231 -0
- data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_request.rb +233 -0
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +2 -1
- data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +231 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +509 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +1343 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +4 -4
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_substantial_us_owner_data_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +561 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_bene_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +1518 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +299 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +495 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +4 -3
- data/lib/avalara_sdk/models/EInvoicing/V1/address.rb +382 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_error_detail.rb +223 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_search.rb +1 -1
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_search_list_response.rb +3 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/consents.rb +213 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partner201_response.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response.rb +232 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response_value_inner.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch_request.rb +212 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/data_input_fields_response.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/error_response.rb +1 -1
- data/lib/avalara_sdk/models/EInvoicing/V1/extension.rb +256 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/hmac_signature_value.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/identifier.rb +302 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/mandate.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/pagination.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/required_when_field.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/search_participants200_response.rb +232 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/signature.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/signature_value.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/subscription_common.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/success_response.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/supported_document_types.rb +305 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_request.rb +329 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response.rb +228 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response_value.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_schema_by_country200_response.rb +235 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/trading_partner.rb +411 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/update_trading_partner200_response.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/validation_error.rb +222 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/webhooks_error_response.rb +1 -2
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/mkmf.log +4 -4
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/attach.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/debase_internals.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +7 -7
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/mkmf.log +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/debug/debug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/erb/escape.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/mkmf.log +21 -21
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/mkmf.log +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/prism/prism.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/mkmf.log +10 -10
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/racc/cparse.so +0 -0
- 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
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/attach.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/debase_internals.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/lib/debug/debug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/ext/erb/escape/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/lib/erb/escape.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/ext/io/console/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/ext/prism/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/lib/prism/prism.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/ext/psych/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/ext/stringio/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
- metadata +108 -2
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.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
|
-
#
|
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]
|
242
|
-
# @param notification_email [String] The email address
|
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
|
-
#
|
341
|
-
#
|
342
|
-
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param
|
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 \"Fingerprint\". # @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 `TradingPartner` 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 \"Fingerprint\".
|
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 \"Fingerprint\". # @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 \"Fingerprint\".
|
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 \"Fingerprint\". # @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 \"Fingerprint\".
|
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 \"Fingerprint\". # @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
|
-
#
|
350
|
-
#
|
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
|
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 \"Fingerprint\"
|
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 \"Fingerprint\".
|
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
|
-
#
|
427
|
-
# This endpoint
|
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 \"Fingerprint\"
|
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 \"Fingerprint\". # @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
|
-
#
|
436
|
-
# This endpoint
|
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 \"Fingerprint\"
|
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 \"Fingerprint\".
|
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
|
-
#
|
513
|
-
# This endpoint
|
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 \"Fingerprint\"
|
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 \"Fingerprint\". # @param filter [String] Filters the results by field name. Only the <code>eq</code> 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 <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> 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 <code>$orderBy</code> 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
|
-
#
|
522
|
-
# This endpoint
|
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 \"Fingerprint\"
|
526
|
-
# @param filter [String]
|
527
|
-
# @param count [Boolean] When set to true
|
528
|
-
# @param top [
|
529
|
-
# @param skip [
|
530
|
-
# @param order_by [String] The
|
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 \"Fingerprint\".
|
794
|
+
# @param filter [String] Filters the results by field name. Only the <code>eq</code> 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 <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> 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 <code>$orderBy</code> 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
|
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
|
620
|
-
# @return [
|
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 <code>AND</code> / <code>OR</code> 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 \"Fingerprint\". # @param count [Boolean] When set to <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> in the response body. # @param filter [String] Filters the results using the <code>eq</code> operator. Supported fields: <code>network</code>, <code>country</code>, <code>documentType</code>, <code>idType</code>. 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 <code>$orderBy</code> 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
|
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
|
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 \"Fingerprint\"
|
632
|
-
# @param count [Boolean] When set to true
|
633
|
-
# @param filter [String]
|
634
|
-
# @param top [
|
635
|
-
# @param skip [
|
636
|
-
# @param order_by [String] The
|
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 <code>AND</code> / <code>OR</code> 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 \"Fingerprint\".
|
900
|
+
# @param count [Boolean] When set to <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> in the response body.
|
901
|
+
# @param filter [String] Filters the results using the <code>eq</code> operator. Supported fields: <code>network</code>, <code>country</code>, <code>documentType</code>, <code>idType</code>. 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 <code>$orderBy</code> 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<(
|
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 = '
|
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 \"Fingerprint\". # @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 \"Fingerprint\".
|
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
|
735
|
-
# @param String $notification_email The email address
|
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 \"Fingerprint\"
|
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 <b>human-readable</b> 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 \"Fingerprint\". (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.
|
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 \"Fingerprint\". (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 \"Fingerprint\". (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 \"Fingerprint\". (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
|
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 \"Fingerprint\"
|
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 \"Fingerprint\". (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.
|
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 \"Fingerprint\"
|
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 \"Fingerprint\". (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.
|
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 \"Fingerprint\"
|
910
|
-
# @param String $filter
|
911
|
-
# @param Boolean $count When set to true
|
912
|
-
# @param
|
913
|
-
# @param
|
914
|
-
# @param String $order_by The
|
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 \"Fingerprint\". (optional)
|
1428
|
+
# @param String $filter Filters the results by field name. Only the <code>eq</code> 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 <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> 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 <code>$orderBy</code> 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.
|
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
|
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 \"Fingerprint\"
|
1006
|
-
# @param Boolean $count When set to true
|
1007
|
-
# @param String $filter
|
1008
|
-
# @param
|
1009
|
-
# @param
|
1010
|
-
# @param String $order_by The
|
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 <code>AND</code> / <code>OR</code> 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 \"Fingerprint\". (optional)
|
1524
|
+
# @param Boolean $count When set to <code>true</code>, returns the total count of matching records included as <code>@recordSetCount</code> in the response body. (optional)
|
1525
|
+
# @param String $filter Filters the results using the <code>eq</code> operator. Supported fields: <code>network</code>, <code>country</code>, <code>documentType</code>, <code>idType</code>. 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 <code>$orderBy</code> 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.
|
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 \"Fingerprint\". (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
|