wire4_client 0.0.1.pre.SNAPSHOT → 0.0.9.pre.TEST
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +84 -44
- data/docs/Account.md +3 -3
- data/docs/AccountDetail.md +13 -0
- data/docs/AccountReassigned.md +22 -0
- data/docs/AccountResponse.md +6 -3
- data/docs/AccountSpid.md +2 -2
- data/docs/AddressCompany.md +17 -0
- data/docs/AmountRequest.md +2 -0
- data/docs/AuthorizationTransactionGroup.md +9 -0
- data/docs/AuthorizedBeneficiariesResponse.md +10 -0
- data/docs/AuthorizedUsers.md +13 -0
- data/docs/AutorizacinDeDepsitosApi.md +113 -0
- data/docs/BeneficiariesQueryRegisterStatus.md +13 -0
- data/docs/BillingTransaction.md +1 -1
- data/docs/CertificateRequest.md +11 -0
- data/docs/CodiCodeQrResponseDTO.md +17 -0
- data/docs/CodiCodeRequestDTO.md +14 -0
- data/docs/CodiOperationResponseDTO.md +14 -0
- data/docs/CodiOperationsFiltersRequestDTO.md +15 -0
- data/docs/CompanyRegistered.md +13 -0
- data/docs/CompanyRequested.md +11 -0
- data/docs/Compay.md +11 -0
- data/docs/ComprobanteElectrnicoDePagoCEPApi.md +6 -8
- data/docs/ConfigurationsLimits.md +9 -0
- data/docs/ContactoApi.md +6 -8
- data/docs/ContractDetailRequest.md +11 -0
- data/docs/ContractDetailResponse.md +9 -0
- data/docs/ContractsDetailsApi.md +222 -0
- data/docs/CuentasDeBeneficiariosSPEIApi.md +163 -54
- data/docs/CuentasDeBeneficiariosSPIDApi.md +73 -8
- data/docs/Deposit.md +1 -0
- data/docs/DepositAuthorizationRequest.md +10 -0
- data/docs/DepositantesApi.md +12 -16
- data/docs/DepositsAuthorizationResponse.md +10 -0
- data/docs/DetailedErrorResponse.md +10 -0
- data/docs/EmpresasCoDiApi.md +107 -0
- data/docs/FacturasApi.md +12 -16
- data/docs/InstitucionesApi.md +10 -9
- data/docs/Item.md +10 -0
- data/docs/LmitesDeMontosApi.md +112 -0
- data/docs/MessageAccountBeneficiary.md +2 -2
- data/docs/MessageCEP.md +9 -9
- data/docs/MessageCodiAction.md +19 -0
- data/docs/MessageConfigurationsLimits.md +8 -0
- data/docs/MessageDepositAuthorizationRequest.md +27 -0
- data/docs/MessageDepositReceived.md +1 -0
- data/docs/MessagePayment.md +3 -1
- data/docs/MessagePaymentStatePending.md +23 -0
- data/docs/MessageRequestChanged.md +9 -0
- data/docs/MessageSalesPoint.md +10 -0
- data/docs/MessageSubscription.md +6 -5
- data/docs/MessageUserAuthorized.md +14 -0
- data/docs/MessageWebHook.md +2 -2
- data/docs/OperacionesCoDiApi.md +68 -0
- data/docs/Operations.md +17 -0
- data/docs/PagerResponseDto.md +13 -0
- data/docs/Payment.md +4 -2
- data/docs/PaymentCODI.md +13 -0
- data/docs/PaymentRequestCodiResponseDTO.md +18 -0
- data/docs/PaymentsRequestId.md +13 -0
- data/docs/PeticionesDePagoPorCoDiApi.md +116 -0
- data/docs/PreMonexAuthorization.md +11 -0
- data/docs/PuntosDeVentaCoDiApi.md +113 -0
- data/docs/SaldoApi.md +6 -8
- data/docs/SalesPoint.md +10 -0
- data/docs/SalesPointFound.md +14 -0
- data/docs/SalesPointRequest.md +11 -0
- data/docs/SalesPointRespose.md +11 -0
- data/docs/SpidBeneficiariesResponse.md +8 -0
- data/docs/SpidBeneficiaryResponse.md +20 -0
- data/docs/SuscripcionesApi.md +32 -38
- data/docs/TransactionErrorCode.md +10 -0
- data/docs/TransactionOutgoing.md +2 -1
- data/docs/TransferenciasSPEIApi.md +136 -32
- data/docs/TransferenciasSPIDApi.md +12 -16
- data/docs/UpdateConfigurationsRequestDTO.md +8 -0
- data/docs/UrlsRedirect.md +9 -0
- data/docs/UserCompany.md +16 -0
- data/docs/WebHookDepositAuthorizationRequest.md +9 -0
- data/docs/WebHookDepositAuthorizationResponse.md +13 -0
- data/docs/Webhook.md +13 -0
- data/docs/WebhooksApi.md +22 -25
- data/lib/wire4_client.rb +56 -2
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +173 -0
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +12 -5
- data/lib/wire4_client/api/contacto_api.rb +12 -5
- data/lib/wire4_client/api/contracts_details_api.rb +301 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +262 -33
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +104 -5
- data/lib/wire4_client/api/depositantes_api.rb +23 -9
- data/lib/wire4_client/api/empresas_co_di_api.rb +137 -0
- data/lib/wire4_client/api/facturas_api.rb +23 -9
- data/lib/wire4_client/api/instituciones_api.rb +12 -5
- data/lib/wire4_client/api/lmites_de_montos_api.rb +160 -0
- data/lib/wire4_client/api/operaciones_co_di_api.rb +92 -0
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +178 -0
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +151 -0
- data/lib/wire4_client/api/saldo_api.rb +12 -5
- data/lib/wire4_client/api/suscripciones_api.rb +48 -27
- data/lib/wire4_client/api/transferencias_spei_api.rb +204 -17
- data/lib/wire4_client/api/transferencias_spid_api.rb +23 -9
- data/lib/wire4_client/api/webhooks_api.rb +34 -13
- data/lib/wire4_client/api_client.rb +1 -2
- data/lib/wire4_client/api_error.rb +1 -1
- data/lib/wire4_client/configuration.rb +1 -22
- data/lib/wire4_client/models/account.rb +4 -4
- data/lib/wire4_client/models/account_detail.rb +239 -0
- data/lib/wire4_client/models/account_reassigned.rb +385 -0
- data/lib/wire4_client/models/account_request.rb +1 -1
- data/lib/wire4_client/models/account_response.rb +38 -8
- data/lib/wire4_client/models/account_spid.rb +3 -3
- data/lib/wire4_client/models/address_company.rb +275 -0
- data/lib/wire4_client/models/amount_request.rb +91 -5
- data/lib/wire4_client/models/authorization_transaction_group.rb +207 -0
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +206 -0
- data/lib/wire4_client/models/authorized_users.rb +235 -0
- data/lib/wire4_client/models/balance.rb +1 -1
- data/lib/wire4_client/models/balance_list_response.rb +1 -1
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +270 -0
- data/lib/wire4_client/models/beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/beneficiary_institution.rb +1 -1
- data/lib/wire4_client/models/billing.rb +1 -1
- data/lib/wire4_client/models/billing_transaction.rb +2 -2
- data/lib/wire4_client/models/cep_response.rb +1 -1
- data/lib/wire4_client/models/cep_search_banxico.rb +1 -1
- data/lib/wire4_client/models/certificate_request.rb +248 -0
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +320 -0
- data/lib/wire4_client/models/codi_code_request_dto.rb +402 -0
- data/lib/wire4_client/models/{timestamp.rb → codi_operation_response_dto.rb} +53 -72
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +336 -0
- data/lib/wire4_client/models/company_registered.rb +235 -0
- data/lib/wire4_client/models/company_requested.rb +215 -0
- data/lib/wire4_client/models/compay.rb +215 -0
- data/lib/wire4_client/models/configurations_limits.rb +197 -0
- data/lib/wire4_client/models/contact_request.rb +1 -1
- data/lib/wire4_client/models/contract_detail_request.rb +247 -0
- data/lib/wire4_client/models/contract_detail_response.rb +194 -0
- data/lib/wire4_client/models/deposit.rb +12 -2
- data/lib/wire4_client/models/deposit_authorization_request.rb +205 -0
- data/lib/wire4_client/models/depositant.rb +1 -1
- data/lib/wire4_client/models/depositants_register.rb +1 -1
- data/lib/wire4_client/models/depositants_response.rb +1 -1
- data/lib/wire4_client/models/deposits_authorization_response.rb +205 -0
- data/lib/wire4_client/models/detailed_error_response.rb +203 -0
- data/lib/wire4_client/models/error_response.rb +1 -1
- data/lib/wire4_client/models/get_depositants.rb +1 -1
- data/lib/wire4_client/models/institution.rb +1 -1
- data/lib/wire4_client/models/institutions_list.rb +1 -1
- data/lib/wire4_client/models/item.rb +205 -0
- data/lib/wire4_client/models/message_account_beneficiary.rb +3 -3
- data/lib/wire4_client/models/message_cep.rb +11 -11
- data/lib/wire4_client/models/message_codi_action.rb +295 -0
- data/lib/wire4_client/models/message_configurations_limits.rb +187 -0
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +375 -0
- data/lib/wire4_client/models/message_deposit_received.rb +13 -3
- data/lib/wire4_client/models/message_institution.rb +1 -1
- data/lib/wire4_client/models/message_payment.rb +24 -3
- data/lib/wire4_client/models/message_payment_state_pending.rb +335 -0
- data/lib/wire4_client/models/message_request_changed.rb +229 -0
- data/lib/wire4_client/models/message_sales_point.rb +205 -0
- data/lib/wire4_client/models/message_subscription.rb +18 -8
- data/lib/wire4_client/models/message_user_authorized.rb +245 -0
- data/lib/wire4_client/models/message_web_hook.rb +3 -3
- data/lib/wire4_client/models/operations.rb +321 -0
- data/lib/wire4_client/models/pager_response_dto.rb +236 -0
- data/lib/wire4_client/models/payment.rb +24 -4
- data/lib/wire4_client/models/payment_codi.rb +269 -0
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +287 -0
- data/lib/wire4_client/models/payments_request_id.rb +236 -0
- data/lib/wire4_client/models/person.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_data.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_response.rb +1 -1
- data/lib/wire4_client/models/pre_monex_authorization.rb +291 -0
- data/lib/wire4_client/models/relationship.rb +1 -1
- data/lib/wire4_client/models/relationships_response.rb +1 -1
- data/lib/wire4_client/models/sales_point.rb +205 -0
- data/lib/wire4_client/models/sales_point_found.rb +279 -0
- data/lib/wire4_client/models/sales_point_request.rb +254 -0
- data/lib/wire4_client/models/sales_point_respose.rb +215 -0
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +186 -0
- data/lib/wire4_client/models/spid_beneficiary_response.rb +365 -0
- data/lib/wire4_client/models/spid_classification_dto.rb +1 -1
- data/lib/wire4_client/models/spid_classifications_response_dto.rb +1 -1
- data/lib/wire4_client/models/token_required_response.rb +1 -1
- data/lib/wire4_client/models/transaction_error_code.rb +201 -0
- data/lib/wire4_client/models/transaction_outgoing.rb +13 -3
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +1 -1
- data/lib/wire4_client/models/transactions_outgoing_register.rb +1 -1
- data/lib/wire4_client/models/update_configurations_request_dto.rb +192 -0
- data/lib/wire4_client/models/urls_redirect.rb +205 -0
- data/lib/wire4_client/models/user_company.rb +269 -0
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +195 -0
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +237 -0
- data/lib/wire4_client/models/webhook.rb +271 -0
- data/lib/wire4_client/models/webhook_request.rb +1 -1
- data/lib/wire4_client/models/webhook_response.rb +1 -1
- data/lib/wire4_client/models/webhooks_list.rb +1 -1
- data/lib/wire4_client/version.rb +2 -2
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +62 -0
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +2 -1
- data/spec/api/contacto_api_spec.rb +2 -1
- data/spec/api/contracts_details_api_spec.rb +90 -0
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +44 -4
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +22 -1
- data/spec/api/depositantes_api_spec.rb +3 -1
- data/spec/api/empresas_co_di_api_spec.rb +60 -0
- data/spec/api/facturas_api_spec.rb +3 -1
- data/spec/api/instituciones_api_spec.rb +2 -1
- data/spec/api/lmites_de_montos_api_spec.rb +62 -0
- data/spec/api/operaciones_co_di_api_spec.rb +52 -0
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +63 -0
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +62 -0
- data/spec/api/saldo_api_spec.rb +2 -1
- data/spec/api/suscripciones_api_spec.rb +11 -8
- data/spec/api/transferencias_spei_api_spec.rb +34 -1
- data/spec/api/transferencias_spid_api_spec.rb +3 -1
- data/spec/api/webhooks_api_spec.rb +4 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_detail_spec.rb +71 -0
- data/spec/models/account_reassigned_spec.rb +125 -0
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +19 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/{timestamp_spec.rb → address_company_spec.rb} +17 -17
- data/spec/models/amount_request_spec.rb +13 -1
- data/spec/models/authorization_transaction_group_spec.rb +47 -0
- data/spec/models/authorized_beneficiaries_response_spec.rb +53 -0
- data/spec/models/authorized_users_spec.rb +71 -0
- data/spec/models/balance_list_response_spec.rb +1 -1
- data/spec/models/balance_spec.rb +1 -1
- data/spec/models/beneficiaries_query_register_status_spec.rb +75 -0
- data/spec/models/beneficiaries_response_spec.rb +1 -1
- data/spec/models/beneficiary_institution_spec.rb +1 -1
- data/spec/models/billing_spec.rb +1 -1
- data/spec/models/billing_transaction_spec.rb +1 -1
- data/spec/models/cep_response_spec.rb +1 -1
- data/spec/models/cep_search_banxico_spec.rb +1 -1
- data/spec/models/certificate_request_spec.rb +59 -0
- data/spec/models/codi_code_qr_response_dto_spec.rb +103 -0
- data/spec/models/codi_code_request_dto_spec.rb +81 -0
- data/spec/models/codi_operation_response_dto_spec.rb +77 -0
- data/spec/models/codi_operations_filters_request_dto_spec.rb +87 -0
- data/spec/models/company_registered_spec.rb +71 -0
- data/spec/models/company_requested_spec.rb +59 -0
- data/spec/models/compay_spec.rb +59 -0
- data/spec/models/configurations_limits_spec.rb +47 -0
- data/spec/models/contact_request_spec.rb +1 -1
- data/spec/models/contract_detail_request_spec.rb +59 -0
- data/spec/models/contract_detail_response_spec.rb +47 -0
- data/spec/models/deposit_authorization_request_spec.rb +53 -0
- data/spec/models/deposit_spec.rb +7 -1
- data/spec/models/depositant_spec.rb +1 -1
- data/spec/models/depositants_register_spec.rb +1 -1
- data/spec/models/depositants_response_spec.rb +1 -1
- data/spec/models/deposits_authorization_response_spec.rb +53 -0
- data/spec/models/detailed_error_response_spec.rb +53 -0
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/get_depositants_spec.rb +1 -1
- data/spec/models/institution_spec.rb +1 -1
- data/spec/models/institutions_list_spec.rb +1 -1
- data/spec/models/item_spec.rb +53 -0
- data/spec/models/message_account_beneficiary_spec.rb +1 -1
- data/spec/models/message_cep_spec.rb +1 -1
- data/spec/models/message_codi_action_spec.rb +107 -0
- data/spec/models/message_configurations_limits_spec.rb +41 -0
- data/spec/models/message_deposit_authorization_request_spec.rb +155 -0
- data/spec/models/message_deposit_received_spec.rb +7 -1
- data/spec/models/message_institution_spec.rb +1 -1
- data/spec/models/message_payment_spec.rb +13 -1
- data/spec/models/message_payment_state_pending_spec.rb +131 -0
- data/spec/models/message_request_changed_spec.rb +51 -0
- data/spec/models/message_sales_point_spec.rb +53 -0
- data/spec/models/message_subscription_spec.rb +7 -1
- data/spec/models/message_user_authorized_spec.rb +77 -0
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/operations_spec.rb +103 -0
- data/spec/models/pager_response_dto_spec.rb +71 -0
- data/spec/models/payment_codi_spec.rb +75 -0
- data/spec/models/payment_request_codi_response_dto_spec.rb +101 -0
- data/spec/models/payment_spec.rb +13 -1
- data/spec/models/payments_request_id_spec.rb +71 -0
- data/spec/models/person_spec.rb +1 -1
- data/spec/models/pre_enrollment_data_spec.rb +1 -1
- data/spec/models/pre_enrollment_response_spec.rb +1 -1
- data/spec/models/pre_monex_authorization_spec.rb +59 -0
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_response_spec.rb +1 -1
- data/spec/models/sales_point_found_spec.rb +81 -0
- data/spec/models/sales_point_request_spec.rb +59 -0
- data/spec/models/sales_point_respose_spec.rb +59 -0
- data/spec/models/sales_point_spec.rb +53 -0
- data/spec/models/spid_beneficiaries_response_spec.rb +41 -0
- data/spec/models/spid_beneficiary_response_spec.rb +113 -0
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_error_code_spec.rb +53 -0
- data/spec/models/transaction_outgoing_spec.rb +7 -1
- data/spec/models/transaction_outgoing_spid_spec.rb +1 -1
- data/spec/models/transactions_outgoing_register_spec.rb +1 -1
- data/spec/models/update_configurations_request_dto_spec.rb +41 -0
- data/spec/models/urls_redirect_spec.rb +47 -0
- data/spec/models/user_company_spec.rb +89 -0
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +47 -0
- data/spec/models/web_hook_deposit_authorization_response_spec.rb +71 -0
- data/spec/models/webhook_request_spec.rb +1 -1
- data/spec/models/webhook_response_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +75 -0
- data/spec/models/webhooks_list_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wire4_client-1.0.9.gem +0 -0
- data/wire4_client.gemspec +2 -2
- metadata +267 -51
- data/Gemfile.lock +0 -69
- data/docs/Timestamp.md +0 -17
data/lib/wire4_client/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Wire4Client
|
14
|
-
VERSION = '0.0.
|
14
|
+
VERSION = '0.0.9-TEST'
|
15
15
|
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
=begin
|
2
|
+
#Wire4RestAPI
|
3
|
+
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.10
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Wire4Client::AutorizacinDeDepsitosApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AutorizacinDeDepsitosApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Wire4Client::AutorizacinDeDepsitosApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AutorizacinDeDepsitosApi' do
|
30
|
+
it 'should create an instance of AutorizacinDeDepsitosApi' do
|
31
|
+
expect(@instance).to be_instance_of(Wire4Client::AutorizacinDeDepsitosApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_deposit_auth_configurations
|
36
|
+
# Consulta autorización de depósitos
|
37
|
+
# Obtiene la información de la autorización de depósitos del contrato relacionado a la subscripción.
|
38
|
+
# @param authorization Header para token
|
39
|
+
# @param subscription El identificador de la suscripción a esta API
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [DepositsAuthorizationResponse]
|
42
|
+
describe 'get_deposit_auth_configurations test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for put_deposit_auth_configurations
|
49
|
+
# Des/Habilitar autorización de depósitos
|
50
|
+
# Des/Habilitar autorización de depósitos, devuelve la información final de la autorización de depósitos del contrato relacionado a la subscripción al terminar.
|
51
|
+
# @param authorization Header para token
|
52
|
+
# @param register Deposit Authorization info
|
53
|
+
# @param subscription El identificador de la suscripción a esta API
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [DepositsAuthorizationResponse]
|
56
|
+
describe 'put_deposit_auth_configurations test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -35,6 +35,7 @@ describe 'ComprobanteElectrnicoDePagoCEPApi' do
|
|
35
35
|
# unit tests for obtain_transaction_cep_using_post
|
36
36
|
# Consulta de CEP
|
37
37
|
# Consulta el CEP de un pago realizado a través del SPEI, si es que este se encuentra disponible en BANXICO.
|
38
|
+
# @param authorization Header para token
|
38
39
|
# @param cep_data Información para buscar un CEP
|
39
40
|
# @param [Hash] opts the optional parameters
|
40
41
|
# @return [CepResponse]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -35,6 +35,7 @@ describe 'ContactoApi' do
|
|
35
35
|
# unit tests for send_contact_using_post
|
36
36
|
# Solicitud de contacto
|
37
37
|
# Notifica a un asesor Monex para que se ponga en contacto con un posible cliente.
|
38
|
+
# @param authorization Header para token
|
38
39
|
# @param request_dto Información del contacto
|
39
40
|
# @param [Hash] opts the optional parameters
|
40
41
|
# @return [nil]
|
@@ -0,0 +1,90 @@
|
|
1
|
+
=begin
|
2
|
+
#Wire4RestAPI
|
3
|
+
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.10
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Wire4Client::ContractsDetailsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContractsDetailsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Wire4Client::ContractsDetailsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContractsDetailsApi' do
|
30
|
+
it 'should create an instance of ContractsDetailsApi' do
|
31
|
+
expect(@instance).to be_instance_of(Wire4Client::ContractsDetailsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_authorization
|
36
|
+
# Devuelve la URL para autorización del usuario Monex
|
37
|
+
# Se obtiene la URL para la autorización del usuario Monex.
|
38
|
+
# @param authorization Header para token
|
39
|
+
# @param pre_monex_authorization Información para la autorización
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [TokenRequiredResponse]
|
42
|
+
describe 'create_authorization test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for obtain_authorized_users
|
49
|
+
# Obtiene los usuarios autorizados
|
50
|
+
# Obtienen los detalles de los usuarios autorizados de Monex.
|
51
|
+
# @param authorization Header para token
|
52
|
+
# @param x_access_key La llave de acceso de la aplicación
|
53
|
+
# @param request_id El identificador de la petición a esta API
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [Array<AuthorizedUsers>]
|
56
|
+
describe 'obtain_authorized_users test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# unit tests for obtain_authorized_users_by_contract
|
63
|
+
# Obtiene los usuarios autorizados por contrato
|
64
|
+
# Obtienen los detalles de los usuarios autorizados por contrato Monex.
|
65
|
+
# @param authorization Header para token
|
66
|
+
# @param x_access_key La llave de acceso de la aplicación
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @option opts [String] :contract El contrato Monex
|
69
|
+
# @return [Array<AuthorizedUsers>]
|
70
|
+
describe 'obtain_authorized_users_by_contract test' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for obtain_contract_details
|
77
|
+
# Obtiene los detalles de la empresa del contrato
|
78
|
+
# Detalles de la compañía relacionada con el contrato de Monex.
|
79
|
+
# @param authorization Header para token
|
80
|
+
# @param x_access_key La llave de acceso de la aplicación
|
81
|
+
# @param contract_detail_request Información para obtener los detalles de la companía
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [ContractDetailResponse]
|
84
|
+
describe 'obtain_contract_details test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -32,9 +32,24 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for authorize_accounts_pending_put
|
36
|
+
# Recibe la solicitud para agrupar las cuentas SPEI/SPID de beneficiarios en estado pendiente que deben ser autorizadas
|
37
|
+
# Solicta autorizar las cuentas de beneficiarios en estado pendiente agrupandolas en un set de cuentas que pueden incluir tanto cuentas de SPI como de SPID, debe indicar las urls de redireccion en caso de error y en caso de exito<br/>
|
38
|
+
# @param authorization Header para token
|
39
|
+
# @param subscription El identificador de la suscripción a esta API
|
40
|
+
# @param urls_redirect_dto Información de la cuenta del beneficiario
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @return [AuthorizedBeneficiariesResponse]
|
43
|
+
describe 'authorize_accounts_pending_put test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
35
49
|
# unit tests for delete_account_using_delete
|
36
50
|
# Elimina la cuenta del beneficiario
|
37
51
|
# Borra la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción. La cuenta a borrar debe ser una cuenta que opere con SPEI.
|
52
|
+
# @param authorization Header para token
|
38
53
|
# @param account La cuenta del beneciario que será eliminada
|
39
54
|
# @param subscription El identificador de la suscripción a esta API
|
40
55
|
# @param [Hash] opts the optional parameters
|
@@ -48,6 +63,7 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
48
63
|
# unit tests for get_available_relationships_monex_using_get
|
49
64
|
# Consulta de relaciones
|
50
65
|
# Obtiene las posibles relaciones existentes para registrar beneficiarios en Monex. Se debe invocar este recurso antes de pre-registrar una cuenta de beneficiario.
|
66
|
+
# @param authorization Header para token
|
51
67
|
# @param subscription Identificador de la suscripción a esta API
|
52
68
|
# @param [Hash] opts the optional parameters
|
53
69
|
# @return [RelationshipsResponse]
|
@@ -57,12 +73,33 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
57
73
|
end
|
58
74
|
end
|
59
75
|
|
76
|
+
# unit tests for get_beneficiaries_by_request_id
|
77
|
+
# Consulta los beneficiarios por el identificador de la petición de registro
|
78
|
+
# Obtiene los beneficiarios enviados para registro en una petición al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex, que pertenezcan a la petición que se solicita.
|
79
|
+
# @param authorization Header para token
|
80
|
+
# @param request_id El identificador de la petición del registro de beneficiarios a esta API
|
81
|
+
# @param subscription El identificador de la suscripción a esta API
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [BeneficiariesResponse]
|
84
|
+
describe 'get_beneficiaries_by_request_id test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
60
90
|
# unit tests for get_beneficiaries_for_account_using_get
|
61
91
|
# Consulta los beneficiarios registrados
|
62
92
|
# Obtiene los beneficiarios registrados al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex.
|
93
|
+
# @param authorization Header para token
|
63
94
|
# @param subscription El identificador de la suscripción a esta API
|
64
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
97
|
+
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
98
|
+
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
99
|
+
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
100
|
+
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
65
101
|
# @option opts [String] :rfc RFC del beneficiario
|
102
|
+
# @option opts [String] :status Estatus de la cuenta
|
66
103
|
# @return [BeneficiariesResponse]
|
67
104
|
describe 'get_beneficiaries_for_account_using_get test' do
|
68
105
|
it 'should work' do
|
@@ -73,6 +110,7 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
73
110
|
# unit tests for pre_register_accounts_using_post
|
74
111
|
# Pre-registro de cuentas de beneficiarios.
|
75
112
|
# Pre-registra una o más cuentas de beneficiario en la plataforma, proporcionando una URL donde el cuentahabiente Monex debe ingresar un valor de su llave digital para confirmar el alta de las cuentas de beneficiarios.<br/>Los posibles valores de <i>relationship</i> y <i>kind_of_relationship</i> se deben obtener de /subscriptions/{subscription}/beneficiaries/relationships.<br/><br/>La confirmación de registro en Monex se realiza a través de una llamada a los webhooks registrados con el evento ACCOUNT.CREATED.
|
113
|
+
# @param authorization Header para token
|
76
114
|
# @param request_dto Información de la cuenta del beneficiario
|
77
115
|
# @param subscription El identificador de la suscripción a esta API
|
78
116
|
# @param [Hash] opts the optional parameters
|
@@ -86,6 +124,7 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
86
124
|
# unit tests for remove_beneficiaries_pending_using_delete
|
87
125
|
# Eliminación de beneficiarios SPEI® sin confirmar
|
88
126
|
# Elimina un conjunto de beneficiarios a registrar en la cuenta del cliente Monex relacionada a la suscripción, los beneficiarios no deben haber sido confirmados por el cliente.
|
127
|
+
# @param authorization Header para token
|
89
128
|
# @param request_id Identificador de los beneficiarios a eliminar
|
90
129
|
# @param subscription El identificador de la suscripción a esta API
|
91
130
|
# @param [Hash] opts the optional parameters
|
@@ -97,13 +136,14 @@ describe 'CuentasDeBeneficiariosSPEIApi' do
|
|
97
136
|
end
|
98
137
|
|
99
138
|
# unit tests for update_amount_limit_account_using_put
|
100
|
-
#
|
101
|
-
#
|
139
|
+
# Solicitud para actualizar el monto límite
|
140
|
+
# Inicia una solicitud para actualizar el monto límite a la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción.
|
141
|
+
# @param authorization Header para token
|
102
142
|
# @param account Cuenta a actualizar
|
103
143
|
# @param request_dto Información de la cuenta y el monto límite a actualizar
|
104
144
|
# @param subscription El identificador de la suscripción a esta API
|
105
145
|
# @param [Hash] opts the optional parameters
|
106
|
-
# @return [
|
146
|
+
# @return [TokenRequiredResponse]
|
107
147
|
describe 'update_amount_limit_account_using_put test' do
|
108
148
|
it 'should work' do
|
109
149
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -32,8 +32,29 @@ describe 'CuentasDeBeneficiariosSPIDApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for get_spid_beneficiaries_for_account
|
36
|
+
# Consulta los beneficiarios SPID registrados
|
37
|
+
# Obtiene los beneficiarios SPID registrados al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex.
|
38
|
+
# @param authorization Header para token
|
39
|
+
# @param subscription El identificador de la suscripción a esta API
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
42
|
+
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
43
|
+
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
44
|
+
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
45
|
+
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
46
|
+
# @option opts [String] :rfc RFC del beneficiario
|
47
|
+
# @option opts [String] :status Estatus de la cuenta
|
48
|
+
# @return [SpidBeneficiariesResponse]
|
49
|
+
describe 'get_spid_beneficiaries_for_account test' do
|
50
|
+
it 'should work' do
|
51
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
35
55
|
# unit tests for pre_register_accounts_using_post1
|
36
56
|
# Pre-registro de cuentas de beneficiarios SPID
|
57
|
+
# @param authorization Header para token
|
37
58
|
# @param request_spid_dto Información de la cuenta del beneficiario
|
38
59
|
# @param subscription El identificador de la suscripción a esta API
|
39
60
|
# @param [Hash] opts the optional parameters
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -35,6 +35,7 @@ describe 'DepositantesApi' do
|
|
35
35
|
# unit tests for get_depositants_using_get
|
36
36
|
# Consulta de cuentas de depositantes
|
37
37
|
# Obtiene una lista de depositantes asociados al contrato relacionado a la subscripción.
|
38
|
+
# @param authorization Header para token
|
38
39
|
# @param subscription El identificador de la suscripción a esta API
|
39
40
|
# @param [Hash] opts the optional parameters
|
40
41
|
# @return [GetDepositants]
|
@@ -47,6 +48,7 @@ describe 'DepositantesApi' do
|
|
47
48
|
# unit tests for register_depositants_using_post
|
48
49
|
# Registra un nuevo depositante
|
49
50
|
# Registra un nuevo depositante en el contrato asociado a la subscripción.
|
51
|
+
# @param authorization Header para token
|
50
52
|
# @param register Depositant info
|
51
53
|
# @param subscription El identificador de la suscripción a esta API
|
52
54
|
# @param [Hash] opts the optional parameters
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Wire4RestAPI
|
3
|
+
|
4
|
+
# # Referencia de API La API de Wire4 está organizada en torno a REST.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.10
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Wire4Client::EmpresasCoDiApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'EmpresasCoDiApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Wire4Client::EmpresasCoDiApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of EmpresasCoDiApi' do
|
30
|
+
it 'should create an instance of EmpresasCoDiApi' do
|
31
|
+
expect(@instance).to be_instance_of(Wire4Client::EmpresasCoDiApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for obtain_companies
|
36
|
+
# Consulta de empresas CODI
|
37
|
+
# Consulta de empresas CODI registradas para la aplicación.
|
38
|
+
# @param authorization Header para token
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<CompanyRegistered>]
|
41
|
+
describe 'obtain_companies test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for register_company_using_post
|
48
|
+
# Registro de empresas CODI
|
49
|
+
# Registra una empresa para hacer uso de operaciones CODI. Es requerido tener el certificado emitido por BANXICO® asi como el Nombre de la empresa, Nombre comercial y RFC de la empresa.<br/>
|
50
|
+
# @param authorization Header para token
|
51
|
+
# @param request_dto Información de la cuenta del beneficiario
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @return [CompanyRegistered]
|
54
|
+
describe 'register_company_using_post test' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|