Skip to content

Commit

Permalink
config conekta client user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarrero committed May 18, 2023
1 parent 0cedb71 commit ec4b846
Show file tree
Hide file tree
Showing 23 changed files with 117 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/api/antifraud_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class AntifraudApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -190,6 +191,7 @@ class AntifraudApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -312,6 +314,7 @@ class AntifraudApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -414,6 +417,7 @@ class AntifraudApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -511,6 +515,7 @@ class AntifraudApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -608,6 +613,7 @@ class AntifraudApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
1 change: 1 addition & 0 deletions lib/src/api/balances_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class BalancesApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
2 changes: 2 additions & 0 deletions lib/src/api/charges_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class ChargesApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -189,6 +190,7 @@ class ChargesApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
2 changes: 2 additions & 0 deletions lib/src/api/companies_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class CompaniesApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -179,6 +180,7 @@ class CompaniesApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
7 changes: 7 additions & 0 deletions lib/src/api/customers_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -201,6 +202,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -323,6 +325,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -425,6 +428,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -533,6 +537,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -646,6 +651,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -773,6 +779,7 @@ class CustomersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
5 changes: 5 additions & 0 deletions lib/src/api/discounts_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class DiscountsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -198,6 +199,7 @@ class DiscountsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -302,6 +304,7 @@ class DiscountsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -412,6 +415,7 @@ class DiscountsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -527,6 +531,7 @@ class DiscountsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
2 changes: 2 additions & 0 deletions lib/src/api/events_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class EventsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -177,6 +178,7 @@ class EventsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
2 changes: 2 additions & 0 deletions lib/src/api/logs_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class LogsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -177,6 +178,7 @@ class LogsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
8 changes: 8 additions & 0 deletions lib/src/api/orders_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -176,6 +177,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -298,6 +300,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -406,6 +409,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -518,6 +522,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -623,6 +628,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -748,6 +754,7 @@ class OrdersApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -870,6 +877,7 @@ class OrdersApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
6 changes: 6 additions & 0 deletions lib/src/api/payment_link_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -175,6 +176,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -300,6 +302,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -422,6 +425,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -530,6 +534,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -643,6 +648,7 @@ class PaymentLinkApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
4 changes: 4 additions & 0 deletions lib/src/api/payment_methods_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class PaymentMethodsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -199,6 +200,7 @@ class PaymentMethodsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -309,6 +311,7 @@ class PaymentMethodsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -424,6 +427,7 @@ class PaymentMethodsApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
5 changes: 5 additions & 0 deletions lib/src/api/plans_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class PlansApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -191,6 +192,7 @@ class PlansApi {
if (acceptLanguage != null) r'Accept-Language': acceptLanguage,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -293,6 +295,7 @@ class PlansApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -401,6 +404,7 @@ class PlansApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down Expand Up @@ -514,6 +518,7 @@ class PlansApi {
if (xChildCompanyId != null) r'X-Child-Company-Id': xChildCompanyId,
if (localVarAccept != null) r'Accept': localVarAccept,
if (localVarContentType != null) r'Content-Type': localVarContentType,
r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
...?headers,
},
extra: <String, dynamic>{
Expand Down
Loading

0 comments on commit ec4b846

Please sign in to comment.