conekta 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +9 -1
- data/README.md +17 -10
- data/VERSION +1 -1
- data/conekta.gemspec +4 -3
- data/config-ruby.json +32 -0
- data/docs/BalancesApi.md +1 -1
- data/docs/ChargeOrderResponse.md +0 -2
- data/docs/ChargeRequest.md +0 -2
- data/docs/ChargeRequestPaymentMethod.md +2 -0
- data/docs/ChargeResponse.md +0 -2
- data/docs/ChargeUpdateRequest.md +18 -0
- data/docs/ChargesApi.md +76 -0
- data/docs/ChargesDataResponse.md +0 -2
- data/docs/Checkout.md +2 -2
- data/docs/CheckoutOrderTemplate.md +1 -1
- data/docs/CheckoutRequest.md +2 -2
- data/docs/CheckoutResponse.md +3 -3
- data/docs/Customer.md +1 -1
- data/docs/CustomerAddress.md +3 -3
- data/docs/CustomerFiscalEntitiesRequestAddress.md +3 -3
- data/docs/CustomerResponse.md +11 -9
- data/docs/CustomerShippingContacts.md +4 -2
- data/docs/CustomerShippingContactsAddress.md +2 -2
- data/docs/CustomerShippingContactsDataResponse.md +3 -1
- data/docs/CustomerShippingContactsResponse.md +3 -1
- data/docs/CustomerShippingContactsResponseAddress.md +2 -2
- data/docs/CustomerUpdateShippingContacts.md +1 -1
- data/docs/CustomersApi.md +2 -2
- data/docs/EventResponse.md +1 -1
- data/docs/FiscalEntityAddress.md +30 -0
- data/docs/LogResponse.md +5 -5
- data/docs/LogsResponseData.md +5 -5
- data/docs/{CustomerInfoResponse.md → OrderCustomerInfoResponse.md} +4 -2
- data/docs/OrderFiscalEntityAddressResponse.md +32 -0
- data/docs/{OrderResponseFiscalEntityAddressAllOf.md → OrderFiscalEntityAddressResponseAllOf.md} +2 -2
- data/docs/OrderFiscalEntityRequest.md +28 -0
- data/docs/OrderFiscalEntityResponse.md +34 -0
- data/docs/OrderNextActionResponse.md +20 -0
- data/docs/OrderNextActionResponseRedirectToUrl.md +20 -0
- data/docs/OrderRequest.md +7 -1
- data/docs/OrderResponse.md +3 -1
- data/docs/OrderResponseCustomerInfo.md +2 -0
- data/docs/OrderResponseShippingContact.md +3 -1
- data/docs/OrderTaxRequest.md +1 -1
- data/docs/OrderUpdateFiscalEntityRequest.md +28 -0
- data/docs/OrderUpdateRequest.md +2 -0
- data/docs/PaymentLinkApi.md +1 -1
- data/docs/Product.md +3 -3
- data/docs/ShippingRequest.md +1 -1
- data/docs/TokenResponseCheckout.md +1 -1
- data/docs/TransactionsApi.md +9 -3
- data/docs/UpdateCustomer.md +1 -1
- data/docs/WebhookLog.md +1 -1
- data/docs/WebhookResponse.md +1 -1
- data/docs/WebhookUpdateRequest.md +2 -2
- data/lib/conekta/api/antifraud_api.rb +1 -1
- data/lib/conekta/api/api_keys_api.rb +1 -1
- data/lib/conekta/api/balances_api.rb +2 -2
- data/lib/conekta/api/charges_api.rb +83 -1
- data/lib/conekta/api/companies_api.rb +1 -1
- data/lib/conekta/api/customers_api.rb +1 -1
- data/lib/conekta/api/discounts_api.rb +1 -1
- data/lib/conekta/api/events_api.rb +1 -1
- data/lib/conekta/api/logs_api.rb +1 -1
- data/lib/conekta/api/orders_api.rb +1 -1
- data/lib/conekta/api/payment_link_api.rb +1 -1
- data/lib/conekta/api/payment_methods_api.rb +1 -1
- data/lib/conekta/api/plans_api.rb +1 -1
- data/lib/conekta/api/products_api.rb +1 -1
- data/lib/conekta/api/shipping_contacts_api.rb +1 -1
- data/lib/conekta/api/shippings_api.rb +1 -1
- data/lib/conekta/api/subscriptions_api.rb +1 -1
- data/lib/conekta/api/taxes_api.rb +1 -1
- data/lib/conekta/api/tokens_api.rb +1 -1
- data/lib/conekta/api/transactions_api.rb +13 -4
- data/lib/conekta/api/transfers_api.rb +1 -1
- data/lib/conekta/api/webhook_keys_api.rb +1 -1
- data/lib/conekta/api/webhooks_api.rb +1 -1
- data/lib/conekta/api_client.rb +39 -36
- data/lib/conekta/api_error.rb +1 -1
- data/lib/conekta/configuration.rb +13 -10
- data/lib/conekta/models/api_key_create_response.rb +14 -19
- data/lib/conekta/models/api_key_create_response_all_of.rb +14 -19
- data/lib/conekta/models/api_key_request.rb +16 -19
- data/lib/conekta/models/api_key_response.rb +14 -19
- data/lib/conekta/models/api_key_response_on_delete.rb +14 -19
- data/lib/conekta/models/api_key_update_request.rb +14 -19
- data/lib/conekta/models/balance_common_field.rb +14 -19
- data/lib/conekta/models/balance_response.rb +14 -19
- data/lib/conekta/models/blacklist_rule_response.rb +14 -19
- data/lib/conekta/models/charge_data_payment_method_bank_transfer_response.rb +14 -19
- data/lib/conekta/models/charge_data_payment_method_card_response.rb +14 -43
- data/lib/conekta/models/charge_data_payment_method_cash_response.rb +14 -19
- data/lib/conekta/models/charge_order_response.rb +15 -29
- data/lib/conekta/models/charge_order_response_payment_method.rb +1 -1
- data/lib/conekta/models/charge_request.rb +17 -30
- data/lib/conekta/models/charge_request_payment_method.rb +27 -44
- data/lib/conekta/models/charge_response.rb +15 -29
- data/lib/conekta/models/charge_response_channel.rb +14 -19
- data/lib/conekta/models/charge_response_payment_method.rb +1 -1
- data/lib/conekta/models/charge_response_refunds.rb +18 -19
- data/lib/conekta/models/charge_response_refunds_all_of.rb +14 -19
- data/lib/conekta/models/charge_response_refunds_data.rb +22 -19
- data/lib/conekta/models/charge_update_request.rb +216 -0
- data/lib/conekta/models/charges_data_response.rb +15 -29
- data/lib/conekta/models/checkout.rb +26 -19
- data/lib/conekta/models/checkout_order_template.rb +23 -20
- data/lib/conekta/models/checkout_order_template_customer_info.rb +2 -2
- data/lib/conekta/models/checkout_request.rb +16 -19
- data/lib/conekta/models/checkout_response.rb +22 -19
- data/lib/conekta/models/checkouts_response.rb +18 -19
- data/lib/conekta/models/checkouts_response_all_of.rb +14 -19
- data/lib/conekta/models/company_fiscal_info_address_response.rb +14 -19
- data/lib/conekta/models/company_fiscal_info_response.rb +14 -19
- data/lib/conekta/models/company_payout_destination_response.rb +14 -19
- data/lib/conekta/models/company_response.rb +14 -19
- data/lib/conekta/models/create_customer_fiscal_entities_response.rb +22 -19
- data/lib/conekta/models/create_customer_fiscal_entities_response_all_of.rb +20 -19
- data/lib/conekta/models/create_customer_payment_methods_request.rb +2 -2
- data/lib/conekta/models/create_customer_payment_methods_response.rb +1 -1
- data/lib/conekta/models/create_risk_rules_data.rb +20 -19
- data/lib/conekta/models/customer.rb +25 -20
- data/lib/conekta/models/customer_address.rb +22 -19
- data/lib/conekta/models/customer_antifraud_info.rb +14 -19
- data/lib/conekta/models/customer_antifraud_info_response.rb +14 -19
- data/lib/conekta/models/customer_fiscal_entities_data_response.rb +22 -19
- data/lib/conekta/models/customer_fiscal_entities_request.rb +16 -19
- data/lib/conekta/models/customer_fiscal_entities_request_address.rb +22 -19
- data/lib/conekta/models/customer_fiscal_entities_response.rb +18 -19
- data/lib/conekta/models/customer_fiscal_entities_response_all_of.rb +14 -19
- data/lib/conekta/models/customer_info.rb +20 -19
- data/lib/conekta/models/customer_info_just_customer_id.rb +16 -19
- data/lib/conekta/models/customer_info_just_customer_id_response.rb +14 -19
- data/lib/conekta/models/customer_payment_method_request.rb +16 -19
- data/lib/conekta/models/customer_payment_methods.rb +14 -19
- data/lib/conekta/models/customer_payment_methods_data.rb +1 -1
- data/lib/conekta/models/customer_payment_methods_request.rb +2 -2
- data/lib/conekta/models/customer_payment_methods_response.rb +18 -19
- data/lib/conekta/models/customer_response.rb +67 -20
- data/lib/conekta/models/customer_response_shipping_contacts.rb +18 -19
- data/lib/conekta/models/customer_response_shipping_contacts_all_of.rb +14 -19
- data/lib/conekta/models/customer_shipping_contacts.rb +52 -24
- data/lib/conekta/models/customer_shipping_contacts_address.rb +14 -19
- data/lib/conekta/models/customer_shipping_contacts_data_response.rb +54 -20
- data/lib/conekta/models/customer_shipping_contacts_data_response_all_of.rb +20 -19
- data/lib/conekta/models/customer_shipping_contacts_response.rb +46 -20
- data/lib/conekta/models/customer_shipping_contacts_response_address.rb +15 -19
- data/lib/conekta/models/customer_update_fiscal_entities_request.rb +14 -19
- data/lib/conekta/models/customer_update_shipping_contacts.rb +14 -19
- data/lib/conekta/models/customers_response.rb +18 -19
- data/lib/conekta/models/customers_response_all_of.rb +14 -19
- data/lib/conekta/models/delete_api_keys_response.rb +14 -19
- data/lib/conekta/models/delete_api_keys_response_all_of.rb +14 -19
- data/lib/conekta/models/deleted_blacklist_rule_response.rb +14 -19
- data/lib/conekta/models/deleted_whitelist_rule_response.rb +14 -19
- data/lib/conekta/models/details.rb +14 -19
- data/lib/conekta/models/details_error.rb +14 -19
- data/lib/conekta/models/discount_lines_data_response.rb +26 -19
- data/lib/conekta/models/discount_lines_response.rb +26 -19
- data/lib/conekta/models/discount_lines_response_all_of.rb +20 -19
- data/lib/conekta/models/email_checkout_request.rb +16 -19
- data/lib/conekta/models/error.rb +14 -19
- data/lib/conekta/models/error_all_of.rb +14 -19
- data/lib/conekta/models/event_response.rb +19 -20
- data/lib/conekta/models/events_resend_response.rb +19 -20
- data/lib/conekta/models/fiscal_entity_address.rb +312 -0
- data/lib/conekta/models/get_api_keys_response.rb +18 -19
- data/lib/conekta/models/get_api_keys_response_all_of.rb +14 -19
- data/lib/conekta/models/get_charges_response.rb +18 -19
- data/lib/conekta/models/get_charges_response_all_of.rb +14 -19
- data/lib/conekta/models/get_companies_response.rb +18 -19
- data/lib/conekta/models/get_companies_response_all_of.rb +14 -19
- data/lib/conekta/models/get_customer_payment_method_data_response.rb +1 -1
- data/lib/conekta/models/get_events_response.rb +18 -19
- data/lib/conekta/models/get_events_response_all_of.rb +14 -19
- data/lib/conekta/models/get_order_discount_lines_response.rb +18 -19
- data/lib/conekta/models/get_order_discount_lines_response_all_of.rb +14 -19
- data/lib/conekta/models/get_orders_response.rb +20 -19
- data/lib/conekta/models/get_payment_method_response.rb +18 -19
- data/lib/conekta/models/get_payment_method_response_all_of.rb +14 -19
- data/lib/conekta/models/get_plans_response.rb +18 -19
- data/lib/conekta/models/get_plans_response_all_of.rb +14 -19
- data/lib/conekta/models/get_transactions_response.rb +18 -19
- data/lib/conekta/models/get_transactions_response_all_of.rb +14 -19
- data/lib/conekta/models/get_transfers_response.rb +18 -19
- data/lib/conekta/models/get_transfers_response_all_of.rb +14 -19
- data/lib/conekta/models/get_webhook_keys_response.rb +18 -19
- data/lib/conekta/models/get_webhook_keys_response_all_of.rb +14 -19
- data/lib/conekta/models/get_webhooks_response.rb +18 -19
- data/lib/conekta/models/get_webhooks_response_all_of.rb +14 -19
- data/lib/conekta/models/log_response.rb +20 -19
- data/lib/conekta/models/logs_response.rb +14 -19
- data/lib/conekta/models/logs_response_data.rb +14 -19
- data/lib/conekta/models/order_capture_request.rb +16 -19
- data/lib/conekta/models/{customer_info_response.rb → order_customer_info_response.rb} +29 -23
- data/lib/conekta/models/order_discount_lines_request.rb +20 -19
- data/lib/conekta/models/{order_response_fiscal_entity_address.rb → order_fiscal_entity_address_response.rb} +48 -34
- data/lib/conekta/models/{order_response_fiscal_entity_address_all_of.rb → order_fiscal_entity_address_response_all_of.rb} +17 -22
- data/lib/conekta/models/order_fiscal_entity_request.rb +295 -0
- data/lib/conekta/models/order_fiscal_entity_response.rb +347 -0
- data/lib/conekta/models/{order_response_fiscal_entity.rb → order_next_action_response.rb} +32 -53
- data/lib/conekta/models/order_next_action_response_redirect_to_url.rb +226 -0
- data/lib/conekta/models/order_refund_request.rb +18 -19
- data/lib/conekta/models/order_request.rb +58 -24
- data/lib/conekta/models/order_request_customer_info.rb +2 -2
- data/lib/conekta/models/order_response.rb +31 -22
- data/lib/conekta/models/order_response_charges.rb +18 -19
- data/lib/conekta/models/order_response_charges_all_of.rb +14 -19
- data/lib/conekta/models/order_response_checkout.rb +19 -20
- data/lib/conekta/models/order_response_customer_info.rb +27 -21
- data/lib/conekta/models/order_response_customer_info_all_of.rb +14 -19
- data/lib/conekta/models/order_response_discount_lines.rb +18 -19
- data/lib/conekta/models/order_response_discount_lines_all_of.rb +14 -19
- data/lib/conekta/models/order_response_products.rb +18 -19
- data/lib/conekta/models/order_response_products_all_of.rb +14 -19
- data/lib/conekta/models/order_response_shipping_contact.rb +46 -20
- data/lib/conekta/models/order_response_shipping_contact_all_of.rb +14 -19
- data/lib/conekta/models/order_tax_request.rb +23 -20
- data/lib/conekta/models/order_update_fiscal_entity_request.rb +295 -0
- data/lib/conekta/models/order_update_request.rb +29 -21
- data/lib/conekta/models/order_update_request_customer_info.rb +2 -2
- data/lib/conekta/models/orders_response.rb +16 -19
- data/lib/conekta/models/page.rb +14 -19
- data/lib/conekta/models/pagination.rb +18 -19
- data/lib/conekta/models/payment_method.rb +16 -19
- data/lib/conekta/models/payment_method_bank_transfer.rb +16 -19
- data/lib/conekta/models/payment_method_card.rb +16 -43
- data/lib/conekta/models/payment_method_card_request.rb +18 -19
- data/lib/conekta/models/payment_method_card_request_all_of.rb +14 -19
- data/lib/conekta/models/payment_method_card_response.rb +22 -19
- data/lib/conekta/models/payment_method_card_response_all_of.rb +14 -19
- data/lib/conekta/models/payment_method_cash.rb +16 -19
- data/lib/conekta/models/payment_method_cash_request.rb +16 -19
- data/lib/conekta/models/payment_method_cash_request_all_of.rb +14 -19
- data/lib/conekta/models/payment_method_cash_response.rb +22 -19
- data/lib/conekta/models/payment_method_cash_response_all_of.rb +14 -19
- data/lib/conekta/models/payment_method_response.rb +22 -19
- data/lib/conekta/models/payment_method_spei_recurrent.rb +22 -19
- data/lib/conekta/models/payment_method_spei_recurrent_all_of.rb +14 -19
- data/lib/conekta/models/payment_method_spei_request.rb +16 -19
- data/lib/conekta/models/plan_request.rb +27 -20
- data/lib/conekta/models/plan_response.rb +19 -20
- data/lib/conekta/models/plan_update_request.rb +24 -21
- data/lib/conekta/models/product.rb +30 -21
- data/lib/conekta/models/product_data_response.rb +30 -21
- data/lib/conekta/models/product_data_response_all_of.rb +14 -19
- data/lib/conekta/models/product_order_response.rb +30 -21
- data/lib/conekta/models/product_order_response_all_of.rb +14 -19
- data/lib/conekta/models/risk_rules.rb +14 -19
- data/lib/conekta/models/risk_rules_data.rb +14 -19
- data/lib/conekta/models/risk_rules_list.rb +18 -19
- data/lib/conekta/models/shipping_order_response.rb +21 -20
- data/lib/conekta/models/shipping_request.rb +21 -20
- data/lib/conekta/models/sms_checkout_request.rb +16 -19
- data/lib/conekta/models/subscription_events_response.rb +18 -19
- data/lib/conekta/models/subscription_request.rb +16 -19
- data/lib/conekta/models/subscription_response.rb +14 -19
- data/lib/conekta/models/subscription_update_request.rb +14 -19
- data/lib/conekta/models/token.rb +14 -19
- data/lib/conekta/models/token_card.rb +24 -19
- data/lib/conekta/models/token_checkout.rb +14 -19
- data/lib/conekta/models/token_response.rb +22 -19
- data/lib/conekta/models/token_response_checkout.rb +14 -19
- data/lib/conekta/models/transaction_response.rb +36 -19
- data/lib/conekta/models/transfer_destination_response.rb +14 -19
- data/lib/conekta/models/transfer_method_response.rb +14 -19
- data/lib/conekta/models/transfer_response.rb +19 -20
- data/lib/conekta/models/transfers_response.rb +19 -20
- data/lib/conekta/models/update_customer.rb +19 -20
- data/lib/conekta/models/update_customer_antifraud_info.rb +14 -19
- data/lib/conekta/models/update_customer_fiscal_entities_response.rb +22 -19
- data/lib/conekta/models/update_customer_fiscal_entities_response_all_of.rb +20 -19
- data/lib/conekta/models/update_customer_payment_methods_response.rb +1 -1
- data/lib/conekta/models/update_order_discount_lines_request.rb +19 -20
- data/lib/conekta/models/update_order_tax_request.rb +29 -22
- data/lib/conekta/models/update_order_tax_response.rb +25 -20
- data/lib/conekta/models/update_order_tax_response_all_of.rb +14 -19
- data/lib/conekta/models/update_payment_methods.rb +14 -19
- data/lib/conekta/models/update_product.rb +29 -22
- data/lib/conekta/models/webhook_key_create_response.rb +14 -19
- data/lib/conekta/models/webhook_key_delete_response.rb +14 -19
- data/lib/conekta/models/webhook_key_request.rb +14 -19
- data/lib/conekta/models/webhook_key_response.rb +14 -19
- data/lib/conekta/models/webhook_key_update_request.rb +14 -19
- data/lib/conekta/models/webhook_log.rb +19 -20
- data/lib/conekta/models/webhook_request.rb +16 -19
- data/lib/conekta/models/webhook_response.rb +14 -19
- data/lib/conekta/models/webhook_update_request.rb +24 -27
- data/lib/conekta/models/whitelistlist_rule_response.rb +14 -19
- data/lib/conekta/version.rb +2 -2
- data/lib/conekta.rb +11 -5
- data/spec/api/orders_api_spec.rb +27 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -8
- data/ssl_data/ca_bundle.crt +4039 -0
- data/templates/ruby/CUSTOM_VERSION.mustache +1 -0
- data/templates/ruby/api_client.mustache +256 -0
- data/templates/ruby/configuration.mustache +481 -0
- metadata +46 -29
- data/docs/OrderResponseFiscalEntity.md +0 -24
- data/docs/OrderResponseFiscalEntityAddress.md +0 -34
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -68,6 +68,7 @@ module Conekta
|
|
68
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
69
69
|
# @return Array for valid properties with the reasons
|
70
70
|
def list_invalid_properties
|
71
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
71
72
|
invalid_properties = Array.new
|
72
73
|
invalid_properties
|
73
74
|
end
|
@@ -75,6 +76,7 @@ module Conekta
|
|
75
76
|
# Check to see if the all the properties in the model are valid
|
76
77
|
# @return true if the model is valid
|
77
78
|
def valid?
|
79
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
78
80
|
true
|
79
81
|
end
|
80
82
|
|
@@ -102,37 +104,30 @@ module Conekta
|
|
102
104
|
# @param [Hash] attributes Model attributes in the form of hash
|
103
105
|
# @return [Object] Returns the model itself
|
104
106
|
def self.build_from_hash(attributes)
|
105
|
-
new.build_from_hash(attributes)
|
106
|
-
end
|
107
|
-
|
108
|
-
# Builds the object from hash
|
109
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
110
|
-
# @return [Object] Returns the model itself
|
111
|
-
def build_from_hash(attributes)
|
112
107
|
return nil unless attributes.is_a?(Hash)
|
113
108
|
attributes = attributes.transform_keys(&:to_sym)
|
114
|
-
|
115
|
-
|
116
|
-
|
109
|
+
transformed_hash = {}
|
110
|
+
openapi_types.each_pair do |key, type|
|
111
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
112
|
+
transformed_hash["#{key}"] = nil
|
117
113
|
elsif type =~ /\AArray<(.*)>/i
|
118
114
|
# check to ensure the input is an array given that the attribute
|
119
115
|
# is documented as an array but the input is not
|
120
|
-
if attributes[
|
121
|
-
|
116
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
117
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
122
118
|
end
|
123
|
-
elsif !attributes[
|
124
|
-
|
119
|
+
elsif !attributes[attribute_map[key]].nil?
|
120
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
125
121
|
end
|
126
122
|
end
|
127
|
-
|
128
|
-
self
|
123
|
+
new(transformed_hash)
|
129
124
|
end
|
130
125
|
|
131
126
|
# Deserializes the data based on type
|
132
127
|
# @param string type Data type
|
133
128
|
# @param string value Value to be deserialized
|
134
129
|
# @return [Object] Deserialized data
|
135
|
-
def _deserialize(type, value)
|
130
|
+
def self._deserialize(type, value)
|
136
131
|
case type.to_sym
|
137
132
|
when :Time
|
138
133
|
Time.parse(value)
|
@@ -167,7 +162,7 @@ module Conekta
|
|
167
162
|
else # model
|
168
163
|
# models (e.g. Pet) or oneOf
|
169
164
|
klass = Conekta.const_get(type)
|
170
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
165
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
171
166
|
end
|
172
167
|
end
|
173
168
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -115,6 +115,7 @@ module Conekta
|
|
115
115
|
# Show invalid properties with the reasons. Usually used together with valid?
|
116
116
|
# @return Array for valid properties with the reasons
|
117
117
|
def list_invalid_properties
|
118
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
118
119
|
invalid_properties = Array.new
|
119
120
|
if !@response_data.nil? && @response_data.length > 100
|
120
121
|
invalid_properties.push('invalid value for "response_data", number of items must be less than or equal to 100.')
|
@@ -126,6 +127,7 @@ module Conekta
|
|
126
127
|
# Check to see if the all the properties in the model are valid
|
127
128
|
# @return true if the model is valid
|
128
129
|
def valid?
|
130
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
129
131
|
return false if !@response_data.nil? && @response_data.length > 100
|
130
132
|
true
|
131
133
|
end
|
@@ -133,7 +135,11 @@ module Conekta
|
|
133
135
|
# Custom attribute writer method with validation
|
134
136
|
# @param [Object] response_data Value to be assigned
|
135
137
|
def response_data=(response_data)
|
136
|
-
if
|
138
|
+
if response_data.nil?
|
139
|
+
fail ArgumentError, 'response_data cannot be nil'
|
140
|
+
end
|
141
|
+
|
142
|
+
if response_data.length > 100
|
137
143
|
fail ArgumentError, 'invalid value for "response_data", number of items must be less than or equal to 100.'
|
138
144
|
end
|
139
145
|
|
@@ -170,37 +176,30 @@ module Conekta
|
|
170
176
|
# @param [Hash] attributes Model attributes in the form of hash
|
171
177
|
# @return [Object] Returns the model itself
|
172
178
|
def self.build_from_hash(attributes)
|
173
|
-
new.build_from_hash(attributes)
|
174
|
-
end
|
175
|
-
|
176
|
-
# Builds the object from hash
|
177
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
178
|
-
# @return [Object] Returns the model itself
|
179
|
-
def build_from_hash(attributes)
|
180
179
|
return nil unless attributes.is_a?(Hash)
|
181
180
|
attributes = attributes.transform_keys(&:to_sym)
|
182
|
-
|
183
|
-
|
184
|
-
|
181
|
+
transformed_hash = {}
|
182
|
+
openapi_types.each_pair do |key, type|
|
183
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
184
|
+
transformed_hash["#{key}"] = nil
|
185
185
|
elsif type =~ /\AArray<(.*)>/i
|
186
186
|
# check to ensure the input is an array given that the attribute
|
187
187
|
# is documented as an array but the input is not
|
188
|
-
if attributes[
|
189
|
-
|
188
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
189
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
190
190
|
end
|
191
|
-
elsif !attributes[
|
192
|
-
|
191
|
+
elsif !attributes[attribute_map[key]].nil?
|
192
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
193
193
|
end
|
194
194
|
end
|
195
|
-
|
196
|
-
self
|
195
|
+
new(transformed_hash)
|
197
196
|
end
|
198
197
|
|
199
198
|
# Deserializes the data based on type
|
200
199
|
# @param string type Data type
|
201
200
|
# @param string value Value to be deserialized
|
202
201
|
# @return [Object] Deserialized data
|
203
|
-
def _deserialize(type, value)
|
202
|
+
def self._deserialize(type, value)
|
204
203
|
case type.to_sym
|
205
204
|
when :Time
|
206
205
|
Time.parse(value)
|
@@ -235,7 +234,7 @@ module Conekta
|
|
235
234
|
else # model
|
236
235
|
# models (e.g. Pet) or oneOf
|
237
236
|
klass = Conekta.const_get(type)
|
238
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
237
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
239
238
|
end
|
240
239
|
end
|
241
240
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,6 +66,8 @@ module Conekta
|
|
66
66
|
|
67
67
|
if attributes.key?(:'url')
|
68
68
|
self.url = attributes[:'url']
|
69
|
+
else
|
70
|
+
self.url = nil
|
69
71
|
end
|
70
72
|
|
71
73
|
if attributes.key?(:'synchronous')
|
@@ -78,6 +80,7 @@ module Conekta
|
|
78
80
|
# Show invalid properties with the reasons. Usually used together with valid?
|
79
81
|
# @return Array for valid properties with the reasons
|
80
82
|
def list_invalid_properties
|
83
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
81
84
|
invalid_properties = Array.new
|
82
85
|
if @url.nil?
|
83
86
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
@@ -98,6 +101,7 @@ module Conekta
|
|
98
101
|
# Check to see if the all the properties in the model are valid
|
99
102
|
# @return true if the model is valid
|
100
103
|
def valid?
|
104
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
101
105
|
return false if @url.nil?
|
102
106
|
return false if @url !~ Regexp.new(/^(?!.*(localhost|127\.0\.0\.1)).*$/)
|
103
107
|
return false if @synchronous.nil?
|
@@ -144,37 +148,30 @@ module Conekta
|
|
144
148
|
# @param [Hash] attributes Model attributes in the form of hash
|
145
149
|
# @return [Object] Returns the model itself
|
146
150
|
def self.build_from_hash(attributes)
|
147
|
-
new.build_from_hash(attributes)
|
148
|
-
end
|
149
|
-
|
150
|
-
# Builds the object from hash
|
151
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
152
|
-
# @return [Object] Returns the model itself
|
153
|
-
def build_from_hash(attributes)
|
154
151
|
return nil unless attributes.is_a?(Hash)
|
155
152
|
attributes = attributes.transform_keys(&:to_sym)
|
156
|
-
|
157
|
-
|
158
|
-
|
153
|
+
transformed_hash = {}
|
154
|
+
openapi_types.each_pair do |key, type|
|
155
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
156
|
+
transformed_hash["#{key}"] = nil
|
159
157
|
elsif type =~ /\AArray<(.*)>/i
|
160
158
|
# check to ensure the input is an array given that the attribute
|
161
159
|
# is documented as an array but the input is not
|
162
|
-
if attributes[
|
163
|
-
|
160
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
161
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
164
162
|
end
|
165
|
-
elsif !attributes[
|
166
|
-
|
163
|
+
elsif !attributes[attribute_map[key]].nil?
|
164
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
167
165
|
end
|
168
166
|
end
|
169
|
-
|
170
|
-
self
|
167
|
+
new(transformed_hash)
|
171
168
|
end
|
172
169
|
|
173
170
|
# Deserializes the data based on type
|
174
171
|
# @param string type Data type
|
175
172
|
# @param string value Value to be deserialized
|
176
173
|
# @return [Object] Deserialized data
|
177
|
-
def _deserialize(type, value)
|
174
|
+
def self._deserialize(type, value)
|
178
175
|
case type.to_sym
|
179
176
|
when :Time
|
180
177
|
Time.parse(value)
|
@@ -209,7 +206,7 @@ module Conekta
|
|
209
206
|
else # model
|
210
207
|
# models (e.g. Pet) or oneOf
|
211
208
|
klass = Conekta.const_get(type)
|
212
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
209
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
210
|
end
|
214
211
|
end
|
215
212
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -141,6 +141,7 @@ module Conekta
|
|
141
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
142
142
|
# @return Array for valid properties with the reasons
|
143
143
|
def list_invalid_properties
|
144
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
144
145
|
invalid_properties = Array.new
|
145
146
|
invalid_properties
|
146
147
|
end
|
@@ -148,6 +149,7 @@ module Conekta
|
|
148
149
|
# Check to see if the all the properties in the model are valid
|
149
150
|
# @return true if the model is valid
|
150
151
|
def valid?
|
152
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
151
153
|
true
|
152
154
|
end
|
153
155
|
|
@@ -184,37 +186,30 @@ module Conekta
|
|
184
186
|
# @param [Hash] attributes Model attributes in the form of hash
|
185
187
|
# @return [Object] Returns the model itself
|
186
188
|
def self.build_from_hash(attributes)
|
187
|
-
new.build_from_hash(attributes)
|
188
|
-
end
|
189
|
-
|
190
|
-
# Builds the object from hash
|
191
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
192
|
-
# @return [Object] Returns the model itself
|
193
|
-
def build_from_hash(attributes)
|
194
189
|
return nil unless attributes.is_a?(Hash)
|
195
190
|
attributes = attributes.transform_keys(&:to_sym)
|
196
|
-
|
197
|
-
|
198
|
-
|
191
|
+
transformed_hash = {}
|
192
|
+
openapi_types.each_pair do |key, type|
|
193
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
194
|
+
transformed_hash["#{key}"] = nil
|
199
195
|
elsif type =~ /\AArray<(.*)>/i
|
200
196
|
# check to ensure the input is an array given that the attribute
|
201
197
|
# is documented as an array but the input is not
|
202
|
-
if attributes[
|
203
|
-
|
198
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
199
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
204
200
|
end
|
205
|
-
elsif !attributes[
|
206
|
-
|
201
|
+
elsif !attributes[attribute_map[key]].nil?
|
202
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
207
203
|
end
|
208
204
|
end
|
209
|
-
|
210
|
-
self
|
205
|
+
new(transformed_hash)
|
211
206
|
end
|
212
207
|
|
213
208
|
# Deserializes the data based on type
|
214
209
|
# @param string type Data type
|
215
210
|
# @param string value Value to be deserialized
|
216
211
|
# @return [Object] Deserialized data
|
217
|
-
def _deserialize(type, value)
|
212
|
+
def self._deserialize(type, value)
|
218
213
|
case type.to_sym
|
219
214
|
when :Time
|
220
215
|
Time.parse(value)
|
@@ -249,7 +244,7 @@ module Conekta
|
|
249
244
|
else # model
|
250
245
|
# models (e.g. Pet) or oneOf
|
251
246
|
klass = Conekta.const_get(type)
|
252
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
247
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
253
248
|
end
|
254
249
|
end
|
255
250
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,14 +22,14 @@ module Conekta
|
|
22
22
|
# It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false
|
23
23
|
attr_accessor :synchronous
|
24
24
|
|
25
|
-
attr_accessor :
|
25
|
+
attr_accessor :events
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
30
|
:'url' => :'url',
|
31
31
|
:'synchronous' => :'synchronous',
|
32
|
-
:'
|
32
|
+
:'events' => :'events'
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
@@ -43,7 +43,7 @@ module Conekta
|
|
43
43
|
{
|
44
44
|
:'url' => :'String',
|
45
45
|
:'synchronous' => :'Boolean',
|
46
|
-
:'
|
46
|
+
:'events' => :'Array<String>'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -70,6 +70,8 @@ module Conekta
|
|
70
70
|
|
71
71
|
if attributes.key?(:'url')
|
72
72
|
self.url = attributes[:'url']
|
73
|
+
else
|
74
|
+
self.url = nil
|
73
75
|
end
|
74
76
|
|
75
77
|
if attributes.key?(:'synchronous')
|
@@ -78,9 +80,9 @@ module Conekta
|
|
78
80
|
self.synchronous = false
|
79
81
|
end
|
80
82
|
|
81
|
-
if attributes.key?(:'
|
82
|
-
if (value = attributes[:'
|
83
|
-
self.
|
83
|
+
if attributes.key?(:'events')
|
84
|
+
if (value = attributes[:'events']).is_a?(Array)
|
85
|
+
self.events = value
|
84
86
|
end
|
85
87
|
end
|
86
88
|
end
|
@@ -88,6 +90,7 @@ module Conekta
|
|
88
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
89
91
|
# @return Array for valid properties with the reasons
|
90
92
|
def list_invalid_properties
|
93
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
91
94
|
invalid_properties = Array.new
|
92
95
|
if @url.nil?
|
93
96
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
@@ -104,6 +107,7 @@ module Conekta
|
|
104
107
|
# Check to see if the all the properties in the model are valid
|
105
108
|
# @return true if the model is valid
|
106
109
|
def valid?
|
110
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
107
111
|
return false if @url.nil?
|
108
112
|
return false if @url !~ Regexp.new(/^(?!.*(localhost|127\.0\.0\.1)).*$/)
|
109
113
|
true
|
@@ -131,7 +135,7 @@ module Conekta
|
|
131
135
|
self.class == o.class &&
|
132
136
|
url == o.url &&
|
133
137
|
synchronous == o.synchronous &&
|
134
|
-
|
138
|
+
events == o.events
|
135
139
|
end
|
136
140
|
|
137
141
|
# @see the `==` method
|
@@ -143,44 +147,37 @@ module Conekta
|
|
143
147
|
# Calculates hash code according to all attributes.
|
144
148
|
# @return [Integer] Hash code
|
145
149
|
def hash
|
146
|
-
[url, synchronous,
|
150
|
+
[url, synchronous, events].hash
|
147
151
|
end
|
148
152
|
|
149
153
|
# Builds the object from hash
|
150
154
|
# @param [Hash] attributes Model attributes in the form of hash
|
151
155
|
# @return [Object] Returns the model itself
|
152
156
|
def self.build_from_hash(attributes)
|
153
|
-
new.build_from_hash(attributes)
|
154
|
-
end
|
155
|
-
|
156
|
-
# Builds the object from hash
|
157
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
158
|
-
# @return [Object] Returns the model itself
|
159
|
-
def build_from_hash(attributes)
|
160
157
|
return nil unless attributes.is_a?(Hash)
|
161
158
|
attributes = attributes.transform_keys(&:to_sym)
|
162
|
-
|
163
|
-
|
164
|
-
|
159
|
+
transformed_hash = {}
|
160
|
+
openapi_types.each_pair do |key, type|
|
161
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
162
|
+
transformed_hash["#{key}"] = nil
|
165
163
|
elsif type =~ /\AArray<(.*)>/i
|
166
164
|
# check to ensure the input is an array given that the attribute
|
167
165
|
# is documented as an array but the input is not
|
168
|
-
if attributes[
|
169
|
-
|
166
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
167
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
170
168
|
end
|
171
|
-
elsif !attributes[
|
172
|
-
|
169
|
+
elsif !attributes[attribute_map[key]].nil?
|
170
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
173
171
|
end
|
174
172
|
end
|
175
|
-
|
176
|
-
self
|
173
|
+
new(transformed_hash)
|
177
174
|
end
|
178
175
|
|
179
176
|
# Deserializes the data based on type
|
180
177
|
# @param string type Data type
|
181
178
|
# @param string value Value to be deserialized
|
182
179
|
# @return [Object] Deserialized data
|
183
|
-
def _deserialize(type, value)
|
180
|
+
def self._deserialize(type, value)
|
184
181
|
case type.to_sym
|
185
182
|
when :Time
|
186
183
|
Time.parse(value)
|
@@ -215,7 +212,7 @@ module Conekta
|
|
215
212
|
else # model
|
216
213
|
# models (e.g. Pet) or oneOf
|
217
214
|
klass = Conekta.const_get(type)
|
218
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
215
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
219
216
|
end
|
220
217
|
end
|
221
218
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,6 +93,7 @@ module Conekta
|
|
93
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
94
94
|
# @return Array for valid properties with the reasons
|
95
95
|
def list_invalid_properties
|
96
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
96
97
|
invalid_properties = Array.new
|
97
98
|
invalid_properties
|
98
99
|
end
|
@@ -100,6 +101,7 @@ module Conekta
|
|
100
101
|
# Check to see if the all the properties in the model are valid
|
101
102
|
# @return true if the model is valid
|
102
103
|
def valid?
|
104
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
103
105
|
true
|
104
106
|
end
|
105
107
|
|
@@ -130,37 +132,30 @@ module Conekta
|
|
130
132
|
# @param [Hash] attributes Model attributes in the form of hash
|
131
133
|
# @return [Object] Returns the model itself
|
132
134
|
def self.build_from_hash(attributes)
|
133
|
-
new.build_from_hash(attributes)
|
134
|
-
end
|
135
|
-
|
136
|
-
# Builds the object from hash
|
137
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
138
|
-
# @return [Object] Returns the model itself
|
139
|
-
def build_from_hash(attributes)
|
140
135
|
return nil unless attributes.is_a?(Hash)
|
141
136
|
attributes = attributes.transform_keys(&:to_sym)
|
142
|
-
|
143
|
-
|
144
|
-
|
137
|
+
transformed_hash = {}
|
138
|
+
openapi_types.each_pair do |key, type|
|
139
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
140
|
+
transformed_hash["#{key}"] = nil
|
145
141
|
elsif type =~ /\AArray<(.*)>/i
|
146
142
|
# check to ensure the input is an array given that the attribute
|
147
143
|
# is documented as an array but the input is not
|
148
|
-
if attributes[
|
149
|
-
|
144
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
145
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
150
146
|
end
|
151
|
-
elsif !attributes[
|
152
|
-
|
147
|
+
elsif !attributes[attribute_map[key]].nil?
|
148
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
153
149
|
end
|
154
150
|
end
|
155
|
-
|
156
|
-
self
|
151
|
+
new(transformed_hash)
|
157
152
|
end
|
158
153
|
|
159
154
|
# Deserializes the data based on type
|
160
155
|
# @param string type Data type
|
161
156
|
# @param string value Value to be deserialized
|
162
157
|
# @return [Object] Deserialized data
|
163
|
-
def _deserialize(type, value)
|
158
|
+
def self._deserialize(type, value)
|
164
159
|
case type.to_sym
|
165
160
|
when :Time
|
166
161
|
Time.parse(value)
|
@@ -195,7 +190,7 @@ module Conekta
|
|
195
190
|
else # model
|
196
191
|
# models (e.g. Pet) or oneOf
|
197
192
|
klass = Conekta.const_get(type)
|
198
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
193
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
199
194
|
end
|
200
195
|
end
|
201
196
|
|
data/lib/conekta/version.rb
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Conekta
|
14
|
-
VERSION = '6.0.
|
14
|
+
VERSION = '6.0.1'
|
15
15
|
end
|
data/lib/conekta.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: engineering@conekta.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,6 +39,7 @@ require 'conekta/models/charge_response_payment_method'
|
|
39
39
|
require 'conekta/models/charge_response_refunds'
|
40
40
|
require 'conekta/models/charge_response_refunds_all_of'
|
41
41
|
require 'conekta/models/charge_response_refunds_data'
|
42
|
+
require 'conekta/models/charge_update_request'
|
42
43
|
require 'conekta/models/charges_data_response'
|
43
44
|
require 'conekta/models/checkout'
|
44
45
|
require 'conekta/models/checkout_order_template'
|
@@ -68,7 +69,6 @@ require 'conekta/models/customer_fiscal_entities_response_all_of'
|
|
68
69
|
require 'conekta/models/customer_info'
|
69
70
|
require 'conekta/models/customer_info_just_customer_id'
|
70
71
|
require 'conekta/models/customer_info_just_customer_id_response'
|
71
|
-
require 'conekta/models/customer_info_response'
|
72
72
|
require 'conekta/models/customer_payment_method_request'
|
73
73
|
require 'conekta/models/customer_payment_methods'
|
74
74
|
require 'conekta/models/customer_payment_methods_data'
|
@@ -101,6 +101,7 @@ require 'conekta/models/error'
|
|
101
101
|
require 'conekta/models/error_all_of'
|
102
102
|
require 'conekta/models/event_response'
|
103
103
|
require 'conekta/models/events_resend_response'
|
104
|
+
require 'conekta/models/fiscal_entity_address'
|
104
105
|
require 'conekta/models/get_api_keys_response'
|
105
106
|
require 'conekta/models/get_api_keys_response_all_of'
|
106
107
|
require 'conekta/models/get_charges_response'
|
@@ -129,7 +130,14 @@ require 'conekta/models/log_response'
|
|
129
130
|
require 'conekta/models/logs_response'
|
130
131
|
require 'conekta/models/logs_response_data'
|
131
132
|
require 'conekta/models/order_capture_request'
|
133
|
+
require 'conekta/models/order_customer_info_response'
|
132
134
|
require 'conekta/models/order_discount_lines_request'
|
135
|
+
require 'conekta/models/order_fiscal_entity_address_response'
|
136
|
+
require 'conekta/models/order_fiscal_entity_address_response_all_of'
|
137
|
+
require 'conekta/models/order_fiscal_entity_request'
|
138
|
+
require 'conekta/models/order_fiscal_entity_response'
|
139
|
+
require 'conekta/models/order_next_action_response'
|
140
|
+
require 'conekta/models/order_next_action_response_redirect_to_url'
|
133
141
|
require 'conekta/models/order_refund_request'
|
134
142
|
require 'conekta/models/order_request'
|
135
143
|
require 'conekta/models/order_request_customer_info'
|
@@ -141,14 +149,12 @@ require 'conekta/models/order_response_customer_info'
|
|
141
149
|
require 'conekta/models/order_response_customer_info_all_of'
|
142
150
|
require 'conekta/models/order_response_discount_lines'
|
143
151
|
require 'conekta/models/order_response_discount_lines_all_of'
|
144
|
-
require 'conekta/models/order_response_fiscal_entity'
|
145
|
-
require 'conekta/models/order_response_fiscal_entity_address'
|
146
|
-
require 'conekta/models/order_response_fiscal_entity_address_all_of'
|
147
152
|
require 'conekta/models/order_response_products'
|
148
153
|
require 'conekta/models/order_response_products_all_of'
|
149
154
|
require 'conekta/models/order_response_shipping_contact'
|
150
155
|
require 'conekta/models/order_response_shipping_contact_all_of'
|
151
156
|
require 'conekta/models/order_tax_request'
|
157
|
+
require 'conekta/models/order_update_fiscal_entity_request'
|
152
158
|
require 'conekta/models/order_update_request'
|
153
159
|
require 'conekta/models/order_update_request_customer_info'
|
154
160
|
require 'conekta/models/orders_response'
|