import { Module } from "@nestjs/common";
import { SalesforceModule } from "@bff/integrations/salesforce/salesforce.module.js";
import { WorkflowCaseManager } from "./workflow-case-manager.service.js";

/**
 * Workflow Module
 *
 * Provides cross-cutting workflow services for internal operations.
 * NOT @Global - modules must explicitly import WorkflowModule to use these services.
 *
 * Exports:
 * - WorkflowCaseManager: Creates internal workflow cases for CS visibility
 */
@Module({
  imports: [SalesforceModule],
  providers: [WorkflowCaseManager],
  exports: [WorkflowCaseManager],
})
export class WorkflowModule {}
