import { ListOptions, PaginatedResponse, PromptDefinition, Request, RequestDataSilo, RequestDetails, ToolClients, ToolDefinition, TranscendGraphQLBase, z } from "@transcend-io/mcp-server-base"; import { ScopeName } from "@transcend-io/privacy-types"; //#region src/tools/index.d.ts declare function getDSRTools(clients: ToolClients): ToolDefinition[]; //#endregion //#region src/prompts/index.d.ts /** * Returns DSR workflow prompt templates for MCP prompts/list and prompts/get. * * @param _clients - Unused; accepted so createMCPServer can pass the same factory shape as getTools */ declare function getDsrPrompts(_clients?: ToolClients): PromptDefinition[]; //#endregion //#region src/scopes.d.ts /** OAuth scopes required for DSR MCP tools (offline_access added by base). */ declare const DSR_OAUTH_SCOPES: readonly [ScopeName.ViewRequests, ScopeName.ViewAssignedRequests, ScopeName.MakeDataSubjectRequest, ScopeName.ManageAssignedRequests, ScopeName.ViewRequestCompilation, ScopeName.ManageRequestCompilation, ScopeName.ViewWorkflows]; //#endregion //#region src/graphql.d.ts /** Options for listing privacy requests (DSRs) */ interface ListRequestsOptions extends ListOptions { /** Fuzzy/exact search across request identifiers (email, phone, etc.) */ identifierValue?: string; /** Exact match on primary email address only */ emails?: string[]; } /** Filters for listing request–data-silo jobs on a DSR */ interface ListRequestDataSilosOptions extends ListOptions { /** Request ID to list silo jobs for (required) */ requestId: string; /** Filter by raw request-data-silo status values (e.g. ERROR, RESOLVED) */ status?: string[]; /** Filter by a single visual status (includes WAITING_ON_DEPENDENCIES, etc.) */ visualStatus?: string; /** Free-text filter on silo title */ text?: string; } declare class DSRMixin extends TranscendGraphQLBase { listRequests(options?: ListRequestsOptions): Promise>; getRequest(id: string): Promise; listRequestDataSilos(options: ListRequestDataSilosOptions): Promise>; cancelRequest(input: { requestId: string; template?: string; subject?: string; }): Promise<{ request: Request; clientMutationId?: string; }>; } //#endregion //#region src/tools/dsr_submit.d.ts declare const submitDsrSchema: z.ZodObject<{ workflowConfigId: z.ZodString; email: z.ZodString; coreIdentifier: z.ZodOptional; locale: z.ZodOptional; isSilent: z.ZodOptional; }, z.core.$strip>; type SubmitDsrInput = z.infer; //#endregion //#region src/tools/dsr_cancel.d.ts declare const cancelDsrSchema: z.ZodObject<{ requestId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>; type CancelDsrInput = z.infer; //#endregion //#region src/tools/dsr_get_details.d.ts declare const getDetailsSchema: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; type GetDetailsInput = z.infer; //#endregion //#region src/tools/dsr_poll_status.d.ts declare const pollStatusSchema: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; type PollStatusInput = z.infer; //#endregion //#region src/tools/dsr_enrich_identifiers.d.ts declare const enrichIdentifiersSchema: z.ZodObject<{ nonce: z.ZodOptional; requestId: z.ZodOptional; enricherId: z.ZodOptional; identifiers: z.ZodRecord; }, z.core.$strip>; type EnrichIdentifiersInput = z.infer; //#endregion //#region src/tools/dsr_list_identifiers.d.ts declare const listIdentifiersSchema: z.ZodObject<{ limit: z.ZodDefault>>; offset: z.ZodDefault>>; requestId: z.ZodString; }, z.core.$strip>; type ListIdentifiersInput = z.infer; //#endregion //#region src/tools/dsr_list_request_data_silos.d.ts declare const listRequestDataSilosSchema: z.ZodObject<{ limit: z.ZodDefault>>; offset: z.ZodDefault>>; requestId: z.ZodString; status: z.ZodOptional>; visualStatus: z.ZodOptional; text: z.ZodOptional; }, z.core.$strip>; type ListRequestDataSilosInput = z.infer; //#endregion //#region src/tools/dsr_list_pending_requests.d.ts declare const listPendingRequestsSchema: z.ZodObject<{ dataSiloId: z.ZodString; requestType: z.ZodEnum<{ ACCESS: "ACCESS"; ERASURE: "ERASURE"; }>; }, z.core.$strip>; type ListPendingRequestsInput = z.infer; //#endregion //#region src/tools/dsr_analyze.d.ts declare const analyzeDsrSchema: z.ZodObject<{ days: z.ZodOptional>; }, z.core.$strip>; type AnalyzeDsrInput = z.infer; //#endregion export { type AnalyzeDsrInput, type CancelDsrInput, DSRMixin, DSR_OAUTH_SCOPES, type EnrichIdentifiersInput, type GetDetailsInput, type ListIdentifiersInput, type ListPendingRequestsInput, type ListRequestDataSilosInput, type ListRequestDataSilosOptions, type PollStatusInput, type SubmitDsrInput, analyzeDsrSchema, cancelDsrSchema, enrichIdentifiersSchema, getDSRTools, getDetailsSchema, getDsrPrompts, listIdentifiersSchema, listPendingRequestsSchema, listRequestDataSilosSchema, pollStatusSchema, submitDsrSchema }; //# sourceMappingURL=index.d.mts.map