import * as plugins from '../plugins.js'; import * as dto from '../dto/index.js'; export interface IReq_UpdatePaymentMethod extends plugins.typedRequestInterfaces.implementsTR { method: 'updatePaymentMethod'; request: { jwtString: string; orgId: string; paddle?: { checkoutId: string; }; }; response: { billingPlan: dto.IBillingPlanDto; }; } /** * allows getting the billing plan for a user */ export interface IReq_GetBillingPlan extends plugins.typedRequestInterfaces.implementsTR { method: 'getBillingPlan'; request: { jwtString: string; orgId: string; billingPlanId: string; }; response: { billingPlan: dto.IBillingPlanDto; }; } /** * Returns Paddle configuration from environment variables */ export interface IReq_GetPaddleConfig extends plugins.typedRequestInterfaces.implementsTR { method: 'getPaddleConfig'; request: {}; response: dto.IPaddlePublicConfigDto; }