wire4_client 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/docs/Deposit.md +1 -0
- data/docs/MessageDepositAuthorizationRequest.md +1 -0
- data/docs/MessageDepositReceived.md +1 -0
- data/docs/Payment.md +1 -1
- data/docs/TransferenciasSPEIApi.md +9 -3
- data/lib/wire4_client.rb +1 -1
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +1 -1
- 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/contracts_details_api.rb +1 -1
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +1 -1
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +1 -1
- data/lib/wire4_client/api/depositantes_api.rb +1 -1
- data/lib/wire4_client/api/empresas_co_di_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/lmites_de_montos_api.rb +1 -1
- data/lib/wire4_client/api/operaciones_co_di_api.rb +1 -1
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +1 -1
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +1 -1
- data/lib/wire4_client/api/saldo_api.rb +1 -1
- data/lib/wire4_client/api/suscripciones_api.rb +1 -1
- data/lib/wire4_client/api/transferencias_spei_api.rb +33 -3
- 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 +1 -1
- data/lib/wire4_client/models/account_detail.rb +1 -1
- data/lib/wire4_client/models/account_reassigned.rb +1 -1
- data/lib/wire4_client/models/account_request.rb +1 -1
- data/lib/wire4_client/models/account_response.rb +1 -1
- data/lib/wire4_client/models/account_spid.rb +1 -1
- data/lib/wire4_client/models/address_company.rb +1 -1
- data/lib/wire4_client/models/amount_request.rb +1 -1
- data/lib/wire4_client/models/authorization_transaction_group.rb +1 -1
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/authorized_users.rb +1 -1
- 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 +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 +1 -1
- 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 +1 -1
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +1 -1
- data/lib/wire4_client/models/codi_code_request_dto.rb +1 -1
- data/lib/wire4_client/models/codi_operation_response_dto.rb +1 -1
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +1 -1
- data/lib/wire4_client/models/company_registered.rb +1 -1
- data/lib/wire4_client/models/company_requested.rb +1 -1
- data/lib/wire4_client/models/compay.rb +1 -1
- data/lib/wire4_client/models/configurations_limits.rb +1 -1
- data/lib/wire4_client/models/contact_request.rb +1 -1
- data/lib/wire4_client/models/contract_detail_request.rb +1 -1
- data/lib/wire4_client/models/contract_detail_response.rb +1 -1
- data/lib/wire4_client/models/deposit.rb +12 -2
- data/lib/wire4_client/models/deposit_authorization_request.rb +1 -1
- 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 +1 -1
- data/lib/wire4_client/models/detailed_error_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/item.rb +1 -1
- data/lib/wire4_client/models/message_account_beneficiary.rb +1 -1
- data/lib/wire4_client/models/message_cep.rb +1 -1
- data/lib/wire4_client/models/message_codi_action.rb +1 -1
- data/lib/wire4_client/models/message_configurations_limits.rb +1 -1
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +12 -2
- data/lib/wire4_client/models/message_deposit_received.rb +12 -2
- data/lib/wire4_client/models/message_institution.rb +1 -1
- data/lib/wire4_client/models/message_payment.rb +1 -1
- data/lib/wire4_client/models/message_payment_state_pending.rb +1 -1
- data/lib/wire4_client/models/message_request_changed.rb +1 -1
- data/lib/wire4_client/models/message_sales_point.rb +1 -1
- data/lib/wire4_client/models/message_subscription.rb +1 -1
- data/lib/wire4_client/models/message_user_authorized.rb +1 -1
- data/lib/wire4_client/models/message_web_hook.rb +1 -1
- data/lib/wire4_client/models/operations.rb +1 -1
- data/lib/wire4_client/models/pager_response_dto.rb +1 -1
- data/lib/wire4_client/models/payment.rb +2 -2
- data/lib/wire4_client/models/payment_codi.rb +1 -1
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +1 -1
- 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/pre_monex_authorization.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/sales_point.rb +1 -1
- data/lib/wire4_client/models/sales_point_found.rb +1 -1
- data/lib/wire4_client/models/sales_point_request.rb +1 -1
- data/lib/wire4_client/models/sales_point_respose.rb +1 -1
- data/lib/wire4_client/models/service_banking.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiary_response.rb +1 -1
- 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/subscription_change_status_request.rb +1 -1
- data/lib/wire4_client/models/token_required_response.rb +1 -1
- data/lib/wire4_client/models/transaction_error_code.rb +1 -1
- data/lib/wire4_client/models/transaction_outgoing.rb +1 -1
- 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 +1 -1
- data/lib/wire4_client/models/urls_redirect.rb +1 -1
- data/lib/wire4_client/models/use_service_banking.rb +1 -1
- data/lib/wire4_client/models/user_company.rb +1 -1
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +1 -1
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +1 -1
- data/lib/wire4_client/models/webhook.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/spec/api/autorizacin_de_depsitos_api_spec.rb +1 -1
- 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/contracts_details_api_spec.rb +1 -1
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +1 -1
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +1 -1
- data/spec/api/depositantes_api_spec.rb +1 -1
- data/spec/api/empresas_co_di_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/lmites_de_montos_api_spec.rb +1 -1
- data/spec/api/operaciones_co_di_api_spec.rb +1 -1
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +1 -1
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +1 -1
- data/spec/api/saldo_api_spec.rb +1 -1
- data/spec/api/suscripciones_api_spec.rb +1 -1
- data/spec/api/transferencias_spei_api_spec.rb +4 -2
- 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_detail_spec.rb +1 -1
- data/spec/models/account_reassigned_spec.rb +1 -1
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/address_company_spec.rb +1 -1
- data/spec/models/amount_request_spec.rb +1 -1
- data/spec/models/authorization_transaction_group_spec.rb +1 -1
- data/spec/models/authorized_beneficiaries_response_spec.rb +1 -1
- data/spec/models/authorized_users_spec.rb +1 -1
- 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 +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/certificate_request_spec.rb +1 -1
- data/spec/models/codi_code_qr_response_dto_spec.rb +1 -1
- data/spec/models/codi_code_request_dto_spec.rb +1 -1
- data/spec/models/codi_operation_response_dto_spec.rb +1 -1
- data/spec/models/codi_operations_filters_request_dto_spec.rb +1 -1
- data/spec/models/company_registered_spec.rb +1 -1
- data/spec/models/company_requested_spec.rb +1 -1
- data/spec/models/compay_spec.rb +1 -1
- data/spec/models/configurations_limits_spec.rb +1 -1
- data/spec/models/contact_request_spec.rb +1 -1
- data/spec/models/contract_detail_request_spec.rb +1 -1
- data/spec/models/contract_detail_response_spec.rb +1 -1
- data/spec/models/deposit_authorization_request_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/detailed_error_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/item_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_codi_action_spec.rb +1 -1
- data/spec/models/message_configurations_limits_spec.rb +1 -1
- data/spec/models/message_deposit_authorization_request_spec.rb +7 -1
- 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 +1 -1
- data/spec/models/message_payment_state_pending_spec.rb +1 -1
- data/spec/models/message_request_changed_spec.rb +1 -1
- data/spec/models/message_sales_point_spec.rb +1 -1
- data/spec/models/message_subscription_spec.rb +1 -1
- data/spec/models/message_user_authorized_spec.rb +1 -1
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/operations_spec.rb +1 -1
- data/spec/models/pager_response_dto_spec.rb +1 -1
- data/spec/models/payment_codi_spec.rb +1 -1
- data/spec/models/payment_request_codi_response_dto_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -1
- 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/pre_monex_authorization_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/sales_point_request_spec.rb +1 -1
- data/spec/models/sales_point_respose_spec.rb +1 -1
- data/spec/models/sales_point_spec.rb +1 -1
- data/spec/models/service_banking_spec.rb +1 -1
- data/spec/models/spid_beneficiaries_response_spec.rb +1 -1
- data/spec/models/spid_beneficiary_response_spec.rb +1 -1
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/subscription_change_status_request_spec.rb +1 -1
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_error_code_spec.rb +1 -1
- data/spec/models/transaction_outgoing_spec.rb +1 -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 +1 -1
- data/spec/models/urls_redirect_spec.rb +1 -1
- data/spec/models/use_service_banking_spec.rb +1 -1
- data/spec/models/user_company_spec.rb +1 -1
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +1 -1
- data/spec/models/web_hook_deposit_authorization_response_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/webhook_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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bed86ab7773a461d8fb574a69c80734d2ccce2c0daa58e2e34bb3d467a247d7
|
4
|
+
data.tar.gz: 28796ffc63e7a4e5e9fad15c4b351ba556d076b5779de36bc4111fbf45b0515d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c47145ab6193c4f6172abaa9c3916e38e5300a14bdb69cb4febb0ed71c84fc88022be3c29deaef1c3b16aacec36d8fed34aecaea9ec709a38c7d22b99b29ff0f
|
7
|
+
data.tar.gz: 8d09424288036af82839f5f07c4fe41af1d849c64d1731ffbaa427ca74fc01fda37493f8ecfc63c8a9506593b9bc89d772d66a596be38d69421d4e545f59fc3b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Wire4Client - the Ruby gem for the Wire4RestAPI
|
4
4
|
|
5
|
-
Referencia de
|
5
|
+
Referencia de la API de Wire4
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
data/docs/Deposit.md
CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**currency_code** | **String** | Es el código de divisa de la transferencia. Es en el formato estándar de 3 dígitos, por ejemplo para el peso mexicano: <b>MXP</b>, para el dólar estadounidense: <b>USD</b>. | [optional]
|
14
14
|
**deposit_date** | **DateTime** | Es la fecha del deposito. Ésta fecha viene en formato ISO 8601 con zona horaria, ejemplo: <strong>2020-10-27T11:03:15.000-06:00</strong>. | [optional]
|
15
15
|
**depositant** | **String** | Es el depositante. | [optional]
|
16
|
+
**depositant_alias** | **String** | Es el alias asignado a la cuenta CABLE del depositante. | [optional]
|
16
17
|
**depositant_clabe** | **String** | Es la Cuenta CLABE interbancaria (de 18 dígitos) del depositante. | [optional]
|
17
18
|
**depositant_email** | **String** | Es el correo electrónico (email) del depositante. | [optional]
|
18
19
|
**depositant_rfc** | **String** | Es el Registro Federal de Contribuyentes (RFC) del depositante. | [optional]
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**currency_code** | **String** | Es el código de divisa de la transferencia. Es en el formato estándar ISO 4217 y es de 3 dígitos. Puede ser \"MXN\" o \"USD\". | [optional]
|
13
13
|
**deposit_date** | **DateTime** | Es la fecha de recepción de la transferencia. | [optional]
|
14
14
|
**depositant** | **String** | Es el nombre del depositante en caso de que la transferencia se reciba en una cuenta de depositante. | [optional]
|
15
|
+
**depositant_alias** | **String** | Es el alias de la cuenta CLABE del depositante en caso que la transferencia se reciba de una cuenta de depositante | [optional]
|
15
16
|
**depositant_clabe** | **String** | Es la cuenta CLABE del depositante en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
16
17
|
**depositant_email** | **String** | Es el Correo electrónico (email) del depositante en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
17
18
|
**depositant_rfc** | **String** | Es el Registro Federal de Contribuyentes (RFC) del depositante, en caso que la transferencia se reciba en una cuenta de depositante. | [optional]
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**currency_code** | **String** | Es el código de divisa de la transferencia. Es en el formato estándar ISO 4217 y es de 3 dígitos. Puede ser \"MXN\" o \"USD\". | [optional]
|
14
14
|
**deposit_date** | **DateTime** | Es la fecha de recepción de la transferencia. | [optional]
|
15
15
|
**depositant** | **String** | Es el nombre del depositante en caso de que la transferencia se reciba en una cuenta de depositante. | [optional]
|
16
|
+
**depositant_alias** | **String** | Es el alias de la cuenta CLABE del depositante en caso que la transferencia se reciba de una cuenta de depositante | [optional]
|
16
17
|
**depositant_clabe** | **String** | Es la cuenta CLABE del depositante en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
17
18
|
**depositant_email** | **String** | Es el Correo electrónico (email) del depositante en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
18
19
|
**depositant_rfc** | **String** | Es el Registro Federal de Contribuyentes (RFC) del depositante, en caso que la transferencia se reciba en una cuenta de depositante. | [optional]
|
data/docs/Payment.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**account** | **String** | Es la
|
6
|
+
**account** | **String** | Es la cuenta emisora. | [optional]
|
7
7
|
**amount** | **Float** | Es el monto de la transferencia. | [optional]
|
8
8
|
**beneficiary_account** | **String** | Es la cuenta del beneficiario. | [optional]
|
9
9
|
**beneficiary_bank** | [**Institution**](Institution.md) | Es la información del banco beneficiario. | [optional]
|
@@ -122,11 +122,11 @@ No authorization required
|
|
122
122
|
|
123
123
|
|
124
124
|
# **incoming_spei_transactions_report_using_get**
|
125
|
-
> Array<Deposit> incoming_spei_transactions_report_using_get(authorization, subscription)
|
125
|
+
> Array<Deposit> incoming_spei_transactions_report_using_get(authorization, subscription, opts)
|
126
126
|
|
127
127
|
Consulta de transferencias recibidas
|
128
128
|
|
129
|
-
Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta.
|
129
|
+
Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta. Para consultar transacciones que se encuentran en otras fechas se debe utilizar los parámetros de fecha inicial (beginDate) y fecha final (endDate), siempre deben de ir las dos ya que en caso de que falte una marcará error la consulta, si faltan las dos la consulta lanzará solo las del día, como se describe al inicio. El formato para las fechas es \"yyyy-MM-dd\"
|
130
130
|
|
131
131
|
### Example
|
132
132
|
```ruby
|
@@ -139,10 +139,14 @@ authorization = 'authorization_example' # String | Header para token
|
|
139
139
|
|
140
140
|
subscription = 'subscription_example' # String | Es el identificador de la suscripción a esta API.
|
141
141
|
|
142
|
+
opts = {
|
143
|
+
begin_date: 'begin_date_example', # String | Fecha inicial para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
144
|
+
end_date: 'end_date_example' # String | Fecha final para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
145
|
+
}
|
142
146
|
|
143
147
|
begin
|
144
148
|
#Consulta de transferencias recibidas
|
145
|
-
result = api_instance.incoming_spei_transactions_report_using_get(authorization, subscription)
|
149
|
+
result = api_instance.incoming_spei_transactions_report_using_get(authorization, subscription, opts)
|
146
150
|
p result
|
147
151
|
rescue Wire4Client::ApiError => e
|
148
152
|
puts "Exception when calling TransferenciasSPEIApi->incoming_spei_transactions_report_using_get: #{e}"
|
@@ -155,6 +159,8 @@ Name | Type | Description | Notes
|
|
155
159
|
------------- | ------------- | ------------- | -------------
|
156
160
|
**authorization** | **String**| Header para token |
|
157
161
|
**subscription** | **String**| Es el identificador de la suscripción a esta API. |
|
162
|
+
**begin_date** | **String**| Fecha inicial para filtrar los depósitos, se espera en formato 'yyyy-MM-dd' | [optional]
|
163
|
+
**end_date** | **String**| Fecha final para filtrar los depósitos, se espera en formato 'yyyy-MM-dd' | [optional]
|
158
164
|
|
159
165
|
### Return type
|
160
166
|
|
data/lib/wire4_client.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#Referencia de
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -190,10 +190,12 @@ module Wire4Client
|
|
190
190
|
return data, status_code, headers
|
191
191
|
end
|
192
192
|
# Consulta de transferencias recibidas
|
193
|
-
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta.
|
193
|
+
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta. Para consultar transacciones que se encuentran en otras fechas se debe utilizar los parámetros de fecha inicial (beginDate) y fecha final (endDate), siempre deben de ir las dos ya que en caso de que falte una marcará error la consulta, si faltan las dos la consulta lanzará solo las del día, como se describe al inicio. El formato para las fechas es \"yyyy-MM-dd\"
|
194
194
|
# @param authorization Header para token
|
195
195
|
# @param subscription Es el identificador de la suscripción a esta API.
|
196
196
|
# @param [Hash] opts the optional parameters
|
197
|
+
# @option opts [String] :begin_date Fecha inicial para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
198
|
+
# @option opts [String] :end_date Fecha final para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
197
199
|
# @return [Array<Deposit>]
|
198
200
|
def incoming_spei_transactions_report_using_get(authorization, subscription, opts = {})
|
199
201
|
data, _status_code, _headers = incoming_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts)
|
@@ -201,10 +203,12 @@ module Wire4Client
|
|
201
203
|
end
|
202
204
|
|
203
205
|
# Consulta de transferencias recibidas
|
204
|
-
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta.
|
206
|
+
# Realiza una consulta de las transferencias recibidas (depósitos) en la cuenta del cliente Monex relacionada a la suscripción, las transferencias que regresa este recuso son únicamente las transferencias recibidas durante el día en el que se realiza la consulta. Para consultar transacciones que se encuentran en otras fechas se debe utilizar los parámetros de fecha inicial (beginDate) y fecha final (endDate), siempre deben de ir las dos ya que en caso de que falte una marcará error la consulta, si faltan las dos la consulta lanzará solo las del día, como se describe al inicio. El formato para las fechas es \"yyyy-MM-dd\"
|
205
207
|
# @param authorization Header para token
|
206
208
|
# @param subscription Es el identificador de la suscripción a esta API.
|
207
209
|
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [String] :begin_date Fecha inicial para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
211
|
+
# @option opts [String] :end_date Fecha final para filtrar los depósitos, se espera en formato 'yyyy-MM-dd'
|
208
212
|
# @return [Array<(Array<Deposit>, Fixnum, Hash)>] Array<Deposit> data, response status code and response headers
|
209
213
|
def incoming_spei_transactions_report_using_get_with_http_info(authorization, subscription, opts = {})
|
210
214
|
if @api_client.config.debugging
|
@@ -230,11 +234,37 @@ module Wire4Client
|
|
230
234
|
fail ArgumentError, "invalid value for 'subscription' when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, 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}$/."
|
231
235
|
end
|
232
236
|
|
237
|
+
if @api_client.config.client_side_validation && !opts[:'begin_date'].nil? && opts[:'begin_date'].to_s.length > 10
|
238
|
+
fail ArgumentError, 'invalid value for "opts[:"begin_date"]" when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, the character length must be smaller than or equal to 10.'
|
239
|
+
end
|
240
|
+
|
241
|
+
if @api_client.config.client_side_validation && !opts[:'begin_date'].nil? && opts[:'begin_date'].to_s.length < 10
|
242
|
+
fail ArgumentError, 'invalid value for "opts[:"begin_date"]" when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, the character length must be great than or equal to 10.'
|
243
|
+
end
|
244
|
+
|
245
|
+
if @api_client.config.client_side_validation && !opts[:'begin_date'].nil? && opts[:'begin_date'] !~ Regexp.new(/([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))/)
|
246
|
+
fail ArgumentError, "invalid value for 'opts[:\"begin_date\"]' when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, must conform to the pattern /([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))/."
|
247
|
+
end
|
248
|
+
|
249
|
+
if @api_client.config.client_side_validation && !opts[:'end_date'].nil? && opts[:'end_date'].to_s.length > 10
|
250
|
+
fail ArgumentError, 'invalid value for "opts[:"end_date"]" when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, the character length must be smaller than or equal to 10.'
|
251
|
+
end
|
252
|
+
|
253
|
+
if @api_client.config.client_side_validation && !opts[:'end_date'].nil? && opts[:'end_date'].to_s.length < 10
|
254
|
+
fail ArgumentError, 'invalid value for "opts[:"end_date"]" when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, the character length must be great than or equal to 10.'
|
255
|
+
end
|
256
|
+
|
257
|
+
if @api_client.config.client_side_validation && !opts[:'end_date'].nil? && opts[:'end_date'] !~ Regexp.new(/([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))/)
|
258
|
+
fail ArgumentError, "invalid value for 'opts[:\"end_date\"]' when calling TransferenciasSPEIApi.incoming_spei_transactions_report_using_get, must conform to the pattern /([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))/."
|
259
|
+
end
|
260
|
+
|
233
261
|
# resource path
|
234
262
|
local_var_path = '/subscriptions/{subscription}/transactions/incoming/spei'.sub('{' + 'subscription' + '}', subscription.to_s)
|
235
263
|
|
236
264
|
# query parameters
|
237
265
|
query_params = {}
|
266
|
+
query_params[:'beginDate'] = opts[:'begin_date'] if !opts[:'begin_date'].nil?
|
267
|
+
query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
238
268
|
|
239
269
|
# header parameters
|
240
270
|
header_params = {}
|