Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release6.0.3 #5

Merged
merged 5 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"version" : "latest"
}
}
,"postStartCommand": "dart pub get && make build"
,"postStartCommand": "rm pubspec.lock && dart pub get && make build"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ jobs:
test:
strategy:
matrix:
sdk: [2.15.1, 2.16.2, 2.17.7, 2.18.7, 2.19.6, 3.0.7, 3.1.5, 3.2.6]
runs-on: ubuntu-latest
sdk: [2.18.0, 2.19.6, 3.0.7, 3.1.5, 3.2.6]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ pubspec.lock

# Mac
.DS_Store
**/*.g.dart
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 6.0.3 -2024-20-02
* Support starts from dart 2.18
* remove meta dependency
## 6.0.2 -2024-12-02
* [#3](https://github.com/conekta/conekta-dart/pull/2) update documentation
* update documentation
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM dart:2.15.0
FROM dart:2.18.0

COPY . .
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For more information, please visit [https://github.com/conekta/openapi/issues](h

## Requirements

* Dart 2.15.0+ or Flutter 2.8.0+
* Dart 2.18.0+ or Flutter 2.8.0+
* Dio 5.0.0+ (https://pub.dev/packages/dio)

## Installation & Usage
Expand All @@ -18,7 +18,7 @@ For more information, please visit [https://github.com/conekta/openapi/issues](h
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
conekta: 6.0.2
conekta: 6.0.3
```

### Github
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.2
6.0.3
2 changes: 1 addition & 1 deletion config-dart.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"useEnumExtension": true,
"pubAuthor": "conekta",
"pubLibrary": "conekta",
"pubVersion": "6.0.2",
"pubVersion": "6.0.3",
"pubName": "conekta",
"pubRepository": "https://www.github.com/conekta/conekta-dart",
"pubHomepage" : "https://www.github.com/conekta/conekta-dart",
Expand Down
12 changes: 6 additions & 6 deletions lib/src/api/antifraud_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AntifraudApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down Expand Up @@ -184,7 +184,7 @@ class AntifraudApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down Expand Up @@ -304,7 +304,7 @@ class AntifraudApi {
final _options = Options(
method: r'DELETE',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -405,7 +405,7 @@ class AntifraudApi {
final _options = Options(
method: r'DELETE',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -502,7 +502,7 @@ class AntifraudApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down Expand Up @@ -598,7 +598,7 @@ class AntifraudApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down
10 changes: 5 additions & 5 deletions lib/src/api/api_keys_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ApiKeysApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -186,7 +186,7 @@ class ApiKeysApi {
final _options = Options(
method: r'DELETE',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down Expand Up @@ -286,7 +286,7 @@ class ApiKeysApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -393,7 +393,7 @@ class ApiKeysApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -503,7 +503,7 @@ class ApiKeysApi {
final _options = Options(
method: r'PUT',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/balances_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class BalancesApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down
6 changes: 3 additions & 3 deletions lib/src/api/charges_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ChargesApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -183,7 +183,7 @@ class ChargesApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -307,7 +307,7 @@ class ChargesApi {
final _options = Options(
method: r'PUT',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/api/companies_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CompaniesApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down Expand Up @@ -172,7 +172,7 @@ class CompaniesApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down
14 changes: 7 additions & 7 deletions lib/src/api/customers_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CustomersApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -193,7 +193,7 @@ class CustomersApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -314,7 +314,7 @@ class CustomersApi {
final _options = Options(
method: r'DELETE',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -415,7 +415,7 @@ class CustomersApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -522,7 +522,7 @@ class CustomersApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -634,7 +634,7 @@ class CustomersApi {
final _options = Options(
method: r'PUT',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -760,7 +760,7 @@ class CustomersApi {
final _options = Options(
method: r'PUT',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down
10 changes: 5 additions & 5 deletions lib/src/api/discounts_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DiscountsApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -190,7 +190,7 @@ class DiscountsApi {
final _options = Options(
method: r'DELETE',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -293,7 +293,7 @@ class DiscountsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -402,7 +402,7 @@ class DiscountsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -516,7 +516,7 @@ class DiscountsApi {
final _options = Options(
method: r'PUT',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down
6 changes: 3 additions & 3 deletions lib/src/api/events_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class EventsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -170,7 +170,7 @@ class EventsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -279,7 +279,7 @@ class EventsApi {
final _options = Options(
method: r'POST',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/api/logs_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class LogsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down Expand Up @@ -169,7 +169,7 @@ class LogsApi {
final _options = Options(
method: r'GET',
headers: <String, dynamic>{
r'User-Agent': r'Conekta/v2 DartBindings/6.0.2',
r'User-Agent': r'Conekta/v2 DartBindings/6.0.3',
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
Expand Down
Loading
Loading