import { CuneiformCommand } from '../../../base/cuneiform-command.js'; /** * Command result type for JSON output. */ export type SummaryReprofileCommandResult = { /** Whether the operation was successful */ success: boolean; /** Number of summaries submitted for re-profiling */ submitted: number; /** Number of summaries that failed to submit */ failed: number; /** Total number of summaries processed */ total: number; /** Whether this was a dry run */ dryRun: boolean; /** Whether the operation was cancelled by the user */ cancelled?: boolean; /** Error message if failed */ error?: string; /** Per-item results for JSON output */ results?: Array<{ id: string; success: boolean; errorCode?: string; message?: string; requestId?: string; }>; }; /** * Reprofiles failed or stopped profiling summaries in a Salesforce org. * * Submits failed or stopped summaries for re-profiling. This is a * fire-and-forget operation — the ISV backend handles the actual profiling. */ export default class SummaryReprofile extends CuneiformCommand { static readonly summary: string; static readonly description: string; static readonly examples: string[]; static readonly flags: { 'target-org': import("@oclif/core/interfaces").OptionFlag; 'api-version': import("@oclif/core/interfaces").OptionFlag; ids: import("@oclif/core/interfaces").OptionFlag; all: import("@oclif/core/interfaces").BooleanFlag; objects: import("@oclif/core/interfaces").OptionFlag; 'dry-run': import("@oclif/core/interfaces").BooleanFlag; 'no-prompt': import("@oclif/core/interfaces").BooleanFlag; }; /** * Maps error codes to i18n message keys. */ private static readonly ERROR_CODE_MAP; /** * Executes the summary reprofile command. */ run(): Promise; /** * Displays reprofile results. */ private displayResults; }