conekta 6.0.1 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Makefile +3 -2
  4. data/README.md +5 -48
  5. data/VERSION +1 -1
  6. data/conekta.gemspec +1 -1
  7. data/config-ruby.json +1 -1
  8. data/docs/ApiKeyCreateResponse.md +3 -3
  9. data/docs/CreateCustomerFiscalEntitiesResponse.md +1 -1
  10. data/docs/Customer.md +1 -1
  11. data/docs/CustomerFiscalEntitiesDataResponse.md +1 -1
  12. data/docs/CustomerFiscalEntitiesRequest.md +1 -1
  13. data/docs/CustomerResponse.md +1 -1
  14. data/docs/CustomerShippingContacts.md +1 -1
  15. data/docs/CustomerShippingContactsDataResponse.md +1 -1
  16. data/docs/CustomerShippingContactsResponse.md +1 -1
  17. data/docs/CustomerUpdateFiscalEntitiesRequest.md +1 -1
  18. data/docs/CustomerUpdateShippingContacts.md +1 -1
  19. data/docs/CustomersApi.md +2 -2
  20. data/docs/CustomersResponse.md +3 -3
  21. data/docs/OrderFiscalEntityRequest.md +1 -1
  22. data/docs/OrderFiscalEntityResponse.md +1 -1
  23. data/docs/OrderResponseCustomerInfo.md +2 -2
  24. data/docs/OrderResponseShippingContact.md +7 -7
  25. data/docs/OrderUpdateFiscalEntityRequest.md +1 -1
  26. data/docs/UpdateCustomer.md +1 -1
  27. data/docs/UpdateCustomerFiscalEntitiesResponse.md +1 -1
  28. data/lib/conekta/api/antifraud_api.rb +1 -1
  29. data/lib/conekta/api/api_keys_api.rb +1 -1
  30. data/lib/conekta/api/balances_api.rb +1 -1
  31. data/lib/conekta/api/charges_api.rb +1 -1
  32. data/lib/conekta/api/companies_api.rb +1 -1
  33. data/lib/conekta/api/customers_api.rb +1 -1
  34. data/lib/conekta/api/discounts_api.rb +1 -1
  35. data/lib/conekta/api/events_api.rb +1 -1
  36. data/lib/conekta/api/logs_api.rb +1 -1
  37. data/lib/conekta/api/orders_api.rb +1 -1
  38. data/lib/conekta/api/payment_link_api.rb +1 -1
  39. data/lib/conekta/api/payment_methods_api.rb +1 -1
  40. data/lib/conekta/api/plans_api.rb +1 -1
  41. data/lib/conekta/api/products_api.rb +1 -1
  42. data/lib/conekta/api/shipping_contacts_api.rb +1 -1
  43. data/lib/conekta/api/shippings_api.rb +1 -1
  44. data/lib/conekta/api/subscriptions_api.rb +1 -1
  45. data/lib/conekta/api/taxes_api.rb +1 -1
  46. data/lib/conekta/api/tokens_api.rb +1 -1
  47. data/lib/conekta/api/transactions_api.rb +1 -1
  48. data/lib/conekta/api/transfers_api.rb +1 -1
  49. data/lib/conekta/api/webhook_keys_api.rb +1 -1
  50. data/lib/conekta/api/webhooks_api.rb +1 -1
  51. data/lib/conekta/api_client.rb +2 -2
  52. data/lib/conekta/api_error.rb +1 -1
  53. data/lib/conekta/configuration.rb +1 -1
  54. data/lib/conekta/models/api_key_create_response.rb +15 -16
  55. data/lib/conekta/models/api_key_request.rb +1 -1
  56. data/lib/conekta/models/api_key_response.rb +1 -1
  57. data/lib/conekta/models/api_key_response_on_delete.rb +1 -1
  58. data/lib/conekta/models/api_key_update_request.rb +1 -1
  59. data/lib/conekta/models/balance_common_field.rb +1 -1
  60. data/lib/conekta/models/balance_response.rb +1 -1
  61. data/lib/conekta/models/blacklist_rule_response.rb +1 -1
  62. data/lib/conekta/models/charge_order_response.rb +1 -1
  63. data/lib/conekta/models/charge_order_response_payment_method.rb +1 -1
  64. data/lib/conekta/models/charge_request.rb +1 -1
  65. data/lib/conekta/models/charge_request_payment_method.rb +1 -1
  66. data/lib/conekta/models/charge_response.rb +1 -1
  67. data/lib/conekta/models/charge_response_channel.rb +1 -1
  68. data/lib/conekta/models/charge_response_payment_method.rb +1 -1
  69. data/lib/conekta/models/charge_response_refunds.rb +1 -2
  70. data/lib/conekta/models/charge_response_refunds_data.rb +1 -1
  71. data/lib/conekta/models/charge_update_request.rb +1 -1
  72. data/lib/conekta/models/charges_data_response.rb +1 -1
  73. data/lib/conekta/models/checkout.rb +1 -1
  74. data/lib/conekta/models/checkout_order_template.rb +1 -1
  75. data/lib/conekta/models/checkout_order_template_customer_info.rb +1 -1
  76. data/lib/conekta/models/checkout_request.rb +1 -1
  77. data/lib/conekta/models/checkout_response.rb +1 -1
  78. data/lib/conekta/models/checkouts_response.rb +1 -2
  79. data/lib/conekta/models/company_fiscal_info_address_response.rb +1 -1
  80. data/lib/conekta/models/company_fiscal_info_response.rb +1 -1
  81. data/lib/conekta/models/company_payout_destination_response.rb +1 -1
  82. data/lib/conekta/models/company_response.rb +1 -1
  83. data/lib/conekta/models/create_customer_fiscal_entities_response.rb +2 -3
  84. data/lib/conekta/models/create_customer_payment_methods_request.rb +1 -1
  85. data/lib/conekta/models/create_customer_payment_methods_response.rb +1 -1
  86. data/lib/conekta/models/create_risk_rules_data.rb +1 -1
  87. data/lib/conekta/models/customer.rb +1 -1
  88. data/lib/conekta/models/customer_address.rb +1 -1
  89. data/lib/conekta/models/customer_antifraud_info.rb +1 -1
  90. data/lib/conekta/models/customer_antifraud_info_response.rb +1 -1
  91. data/lib/conekta/models/customer_fiscal_entities_data_response.rb +2 -3
  92. data/lib/conekta/models/customer_fiscal_entities_request.rb +2 -2
  93. data/lib/conekta/models/customer_fiscal_entities_response.rb +1 -2
  94. data/lib/conekta/models/customer_info.rb +1 -1
  95. data/lib/conekta/models/customer_info_just_customer_id.rb +1 -1
  96. data/lib/conekta/models/customer_info_just_customer_id_response.rb +1 -1
  97. data/lib/conekta/models/customer_payment_method_request.rb +1 -1
  98. data/lib/conekta/models/customer_payment_methods_data.rb +1 -1
  99. data/lib/conekta/models/customer_payment_methods_request.rb +1 -1
  100. data/lib/conekta/models/customer_payment_methods_response.rb +1 -2
  101. data/lib/conekta/models/customer_response.rb +1 -1
  102. data/lib/conekta/models/customer_response_shipping_contacts.rb +1 -2
  103. data/lib/conekta/models/customer_shipping_contacts.rb +1 -1
  104. data/lib/conekta/models/customer_shipping_contacts_address.rb +1 -1
  105. data/lib/conekta/models/customer_shipping_contacts_data_response.rb +2 -3
  106. data/lib/conekta/models/customer_shipping_contacts_response.rb +1 -1
  107. data/lib/conekta/models/customer_shipping_contacts_response_address.rb +1 -1
  108. data/lib/conekta/models/customer_update_fiscal_entities_request.rb +2 -2
  109. data/lib/conekta/models/customer_update_shipping_contacts.rb +1 -1
  110. data/lib/conekta/models/customers_response.rb +17 -18
  111. data/lib/conekta/models/delete_api_keys_response.rb +2 -3
  112. data/lib/conekta/models/deleted_blacklist_rule_response.rb +1 -1
  113. data/lib/conekta/models/deleted_whitelist_rule_response.rb +1 -1
  114. data/lib/conekta/models/details.rb +1 -1
  115. data/lib/conekta/models/details_error.rb +1 -1
  116. data/lib/conekta/models/discount_lines_data_response.rb +1 -1
  117. data/lib/conekta/models/discount_lines_response.rb +1 -2
  118. data/lib/conekta/models/email_checkout_request.rb +1 -1
  119. data/lib/conekta/models/error.rb +2 -3
  120. data/lib/conekta/models/event_response.rb +1 -1
  121. data/lib/conekta/models/events_resend_response.rb +1 -1
  122. data/lib/conekta/models/fiscal_entity_address.rb +1 -1
  123. data/lib/conekta/models/get_api_keys_response.rb +1 -2
  124. data/lib/conekta/models/get_charges_response.rb +1 -2
  125. data/lib/conekta/models/get_companies_response.rb +1 -2
  126. data/lib/conekta/models/get_customer_payment_method_data_response.rb +1 -1
  127. data/lib/conekta/models/get_events_response.rb +1 -2
  128. data/lib/conekta/models/get_order_discount_lines_response.rb +1 -2
  129. data/lib/conekta/models/get_orders_response.rb +1 -1
  130. data/lib/conekta/models/get_payment_method_response.rb +1 -2
  131. data/lib/conekta/models/get_plans_response.rb +1 -2
  132. data/lib/conekta/models/get_transactions_response.rb +1 -2
  133. data/lib/conekta/models/get_transfers_response.rb +1 -2
  134. data/lib/conekta/models/get_webhook_keys_response.rb +1 -2
  135. data/lib/conekta/models/get_webhooks_response.rb +1 -2
  136. data/lib/conekta/models/log_response.rb +1 -1
  137. data/lib/conekta/models/logs_response.rb +1 -1
  138. data/lib/conekta/models/logs_response_data.rb +1 -1
  139. data/lib/conekta/models/order_capture_request.rb +1 -1
  140. data/lib/conekta/models/order_customer_info_response.rb +1 -1
  141. data/lib/conekta/models/order_discount_lines_request.rb +1 -1
  142. data/lib/conekta/models/order_fiscal_entity_address_response.rb +2 -3
  143. data/lib/conekta/models/order_fiscal_entity_request.rb +1 -1
  144. data/lib/conekta/models/order_fiscal_entity_response.rb +1 -1
  145. data/lib/conekta/models/order_next_action_response.rb +1 -1
  146. data/lib/conekta/models/order_next_action_response_redirect_to_url.rb +1 -1
  147. data/lib/conekta/models/order_refund_request.rb +1 -1
  148. data/lib/conekta/models/order_request.rb +1 -1
  149. data/lib/conekta/models/order_request_customer_info.rb +1 -1
  150. data/lib/conekta/models/order_response.rb +1 -1
  151. data/lib/conekta/models/order_response_charges.rb +1 -2
  152. data/lib/conekta/models/order_response_checkout.rb +1 -1
  153. data/lib/conekta/models/order_response_customer_info.rb +12 -13
  154. data/lib/conekta/models/order_response_discount_lines.rb +1 -2
  155. data/lib/conekta/models/order_response_products.rb +1 -2
  156. data/lib/conekta/models/order_response_shipping_contact.rb +30 -31
  157. data/lib/conekta/models/order_tax_request.rb +1 -1
  158. data/lib/conekta/models/order_update_fiscal_entity_request.rb +1 -1
  159. data/lib/conekta/models/order_update_request.rb +1 -1
  160. data/lib/conekta/models/order_update_request_customer_info.rb +1 -1
  161. data/lib/conekta/models/orders_response.rb +1 -1
  162. data/lib/conekta/models/page.rb +1 -1
  163. data/lib/conekta/models/pagination.rb +1 -1
  164. data/lib/conekta/models/payment_method.rb +1 -1
  165. data/lib/conekta/models/payment_method_bank_transfer.rb +1 -2
  166. data/lib/conekta/models/payment_method_card.rb +1 -2
  167. data/lib/conekta/models/payment_method_card_request.rb +2 -3
  168. data/lib/conekta/models/payment_method_card_response.rb +1 -2
  169. data/lib/conekta/models/payment_method_cash.rb +1 -2
  170. data/lib/conekta/models/payment_method_cash_request.rb +2 -3
  171. data/lib/conekta/models/payment_method_cash_response.rb +1 -2
  172. data/lib/conekta/models/payment_method_response.rb +1 -1
  173. data/lib/conekta/models/payment_method_spei_recurrent.rb +2 -3
  174. data/lib/conekta/models/payment_method_spei_request.rb +2 -3
  175. data/lib/conekta/models/plan_request.rb +1 -1
  176. data/lib/conekta/models/plan_response.rb +1 -1
  177. data/lib/conekta/models/plan_update_request.rb +1 -1
  178. data/lib/conekta/models/product.rb +1 -1
  179. data/lib/conekta/models/product_data_response.rb +2 -3
  180. data/lib/conekta/models/product_order_response.rb +2 -3
  181. data/lib/conekta/models/risk_rules_data.rb +1 -1
  182. data/lib/conekta/models/risk_rules_list.rb +2 -3
  183. data/lib/conekta/models/shipping_order_response.rb +1 -2
  184. data/lib/conekta/models/shipping_request.rb +1 -1
  185. data/lib/conekta/models/sms_checkout_request.rb +1 -1
  186. data/lib/conekta/models/subscription_events_response.rb +1 -2
  187. data/lib/conekta/models/subscription_request.rb +1 -1
  188. data/lib/conekta/models/subscription_response.rb +1 -1
  189. data/lib/conekta/models/subscription_update_request.rb +1 -1
  190. data/lib/conekta/models/token.rb +1 -1
  191. data/lib/conekta/models/token_card.rb +1 -1
  192. data/lib/conekta/models/token_checkout.rb +1 -1
  193. data/lib/conekta/models/token_response.rb +1 -1
  194. data/lib/conekta/models/token_response_checkout.rb +1 -1
  195. data/lib/conekta/models/transaction_response.rb +1 -1
  196. data/lib/conekta/models/transfer_destination_response.rb +1 -1
  197. data/lib/conekta/models/transfer_method_response.rb +1 -1
  198. data/lib/conekta/models/transfer_response.rb +1 -1
  199. data/lib/conekta/models/transfers_response.rb +1 -1
  200. data/lib/conekta/models/update_customer.rb +1 -1
  201. data/lib/conekta/models/update_customer_antifraud_info.rb +1 -1
  202. data/lib/conekta/models/update_customer_fiscal_entities_response.rb +3 -4
  203. data/lib/conekta/models/update_customer_payment_methods_response.rb +1 -1
  204. data/lib/conekta/models/update_order_discount_lines_request.rb +1 -1
  205. data/lib/conekta/models/update_order_tax_request.rb +1 -1
  206. data/lib/conekta/models/update_order_tax_response.rb +2 -3
  207. data/lib/conekta/models/update_payment_methods.rb +1 -1
  208. data/lib/conekta/models/update_product.rb +1 -1
  209. data/lib/conekta/models/webhook_key_create_response.rb +1 -1
  210. data/lib/conekta/models/webhook_key_delete_response.rb +1 -1
  211. data/lib/conekta/models/webhook_key_request.rb +1 -1
  212. data/lib/conekta/models/webhook_key_response.rb +1 -1
  213. data/lib/conekta/models/webhook_key_update_request.rb +1 -1
  214. data/lib/conekta/models/webhook_log.rb +1 -1
  215. data/lib/conekta/models/webhook_request.rb +1 -1
  216. data/lib/conekta/models/webhook_response.rb +1 -1
  217. data/lib/conekta/models/webhook_update_request.rb +1 -1
  218. data/lib/conekta/models/whitelistlist_rule_response.rb +1 -1
  219. data/lib/conekta/version.rb +2 -2
  220. data/lib/conekta.rb +1 -44
  221. data/spec/api/customers_api_spec.rb +2 -2
  222. data/spec/spec_helper.rb +1 -1
  223. metadata +2 -45
  224. data/docs/ApiKeyCreateResponseAllOf.md +0 -18
  225. data/docs/ChargeDataPaymentMethodBankTransferResponse.md +0 -48
  226. data/docs/ChargeDataPaymentMethodCardResponse.md +0 -38
  227. data/docs/ChargeDataPaymentMethodCashResponse.md +0 -32
  228. data/docs/ChargeResponseRefundsAllOf.md +0 -18
  229. data/docs/CheckoutsResponseAllOf.md +0 -18
  230. data/docs/CreateCustomerFiscalEntitiesResponseAllOf.md +0 -26
  231. data/docs/CustomerFiscalEntitiesRequestAddress.md +0 -32
  232. data/docs/CustomerFiscalEntitiesResponseAllOf.md +0 -18
  233. data/docs/CustomerPaymentMethods.md +0 -18
  234. data/docs/CustomerResponseShippingContactsAllOf.md +0 -18
  235. data/docs/CustomerShippingContactsDataResponseAllOf.md +0 -22
  236. data/docs/CustomersResponseAllOf.md +0 -18
  237. data/docs/DeleteApiKeysResponseAllOf.md +0 -18
  238. data/docs/DiscountLinesResponseAllOf.md +0 -22
  239. data/docs/ErrorAllOf.md +0 -22
  240. data/docs/GetApiKeysResponseAllOf.md +0 -18
  241. data/docs/GetChargesResponseAllOf.md +0 -18
  242. data/docs/GetCompaniesResponseAllOf.md +0 -18
  243. data/docs/GetEventsResponseAllOf.md +0 -18
  244. data/docs/GetOrderDiscountLinesResponseAllOf.md +0 -18
  245. data/docs/GetPaymentMethodResponseAllOf.md +0 -18
  246. data/docs/GetPlansResponseAllOf.md +0 -18
  247. data/docs/GetTransactionsResponseAllOf.md +0 -18
  248. data/docs/GetTransfersResponseAllOf.md +0 -18
  249. data/docs/GetWebhookKeysResponseAllOf.md +0 -18
  250. data/docs/GetWebhooksResponseAllOf.md +0 -18
  251. data/docs/OrderFiscalEntityAddressResponseAllOf.md +0 -18
  252. data/docs/OrderResponseChargesAllOf.md +0 -18
  253. data/docs/OrderResponseCustomerInfoAllOf.md +0 -18
  254. data/docs/OrderResponseDiscountLinesAllOf.md +0 -18
  255. data/docs/OrderResponseProductsAllOf.md +0 -18
  256. data/docs/OrderResponseShippingContactAllOf.md +0 -22
  257. data/docs/PaymentMethodCardRequestAllOf.md +0 -18
  258. data/docs/PaymentMethodCardResponseAllOf.md +0 -36
  259. data/docs/PaymentMethodCashRequestAllOf.md +0 -18
  260. data/docs/PaymentMethodCashResponseAllOf.md +0 -26
  261. data/docs/PaymentMethodSpeiRecurrentAllOf.md +0 -20
  262. data/docs/ProductDataResponseAllOf.md +0 -22
  263. data/docs/ProductOrderResponseAllOf.md +0 -22
  264. data/docs/RiskRules.md +0 -18
  265. data/docs/UpdateCustomerFiscalEntitiesResponseAllOf.md +0 -26
  266. data/docs/UpdateOrderTaxResponseAllOf.md +0 -22
