Skip to content
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 @@ -3,7 +3,7 @@
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:0-3.7"
"image": "mcr.microsoft.com/devcontainers/python:0-3.8"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 4 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,11 @@ conekta/models/payment_method_card_response.py
conekta/models/payment_method_cash.py
conekta/models/payment_method_cash_request.py
conekta/models/payment_method_cash_response.py
conekta/models/payment_method_general_request.py
conekta/models/payment_method_response.py
conekta/models/payment_method_spei_recurrent.py
conekta/models/payment_method_spei_request.py
conekta/models/payment_method_token_request.py
conekta/models/payout.py
conekta/models/payout_method.py
conekta/models/payout_order.py
Expand Down Expand Up @@ -340,9 +342,11 @@ docs/PaymentMethodCardResponse.md
docs/PaymentMethodCash.md
docs/PaymentMethodCashRequest.md
docs/PaymentMethodCashResponse.md
docs/PaymentMethodGeneralRequest.md
docs/PaymentMethodResponse.md
docs/PaymentMethodSpeiRecurrent.md
docs/PaymentMethodSpeiRequest.md
docs/PaymentMethodTokenRequest.md
docs/PaymentMethodsApi.md
docs/Payout.md
docs/PayoutMethod.md
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0
7.9.0
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ python:
rm -rf docs && \
rm -rf conekta/models && \
docker run --rm \
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.5.0 generate \
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.9.0 generate \
-i https://github.com/conekta/openapi/main/_build/api.yaml \
-g python \
-o /local \
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Conekta sdk
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2.1.0
- Package version: 6.0.3
- Generator version: 7.5.0
- Package version: 6.0.4
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/conekta/openapi/issues](https://github.com/conekta/openapi/issues)

Expand Down Expand Up @@ -313,9 +313,11 @@ Class | Method | HTTP request | Description
- [PaymentMethodCash](docs/PaymentMethodCash.md)
- [PaymentMethodCashRequest](docs/PaymentMethodCashRequest.md)
- [PaymentMethodCashResponse](docs/PaymentMethodCashResponse.md)
- [PaymentMethodGeneralRequest](docs/PaymentMethodGeneralRequest.md)
- [PaymentMethodResponse](docs/PaymentMethodResponse.md)
- [PaymentMethodSpeiRecurrent](docs/PaymentMethodSpeiRecurrent.md)
- [PaymentMethodSpeiRequest](docs/PaymentMethodSpeiRequest.md)
- [PaymentMethodTokenRequest](docs/PaymentMethodTokenRequest.md)
- [Payout](docs/Payout.md)
- [PayoutMethod](docs/PayoutMethod.md)
- [PayoutOrder](docs/PayoutOrder.md)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.3
6.0.4
4 changes: 3 additions & 1 deletion conekta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "6.0.3"
__version__ = "6.0.4"

# import apis into sdk package
from conekta.api.antifraud_api import AntifraudApi
Expand Down Expand Up @@ -174,9 +174,11 @@
from conekta.models.payment_method_cash import PaymentMethodCash
from conekta.models.payment_method_cash_request import PaymentMethodCashRequest
from conekta.models.payment_method_cash_response import PaymentMethodCashResponse
from conekta.models.payment_method_general_request import PaymentMethodGeneralRequest
from conekta.models.payment_method_response import PaymentMethodResponse
from conekta.models.payment_method_spei_recurrent import PaymentMethodSpeiRecurrent
from conekta.models.payment_method_spei_request import PaymentMethodSpeiRequest
from conekta.models.payment_method_token_request import PaymentMethodTokenRequest
from conekta.models.payout import Payout
from conekta.models.payout_method import PayoutMethod
from conekta.models.payout_order import PayoutOrder
Expand Down
90 changes: 54 additions & 36 deletions conekta/api/antifraud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ def _create_rule_blacklist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -291,11 +293,12 @@ def _create_rule_blacklist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -568,7 +571,9 @@ def _create_rule_whitelist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -583,11 +588,12 @@ def _create_rule_whitelist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -873,7 +879,9 @@ def _delete_rule_blacklist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -890,11 +898,12 @@ def _delete_rule_blacklist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)


# authentication setting
Expand Down Expand Up @@ -1170,7 +1179,9 @@ def _delete_rule_whitelist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -1187,11 +1198,12 @@ def _delete_rule_whitelist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)


# authentication setting
Expand Down Expand Up @@ -1438,7 +1450,9 @@ def _get_rule_blacklist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -1451,11 +1465,12 @@ def _get_rule_blacklist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)


# authentication setting
Expand Down Expand Up @@ -1705,7 +1720,9 @@ def _get_rule_whitelist_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -1718,11 +1735,12 @@ def _get_rule_whitelist_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/vnd.conekta-v2.1.0+json'
]
)


# authentication setting
Expand Down
Loading