wire4_client 0.0.9.pre.TEST → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +69 -0
- data/README.md +15 -77
- data/docs/Account.md +3 -3
- data/docs/AccountResponse.md +3 -6
- data/docs/AmountRequest.md +0 -2
- data/docs/BillingTransaction.md +1 -1
- data/docs/CuentasDeBeneficiariosSPEIApi.md +8 -127
- data/docs/CuentasDeBeneficiariosSPIDApi.md +1 -11
- data/docs/Deposit.md +0 -1
- data/docs/MessageAccountBeneficiary.md +2 -2
- data/docs/MessageCEP.md +9 -9
- data/docs/MessageDepositReceived.md +0 -1
- data/docs/MessagePayment.md +1 -3
- data/docs/MessageSubscription.md +6 -6
- data/docs/MessageWebHook.md +2 -2
- data/docs/Payment.md +1 -3
- data/docs/SpidBeneficiaryResponse.md +0 -3
- data/docs/SuscripcionesApi.md +14 -14
- data/docs/Timestamp.md +17 -0
- data/docs/TransactionOutgoing.md +1 -2
- data/docs/TransferenciasSPEIApi.md +3 -61
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +1 -1
- data/lib/wire4_client/api/contacto_api.rb +1 -1
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +10 -194
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +1 -16
- data/lib/wire4_client/api/depositantes_api.rb +1 -1
- data/lib/wire4_client/api/facturas_api.rb +1 -1
- data/lib/wire4_client/api/instituciones_api.rb +1 -1
- data/lib/wire4_client/api/saldo_api.rb +1 -1
- data/lib/wire4_client/api/suscripciones_api.rb +15 -15
- data/lib/wire4_client/api/transferencias_spei_api.rb +3 -85
- data/lib/wire4_client/api/transferencias_spid_api.rb +1 -1
- data/lib/wire4_client/api/webhooks_api.rb +1 -1
- data/lib/wire4_client/api_client.rb +1 -1
- data/lib/wire4_client/api_error.rb +1 -1
- data/lib/wire4_client/configuration.rb +1 -1
- data/lib/wire4_client/models/account.rb +4 -4
- data/lib/wire4_client/models/account_request.rb +1 -1
- data/lib/wire4_client/models/account_response.rb +8 -38
- data/lib/wire4_client/models/account_spid.rb +1 -1
- data/lib/wire4_client/models/amount_request.rb +5 -91
- 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_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/contact_request.rb +1 -1
- data/lib/wire4_client/models/deposit.rb +2 -12
- 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/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/message_account_beneficiary.rb +3 -3
- data/lib/wire4_client/models/message_cep.rb +11 -11
- data/lib/wire4_client/models/message_deposit_received.rb +3 -13
- data/lib/wire4_client/models/message_institution.rb +1 -1
- data/lib/wire4_client/models/message_payment.rb +3 -24
- data/lib/wire4_client/models/message_subscription.rb +8 -8
- data/lib/wire4_client/models/message_web_hook.rb +3 -3
- data/lib/wire4_client/models/payment.rb +3 -23
- data/lib/wire4_client/models/payments_request_id.rb +1 -1
- 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/relationship.rb +1 -1
- data/lib/wire4_client/models/relationships_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiary_response.rb +5 -35
- 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/{codi_operation_response_dto.rb → timestamp.rb} +72 -53
- data/lib/wire4_client/models/token_required_response.rb +1 -1
- data/lib/wire4_client/models/transaction_outgoing.rb +3 -13
- 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/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/lib/wire4_client.rb +2 -53
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +1 -1
- data/spec/api/contacto_api_spec.rb +1 -1
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +4 -37
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +1 -6
- data/spec/api/depositantes_api_spec.rb +1 -1
- data/spec/api/facturas_api_spec.rb +1 -1
- data/spec/api/instituciones_api_spec.rb +1 -1
- data/spec/api/saldo_api_spec.rb +1 -1
- data/spec/api/suscripciones_api_spec.rb +8 -8
- data/spec/api/transferencias_spei_api_spec.rb +2 -17
- data/spec/api/transferencias_spid_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -19
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/amount_request_spec.rb +1 -13
- data/spec/models/balance_list_response_spec.rb +1 -1
- data/spec/models/balance_spec.rb +1 -1
- 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/contact_request_spec.rb +1 -1
- data/spec/models/deposit_spec.rb +1 -7
- 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/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/message_account_beneficiary_spec.rb +1 -1
- data/spec/models/message_cep_spec.rb +1 -1
- data/spec/models/message_deposit_received_spec.rb +1 -7
- data/spec/models/message_institution_spec.rb +1 -1
- data/spec/models/message_payment_spec.rb +1 -13
- data/spec/models/message_subscription_spec.rb +1 -1
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -13
- data/spec/models/payments_request_id_spec.rb +1 -1
- 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/relationship_spec.rb +1 -1
- data/spec/models/relationships_response_spec.rb +1 -1
- data/spec/models/spid_beneficiaries_response_spec.rb +1 -1
- data/spec/models/spid_beneficiary_response_spec.rb +1 -19
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/{address_company_spec.rb → timestamp_spec.rb} +17 -17
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_outgoing_spec.rb +1 -7
- data/spec/models/transaction_outgoing_spid_spec.rb +1 -1
- data/spec/models/transactions_outgoing_register_spec.rb +1 -1
- data/spec/models/webhook_request_spec.rb +1 -1
- data/spec/models/webhook_response_spec.rb +1 -1
- data/spec/models/webhooks_list_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wire4_client.gemspec +2 -2
- metadata +10 -214
- data/docs/AccountDetail.md +0 -13
- data/docs/AccountReassigned.md +0 -22
- data/docs/AddressCompany.md +0 -17
- data/docs/AuthorizationTransactionGroup.md +0 -9
- data/docs/AuthorizedBeneficiariesResponse.md +0 -10
- data/docs/AuthorizedUsers.md +0 -13
- data/docs/AutorizacinDeDepsitosApi.md +0 -113
- data/docs/BeneficiariesQueryRegisterStatus.md +0 -13
- data/docs/CertificateRequest.md +0 -11
- data/docs/CodiCodeQrResponseDTO.md +0 -17
- data/docs/CodiCodeRequestDTO.md +0 -14
- data/docs/CodiOperationResponseDTO.md +0 -14
- data/docs/CodiOperationsFiltersRequestDTO.md +0 -15
- data/docs/CompanyRegistered.md +0 -13
- data/docs/CompanyRequested.md +0 -11
- data/docs/Compay.md +0 -11
- data/docs/ConfigurationsLimits.md +0 -9
- data/docs/ContractDetailRequest.md +0 -11
- data/docs/ContractDetailResponse.md +0 -9
- data/docs/ContractsDetailsApi.md +0 -222
- data/docs/DepositAuthorizationRequest.md +0 -10
- data/docs/DepositsAuthorizationResponse.md +0 -10
- data/docs/DetailedErrorResponse.md +0 -10
- data/docs/EmpresasCoDiApi.md +0 -107
- data/docs/Item.md +0 -10
- data/docs/LmitesDeMontosApi.md +0 -112
- data/docs/MessageCodiAction.md +0 -19
- data/docs/MessageConfigurationsLimits.md +0 -8
- data/docs/MessageDepositAuthorizationRequest.md +0 -27
- data/docs/MessagePaymentStatePending.md +0 -23
- data/docs/MessageRequestChanged.md +0 -9
- data/docs/MessageSalesPoint.md +0 -10
- data/docs/MessageUserAuthorized.md +0 -14
- data/docs/OperacionesCoDiApi.md +0 -68
- data/docs/Operations.md +0 -17
- data/docs/PagerResponseDto.md +0 -13
- data/docs/PaymentCODI.md +0 -13
- data/docs/PaymentRequestCodiResponseDTO.md +0 -18
- data/docs/PeticionesDePagoPorCoDiApi.md +0 -116
- data/docs/PreMonexAuthorization.md +0 -11
- data/docs/PuntosDeVentaCoDiApi.md +0 -113
- data/docs/SalesPoint.md +0 -10
- data/docs/SalesPointFound.md +0 -14
- data/docs/SalesPointRequest.md +0 -11
- data/docs/SalesPointRespose.md +0 -11
- data/docs/TransactionErrorCode.md +0 -10
- data/docs/UpdateConfigurationsRequestDTO.md +0 -8
- data/docs/UrlsRedirect.md +0 -9
- data/docs/UserCompany.md +0 -16
- data/docs/WebHookDepositAuthorizationRequest.md +0 -9
- data/docs/WebHookDepositAuthorizationResponse.md +0 -13
- data/docs/Webhook.md +0 -13
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +0 -173
- data/lib/wire4_client/api/contracts_details_api.rb +0 -301
- data/lib/wire4_client/api/empresas_co_di_api.rb +0 -137
- data/lib/wire4_client/api/lmites_de_montos_api.rb +0 -160
- data/lib/wire4_client/api/operaciones_co_di_api.rb +0 -92
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +0 -178
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +0 -151
- data/lib/wire4_client/models/account_detail.rb +0 -239
- data/lib/wire4_client/models/account_reassigned.rb +0 -385
- data/lib/wire4_client/models/address_company.rb +0 -275
- data/lib/wire4_client/models/authorization_transaction_group.rb +0 -207
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +0 -206
- data/lib/wire4_client/models/authorized_users.rb +0 -235
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +0 -270
- data/lib/wire4_client/models/certificate_request.rb +0 -248
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +0 -320
- data/lib/wire4_client/models/codi_code_request_dto.rb +0 -402
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +0 -336
- data/lib/wire4_client/models/company_registered.rb +0 -235
- data/lib/wire4_client/models/company_requested.rb +0 -215
- data/lib/wire4_client/models/compay.rb +0 -215
- data/lib/wire4_client/models/configurations_limits.rb +0 -197
- data/lib/wire4_client/models/contract_detail_request.rb +0 -247
- data/lib/wire4_client/models/contract_detail_response.rb +0 -194
- data/lib/wire4_client/models/deposit_authorization_request.rb +0 -205
- data/lib/wire4_client/models/deposits_authorization_response.rb +0 -205
- data/lib/wire4_client/models/detailed_error_response.rb +0 -203
- data/lib/wire4_client/models/item.rb +0 -205
- data/lib/wire4_client/models/message_codi_action.rb +0 -295
- data/lib/wire4_client/models/message_configurations_limits.rb +0 -187
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +0 -375
- data/lib/wire4_client/models/message_payment_state_pending.rb +0 -335
- data/lib/wire4_client/models/message_request_changed.rb +0 -229
- data/lib/wire4_client/models/message_sales_point.rb +0 -205
- data/lib/wire4_client/models/message_user_authorized.rb +0 -245
- data/lib/wire4_client/models/operations.rb +0 -321
- data/lib/wire4_client/models/pager_response_dto.rb +0 -236
- data/lib/wire4_client/models/payment_codi.rb +0 -269
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +0 -287
- data/lib/wire4_client/models/pre_monex_authorization.rb +0 -291
- data/lib/wire4_client/models/sales_point.rb +0 -205
- data/lib/wire4_client/models/sales_point_found.rb +0 -279
- data/lib/wire4_client/models/sales_point_request.rb +0 -254
- data/lib/wire4_client/models/sales_point_respose.rb +0 -215
- data/lib/wire4_client/models/transaction_error_code.rb +0 -201
- data/lib/wire4_client/models/update_configurations_request_dto.rb +0 -192
- data/lib/wire4_client/models/urls_redirect.rb +0 -205
- data/lib/wire4_client/models/user_company.rb +0 -269
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +0 -195
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +0 -237
- data/lib/wire4_client/models/webhook.rb +0 -271
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +0 -62
- data/spec/api/contracts_details_api_spec.rb +0 -90
- data/spec/api/empresas_co_di_api_spec.rb +0 -60
- data/spec/api/lmites_de_montos_api_spec.rb +0 -62
- data/spec/api/operaciones_co_di_api_spec.rb +0 -52
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +0 -63
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +0 -62
- data/spec/models/account_detail_spec.rb +0 -71
- data/spec/models/account_reassigned_spec.rb +0 -125
- data/spec/models/authorization_transaction_group_spec.rb +0 -47
- data/spec/models/authorized_beneficiaries_response_spec.rb +0 -53
- data/spec/models/authorized_users_spec.rb +0 -71
- data/spec/models/beneficiaries_query_register_status_spec.rb +0 -75
- data/spec/models/certificate_request_spec.rb +0 -59
- data/spec/models/codi_code_qr_response_dto_spec.rb +0 -103
- data/spec/models/codi_code_request_dto_spec.rb +0 -81
- data/spec/models/codi_operation_response_dto_spec.rb +0 -77
- data/spec/models/codi_operations_filters_request_dto_spec.rb +0 -87
- data/spec/models/company_registered_spec.rb +0 -71
- data/spec/models/company_requested_spec.rb +0 -59
- data/spec/models/compay_spec.rb +0 -59
- data/spec/models/configurations_limits_spec.rb +0 -47
- data/spec/models/contract_detail_request_spec.rb +0 -59
- data/spec/models/contract_detail_response_spec.rb +0 -47
- data/spec/models/deposit_authorization_request_spec.rb +0 -53
- data/spec/models/deposits_authorization_response_spec.rb +0 -53
- data/spec/models/detailed_error_response_spec.rb +0 -53
- data/spec/models/item_spec.rb +0 -53
- data/spec/models/message_codi_action_spec.rb +0 -107
- data/spec/models/message_configurations_limits_spec.rb +0 -41
- data/spec/models/message_deposit_authorization_request_spec.rb +0 -155
- data/spec/models/message_payment_state_pending_spec.rb +0 -131
- data/spec/models/message_request_changed_spec.rb +0 -51
- data/spec/models/message_sales_point_spec.rb +0 -53
- data/spec/models/message_user_authorized_spec.rb +0 -77
- data/spec/models/operations_spec.rb +0 -103
- data/spec/models/pager_response_dto_spec.rb +0 -71
- data/spec/models/payment_codi_spec.rb +0 -75
- data/spec/models/payment_request_codi_response_dto_spec.rb +0 -101
- data/spec/models/pre_monex_authorization_spec.rb +0 -59
- data/spec/models/sales_point_found_spec.rb +0 -81
- data/spec/models/sales_point_request_spec.rb +0 -59
- data/spec/models/sales_point_respose_spec.rb +0 -59
- data/spec/models/sales_point_spec.rb +0 -53
- data/spec/models/transaction_error_code_spec.rb +0 -53
- data/spec/models/update_configurations_request_dto_spec.rb +0 -41
- data/spec/models/urls_redirect_spec.rb +0 -47
- data/spec/models/user_company_spec.rb +0 -89
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +0 -47
- data/spec/models/web_hook_deposit_authorization_response_spec.rb +0 -71
- data/spec/models/webhook_spec.rb +0 -75
- data/wire4_client-1.0.9.gem +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -25,12 +25,7 @@ module Wire4Client
|
|
25
25
|
# @param subscription El identificador de la suscripción a esta API
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
28
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
29
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
30
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
31
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
32
28
|
# @option opts [String] :rfc RFC del beneficiario
|
33
|
-
# @option opts [String] :status Estatus de la cuenta
|
34
29
|
# @return [SpidBeneficiariesResponse]
|
35
30
|
def get_spid_beneficiaries_for_account(authorization, subscription, opts = {})
|
36
31
|
data, _status_code, _headers = get_spid_beneficiaries_for_account_with_http_info(authorization, subscription, opts)
|
@@ -43,12 +38,7 @@ module Wire4Client
|
|
43
38
|
# @param subscription El identificador de la suscripción a esta API
|
44
39
|
# @param [Hash] opts the optional parameters
|
45
40
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
46
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
47
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
48
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
49
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
50
41
|
# @option opts [String] :rfc RFC del beneficiario
|
51
|
-
# @option opts [String] :status Estatus de la cuenta
|
52
42
|
# @return [Array<(SpidBeneficiariesResponse, Fixnum, Hash)>] SpidBeneficiariesResponse data, response status code and response headers
|
53
43
|
def get_spid_beneficiaries_for_account_with_http_info(authorization, subscription, opts = {})
|
54
44
|
if @api_client.config.debugging
|
@@ -80,12 +70,7 @@ module Wire4Client
|
|
80
70
|
# query parameters
|
81
71
|
query_params = {}
|
82
72
|
query_params[:'account'] = opts[:'account'] if !opts[:'account'].nil?
|
83
|
-
query_params[:'beneficiary_bank'] = opts[:'beneficiary_bank'] if !opts[:'beneficiary_bank'].nil?
|
84
|
-
query_params[:'beneficiary_name'] = opts[:'beneficiary_name'] if !opts[:'beneficiary_name'].nil?
|
85
|
-
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
86
|
-
query_params[:'init_date'] = opts[:'init_date'] if !opts[:'init_date'].nil?
|
87
73
|
query_params[:'rfc'] = opts[:'rfc'] if !opts[:'rfc'].nil?
|
88
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
89
74
|
|
90
75
|
# header parameters
|
91
76
|
header_params = {}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -19,10 +19,10 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
#
|
23
|
-
#
|
22
|
+
# registra una pre-suscripción
|
23
|
+
# Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma, proporcionando una URL donde el cliente Monex debe autorizar el acceso a los datos de su cuenta a el socio.<br/>Una vez que el cuentahabiente autorice el acceso, se envia un webhook con el evento ENROLLMENT.CREATED, el cual contiene los datos de acceso.
|
24
24
|
# @param authorization Header para token
|
25
|
-
# @param pre_enrollment_data Información para
|
25
|
+
# @param pre_enrollment_data Información para el enrolamiento
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [PreEnrollmentResponse]
|
28
28
|
def pre_enrollment_monex_user_using_post(authorization, pre_enrollment_data, opts = {})
|
@@ -30,10 +30,10 @@ module Wire4Client
|
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
|
-
#
|
34
|
-
#
|
33
|
+
# registra una pre-suscripción
|
34
|
+
# Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma, proporcionando una URL donde el cliente Monex debe autorizar el acceso a los datos de su cuenta a el socio.<br/>Una vez que el cuentahabiente autorice el acceso, se envia un webhook con el evento ENROLLMENT.CREATED, el cual contiene los datos de acceso.
|
35
35
|
# @param authorization Header para token
|
36
|
-
# @param pre_enrollment_data Información para
|
36
|
+
# @param pre_enrollment_data Información para el enrolamiento
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(PreEnrollmentResponse, Fixnum, Hash)>] PreEnrollmentResponse data, response status code and response headers
|
39
39
|
def pre_enrollment_monex_user_using_post_with_http_info(authorization, pre_enrollment_data, opts = {})
|
@@ -80,8 +80,8 @@ module Wire4Client
|
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
83
|
-
#
|
84
|
-
# Elimina una suscripción, una
|
83
|
+
# Elimna una suscripción por id
|
84
|
+
# Elimina una suscripción, una ves eliminada la suscripcion ya no se podran realizar operacions en el API uilizando esta suscripción
|
85
85
|
# @param authorization Header para token
|
86
86
|
# @param subscription El identificador de la suscripción a esta API
|
87
87
|
# @param [Hash] opts the optional parameters
|
@@ -91,8 +91,8 @@ module Wire4Client
|
|
91
91
|
nil
|
92
92
|
end
|
93
93
|
|
94
|
-
#
|
95
|
-
# Elimina una suscripción, una
|
94
|
+
# Elimna una suscripción por id
|
95
|
+
# Elimina una suscripción, una ves eliminada la suscripcion ya no se podran realizar operacions en el API uilizando esta suscripción
|
96
96
|
# @param authorization Header para token
|
97
97
|
# @param subscription El identificador de la suscripción a esta API
|
98
98
|
# @param [Hash] opts the optional parameters
|
@@ -150,8 +150,8 @@ module Wire4Client
|
|
150
150
|
end
|
151
151
|
return data, status_code, headers
|
152
152
|
end
|
153
|
-
#
|
154
|
-
# Se elimina una pre-suscripción, sólo se elimina en caso de que
|
153
|
+
# Elimna una pre-suscripción
|
154
|
+
# Se elimina una pre-suscripción, sólo se elimina en caso de que cliente monex no haya concedio su autorización de acceso, es decir que la pre-suscripcion este pendiente.
|
155
155
|
# @param authorization Header para token
|
156
156
|
# @param subscription El identificador de la suscripción a esta API
|
157
157
|
# @param [Hash] opts the optional parameters
|
@@ -161,8 +161,8 @@ module Wire4Client
|
|
161
161
|
nil
|
162
162
|
end
|
163
163
|
|
164
|
-
#
|
165
|
-
# Se elimina una pre-suscripción, sólo se elimina en caso de que
|
164
|
+
# Elimna una pre-suscripción
|
165
|
+
# Se elimina una pre-suscripción, sólo se elimina en caso de que cliente monex no haya concedio su autorización de acceso, es decir que la pre-suscripcion este pendiente.
|
166
166
|
# @param authorization Header para token
|
167
167
|
# @param subscription El identificador de la suscripción a esta API
|
168
168
|
# @param [Hash] opts the optional parameters
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -19,92 +19,12 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Agrupa un conjunto de transacciones bajo un mismo request_id para autorizar
|
23
|
-
# Agrupa transacciones SPEI/SPID en un transaction_id, generando la URL para su autorización. Las transacciones deben estar en estatus PENDING y pertenecer a un mmismo contrato
|
24
|
-
# @param authorization Header para token
|
25
|
-
# @param authorization_transactions_group_request_dto authorizationTransactionsGroupRequestDTO
|
26
|
-
# @param subscription Identificador de la suscripcion
|
27
|
-
# @param [Hash] opts the optional parameters
|
28
|
-
# @return [TokenRequiredResponse]
|
29
|
-
def create_authorization_transactions_group(authorization, authorization_transactions_group_request_dto, subscription, opts = {})
|
30
|
-
data, _status_code, _headers = create_authorization_transactions_group_with_http_info(authorization, authorization_transactions_group_request_dto, subscription, opts)
|
31
|
-
data
|
32
|
-
end
|
33
|
-
|
34
|
-
# Agrupa un conjunto de transacciones bajo un mismo request_id para autorizar
|
35
|
-
# Agrupa transacciones SPEI/SPID en un transaction_id, generando la URL para su autorización. Las transacciones deben estar en estatus PENDING y pertenecer a un mmismo contrato
|
36
|
-
# @param authorization Header para token
|
37
|
-
# @param authorization_transactions_group_request_dto authorizationTransactionsGroupRequestDTO
|
38
|
-
# @param subscription Identificador de la suscripcion
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [Array<(TokenRequiredResponse, Fixnum, Hash)>] TokenRequiredResponse data, response status code and response headers
|
41
|
-
def create_authorization_transactions_group_with_http_info(authorization, authorization_transactions_group_request_dto, subscription, opts = {})
|
42
|
-
if @api_client.config.debugging
|
43
|
-
@api_client.config.logger.debug 'Calling API: TransferenciasSPEIApi.create_authorization_transactions_group ...'
|
44
|
-
end
|
45
|
-
# verify the required parameter 'authorization' is set
|
46
|
-
if @api_client.config.client_side_validation && authorization.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'authorization' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
48
|
-
end
|
49
|
-
# verify the required parameter 'authorization_transactions_group_request_dto' is set
|
50
|
-
if @api_client.config.client_side_validation && authorization_transactions_group_request_dto.nil?
|
51
|
-
fail ArgumentError, "Missing the required parameter 'authorization_transactions_group_request_dto' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
52
|
-
end
|
53
|
-
# verify the required parameter 'subscription' is set
|
54
|
-
if @api_client.config.client_side_validation && subscription.nil?
|
55
|
-
fail ArgumentError, "Missing the required parameter 'subscription' when calling TransferenciasSPEIApi.create_authorization_transactions_group"
|
56
|
-
end
|
57
|
-
if @api_client.config.client_side_validation && subscription.to_s.length > 36
|
58
|
-
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.create_authorization_transactions_group, the character length must be smaller than or equal to 36.'
|
59
|
-
end
|
60
|
-
|
61
|
-
if @api_client.config.client_side_validation && subscription.to_s.length < 36
|
62
|
-
fail ArgumentError, 'invalid value for "subscription" when calling TransferenciasSPEIApi.create_authorization_transactions_group, the character length must be great than or equal to 36.'
|
63
|
-
end
|
64
|
-
|
65
|
-
if @api_client.config.client_side_validation && subscription !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
66
|
-
fail ArgumentError, "invalid value for 'subscription' when calling TransferenciasSPEIApi.create_authorization_transactions_group, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
67
|
-
end
|
68
|
-
|
69
|
-
# resource path
|
70
|
-
local_var_path = '/subscriptions/{subscription}/transactions/group'.sub('{' + 'subscription' + '}', subscription.to_s)
|
71
|
-
|
72
|
-
# query parameters
|
73
|
-
query_params = {}
|
74
|
-
|
75
|
-
# header parameters
|
76
|
-
header_params = {}
|
77
|
-
# HTTP header 'Accept' (if needed)
|
78
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
79
|
-
# HTTP header 'Content-Type'
|
80
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
81
|
-
header_params[:'Authorization'] = authorization
|
82
|
-
|
83
|
-
# form parameters
|
84
|
-
form_params = {}
|
85
|
-
|
86
|
-
# http body (model)
|
87
|
-
post_body = @api_client.object_to_http_body(authorization_transactions_group_request_dto)
|
88
|
-
auth_names = []
|
89
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
90
|
-
:header_params => header_params,
|
91
|
-
:query_params => query_params,
|
92
|
-
:form_params => form_params,
|
93
|
-
:body => post_body,
|
94
|
-
:auth_names => auth_names,
|
95
|
-
:return_type => 'TokenRequiredResponse')
|
96
|
-
if @api_client.config.debugging
|
97
|
-
@api_client.config.logger.debug "API called: TransferenciasSPEIApi#create_authorization_transactions_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
98
|
-
end
|
99
|
-
return data, status_code, headers
|
100
|
-
end
|
101
22
|
# Eliminación de transferencias SPEI® pendientes
|
102
23
|
# Elimina un conjunto de transferencias a realizar en la cuenta del cliente Monex relacionada a la suscripción, las transferencias no deben haber sido confirmadas por el cliente.
|
103
24
|
# @param authorization Header para token
|
104
25
|
# @param request_id Identificador de las transferencias a eliminar
|
105
26
|
# @param subscription El identificador de la suscripción a esta API
|
106
27
|
# @param [Hash] opts the optional parameters
|
107
|
-
# @option opts [String] :order_id Listado de identificadores dentro del request_id para eliminar
|
108
28
|
# @return [nil]
|
109
29
|
def drop_transactions_pending_using_delete(authorization, request_id, subscription, opts = {})
|
110
30
|
drop_transactions_pending_using_delete_with_http_info(authorization, request_id, subscription, opts)
|
@@ -117,7 +37,6 @@ module Wire4Client
|
|
117
37
|
# @param request_id Identificador de las transferencias a eliminar
|
118
38
|
# @param subscription El identificador de la suscripción a esta API
|
119
39
|
# @param [Hash] opts the optional parameters
|
120
|
-
# @option opts [String] :order_id Listado de identificadores dentro del request_id para eliminar
|
121
40
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
122
41
|
def drop_transactions_pending_using_delete_with_http_info(authorization, request_id, subscription, opts = {})
|
123
42
|
if @api_client.config.debugging
|
@@ -164,7 +83,6 @@ module Wire4Client
|
|
164
83
|
|
165
84
|
# query parameters
|
166
85
|
query_params = {}
|
167
|
-
query_params[:'order_id'] = opts[:'order_id'] if !opts[:'order_id'].nil?
|
168
86
|
|
169
87
|
# header parameters
|
170
88
|
header_params = {}
|
@@ -261,7 +179,7 @@ module Wire4Client
|
|
261
179
|
return data, status_code, headers
|
262
180
|
end
|
263
181
|
# Consulta de transferencias de salida por identificador de petición
|
264
|
-
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias
|
182
|
+
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cual se debe especificar como parte del path de este endpoint.
|
265
183
|
# @param authorization Header para token
|
266
184
|
# @param request_id Identificador de la petición a buscar
|
267
185
|
# @param subscription El identificador de la suscripción a esta API
|
@@ -273,7 +191,7 @@ module Wire4Client
|
|
273
191
|
end
|
274
192
|
|
275
193
|
# Consulta de transferencias de salida por identificador de petición
|
276
|
-
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias
|
194
|
+
# Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cual se debe especificar como parte del path de este endpoint.
|
277
195
|
# @param authorization Header para token
|
278
196
|
# @param request_id Identificador de la petición a buscar
|
279
197
|
# @param subscription El identificador de la suscripción a esta API
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -30,7 +30,7 @@ module Wire4Client
|
|
30
30
|
# Objeto que contiene el nombre de la institución, es mutuamente exclusivo con el objeto Person
|
31
31
|
attr_accessor :institution
|
32
32
|
|
33
|
-
# Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
33
|
+
# Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
34
34
|
attr_accessor :kind_of_relationship
|
35
35
|
|
36
36
|
# Referencia numérica a utilizar cuando se realice una transferencia y no se especifique una referencia
|
@@ -42,10 +42,10 @@ module Wire4Client
|
|
42
42
|
# Objeto que contiene los datos de la persona propietaria de la cuenta, si se incluye este atributo, el atributo institution no debe estar presente
|
43
43
|
attr_accessor :person
|
44
44
|
|
45
|
-
# Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
45
|
+
# Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
46
46
|
attr_accessor :relationship
|
47
47
|
|
48
|
-
# Registro federal de contribuyentes de la persona o institución propietaria de la cuenta
|
48
|
+
# Registro federal de contribuyentes de la persona o institución propietaria de la cuenta
|
49
49
|
attr_accessor :rfc
|
50
50
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -18,9 +18,6 @@ module Wire4Client
|
|
18
18
|
# Monto límite permitido registrado para la cuenta
|
19
19
|
attr_accessor :amount_limit
|
20
20
|
|
21
|
-
# La fecha/hora en la que se autorizo el registro del beneficiario desde el centro de autorización
|
22
|
-
attr_accessor :authorization_date
|
23
|
-
|
24
21
|
# El banco al cual pertenece la cuenta
|
25
22
|
attr_accessor :bank
|
26
23
|
|
@@ -33,7 +30,7 @@ module Wire4Client
|
|
33
30
|
# Objeto que contiene el nombre de la institución, es mutuamente exclusivo con el objeto Person
|
34
31
|
attr_accessor :institution
|
35
32
|
|
36
|
-
# Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
33
|
+
# Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
37
34
|
attr_accessor :kind_of_relationship
|
38
35
|
|
39
36
|
# Referencia numérica a utilizar cuando se realice una transferencia y no se especifique una referencia
|
@@ -45,23 +42,16 @@ module Wire4Client
|
|
45
42
|
# Objeto que contiene los datos de la persona propietaria de la cuenta, si se incluye este atributo, el atributo institution no debe estar presente
|
46
43
|
attr_accessor :person
|
47
44
|
|
48
|
-
#
|
49
|
-
attr_accessor :register_date
|
50
|
-
|
51
|
-
# Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships. <br> Nota: Si en la respuesta de Monex esta propiedad es nula, tampoco estará presente en esta respuesta.
|
45
|
+
# Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships
|
52
46
|
attr_accessor :relationship
|
53
47
|
|
54
|
-
# Registro federal de contribuyentes de la persona o institución propietaria de la cuenta
|
48
|
+
# Registro federal de contribuyentes de la persona o institución propietaria de la cuenta
|
55
49
|
attr_accessor :rfc
|
56
50
|
|
57
|
-
# El estado (status) en el que se encuentra el registro del beneficiario
|
58
|
-
attr_accessor :status
|
59
|
-
|
60
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
52
|
def self.attribute_map
|
62
53
|
{
|
63
54
|
:'amount_limit' => :'amount_limit',
|
64
|
-
:'authorization_date' => :'authorization_date',
|
65
55
|
:'bank' => :'bank',
|
66
56
|
:'beneficiary_account' => :'beneficiary_account',
|
67
57
|
:'email' => :'email',
|
@@ -70,10 +60,8 @@ module Wire4Client
|
|
70
60
|
:'numeric_reference_spei' => :'numeric_reference_spei',
|
71
61
|
:'payment_concept_spei' => :'payment_concept_spei',
|
72
62
|
:'person' => :'person',
|
73
|
-
:'register_date' => :'register_date',
|
74
63
|
:'relationship' => :'relationship',
|
75
|
-
:'rfc' => :'rfc'
|
76
|
-
:'status' => :'status'
|
64
|
+
:'rfc' => :'rfc'
|
77
65
|
}
|
78
66
|
end
|
79
67
|
|
@@ -81,7 +69,6 @@ module Wire4Client
|
|
81
69
|
def self.swagger_types
|
82
70
|
{
|
83
71
|
:'amount_limit' => :'Float',
|
84
|
-
:'authorization_date' => :'DateTime',
|
85
72
|
:'bank' => :'Institution',
|
86
73
|
:'beneficiary_account' => :'String',
|
87
74
|
:'email' => :'Array<String>',
|
@@ -90,10 +77,8 @@ module Wire4Client
|
|
90
77
|
:'numeric_reference_spei' => :'String',
|
91
78
|
:'payment_concept_spei' => :'String',
|
92
79
|
:'person' => :'Person',
|
93
|
-
:'register_date' => :'DateTime',
|
94
80
|
:'relationship' => :'String',
|
95
|
-
:'rfc' => :'String'
|
96
|
-
:'status' => :'String'
|
81
|
+
:'rfc' => :'String'
|
97
82
|
}
|
98
83
|
end
|
99
84
|
|
@@ -109,10 +94,6 @@ module Wire4Client
|
|
109
94
|
self.amount_limit = attributes[:'amount_limit']
|
110
95
|
end
|
111
96
|
|
112
|
-
if attributes.has_key?(:'authorization_date')
|
113
|
-
self.authorization_date = attributes[:'authorization_date']
|
114
|
-
end
|
115
|
-
|
116
97
|
if attributes.has_key?(:'bank')
|
117
98
|
self.bank = attributes[:'bank']
|
118
99
|
end
|
@@ -147,10 +128,6 @@ module Wire4Client
|
|
147
128
|
self.person = attributes[:'person']
|
148
129
|
end
|
149
130
|
|
150
|
-
if attributes.has_key?(:'register_date')
|
151
|
-
self.register_date = attributes[:'register_date']
|
152
|
-
end
|
153
|
-
|
154
131
|
if attributes.has_key?(:'relationship')
|
155
132
|
self.relationship = attributes[:'relationship']
|
156
133
|
end
|
@@ -158,10 +135,6 @@ module Wire4Client
|
|
158
135
|
if attributes.has_key?(:'rfc')
|
159
136
|
self.rfc = attributes[:'rfc']
|
160
137
|
end
|
161
|
-
|
162
|
-
if attributes.has_key?(:'status')
|
163
|
-
self.status = attributes[:'status']
|
164
|
-
end
|
165
138
|
end
|
166
139
|
|
167
140
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -241,7 +214,6 @@ module Wire4Client
|
|
241
214
|
return true if self.equal?(o)
|
242
215
|
self.class == o.class &&
|
243
216
|
amount_limit == o.amount_limit &&
|
244
|
-
authorization_date == o.authorization_date &&
|
245
217
|
bank == o.bank &&
|
246
218
|
beneficiary_account == o.beneficiary_account &&
|
247
219
|
email == o.email &&
|
@@ -250,10 +222,8 @@ module Wire4Client
|
|
250
222
|
numeric_reference_spei == o.numeric_reference_spei &&
|
251
223
|
payment_concept_spei == o.payment_concept_spei &&
|
252
224
|
person == o.person &&
|
253
|
-
register_date == o.register_date &&
|
254
225
|
relationship == o.relationship &&
|
255
|
-
rfc == o.rfc
|
256
|
-
status == o.status
|
226
|
+
rfc == o.rfc
|
257
227
|
end
|
258
228
|
|
259
229
|
# @see the `==` method
|
@@ -265,7 +235,7 @@ module Wire4Client
|
|
265
235
|
# Calculates hash code according to all attributes.
|
266
236
|
# @return [Fixnum] Hash code
|
267
237
|
def hash
|
268
|
-
[amount_limit,
|
238
|
+
[amount_limit, bank, beneficiary_account, email, institution, kind_of_relationship, numeric_reference_spei, payment_concept_spei, person, relationship, rfc].hash
|
269
239
|
end
|
270
240
|
|
271
241
|
# Builds the object from hash
|