@@ -1,20 +0,0 @@
1
- # Conekta::PaymentMethodSpeiRecurrentAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **reference** | **String** | | [optional] |
8
- | **expires_at** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'conekta'
14
-
15
- instance = Conekta::PaymentMethodSpeiRecurrentAllOf.new(
16
- reference: 93000262276908,
17
- expires_at: none
18
- )
19
- ```
20
-
@@ -1,22 +0,0 @@
1
- # Conekta::ProductDataResponseAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **object** | **String** | | [optional] |
9
- | **parent_id** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'conekta'
15
-
16
- instance = Conekta::ProductDataResponseAllOf.new(
17
- id: null,
18
- object: null,
19
- parent_id: null
20
- )
21
- ```
22
-
@@ -1,22 +0,0 @@
1
- # Conekta::ProductOrderResponseAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **object** | **String** | | [optional] |
9
- | **parent_id** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'conekta'
15
-
16
- instance = Conekta::ProductOrderResponseAllOf.new(
17
- id: null,
18
- object: null,
19
- parent_id: null
20
- )
21
- ```
22
-
data/docs/RiskRules.md DELETED
@@ -1,18 +0,0 @@
1
- # Conekta::RiskRules
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array<RiskRulesData>**](RiskRulesData.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'conekta'
13
-
14
- instance = Conekta::RiskRules.new(
15
- data: null
16
- )
17
- ```
18
-
@@ -1,26 +0,0 @@
1
- # Conekta::UpdateCustomerFiscalEntitiesResponseAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | |
8
- | **object** | **String** | | |
9
- | **created_at** | **Integer** | | |
10
- | **parent_id** | **String** | | [optional] |
11
- | **default** | **Boolean** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'conekta'
17
-
18
- instance = Conekta::UpdateCustomerFiscalEntitiesResponseAllOf.new(
19
- id: fis_ent_2tKZsTYcsryyu7Ah8,
20
- object: fiscal_entities,
21
- created_at: 1675715413,
22
- parent_id: cus_2tKcHxhTz7xU5SymF,
23
- default: null
24
- )
25
- ```
26
-
@@ -1,22 +0,0 @@
1
- # Conekta::UpdateOrderTaxResponseAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **object** | **String** | | [optional] |
9
- | **parent_id** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'conekta'
15
-
16
- instance = Conekta::UpdateOrderTaxResponseAllOf.new(
17
- id: tax_lin_2tQ8dC5mg1UADmVPo,
18
- object: tax_line,
19
- parent_id: ord_2tPAmKCEJqh8RE6nY
20
- )
21
- ```
22
-