Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
1.5 KiB
TypeScript
39 lines
1.5 KiB
TypeScript
import { BillingService } from './billing.service';
|
|
export declare class BillingController {
|
|
private readonly billingService;
|
|
constructor(billingService: BillingService);
|
|
getPlans(): Promise<import("../subscriptions/entities/plan.entity").Plan[]>;
|
|
getTokenPackages(): Promise<import("./billing.service").TokenPackage[]>;
|
|
getBillingSummary(req: any): Promise<{
|
|
subscription: import("../subscriptions/entities/subscription.entity").Subscription | null;
|
|
plan: import("../subscriptions/entities/plan.entity").Plan | null;
|
|
tokenBalance: import("../subscriptions/entities/token-balance.entity").TokenBalance | null;
|
|
invoices: any[];
|
|
}>;
|
|
getTokenBalance(req: any): Promise<import("../subscriptions/entities/token-balance.entity").TokenBalance | {
|
|
availableTokens: number;
|
|
usedTokens: number;
|
|
totalTokens: number;
|
|
}>;
|
|
getTokenUsage(req: any, limit?: string): Promise<import("../subscriptions/entities/token-usage.entity").TokenUsage[]>;
|
|
createSubscriptionCheckout(req: any, body: {
|
|
planCode: string;
|
|
successUrl: string;
|
|
cancelUrl: string;
|
|
}): Promise<{
|
|
checkoutUrl: string;
|
|
}>;
|
|
createTokenCheckout(req: any, body: {
|
|
packageCode: string;
|
|
successUrl: string;
|
|
cancelUrl: string;
|
|
}): Promise<{
|
|
checkoutUrl: string;
|
|
}>;
|
|
createPortalSession(req: any, body: {
|
|
returnUrl: string;
|
|
}): Promise<{
|
|
portalUrl: string;
|
|
}>;
|
|
}
|