Skip to content

Commit 993274d

Browse files
committed
Bump version to 7.0.2 and update User-Agent across all API files
- Updated User-Agent from Conekta/v2 DartBindings/7.0.1 to Conekta/v2 DartBindings/7.0.2 in the following API files: - payment_methods_api.dart - payout_orders_api.dart - plans_api.dart - products_api.dart - shipping_contacts_api.dart - shippings_api.dart - subscriptions_api.dart - taxes_api.dart - tokens_api.dart - transactions_api.dart - transfers_api.dart - webhook_keys_api.dart - webhooks_api.dart - Changed data type in OrderChargesResponse and OrderDiscountLinesResponse from ChargeResponse and DiscountLinesResponse to ChargesDataResponse and DiscountLinesDataResponse respectively. - Updated serializers to accommodate new data types. - Updated bindings_version in utils.dart and pubspec.yaml to 7.0.2.
1 parent 1915f49 commit 993274d

Some content is hidden

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

41 files changed

+147
-143
lines changed

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.10.0
1+
7.13.0

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 7.0.2 -2025-04-28
2+
* Fix missing entities
13
## 7.0.1 -2025-04-28
24
* Regenerate SDK
35
## 7.0.0 -2025-04-10

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.10.0 generate \
11+
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.13.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: 1 addition & 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: 7.0.1
21+
conekta: 7.0.2
2222
```
2323
2424
### Github

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.1
1+
7.0.2

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": "7.0.1",
5+
"pubVersion": "7.0.2",
66
"pubName": "conekta",
77
"pubRepository": "https://www.github.com/conekta/conekta-dart",
88
"pubHomepage" : "https://www.github.com/conekta/conekta-dart",

doc/CheckoutRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import 'package:conekta/api.dart';
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**allowedPaymentMethods** | **BuiltList<String>** | Are the payment methods available for this link. For subscriptions, only 'card' is allowed due to the recurring nature of the payments. |
12-
**planIds** | **BuiltList<String>** | List of plan IDs that will be available for subscription. This field is required for subscription payments but optional for other types of payments. |
12+
**planIds** | **BuiltList<String>** | List of plan IDs that will be available for subscription. This field is required for subscription payments. | [optional]
1313
**expiresAt** | **int** | Unix timestamp of checkout expiration | [optional]
1414
**failureUrl** | **String** | Redirection url back to the site in case of failed payment, applies only to HostedPayment. | [optional]
1515
**monthlyInstallmentsEnabled** | **bool** | | [optional]

doc/OrderChargesResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**hasMore** | **bool** | Indicates if there are more pages to be requested |
1212
**object** | **String** | Object type, in this case is list |
13-
**data** | [**BuiltList<ChargesDataResponse>**](ChargeResponse.md) | | [optional]
13+
**data** | [**BuiltList<ChargesDataResponse>**](ChargesDataResponse.md) | | [optional]
1414

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

doc/OrderDiscountLinesResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**hasMore** | **bool** | Indicates if there are more pages to be requested |
1212
**object** | **String** | Object type, in this case is list |
13-
**data** | [**BuiltList<DiscountLinesDataResponse>**](DiscountLinesResponse.md) | | [optional]
13+
**data** | [**BuiltList<DiscountLinesDataResponse>**](DiscountLinesDataResponse.md) | | [optional]
1414

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

lib/src/api/antifraud_api.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class AntifraudApi {
6666
final _options = Options(
6767
method: r'POST',
6868
headers: <String, dynamic>{
69-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
69+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
7070
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
7171
if (localVarAccept != null) r'Accept': localVarAccept,
7272
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -185,7 +185,7 @@ class AntifraudApi {
185185
final _options = Options(
186186
method: r'POST',
187187
headers: <String, dynamic>{
188-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
188+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
189189
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
190190
if (localVarAccept != null) r'Accept': localVarAccept,
191191
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -305,7 +305,7 @@ class AntifraudApi {
305305
final _options = Options(
306306
method: r'DELETE',
307307
headers: <String, dynamic>{
308-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
308+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
309309
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
310310
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
311311
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -406,7 +406,7 @@ class AntifraudApi {
406406
final _options = Options(
407407
method: r'DELETE',
408408
headers: <String, dynamic>{
409-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
409+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
410410
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
411411
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
412412
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -503,7 +503,7 @@ class AntifraudApi {
503503
final _options = Options(
504504
method: r'GET',
505505
headers: <String, dynamic>{
506-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
506+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
507507
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
508508
if (localVarAccept != null) r'Accept': localVarAccept,
509509
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -599,7 +599,7 @@ class AntifraudApi {
599599
final _options = Options(
600600
method: r'GET',
601601
headers: <String, dynamic>{
602-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.1',
602+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.2',
603603
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
604604
if (localVarAccept != null) r'Accept': localVarAccept,
605605
if (localVarContentType != null) r'Content-Type': localVarContentType,

0 commit comments

Comments
 (0)