From 5aa2db314970096acd21accd76bec48be209d453 Mon Sep 17 00:00:00 2001 From: Franklin Date: Tue, 31 Mar 2026 09:33:56 -0500 Subject: [PATCH 1/3] feat: add new BNPL providers to payment method schemas --- _build/api.yaml | 2 ++ schemas/charges/charge_payment_method_bnpl_payment_response.yml | 2 ++ schemas/customers/payment_method_bnpl_request.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/_build/api.yaml b/_build/api.yaml index 25c0269..32fa959 100644 --- a/_build/api.yaml +++ b/_build/api.yaml @@ -16531,6 +16531,8 @@ components: enum: - aplazo_bnpl - creditea_bnpl + - coppel_bnpl + - azteca_bnpl example: aplazo_bnpl type: string success_url: diff --git a/schemas/charges/charge_payment_method_bnpl_payment_response.yml b/schemas/charges/charge_payment_method_bnpl_payment_response.yml index 1410e10..80d9d41 100644 --- a/schemas/charges/charge_payment_method_bnpl_payment_response.yml +++ b/schemas/charges/charge_payment_method_bnpl_payment_response.yml @@ -32,6 +32,8 @@ payment_method_bnpl_payment: examples: - value: "aplazo_bnpl" - value: "creditea_bnpl" + - value: "azteca_bnpl" + - value: "coppel_bnpl" redirect_url: type: string description: "URL to redirect the customer to complete the payment" diff --git a/schemas/customers/payment_method_bnpl_request.yml b/schemas/customers/payment_method_bnpl_request.yml index df4aaac..bb874e7 100644 --- a/schemas/customers/payment_method_bnpl_request.yml +++ b/schemas/customers/payment_method_bnpl_request.yml @@ -29,6 +29,8 @@ allOf: enum: - aplazo_bnpl - creditea_bnpl + - coppel_bnpl + - azteca_bnpl success_url: type: string description: "URL to redirect the customer after a successful payment" From 34916066720f24700a7d1ea2a98a7ba662a34747 Mon Sep 17 00:00:00 2001 From: Franklin Date: Tue, 31 Mar 2026 09:40:24 -0500 Subject: [PATCH 2/3] feat: reorder BNPL product types in payment method schemas --- _build/api.yaml | 4 ++-- .../charges/charge_payment_method_bnpl_payment_response.yml | 2 +- schemas/customers/payment_method_bnpl_request.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_build/api.yaml b/_build/api.yaml index 32fa959..3d49c81 100644 --- a/_build/api.yaml +++ b/_build/api.yaml @@ -16530,9 +16530,9 @@ components: \ method to know the product type" enum: - aplazo_bnpl - - creditea_bnpl - - coppel_bnpl - azteca_bnpl + - coppel_bnpl + - creditea_bnpl example: aplazo_bnpl type: string success_url: diff --git a/schemas/charges/charge_payment_method_bnpl_payment_response.yml b/schemas/charges/charge_payment_method_bnpl_payment_response.yml index 80d9d41..c541559 100644 --- a/schemas/charges/charge_payment_method_bnpl_payment_response.yml +++ b/schemas/charges/charge_payment_method_bnpl_payment_response.yml @@ -31,9 +31,9 @@ payment_method_bnpl_payment: description: "Product type of the charge" examples: - value: "aplazo_bnpl" - - value: "creditea_bnpl" - value: "azteca_bnpl" - value: "coppel_bnpl" + - value: "creditea_bnpl" redirect_url: type: string description: "URL to redirect the customer to complete the payment" diff --git a/schemas/customers/payment_method_bnpl_request.yml b/schemas/customers/payment_method_bnpl_request.yml index bb874e7..0330bf8 100644 --- a/schemas/customers/payment_method_bnpl_request.yml +++ b/schemas/customers/payment_method_bnpl_request.yml @@ -28,9 +28,9 @@ allOf: description: "Product type of the payment method, use for the payment method to know the product type" enum: - aplazo_bnpl - - creditea_bnpl - - coppel_bnpl - azteca_bnpl + - coppel_bnpl + - creditea_bnpl success_url: type: string description: "URL to redirect the customer after a successful payment" From f9294c5516fbc3b61f2585272352684337982cf5 Mon Sep 17 00:00:00 2001 From: Franklin Date: Tue, 31 Mar 2026 09:43:13 -0500 Subject: [PATCH 3/3] chore: update OpenAPI generator version to v7.21.0 in workflow and Dockerfile --- .github/workflows/check.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a906158..71bac5a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -27,7 +27,7 @@ jobs: with: generator: openapi-yaml openapi-file: api.yaml - generator-tag: v7.20.0 + generator-tag: v7.21.0 - name: check if api.yaml are equals run: | if diff -q _build/api.yaml openapi-yaml-client/openapi/openapi.yaml >/dev/null; then diff --git a/Dockerfile b/Dockerfile index f49f194..62f38d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && \ apt-get clean; RUN npm install @openapitools/openapi-generator-cli -g -RUN openapi-generator-cli version-manager set 7.20.0 +RUN openapi-generator-cli version-manager set 7.21.0 WORKDIR /app COPY parameters/ parameters/