Skip to content

Commit 10cdf59

Browse files
authored
update entities (#6)
1 parent e8718d7 commit 10cdf59

File tree

78 files changed

+3671
-157
lines changed

Some content is hidden

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

78 files changed

+3671
-157
lines changed

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
sdk: [2.18.0, 2.19.6, 3.0.7, 3.1.5, 3.2.6]
14+
sdk: [2.18.0, 2.19.6, 3.0.7, 3.1.5, 3.2.6, 3.3.4]
1515
os: [ubuntu-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:

.openapi-generator/FILES

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ doc/PaymentMethodResponse.md
140140
doc/PaymentMethodSpeiRecurrent.md
141141
doc/PaymentMethodSpeiRequest.md
142142
doc/PaymentMethodsApi.md
143+
doc/Payout.md
144+
doc/PayoutMethod.md
145+
doc/PayoutOrder.md
146+
doc/PayoutOrderPayoutsItem.md
147+
doc/PayoutOrderResponse.md
148+
doc/PayoutOrderResponseCustomerInfo.md
149+
doc/PayoutOrdersApi.md
150+
doc/PayoutOrdersResponse.md
143151
doc/PlanRequest.md
144152
doc/PlanResponse.md
145153
doc/PlanUpdateRequest.md
@@ -209,6 +217,7 @@ lib/src/api/logs_api.dart
209217
lib/src/api/orders_api.dart
210218
lib/src/api/payment_link_api.dart
211219
lib/src/api/payment_methods_api.dart
220+
lib/src/api/payout_orders_api.dart
212221
lib/src/api/plans_api.dart
213222
lib/src/api/products_api.dart
214223
lib/src/api/shipping_contacts_api.dart
@@ -350,6 +359,13 @@ lib/src/model/payment_method_cash_response.dart
350359
lib/src/model/payment_method_response.dart
351360
lib/src/model/payment_method_spei_recurrent.dart
352361
lib/src/model/payment_method_spei_request.dart
362+
lib/src/model/payout.dart
363+
lib/src/model/payout_method.dart
364+
lib/src/model/payout_order.dart
365+
lib/src/model/payout_order_payouts_item.dart
366+
lib/src/model/payout_order_response.dart
367+
lib/src/model/payout_order_response_customer_info.dart
368+
lib/src/model/payout_orders_response.dart
353369
lib/src/model/plan_request.dart
354370
lib/src/model/plan_response.dart
355371
lib/src/model/plan_update_request.dart

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0
1+
7.5.0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dart:
88
rm -rf ../conekta-dart/doc && \
99
rm -rf ../conekta-dart/lib/src/model && \
1010
docker run --rm \
11-
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.3.0 generate \
11+
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.5.0 generate \
1212
-i https://raw.githubusercontent.com/conekta/openapi/main/_build/api.yaml \
1313
-g dart-dio \
1414
-o /local \

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information, please visit [https://github.com/conekta/openapi/issues](h
1818
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
1919
```yaml
2020
dependencies:
21-
conekta: 6.0.4
21+
conekta: 6.0.5
2222
```
2323
2424
### Github
@@ -120,6 +120,9 @@ Class | Method | HTTP request | Description
120120
[*PaymentMethodsApi*](doc/PaymentMethodsApi.md) | [**deleteCustomerPaymentMethods**](doc/PaymentMethodsApi.md#deletecustomerpaymentmethods) | **DELETE** /customers/{id}/payment_sources/{payment_method_id} | Delete Payment Method
121121
[*PaymentMethodsApi*](doc/PaymentMethodsApi.md) | [**getCustomerPaymentMethods**](doc/PaymentMethodsApi.md#getcustomerpaymentmethods) | **GET** /customers/{id}/payment_sources | Get Payment Methods
122122
[*PaymentMethodsApi*](doc/PaymentMethodsApi.md) | [**updateCustomerPaymentMethods**](doc/PaymentMethodsApi.md#updatecustomerpaymentmethods) | **PUT** /customers/{id}/payment_sources/{payment_method_id} | Update Payment Method
123+
[*PayoutOrdersApi*](doc/PayoutOrdersApi.md) | [**createPayoutOrder**](doc/PayoutOrdersApi.md#createpayoutorder) | **POST** /payout_orders | Create payout order
124+
[*PayoutOrdersApi*](doc/PayoutOrdersApi.md) | [**getPayoutOrderById**](doc/PayoutOrdersApi.md#getpayoutorderbyid) | **GET** /payout_orders/{id} | Get Payout Order
125+
[*PayoutOrdersApi*](doc/PayoutOrdersApi.md) | [**getPayoutOrders**](doc/PayoutOrdersApi.md#getpayoutorders) | **GET** /payout_orders | Get a list of Payout Orders
123126
[*PlansApi*](doc/PlansApi.md) | [**createPlan**](doc/PlansApi.md#createplan) | **POST** /plans | Create Plan
124127
[*PlansApi*](doc/PlansApi.md) | [**deletePlan**](doc/PlansApi.md#deleteplan) | **DELETE** /plans/{id} | Delete Plan
125128
[*PlansApi*](doc/PlansApi.md) | [**getPlan**](doc/PlansApi.md#getplan) | **GET** /plans/{id} | Get Plan
@@ -286,6 +289,13 @@ Class | Method | HTTP request | Description
286289
- [PaymentMethodResponse](doc/PaymentMethodResponse.md)
287290
- [PaymentMethodSpeiRecurrent](doc/PaymentMethodSpeiRecurrent.md)
288291
- [PaymentMethodSpeiRequest](doc/PaymentMethodSpeiRequest.md)
292+
- [Payout](doc/Payout.md)
293+
- [PayoutMethod](doc/PayoutMethod.md)
294+
- [PayoutOrder](doc/PayoutOrder.md)
295+
- [PayoutOrderPayoutsItem](doc/PayoutOrderPayoutsItem.md)
296+
- [PayoutOrderResponse](doc/PayoutOrderResponse.md)
297+
- [PayoutOrderResponseCustomerInfo](doc/PayoutOrderResponseCustomerInfo.md)
298+
- [PayoutOrdersResponse](doc/PayoutOrdersResponse.md)
289299
- [PlanRequest](doc/PlanRequest.md)
290300
- [PlanResponse](doc/PlanResponse.md)
291301
- [PlanUpdateRequest](doc/PlanUpdateRequest.md)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.4
1+
6.0.5

config-dart.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"useEnumExtension": true,
33
"pubAuthor": "conekta",
44
"pubLibrary": "conekta",
5-
"pubVersion": "6.0.4",
5+
"pubVersion": "6.0.5",
66
"pubName": "conekta",
77
"pubRepository": "https://www.github.com/conekta/conekta-dart",
88
"pubHomepage" : "https://www.github.com/conekta/conekta-dart",

doc/OrderResponseCheckout.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
2727
**onDemandEnabled** | **bool** | | [optional]
2828
**paidPaymentsCount** | **int** | | [optional]
2929
**recurrent** | **bool** | | [optional]
30+
**redirectionTime** | **int** | number of seconds to wait before redirecting to the success_url | [optional]
3031
**slug** | **String** | | [optional]
3132
**smsSent** | **int** | | [optional]
3233
**successUrl** | **String** | | [optional]

doc/OrdersApi.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Name | Type | Description | Notes
161161
[[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)
162162

163163
# **getOrders**
164-
> GetOrdersResponse getOrders(acceptLanguage, xChildCompanyId, limit, search, next, previous)
164+
> GetOrdersResponse getOrders(acceptLanguage, xChildCompanyId, limit, search, next, previous, paymentStatus, lastPaymentInfoPeriodStatus, createdAt, createdAtPeriodGte, createdAtPeriodLte, updatedAtPeriodGte, updatedAtPeriodLte)
165165
166166
Get a list of Orders
167167

@@ -178,9 +178,16 @@ final int limit = 56; // int | The numbers of items to return, the maximum value
178178
final String search = search_example; // String | General order search, e.g. by mail, reference etc.
179179
final String next = next_example; // String | next page
180180
final String previous = previous_example; // String | previous page
181+
final String paymentStatus = paid; // String | Filters by order status
182+
final String lastPaymentInfoPeriodStatus = pending_payment; // String | Filters by last payment info status
183+
final int createdAt = 1612137600; // int | created equal to
184+
final int createdAtPeriodGte = 1612137600; // int | created at greater than or equal to
185+
final int createdAtPeriodLte = 1612137600; // int | created at less than or equal to
186+
final int updatedAtPeriodGte = 1612137600; // int | updated at greater than or equal to
187+
final int updatedAtPeriodLte = 1612137600; // int | updated at less than or equal to
181188
182189
try {
183-
final response = api.getOrders(acceptLanguage, xChildCompanyId, limit, search, next, previous);
190+
final response = api.getOrders(acceptLanguage, xChildCompanyId, limit, search, next, previous, paymentStatus, lastPaymentInfoPeriodStatus, createdAt, createdAtPeriodGte, createdAtPeriodLte, updatedAtPeriodGte, updatedAtPeriodLte);
184191
print(response);
185192
} catch on DioException (e) {
186193
print('Exception when calling OrdersApi->getOrders: $e\n');
@@ -197,6 +204,13 @@ Name | Type | Description | Notes
197204
**search** | **String**| General order search, e.g. by mail, reference etc. | [optional]
198205
**next** | **String**| next page | [optional]
199206
**previous** | **String**| previous page | [optional]
207+
**paymentStatus** | **String**| Filters by order status | [optional]
208+
**lastPaymentInfoPeriodStatus** | **String**| Filters by last payment info status | [optional]
209+
**createdAt** | **int**| created equal to | [optional]
210+
**createdAtPeriodGte** | **int**| created at greater than or equal to | [optional]
211+
**createdAtPeriodLte** | **int**| created at less than or equal to | [optional]
212+
**updatedAtPeriodGte** | **int**| updated at greater than or equal to | [optional]
213+
**updatedAtPeriodLte** | **int**| updated at less than or equal to | [optional]
200214

201215
### Return type
202216

doc/Payout.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# conekta.model.Payout
2+
3+
## Load the model package
4+
```dart
5+
import 'package:conekta/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**payoutMethod** | [**PayoutMethod**](PayoutMethod.md) | |
12+
13+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14+
15+

0 commit comments

Comments
 (0)