Skip to content

Commit 5d6ed1e

Browse files
authored
AI-231: Build v2.2.0 sdk (#10)
1 parent 0c09854 commit 5d6ed1e

File tree

305 files changed

+3455
-34229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+3455
-34229
lines changed

.openapi-generator/FILES

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,11 @@ doc/LogsApi.md
104104
doc/LogsResponse.md
105105
doc/LogsResponseData.md
106106
doc/OrderCaptureRequest.md
107+
doc/OrderChannelResponse.md
108+
doc/OrderChargesResponse.md
107109
doc/OrderCustomerInfoResponse.md
108110
doc/OrderDiscountLinesRequest.md
111+
doc/OrderDiscountLinesResponse.md
109112
doc/OrderFiscalEntityAddressResponse.md
110113
doc/OrderFiscalEntityRequest.md
111114
doc/OrderFiscalEntityResponse.md
@@ -115,10 +118,8 @@ doc/OrderRefundRequest.md
115118
doc/OrderRequest.md
116119
doc/OrderRequestCustomerInfo.md
117120
doc/OrderResponse.md
118-
doc/OrderResponseCharges.md
119121
doc/OrderResponseCheckout.md
120122
doc/OrderResponseCustomerInfo.md
121-
doc/OrderResponseDiscountLines.md
122123
doc/OrderResponseProducts.md
123124
doc/OrderResponseShippingContact.md
124125
doc/OrderTaxRequest.md
@@ -132,12 +133,15 @@ doc/Pagination.md
132133
doc/PaymentLinkApi.md
133134
doc/PaymentMethod.md
134135
doc/PaymentMethodBankTransfer.md
136+
doc/PaymentMethodBnplPayment.md
137+
doc/PaymentMethodBnplRequest.md
135138
doc/PaymentMethodCard.md
136139
doc/PaymentMethodCardRequest.md
137140
doc/PaymentMethodCardResponse.md
138141
doc/PaymentMethodCash.md
139142
doc/PaymentMethodCashRequest.md
140143
doc/PaymentMethodCashResponse.md
144+
doc/PaymentMethodCashResponseAllOfAgreements.md
141145
doc/PaymentMethodGeneralRequest.md
142146
doc/PaymentMethodResponse.md
143147
doc/PaymentMethodSpeiRecurrent.md
@@ -160,6 +164,7 @@ doc/Product.md
160164
doc/ProductDataResponse.md
161165
doc/ProductOrderResponse.md
162166
doc/ProductsApi.md
167+
doc/ResendRequest.md
163168
doc/RiskRulesData.md
164169
doc/RiskRulesList.md
165170
doc/ShippingContactsApi.md
@@ -330,8 +335,11 @@ lib/src/model/log_response.dart
330335
lib/src/model/logs_response.dart
331336
lib/src/model/logs_response_data.dart
332337
lib/src/model/order_capture_request.dart
338+
lib/src/model/order_channel_response.dart
339+
lib/src/model/order_charges_response.dart
333340
lib/src/model/order_customer_info_response.dart
334341
lib/src/model/order_discount_lines_request.dart
342+
lib/src/model/order_discount_lines_response.dart
335343
lib/src/model/order_fiscal_entity_address_response.dart
336344
lib/src/model/order_fiscal_entity_request.dart
337345
lib/src/model/order_fiscal_entity_response.dart
@@ -341,10 +349,8 @@ lib/src/model/order_refund_request.dart
341349
lib/src/model/order_request.dart
342350
lib/src/model/order_request_customer_info.dart
343351
lib/src/model/order_response.dart
344-
lib/src/model/order_response_charges.dart
345352
lib/src/model/order_response_checkout.dart
346353
lib/src/model/order_response_customer_info.dart
347-
lib/src/model/order_response_discount_lines.dart
348354
lib/src/model/order_response_products.dart
349355
lib/src/model/order_response_shipping_contact.dart
350356
lib/src/model/order_tax_request.dart
@@ -356,12 +362,15 @@ lib/src/model/page.dart
356362
lib/src/model/pagination.dart
357363
lib/src/model/payment_method.dart
358364
lib/src/model/payment_method_bank_transfer.dart
365+
lib/src/model/payment_method_bnpl_payment.dart
366+
lib/src/model/payment_method_bnpl_request.dart
359367
lib/src/model/payment_method_card.dart
360368
lib/src/model/payment_method_card_request.dart
361369
lib/src/model/payment_method_card_response.dart
362370
lib/src/model/payment_method_cash.dart
363371
lib/src/model/payment_method_cash_request.dart
364372
lib/src/model/payment_method_cash_response.dart
373+
lib/src/model/payment_method_cash_response_all_of_agreements.dart
365374
lib/src/model/payment_method_general_request.dart
366375
lib/src/model/payment_method_response.dart
367376
lib/src/model/payment_method_spei_recurrent.dart
@@ -380,6 +389,7 @@ lib/src/model/plan_update_request.dart
380389
lib/src/model/product.dart
381390
lib/src/model/product_data_response.dart
382391
lib/src/model/product_order_response.dart
392+
lib/src/model/resend_request.dart
383393
lib/src/model/risk_rules_data.dart
384394
lib/src/model/risk_rules_list.dart
385395
lib/src/model/shipping_order_response.dart

README.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Conekta sdk
33

44
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 2.1.0
6+
- API version: 2.2.0
77
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
88
For more information, please visit [https://github.com/conekta/openapi/issues](https://github.com/conekta/openapi/issues)
99

@@ -100,7 +100,7 @@ Class | Method | HTTP request | Description
100100
[*DiscountsApi*](doc/DiscountsApi.md) | [**ordersUpdateDiscountLines**](doc/DiscountsApi.md#ordersupdatediscountlines) | **PUT** /orders/{id}/discount_lines/{discount_lines_id} | Update Discount
101101
[*EventsApi*](doc/EventsApi.md) | [**getEvent**](doc/EventsApi.md#getevent) | **GET** /events/{id} | Get Event
102102
[*EventsApi*](doc/EventsApi.md) | [**getEvents**](doc/EventsApi.md#getevents) | **GET** /events | Get list of Events
103-
[*EventsApi*](doc/EventsApi.md) | [**resendEvent**](doc/EventsApi.md#resendevent) | **POST** /events/{event_id}/webhook_logs/{webhook_log_id}/resend | Resend Event
103+
[*EventsApi*](doc/EventsApi.md) | [**resendEvent**](doc/EventsApi.md#resendevent) | **POST** /events/{event_id}/resend | Resend Event
104104
[*LogsApi*](doc/LogsApi.md) | [**getLogById**](doc/LogsApi.md#getlogbyid) | **GET** /logs/{id} | Get Log
105105
[*LogsApi*](doc/LogsApi.md) | [**getLogs**](doc/LogsApi.md#getlogs) | **GET** /logs | Get List Of Logs
106106
[*OrdersApi*](doc/OrdersApi.md) | [**cancelOrder**](doc/OrdersApi.md#cancelorder) | **POST** /orders/{id}/cancel | Cancel Order
@@ -139,13 +139,22 @@ Class | Method | HTTP request | Description
139139
[*ShippingsApi*](doc/ShippingsApi.md) | [**ordersCreateShipping**](doc/ShippingsApi.md#orderscreateshipping) | **POST** /orders/{id}/shipping_lines | Create Shipping
140140
[*ShippingsApi*](doc/ShippingsApi.md) | [**ordersDeleteShipping**](doc/ShippingsApi.md#ordersdeleteshipping) | **DELETE** /orders/{id}/shipping_lines/{shipping_id} | Delete Shipping
141141
[*ShippingsApi*](doc/ShippingsApi.md) | [**ordersUpdateShipping**](doc/ShippingsApi.md#ordersupdateshipping) | **PUT** /orders/{id}/shipping_lines/{shipping_id} | Update Shipping
142-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**cancelSubscription**](doc/SubscriptionsApi.md#cancelsubscription) | **POST** /customers/{id}/subscription/cancel | Cancel Subscription
143-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**createSubscription**](doc/SubscriptionsApi.md#createsubscription) | **POST** /customers/{id}/subscription | Create Subscription
144-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**getAllEventsFromSubscription**](doc/SubscriptionsApi.md#getalleventsfromsubscription) | **GET** /customers/{id}/subscription/events | Get Events By Subscription
145-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**getSubscription**](doc/SubscriptionsApi.md#getsubscription) | **GET** /customers/{id}/subscription | Get Subscription
146-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**pauseSubscription**](doc/SubscriptionsApi.md#pausesubscription) | **POST** /customers/{id}/subscription/pause | Pause Subscription
147-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**resumeSubscription**](doc/SubscriptionsApi.md#resumesubscription) | **POST** /customers/{id}/subscription/resume | Resume Subscription
148-
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**updateSubscription**](doc/SubscriptionsApi.md#updatesubscription) | **PUT** /customers/{id}/subscription | Update Subscription
142+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**cancelSubscription**](doc/SubscriptionsApi.md#cancelsubscription) | **POST** /customers/{id}/subscription/cancel | Cancel Subscription [Deprecated]
143+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**createSubscription**](doc/SubscriptionsApi.md#createsubscription) | **POST** /customers/{id}/subscription | Create Subscription [Deprecated]
144+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**getSubscription**](doc/SubscriptionsApi.md#getsubscription) | **GET** /customers/{id}/subscription | Get Subscription [Deprecated]
145+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**getSubscriptionEvents**](doc/SubscriptionsApi.md#getsubscriptionevents) | **GET** /customers/{id}/subscription/events | Get Subscription Events [Deprecated]
146+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**pauseSubscription**](doc/SubscriptionsApi.md#pausesubscription) | **POST** /customers/{id}/subscription/pause | Pause Subscription [Deprecated]
147+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**resumeSubscription**](doc/SubscriptionsApi.md#resumesubscription) | **POST** /customers/{id}/subscription/resume | Resume Subscription [Deprecated]
148+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionCancel**](doc/SubscriptionsApi.md#subscriptioncancel) | **POST** /customers/{customer_id}/subscriptions/{id}/cancel | Cancel Subscription
149+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionCreate**](doc/SubscriptionsApi.md#subscriptioncreate) | **POST** /customers/{customer_id}/subscriptions | Create Subscription
150+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionEvents**](doc/SubscriptionsApi.md#subscriptionevents) | **GET** /customers/{customer_id}/subscriptions/{id}/events | Get Subscription Events
151+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionList**](doc/SubscriptionsApi.md#subscriptionlist) | **GET** /customers/{customer_id}/subscriptions | List Subscriptions
152+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionPause**](doc/SubscriptionsApi.md#subscriptionpause) | **POST** /customers/{customer_id}/subscriptions/{id}/pause | Pause Subscription
153+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionResume**](doc/SubscriptionsApi.md#subscriptionresume) | **POST** /customers/{customer_id}/subscriptions/{id}/resume | Resume Subscription
154+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionUpdate**](doc/SubscriptionsApi.md#subscriptionupdate) | **PUT** /customers/{customer_id}/subscriptions/{id} | Update Subscription
155+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionsGet**](doc/SubscriptionsApi.md#subscriptionsget) | **GET** /customers/{customer_id}/subscriptions/{id} | Get Subscription
156+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**subscriptionsRetry**](doc/SubscriptionsApi.md#subscriptionsretry) | **POST** /customers/{customer_id}/subscriptions/{id}/retry | Retry Failed Payment
157+
[*SubscriptionsApi*](doc/SubscriptionsApi.md) | [**updateSubscription**](doc/SubscriptionsApi.md#updatesubscription) | **PUT** /customers/{id}/subscription | Update Subscription [Deprecated]
149158
[*TaxesApi*](doc/TaxesApi.md) | [**ordersCreateTaxes**](doc/TaxesApi.md#orderscreatetaxes) | **POST** /orders/{id}/tax_lines | Create Tax
150159
[*TaxesApi*](doc/TaxesApi.md) | [**ordersDeleteTaxes**](doc/TaxesApi.md#ordersdeletetaxes) | **DELETE** /orders/{id}/tax_lines/{tax_id} | Delete Tax
151160
[*TaxesApi*](doc/TaxesApi.md) | [**ordersUpdateTaxes**](doc/TaxesApi.md#ordersupdatetaxes) | **PUT** /orders/{id}/tax_lines/{tax_id} | Update Tax
@@ -258,8 +267,11 @@ Class | Method | HTTP request | Description
258267
- [LogsResponse](doc/LogsResponse.md)
259268
- [LogsResponseData](doc/LogsResponseData.md)
260269
- [OrderCaptureRequest](doc/OrderCaptureRequest.md)
270+
- [OrderChannelResponse](doc/OrderChannelResponse.md)
271+
- [OrderChargesResponse](doc/OrderChargesResponse.md)
261272
- [OrderCustomerInfoResponse](doc/OrderCustomerInfoResponse.md)
262273
- [OrderDiscountLinesRequest](doc/OrderDiscountLinesRequest.md)
274+
- [OrderDiscountLinesResponse](doc/OrderDiscountLinesResponse.md)
263275
- [OrderFiscalEntityAddressResponse](doc/OrderFiscalEntityAddressResponse.md)
264276
- [OrderFiscalEntityRequest](doc/OrderFiscalEntityRequest.md)
265277
- [OrderFiscalEntityResponse](doc/OrderFiscalEntityResponse.md)
@@ -269,10 +281,8 @@ Class | Method | HTTP request | Description
269281
- [OrderRequest](doc/OrderRequest.md)
270282
- [OrderRequestCustomerInfo](doc/OrderRequestCustomerInfo.md)
271283
- [OrderResponse](doc/OrderResponse.md)
272-
- [OrderResponseCharges](doc/OrderResponseCharges.md)
273284
- [OrderResponseCheckout](doc/OrderResponseCheckout.md)
274285
- [OrderResponseCustomerInfo](doc/OrderResponseCustomerInfo.md)
275-
- [OrderResponseDiscountLines](doc/OrderResponseDiscountLines.md)
276286
- [OrderResponseProducts](doc/OrderResponseProducts.md)
277287
- [OrderResponseShippingContact](doc/OrderResponseShippingContact.md)
278288
- [OrderTaxRequest](doc/OrderTaxRequest.md)
@@ -284,12 +294,15 @@ Class | Method | HTTP request | Description
284294
- [Pagination](doc/Pagination.md)
285295
- [PaymentMethod](doc/PaymentMethod.md)
286296
- [PaymentMethodBankTransfer](doc/PaymentMethodBankTransfer.md)
297+
- [PaymentMethodBnplPayment](doc/PaymentMethodBnplPayment.md)
298+
- [PaymentMethodBnplRequest](doc/PaymentMethodBnplRequest.md)
287299
- [PaymentMethodCard](doc/PaymentMethodCard.md)
288300
- [PaymentMethodCardRequest](doc/PaymentMethodCardRequest.md)
289301
- [PaymentMethodCardResponse](doc/PaymentMethodCardResponse.md)
290302
- [PaymentMethodCash](doc/PaymentMethodCash.md)
291303
- [PaymentMethodCashRequest](doc/PaymentMethodCashRequest.md)
292304
- [PaymentMethodCashResponse](doc/PaymentMethodCashResponse.md)
305+
- [PaymentMethodCashResponseAllOfAgreements](doc/PaymentMethodCashResponseAllOfAgreements.md)
293306
- [PaymentMethodGeneralRequest](doc/PaymentMethodGeneralRequest.md)
294307
- [PaymentMethodResponse](doc/PaymentMethodResponse.md)
295308
- [PaymentMethodSpeiRecurrent](doc/PaymentMethodSpeiRecurrent.md)
@@ -308,6 +321,7 @@ Class | Method | HTTP request | Description
308321
- [Product](doc/Product.md)
309322
- [ProductDataResponse](doc/ProductDataResponse.md)
310323
- [ProductOrderResponse](doc/ProductOrderResponse.md)
324+
- [ResendRequest](doc/ResendRequest.md)
311325
- [RiskRulesData](doc/RiskRulesData.md)
312326
- [RiskRulesList](doc/RiskRulesList.md)
313327
- [ShippingOrderResponse](doc/ShippingOrderResponse.md)

doc/AntifraudApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
5656
### HTTP request headers
5757

5858
- **Content-Type**: application/json
59-
- **Accept**: application/vnd.conekta-v2.1.0+json
59+
- **Accept**: application/vnd.conekta-v2.2.0+json
6060

6161
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
6262

@@ -99,7 +99,7 @@ Name | Type | Description | Notes
9999
### HTTP request headers
100100

101101
- **Content-Type**: application/json
102-
- **Accept**: application/vnd.conekta-v2.1.0+json
102+
- **Accept**: application/vnd.conekta-v2.2.0+json
103103

104104
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
105105

@@ -144,7 +144,7 @@ Name | Type | Description | Notes
144144
### HTTP request headers
145145

146146
- **Content-Type**: Not defined
147-
- **Accept**: application/vnd.conekta-v2.1.0+json
147+
- **Accept**: application/vnd.conekta-v2.2.0+json
148148

149149
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
150150

@@ -189,7 +189,7 @@ Name | Type | Description | Notes
189189
### HTTP request headers
190190

191191
- **Content-Type**: Not defined
192-
- **Accept**: application/vnd.conekta-v2.1.0+json
192+
- **Accept**: application/vnd.conekta-v2.2.0+json
193193

194194
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
195195

@@ -232,7 +232,7 @@ Name | Type | Description | Notes
232232
### HTTP request headers
233233

234234
- **Content-Type**: Not defined
235-
- **Accept**: application/vnd.conekta-v2.1.0+json
235+
- **Accept**: application/vnd.conekta-v2.2.0+json
236236

237237
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
238238

@@ -275,7 +275,7 @@ Name | Type | Description | Notes
275275
### HTTP request headers
276276

277277
- **Content-Type**: Not defined
278-
- **Accept**: application/vnd.conekta-v2.1.0+json
278+
- **Accept**: application/vnd.conekta-v2.2.0+json
279279

280280
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
281281

doc/ApiKeyCreateResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
1212
**createdAt** | **int** | Unix timestamp in seconds of when the api key was created | [optional]
1313
**updatedAt** | **int** | Unix timestamp in seconds of when the api key was last updated | [optional]
1414
**deactivatedAt** | **int** | Unix timestamp in seconds of when the api key was deleted | [optional]
15+
**lastUsedAt** | **int** | Unix timestamp in seconds with the api key was used | [optional]
1516
**description** | **String** | A name or brief explanation of what this api key is used for | [optional]
1617
**id** | **String** | Unique identifier of the api key | [optional]
1718
**livemode** | **bool** | Indicates if the api key is in production | [optional]
18-
**deleted** | **bool** | Indicates if the api key was deleted | [optional]
1919
**object** | **String** | Object name, value is 'api_key' | [optional]
2020
**prefix** | **String** | The first few characters of the authentication_token | [optional]
2121
**role** | **String** | Indicates if the api key is private or public | [optional]

doc/ApiKeyResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
1212
**createdAt** | **int** | Unix timestamp in seconds of when the api key was created | [optional]
1313
**updatedAt** | **int** | Unix timestamp in seconds of when the api key was last updated | [optional]
1414
**deactivatedAt** | **int** | Unix timestamp in seconds of when the api key was deleted | [optional]
15+
**lastUsedAt** | **int** | Unix timestamp in seconds with the api key was used | [optional]
1516
**description** | **String** | A name or brief explanation of what this api key is used for | [optional]
1617
**id** | **String** | Unique identifier of the api key | [optional]
1718
**livemode** | **bool** | Indicates if the api key is in production | [optional]
18-
**deleted** | **bool** | Indicates if the api key was deleted | [optional]
1919
**object** | **String** | Object name, value is 'api_key' | [optional]
2020
**prefix** | **String** | The first few characters of the authentication_token | [optional]
2121
**role** | **String** | Indicates if the api key is private or public | [optional]

doc/ApiKeyResponseOnDelete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**prefix** | **String** | The first few characters of the authentication_token | [optional]
1616
**id** | **String** | Unique identifier of the api key | [optional]
1717
**object** | **String** | Object name, value is 'api_key' | [optional]
18-
**deleted** | **bool** | Indicates if the api key was deleted | [optional]
18+
**lastUsedAt** | **int** | Unix timestamp in seconds with the api key was used | [optional]
1919
**role** | **String** | Indicates if the api key is private or public | [optional]
2020

2121
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)