Skip to content

Commit ec622f8

Browse files
mar-jsnicocedron
andauthored
[AI-474] I regenerated the SDK (#15)
* chore: [AI-474] - changed version of 7.0.5 to 7.0.6 * feat: [AI-474] - removed outdated generated files and updated the Checkout and CheckoutOrderTemplate documentation. Adjustments have been made to the model files, and references to classes that are no longer needed have been removed. * Build --------- Co-authored-by: Nicolás Cedrón <josenicolascedron@gmail.com>
1 parent e4fcd1a commit ec622f8

36 files changed

+154
-154
lines changed

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.5
21+
conekta: 7.0.6
2222
```
2323
2424
### Github

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.5
1+
7.0.6

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

doc/Checkout.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**name** | **String** | Reason for charge |
1717
**needsShippingContact** | **bool** | This flag allows you to fill in the shipping information at checkout. | [optional]
1818
**onDemandEnabled** | **bool** | This flag allows you to specify if the link will be on demand. | [optional]
19+
**planIds** | **BuiltList&lt;String&gt;** | It is a list of plan IDs that will be associated with the order. | [optional]
1920
**orderTemplate** | [**CheckoutOrderTemplate**](CheckoutOrderTemplate.md) | |
2021
**paymentsLimitCount** | **int** | It is the number of payments that can be made through the link. | [optional]
2122
**recurrent** | **bool** | false: single use. true: multiple payments |

doc/CheckoutOrderTemplate.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Name | Type | Description | Notes
1111
**currency** | **String** | It is the currency in which the order will be created. It must be a valid ISO 4217 currency code. |
1212
**customerInfo** | [**CheckoutOrderTemplateCustomerInfo**](CheckoutOrderTemplateCustomerInfo.md) | | [optional]
1313
**lineItems** | [**BuiltList&lt;Product&gt;**](Product.md) | They are the products to buy. Each contains the \"unit price\" and \"quantity\" parameters that are used to calculate the total amount of the order. |
14-
**planIds** | **BuiltList&lt;String&gt;** | It is a list of plan IDs that will be associated with the order. | [optional]
1514
**metadata** | [**BuiltMap&lt;String, JsonObject&gt;**](JsonObject.md) | It is a set of key-value pairs that you can attach to the order. It can be used to store additional information about the order in a structured format. | [optional]
1615

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

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.5',
69+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
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.5',
188+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
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.5',
308+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
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.5',
409+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
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.5',
506+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
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.5',
602+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
603603
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
604604
if (localVarAccept != null) r'Accept': localVarAccept,
605605
if (localVarContentType != null) r'Content-Type': localVarContentType,

lib/src/api/api_keys_api.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ApiKeysApi {
6868
final _options = Options(
6969
method: r'POST',
7070
headers: <String, dynamic>{
71-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
71+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
7272
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
7373
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
7474
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -187,7 +187,7 @@ class ApiKeysApi {
187187
final _options = Options(
188188
method: r'DELETE',
189189
headers: <String, dynamic>{
190-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
190+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
191191
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
192192
if (localVarAccept != null) r'Accept': localVarAccept,
193193
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -287,7 +287,7 @@ class ApiKeysApi {
287287
final _options = Options(
288288
method: r'GET',
289289
headers: <String, dynamic>{
290-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
290+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
291291
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
292292
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
293293
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -394,7 +394,7 @@ class ApiKeysApi {
394394
final _options = Options(
395395
method: r'GET',
396396
headers: <String, dynamic>{
397-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
397+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
398398
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
399399
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
400400
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -504,7 +504,7 @@ class ApiKeysApi {
504504
final _options = Options(
505505
method: r'PUT',
506506
headers: <String, dynamic>{
507-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
507+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
508508
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
509509
if (localVarAccept != null) r'Accept': localVarAccept,
510510
if (localVarContentType != null) r'Content-Type': localVarContentType,

lib/src/api/balances_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class BalancesApi {
5757
final _options = Options(
5858
method: r'GET',
5959
headers: <String, dynamic>{
60-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
60+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
6161
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
6262
if (localVarAccept != null) r'Accept': localVarAccept,
6363
if (localVarContentType != null) r'Content-Type': localVarContentType,

lib/src/api/charges_api.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ChargesApi {
7373
final _options = Options(
7474
method: r'GET',
7575
headers: <String, dynamic>{
76-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
76+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
7777
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
7878
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
7979
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -185,7 +185,7 @@ class ChargesApi {
185185
final _options = Options(
186186
method: r'POST',
187187
headers: <String, dynamic>{
188-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
188+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
189189
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
190190
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
191191
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -309,7 +309,7 @@ class ChargesApi {
309309
final _options = Options(
310310
method: r'POST',
311311
headers: <String, dynamic>{
312-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
312+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
313313
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
314314
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
315315
if (localVarAccept != null) r'Accept': localVarAccept,
@@ -433,7 +433,7 @@ class ChargesApi {
433433
final _options = Options(
434434
method: r'PUT',
435435
headers: <String, dynamic>{
436-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
436+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
437437
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
438438
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
439439
if (localVarAccept != null) r'Accept': localVarAccept,

lib/src/api/companies_api.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class CompaniesApi {
6464
final _options = Options(
6565
method: r'POST',
6666
headers: <String, dynamic>{
67-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
67+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
6868
if (localVarAccept != null) r'Accept': localVarAccept,
6969
if (localVarContentType != null) r'Content-Type': localVarContentType,
7070
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
@@ -187,7 +187,7 @@ class CompaniesApi {
187187
final _options = Options(
188188
method: r'GET',
189189
headers: <String, dynamic>{
190-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
190+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
191191
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
192192
if (localVarAccept != null) r'Accept': localVarAccept,
193193
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -293,7 +293,7 @@ class CompaniesApi {
293293
final _options = Options(
294294
method: r'GET',
295295
headers: <String, dynamic>{
296-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
296+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
297297
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
298298
if (localVarAccept != null) r'Accept': localVarAccept,
299299
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -391,7 +391,7 @@ class CompaniesApi {
391391
final _options = Options(
392392
method: r'GET',
393393
headers: <String, dynamic>{
394-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
394+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
395395
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
396396
if (localVarAccept != null) r'Accept': localVarAccept,
397397
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -487,7 +487,7 @@ class CompaniesApi {
487487
final _options = Options(
488488
method: r'GET',
489489
headers: <String, dynamic>{
490-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
490+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
491491
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
492492
if (localVarAccept != null) r'Accept': localVarAccept,
493493
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -588,7 +588,7 @@ class CompaniesApi {
588588
final _options = Options(
589589
method: r'PATCH',
590590
headers: <String, dynamic>{
591-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
591+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
592592
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
593593
if (localVarAccept != null) r'Accept': localVarAccept,
594594
if (localVarContentType != null) r'Content-Type': localVarContentType,
@@ -709,7 +709,7 @@ class CompaniesApi {
709709
final _options = Options(
710710
method: r'POST',
711711
headers: <String, dynamic>{
712-
r'User-Agent': r'Conekta/v2 DartBindings/7.0.5',
712+
r'User-Agent': r'Conekta/v2 DartBindings/7.0.6',
713713
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
714714
if (localVarAccept != null) r'Accept': localVarAccept,
715715
if (localVarContentType != null) r'Content-Type': localVarContentType,

0 commit comments

Comments
 (0)