/** * PowerPlatformService - Slim Read-Only Facade * * This is a facade that delegates to services in @mcp-consultant-tools/powerplatform-core. * It provides READ-ONLY access to PowerPlatform/Dataverse entities. * * For data CRUD operations, use @mcp-consultant-tools/powerplatform-data. * For customization operations, use @mcp-consultant-tools/powerplatform-customization. */ import { type PowerPlatformConfig, type ApiCollectionResponse, type FlowFilterOptions, type FlowListResult, type FlowSummary, type FlowRunFilterOptions, type FlowRunsResult, type BestPracticesValidationResult, type DbmlGeneratorOptions, type DbmlResult, type ServiceEndpointsResult, type ServiceEndpointsValidatedResult, type EnvironmentVariablesResult, type WebhookRegistrationsResult, type FlowComplexityResult_Full, type IntegrationAuditReport, type ConnectionReferencesResult, type SecurityRolesResult, type SecurityRolePrivilegesResult, type SecurityRolesBySolutionResult, type FieldSecurityProfileSummary, type FieldSecurityProfileDetail, type SecuredColumnInfo, type AuthProvider } from '@mcp-consultant-tools/powerplatform-core'; export type { PowerPlatformConfig, ApiCollectionResponse, FlowFilterOptions, FlowListResult, FlowSummary, BestPracticesValidationResult, DbmlGeneratorOptions, DbmlResult, ServiceEndpointsResult, ServiceEndpointsValidatedResult, EnvironmentVariablesResult, WebhookRegistrationsResult, FlowComplexityResult_Full, IntegrationAuditReport, ConnectionReferencesResult, SecurityRolesResult, SecurityRolePrivilegesResult, SecurityRolesBySolutionResult, FieldSecurityProfileSummary, FieldSecurityProfileDetail, SecuredColumnInfo, }; export declare class PowerPlatformService { private client; private metadata; private plugin; private flow; private workflow; private businessRule; private app; private validation; private dbmlGenerator; private form; private view; private webResource; private solution; private dependency; private publishing; private relationship; private integrationAudit; private connectionReference; private securityRole; private fieldSecurity; constructor(config: PowerPlatformConfig, authProvider?: AuthProvider); getAuthMode(): 'service-principal' | 'interactive'; getUserInfo(): Promise<{ name: string; email: string; oid: string; } | null>; logout(): Promise; getEntityMetadata(entityName: string): Promise; getEntityAttributes(entityName: string, options?: { prefix?: string; attributeType?: string; maxAttributes?: number; }): Promise<{ value: unknown[]; hasMore: boolean; returnedCount: number; totalBeforeFilter?: number; }>; getEntityAttribute(entityName: string, attributeName: string): Promise; getEntityRelationships(entityName: string): Promise<{ oneToMany: ApiCollectionResponse; manyToMany: ApiCollectionResponse; }>; getGlobalOptionSet(optionSetName: string): Promise; getGlobalOptionSets(options?: { maxRecords?: number; prefix?: string; }): Promise<{ value: unknown[]; hasMore: boolean; totalCount: number; }>; getPluginAssemblies(includeManaged?: boolean, maxRecords?: number): Promise<{ totalCount: number; assemblies: unknown[]; }>; getPluginAssemblyComplete(assemblyName: string, includeDisabled?: boolean): Promise<{ assembly: unknown; pluginTypes: unknown[]; steps: unknown[]; validation: { hasDisabledSteps: boolean; hasAsyncSteps: boolean; hasSyncSteps: boolean; stepsWithoutFilteringAttributes: string[]; stepsWithoutImages: string[]; potentialIssues: string[]; }; }>; getEntityPluginPipeline(entityName: string, messageFilter?: string, includeDisabled?: boolean): Promise<{ entity: string; messages: unknown[]; steps: unknown[]; executionOrder: string[]; }>; getPluginTraceLogs(options: { entityName?: string; messageName?: string; correlationId?: string; pluginStepId?: string; exceptionOnly?: boolean; hoursBack?: number; maxRecords?: number; }): Promise<{ totalCount: number; logs: unknown[]; }>; getFlows(options?: FlowFilterOptions): Promise; searchWorkflows(options?: { name?: string; primaryEntity?: string; description?: string; category?: number; statecode?: number; includeDescription?: boolean; maxResults?: number; }): Promise<{ totalCount: number; hasMore: boolean; requestedMax: number; workflows: unknown[]; }>; getFlowDefinition(flowId: string, summary?: boolean): Promise; getFlowRuns(flowId: string, options?: FlowRunFilterOptions): Promise; getFlowRunDetails(flowId: string, runId: string): Promise; getWorkflows(activeOnly?: boolean, maxRecords?: number): Promise<{ totalCount: number; hasMore: boolean; requestedMax: number; workflows: unknown[]; }>; getWorkflowDefinition(workflowId: string, summary?: boolean): Promise; getBusinessRules(activeOnly?: boolean, maxRecords?: number): Promise<{ totalCount: number; businessRules: unknown[]; }>; getBusinessRule(workflowId: string): Promise; getApps(activeOnly?: boolean, maxRecords?: number, includeUnpublished?: boolean, solutionUniqueName?: string): Promise<{ totalCount: number; apps: unknown[]; filters: { activeOnly: boolean; includeUnpublished: boolean; solutionUniqueName: string; }; }>; getApp(appId: string): Promise; getAppComponents(appId: string): Promise<{ totalCount: number; components: unknown[]; groupedByType: Record; }>; getAppSitemap(appId: string): Promise; getForms(entityLogicalName: string): Promise; getViews(entityLogicalName: string): Promise; getViewFetchXml(viewId: string): Promise; getWebResource(webResourceId: string): Promise; getWebResources(nameFilter?: string): Promise; getWebResourceDependencies(webResourceId: string): Promise; getPublishers(): Promise; getSolutions(): Promise; getSolution(uniqueName: string): Promise; getSolutionComponents(solutionUniqueName: string): Promise; checkDependencies(componentId: string, componentType: number): Promise; checkDeleteEligibility(componentId: string, componentType: number): Promise<{ canDelete: boolean; dependencies: unknown[]; error?: string; }>; checkComponentDependencies(componentId: string, componentType: number): Promise; checkUnpublishedChanges(): Promise; previewUnpublishedChanges(): Promise; validateBestPractices(solutionUniqueName: string | undefined, entityLogicalNames: string[] | undefined, publisherPrefix: string, recentDays?: number, includeRefDataTables?: boolean, rules?: string[], maxEntities?: number, requiredColumns?: string[]): Promise; validateSchemaName(schemaName: string, prefix: string): { valid: boolean; errors: string[]; }; generateDbmlSchema(options: DbmlGeneratorOptions): Promise; getServiceEndpoints(maxRecords?: number, excludeOotb?: boolean): Promise; getServiceEndpointsValidated(maxRecords?: number, requiredUrlStrings?: string[], excludeOotb?: boolean): Promise; getEnvironmentVariables(maxRecords?: number, requiredUrlStrings?: string[], excludeOotb?: boolean): Promise; getWebhookRegistrations(maxRecords?: number, excludeOotb?: boolean): Promise; analyzeFlowComplexity(flowId?: string, maxFlows?: number, excludeOotb?: boolean): Promise; generateIntegrationAuditReport(maxFlows?: number, requiredUrlStrings?: string[], outputFormat?: 'summary' | 'full', excludeOotb?: boolean, maxRecords?: number): Promise; getConnectionReferences(options?: { maxRecords?: number; managedOnly?: boolean; hasConnection?: boolean; }): Promise; getSecurityRoles(options?: { solutionUniqueName?: string; excludeSystemRoles?: boolean; maxRecords?: number; }): Promise; getSecurityRolePrivileges(options: { roleId: string; entityFilter?: string; accessRightFilter?: string; }): Promise; getSecurityRolesBySolution(options: { solutionUniqueName: string; includePrivileges?: boolean; }): Promise; listFieldSecurityProfiles(namePattern?: string): Promise; getFieldSecurityProfile(fieldSecurityProfileId: string): Promise; getSecuredColumns(entityLogicalName: string): Promise; } //# sourceMappingURL=PowerPlatformService.d.ts.map