michangarrito/apps/backend/dist/modules/integrations/dto/integration-credentials.dto.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
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>
2026-01-07 04:41:02 -06:00

77 lines
2.0 KiB
TypeScript

import { IntegrationType, IntegrationProvider } from '../entities/tenant-integration-credential.entity';
export declare class WhatsAppCredentialsDto {
accessToken: string;
phoneNumberId: string;
businessAccountId?: string;
verifyToken?: string;
}
export declare class LLMCredentialsDto {
apiKey: string;
}
export declare class LLMConfigDto {
model?: string;
maxTokens?: number;
temperature?: number;
systemPrompt?: string;
baseUrl?: string;
}
export declare class UpsertWhatsAppCredentialsDto {
credentials: WhatsAppCredentialsDto;
phoneNumber?: string;
displayName?: string;
}
export declare class UpsertLLMCredentialsDto {
provider: IntegrationProvider;
credentials: LLMCredentialsDto;
config?: LLMConfigDto;
}
export declare class CreateIntegrationCredentialDto {
integrationType: IntegrationType;
provider: IntegrationProvider;
credentials: Record<string, any>;
config?: Record<string, any>;
isActive?: boolean;
}
export declare class IntegrationCredentialResponseDto {
id: string;
integrationType: IntegrationType;
provider: IntegrationProvider;
hasCredentials: boolean;
isActive: boolean;
isVerified: boolean;
lastVerifiedAt?: Date;
verificationError?: string;
config: Record<string, any>;
createdAt: Date;
updatedAt: Date;
}
export declare class IntegrationStatusResponseDto {
whatsapp: {
configured: boolean;
usesPlatformNumber: boolean;
provider: string;
isVerified: boolean;
};
llm: {
configured: boolean;
usesPlatformDefault: boolean;
provider: string;
model: string;
isVerified: boolean;
};
payments: {
stripe: {
configured: boolean;
isVerified: boolean;
};
mercadopago: {
configured: boolean;
isVerified: boolean;
};
clip: {
configured: boolean;
isVerified: boolean;
};
};
}