From 4be327819fc3bba8161e7b431d0a82d333261883 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 5 Feb 2025 12:51:08 +0200 Subject: [PATCH] chore(types): add @version to new payment provider methods (#11316) --- packages/core/types/src/payment/provider.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/core/types/src/payment/provider.ts b/packages/core/types/src/payment/provider.ts index 58d5b5a3b2..a13b59f3d4 100644 --- a/packages/core/types/src/payment/provider.ts +++ b/packages/core/types/src/payment/provider.ts @@ -420,6 +420,8 @@ export interface IPaymentProvider { * @param data - Input data including the details of the account holder to create. * @returns The result of creating the account holder. If an error occurs, throw it. * + * @version 2.5.0 + * * @example * import { MedusaError } from "@medusajs/framework/utils" * @@ -463,6 +465,8 @@ export interface IPaymentProvider { * @param data - Input data including the details of the account holder to delete. * @returns The result of deleting the account holder. If an error occurs, throw it. * + * @version 2.5.0 + * * @example * import { MedusaError } from "@medusajs/framework/utils" * @@ -497,6 +501,8 @@ export interface IPaymentProvider { * in the third-party payment provider. A payment provider that supports saving payment methods * must implement this method. * + * @version 2.5.0 + * * @param data - Input data including the details of the account holder to list payment methods for. * @returns The list of payment methods saved for the account holder. If an error occurs, throw it. * @@ -538,6 +544,8 @@ export interface IPaymentProvider { * third-party payment provider. A payment provider that supports saving payment methods * must implement this method. * + * @version 2.5.0 + * * @param data - The details of the payment method to save. * @returns The result of saving the payment method. If an error occurs, throw it. *