UNPKG

lokalise-mcp

Version:

The Lokalise MCP Server brings Lokalise's localization power to Claude and AI assistants—manage projects, keys, and translations by chat.

742 lines (741 loc) • 25.3 kB
import { z } from "zod"; /** * Zod schemas for MCP prompt arguments * All schemas use user-friendly names instead of technical IDs * Following Claude 4 best practices for clarity and usability */ export declare const ProjectPortfolioOverviewArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const ProjectDeepDiveArgs: z.ZodObject<{ projectName: z.ZodString; }, "strip", z.ZodTypeAny, { projectName: string; }, { projectName: string; }>; export declare const NewProjectSetupArgs: z.ZodObject<{ projectName: z.ZodString; description: z.ZodString; baseLanguage: z.ZodString; targetLanguages: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; projectName: string; baseLanguage: string; targetLanguages: string; }, { description: string; projectName: string; baseLanguage: string; targetLanguages: string; }>; export declare const ProjectCleanupArgs: z.ZodObject<{ projectName: z.ZodString; cleanupScope: z.ZodString; }, "strip", z.ZodTypeAny, { projectName: string; cleanupScope: string; }, { projectName: string; cleanupScope: string; }>; export declare const LanguageExpansionArgs: z.ZodObject<{ projectName: z.ZodString; newLanguages: z.ZodString; setCustomNames: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; newLanguages: string; setCustomNames?: string | undefined; }, { projectName: string; newLanguages: string; setCustomNames?: string | undefined; }>; export declare const TranslationProgressCheckArgs: z.ZodObject<{ projectName: z.ZodString; threshold: z.ZodOptional<z.ZodString>; includeReviewStatus: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; threshold?: string | undefined; includeReviewStatus?: string | undefined; }, { projectName: string; threshold?: string | undefined; includeReviewStatus?: string | undefined; }>; export declare const MultiLanguageSetupArgs: z.ZodObject<{ projectName: z.ZodString; languageGroups: z.ZodString; customSettings: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; languageGroups: string; customSettings?: string | undefined; }, { projectName: string; languageGroups: string; customSettings?: string | undefined; }>; export declare const KeyInventoryAnalysisArgs: z.ZodObject<{ projectName: z.ZodString; platformFilter: z.ZodOptional<z.ZodString>; tagFilter: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; platformFilter?: string | undefined; tagFilter?: string | undefined; }, { projectName: string; platformFilter?: string | undefined; tagFilter?: string | undefined; }>; export declare const BulkKeyCreationArgs: z.ZodObject<{ projectName: z.ZodString; featureName: z.ZodString; keyList: z.ZodString; platforms: z.ZodOptional<z.ZodString>; baseTranslations: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; featureName: string; keyList: string; platforms?: string | undefined; baseTranslations?: string | undefined; }, { projectName: string; featureName: string; keyList: string; platforms?: string | undefined; baseTranslations?: string | undefined; }>; export declare const KeyMaintenanceWorkflowArgs: z.ZodObject<{ projectName: z.ZodString; maintenanceType: z.ZodString; criteria: z.ZodString; newValues: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; maintenanceType: string; criteria: string; newValues?: string | undefined; }, { projectName: string; maintenanceType: string; criteria: string; newValues?: string | undefined; }>; export declare const PlatformKeyManagementArgs: z.ZodObject<{ projectName: z.ZodString; platform: z.ZodString; action: z.ZodString; keyPattern: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; platform: string; action: string; keyPattern?: string | undefined; }, { projectName: string; platform: string; action: string; keyPattern?: string | undefined; }>; export declare const CreateTranslationTaskArgs: z.ZodObject<{ projectName: z.ZodString; taskTitle: z.ZodString; taskDescription: z.ZodString; languages: z.ZodString; assignTo: z.ZodOptional<z.ZodString>; dueDate: z.ZodOptional<z.ZodString>; keyPattern: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; taskTitle: string; taskDescription: string; languages: string; keyPattern?: string | undefined; assignTo?: string | undefined; dueDate?: string | undefined; }, { projectName: string; taskTitle: string; taskDescription: string; languages: string; keyPattern?: string | undefined; assignTo?: string | undefined; dueDate?: string | undefined; }>; export declare const OverdueTaskManagementArgs: z.ZodObject<{ projectName: z.ZodOptional<z.ZodString>; action: z.ZodString; reassignTo: z.ZodOptional<z.ZodString>; extensionDays: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { action: string; projectName?: string | undefined; reassignTo?: string | undefined; extensionDays?: string | undefined; }, { action: string; projectName?: string | undefined; reassignTo?: string | undefined; extensionDays?: string | undefined; }>; export declare const ReviewTaskAutomationArgs: z.ZodObject<{ projectName: z.ZodString; reviewType: z.ZodString; contentToReview: z.ZodString; reviewers: z.ZodString; reviewCriteria: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; reviewType: string; contentToReview: string; reviewers: string; reviewCriteria?: string | undefined; }, { projectName: string; reviewType: string; contentToReview: string; reviewers: string; reviewCriteria?: string | undefined; }>; export declare const TaskStatusReportArgs: z.ZodObject<{ projectName: z.ZodOptional<z.ZodString>; groupBy: z.ZodOptional<z.ZodString>; includeCompleted: z.ZodOptional<z.ZodString>; timeframe: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName?: string | undefined; groupBy?: string | undefined; includeCompleted?: string | undefined; timeframe?: string | undefined; }, { projectName?: string | undefined; groupBy?: string | undefined; includeCompleted?: string | undefined; timeframe?: string | undefined; }>; export declare const ProductCatalogUpdateArgs: z.ZodObject<{ projectName: z.ZodString; catalogSource: z.ZodString; productCategories: z.ZodString; targetMarkets: z.ZodString; seasonalContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; catalogSource: string; productCategories: string; targetMarkets: string; seasonalContext?: string | undefined; }, { projectName: string; catalogSource: string; productCategories: string; targetMarkets: string; seasonalContext?: string | undefined; }>; export declare const CampaignLaunchSetupArgs: z.ZodObject<{ campaignName: z.ZodString; campaignDescription: z.ZodString; contentTypes: z.ZodString; targetRegions: z.ZodString; launchDate: z.ZodString; brandGuidelines: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { campaignName: string; campaignDescription: string; contentTypes: string; targetRegions: string; launchDate: string; brandGuidelines?: string | undefined; }, { campaignName: string; campaignDescription: string; contentTypes: string; targetRegions: string; launchDate: string; brandGuidelines?: string | undefined; }>; export declare const ContentExtractionWorkflowArgs: z.ZodObject<{ projectName: z.ZodString; contentSource: z.ZodString; contentType: z.ZodString; extractionRules: z.ZodOptional<z.ZodString>; organizationScheme: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; contentSource: string; contentType: string; extractionRules?: string | undefined; organizationScheme?: string | undefined; }, { projectName: string; contentSource: string; contentType: string; extractionRules?: string | undefined; organizationScheme?: string | undefined; }>; export declare const FeatureBranchSyncArgs: z.ZodObject<{ projectName: z.ZodString; branchName: z.ZodString; syncDirection: z.ZodOptional<z.ZodString>; conflictResolution: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; branchName: string; syncDirection?: string | undefined; conflictResolution?: string | undefined; }, { projectName: string; branchName: string; syncDirection?: string | undefined; conflictResolution?: string | undefined; }>; export declare const CiCdIntegrationArgs: z.ZodObject<{ projectName: z.ZodString; pipelineType: z.ZodString; triggerEvent: z.ZodString; validationRules: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; pipelineType: string; triggerEvent: string; validationRules?: string | undefined; }, { projectName: string; pipelineType: string; triggerEvent: string; validationRules?: string | undefined; }>; export declare const BuildGenerationArgs: z.ZodObject<{ projectName: z.ZodString; platform: z.ZodString; format: z.ZodString; languages: z.ZodOptional<z.ZodString>; environment: z.ZodOptional<z.ZodString>; includeOptions: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; platform: string; format: string; languages?: string | undefined; environment?: string | undefined; includeOptions?: string | undefined; }, { projectName: string; platform: string; format: string; languages?: string | undefined; environment?: string | undefined; includeOptions?: string | undefined; }>; export declare const RegulatoryDocProcessingArgs: z.ZodObject<{ projectName: z.ZodString; documentType: z.ZodString; complianceFrameworks: z.ZodString; targetJurisdictions: z.ZodString; previousVersion: z.ZodOptional<z.ZodString>; legalReviewRequired: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; documentType: string; complianceFrameworks: string; targetJurisdictions: string; previousVersion?: string | undefined; legalReviewRequired?: string | undefined; }, { projectName: string; documentType: string; complianceFrameworks: string; targetJurisdictions: string; previousVersion?: string | undefined; legalReviewRequired?: string | undefined; }>; export declare const AuditTrailGenerationArgs: z.ZodObject<{ projectName: z.ZodString; auditPeriod: z.ZodString; auditScope: z.ZodString; includeDetails: z.ZodOptional<z.ZodString>; outputFormat: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; auditPeriod: string; auditScope: string; includeDetails?: string | undefined; outputFormat?: string | undefined; }, { projectName: string; auditPeriod: string; auditScope: string; includeDetails?: string | undefined; outputFormat?: string | undefined; }>; export declare const QualityAssuranceCheckArgs: z.ZodObject<{ projectName: z.ZodString; qaType: z.ZodString; languages: z.ZodOptional<z.ZodString>; severity: z.ZodOptional<z.ZodString>; autoFix: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; qaType: string; languages?: string | undefined; severity?: string | undefined; autoFix?: string | undefined; }, { projectName: string; qaType: string; languages?: string | undefined; severity?: string | undefined; autoFix?: string | undefined; }>; export declare const ContributorAssignmentArgs: z.ZodObject<{ projectName: z.ZodString; contributorEmail: z.ZodString; contributorName: z.ZodString; role: z.ZodString; languages: z.ZodOptional<z.ZodString>; permissions: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; contributorEmail: string; contributorName: string; role: string; languages?: string | undefined; permissions?: string | undefined; }, { projectName: string; contributorEmail: string; contributorName: string; role: string; languages?: string | undefined; permissions?: string | undefined; }>; export declare const GlossaryManagementArgs: z.ZodObject<{ projectName: z.ZodString; action: z.ZodString; terms: z.ZodOptional<z.ZodString>; languages: z.ZodOptional<z.ZodString>; glossarySource: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; action: string; languages?: string | undefined; terms?: string | undefined; glossarySource?: string | undefined; }, { projectName: string; action: string; languages?: string | undefined; terms?: string | undefined; glossarySource?: string | undefined; }>; export declare const CommentCollaborationArgs: z.ZodObject<{ projectName: z.ZodString; keyPattern: z.ZodOptional<z.ZodString>; action: z.ZodString; commentText: z.ZodOptional<z.ZodString>; assignTo: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; action: string; keyPattern?: string | undefined; assignTo?: string | undefined; commentText?: string | undefined; }, { projectName: string; action: string; keyPattern?: string | undefined; assignTo?: string | undefined; commentText?: string | undefined; }>; export declare const InternationalAppLaunchArgs: z.ZodObject<{ appName: z.ZodString; appDescription: z.ZodString; primaryMarket: z.ZodString; targetMarkets: z.ZodString; featureSets: z.ZodString; launchTimeline: z.ZodString; complianceNeeds: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { targetMarkets: string; appName: string; appDescription: string; primaryMarket: string; featureSets: string; launchTimeline: string; complianceNeeds?: string | undefined; }, { targetMarkets: string; appName: string; appDescription: string; primaryMarket: string; featureSets: string; launchTimeline: string; complianceNeeds?: string | undefined; }>; export declare const SeasonalCampaignCloningArgs: z.ZodObject<{ sourceProjectName: z.ZodString; newCampaignName: z.ZodString; campaignType: z.ZodString; modifications: z.ZodString; targetMarkets: z.ZodString; launchDate: z.ZodString; }, "strip", z.ZodTypeAny, { targetMarkets: string; launchDate: string; sourceProjectName: string; newCampaignName: string; campaignType: string; modifications: string; }, { targetMarkets: string; launchDate: string; sourceProjectName: string; newCampaignName: string; campaignType: string; modifications: string; }>; export declare const EmergencyHotfixArgs: z.ZodObject<{ projectName: z.ZodString; issueDescription: z.ZodString; affectedContent: z.ZodString; affectedLanguages: z.ZodString; priority: z.ZodOptional<z.ZodString>; notifyList: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; issueDescription: string; affectedContent: string; affectedLanguages: string; priority?: string | undefined; notifyList?: string | undefined; }, { projectName: string; issueDescription: string; affectedContent: string; affectedLanguages: string; priority?: string | undefined; notifyList?: string | undefined; }>; export declare const PostUploadReviewWorkflowArgs: z.ZodObject<{ projectName: z.ZodString; uploadedFileName: z.ZodString; languageAssignmentMapping: z.ZodString; assignmentType: z.ZodOptional<z.ZodString>; confirmBeforeTaskCreation: z.ZodOptional<z.ZodString>; reviewDeadline: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; uploadedFileName: string; languageAssignmentMapping: string; assignmentType?: string | undefined; confirmBeforeTaskCreation?: string | undefined; reviewDeadline?: string | undefined; }, { projectName: string; uploadedFileName: string; languageAssignmentMapping: string; assignmentType?: string | undefined; confirmBeforeTaskCreation?: string | undefined; reviewDeadline?: string | undefined; }>; export declare const DocumentExtractionReviewWorkflowArgs: z.ZodObject<{ projectName: z.ZodString; documentContent: z.ZodString; keyPrefix: z.ZodString; baseLanguage: z.ZodString; languageAssignmentMapping: z.ZodString; assignmentType: z.ZodOptional<z.ZodString>; reviewDeadline: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; baseLanguage: string; languageAssignmentMapping: string; documentContent: string; keyPrefix: string; assignmentType?: string | undefined; reviewDeadline?: string | undefined; }, { projectName: string; baseLanguage: string; languageAssignmentMapping: string; documentContent: string; keyPrefix: string; assignmentType?: string | undefined; reviewDeadline?: string | undefined; }>; export declare const TeamTranslationSetupArgs: z.ZodObject<{ projectName: z.ZodString; teamStructure: z.ZodString; workloadDistribution: z.ZodString; groupPermissions: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; teamStructure: string; workloadDistribution: string; groupPermissions?: string | undefined; }, { projectName: string; teamStructure: string; workloadDistribution: string; groupPermissions?: string | undefined; }>; export declare const ProcessMonitoringDashboardArgs: z.ZodObject<{ projectNames: z.ZodOptional<z.ZodString>; processTypes: z.ZodOptional<z.ZodString>; includeCompleted: z.ZodOptional<z.ZodString>; alertOnFailures: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { includeCompleted?: string | undefined; projectNames?: string | undefined; processTypes?: string | undefined; alertOnFailures?: string | undefined; }, { includeCompleted?: string | undefined; projectNames?: string | undefined; processTypes?: string | undefined; alertOnFailures?: string | undefined; }>; export declare const UserGroupAuditArgs: z.ZodObject<{ teamName: z.ZodString; auditScope: z.ZodString; reportFormat: z.ZodOptional<z.ZodString>; includeRecommendations: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { auditScope: string; teamName: string; reportFormat?: string | undefined; includeRecommendations?: string | undefined; }, { auditScope: string; teamName: string; reportFormat?: string | undefined; includeRecommendations?: string | undefined; }>; export declare const TranslationMemoryImportArgs: z.ZodObject<{ projectName: z.ZodString; importDescription: z.ZodString; sourceLanguage: z.ZodString; targetLanguages: z.ZodString; autoApproveThreshold: z.ZodOptional<z.ZodString>; conflictResolution: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; targetLanguages: string; importDescription: string; sourceLanguage: string; conflictResolution?: string | undefined; autoApproveThreshold?: string | undefined; }, { projectName: string; targetLanguages: string; importDescription: string; sourceLanguage: string; conflictResolution?: string | undefined; autoApproveThreshold?: string | undefined; }>; export declare const BulkOperationsMonitorArgs: z.ZodObject<{ projectName: z.ZodString; operationType: z.ZodString; timeframe: z.ZodOptional<z.ZodString>; showDetails: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; operationType: string; timeframe?: string | undefined; showDetails?: string | undefined; }, { projectName: string; operationType: string; timeframe?: string | undefined; showDetails?: string | undefined; }>; export declare const TeamOnboardingWorkflowArgs: z.ZodObject<{ memberEmail: z.ZodString; memberName: z.ZodString; role: z.ZodString; languages: z.ZodString; projects: z.ZodString; groupMemberships: z.ZodOptional<z.ZodString>; sendWelcome: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { languages: string; role: string; memberEmail: string; memberName: string; projects: string; groupMemberships?: string | undefined; sendWelcome?: string | undefined; }, { languages: string; role: string; memberEmail: string; memberName: string; projects: string; groupMemberships?: string | undefined; sendWelcome?: string | undefined; }>; export declare const AutomatedReviewPipelineArgs: z.ZodObject<{ projectName: z.ZodString; sourceMaterial: z.ZodString; reviewStages: z.ZodString; assignmentStrategy: z.ZodString; deadline: z.ZodOptional<z.ZodString>; escalationRules: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { projectName: string; sourceMaterial: string; reviewStages: string; assignmentStrategy: string; deadline?: string | undefined; escalationRules?: string | undefined; }, { projectName: string; sourceMaterial: string; reviewStages: string; assignmentStrategy: string; deadline?: string | undefined; escalationRules?: string | undefined; }>; export type ProjectPortfolioOverviewArgsType = z.infer<typeof ProjectPortfolioOverviewArgs>; export type ProjectDeepDiveArgsType = z.infer<typeof ProjectDeepDiveArgs>; export type NewProjectSetupArgsType = z.infer<typeof NewProjectSetupArgs>; export type ProjectCleanupArgsType = z.infer<typeof ProjectCleanupArgs>; export type LanguageExpansionArgsType = z.infer<typeof LanguageExpansionArgs>; export type TranslationProgressCheckArgsType = z.infer<typeof TranslationProgressCheckArgs>; export type MultiLanguageSetupArgsType = z.infer<typeof MultiLanguageSetupArgs>; export type KeyInventoryAnalysisArgsType = z.infer<typeof KeyInventoryAnalysisArgs>; export type BulkKeyCreationArgsType = z.infer<typeof BulkKeyCreationArgs>; export type KeyMaintenanceWorkflowArgsType = z.infer<typeof KeyMaintenanceWorkflowArgs>; export type PlatformKeyManagementArgsType = z.infer<typeof PlatformKeyManagementArgs>; export type CreateTranslationTaskArgsType = z.infer<typeof CreateTranslationTaskArgs>; export type OverdueTaskManagementArgsType = z.infer<typeof OverdueTaskManagementArgs>; export type ReviewTaskAutomationArgsType = z.infer<typeof ReviewTaskAutomationArgs>; export type TaskStatusReportArgsType = z.infer<typeof TaskStatusReportArgs>; export type ProductCatalogUpdateArgsType = z.infer<typeof ProductCatalogUpdateArgs>; export type CampaignLaunchSetupArgsType = z.infer<typeof CampaignLaunchSetupArgs>; export type ContentExtractionWorkflowArgsType = z.infer<typeof ContentExtractionWorkflowArgs>; export type FeatureBranchSyncArgsType = z.infer<typeof FeatureBranchSyncArgs>; export type CiCdIntegrationArgsType = z.infer<typeof CiCdIntegrationArgs>; export type BuildGenerationArgsType = z.infer<typeof BuildGenerationArgs>; export type RegulatoryDocProcessingArgsType = z.infer<typeof RegulatoryDocProcessingArgs>; export type AuditTrailGenerationArgsType = z.infer<typeof AuditTrailGenerationArgs>; export type QualityAssuranceCheckArgsType = z.infer<typeof QualityAssuranceCheckArgs>; export type ContributorAssignmentArgsType = z.infer<typeof ContributorAssignmentArgs>; export type GlossaryManagementArgsType = z.infer<typeof GlossaryManagementArgs>; export type CommentCollaborationArgsType = z.infer<typeof CommentCollaborationArgs>; export type InternationalAppLaunchArgsType = z.infer<typeof InternationalAppLaunchArgs>; export type SeasonalCampaignCloningArgsType = z.infer<typeof SeasonalCampaignCloningArgs>; export type EmergencyHotfixArgsType = z.infer<typeof EmergencyHotfixArgs>; export type PostUploadReviewWorkflowArgsType = z.infer<typeof PostUploadReviewWorkflowArgs>; export type DocumentExtractionReviewWorkflowArgsType = z.infer<typeof DocumentExtractionReviewWorkflowArgs>; export type TeamTranslationSetupArgsType = z.infer<typeof TeamTranslationSetupArgs>; export type ProcessMonitoringDashboardArgsType = z.infer<typeof ProcessMonitoringDashboardArgs>; export type UserGroupAuditArgsType = z.infer<typeof UserGroupAuditArgs>; export type TranslationMemoryImportArgsType = z.infer<typeof TranslationMemoryImportArgs>; export type BulkOperationsMonitorArgsType = z.infer<typeof BulkOperationsMonitorArgs>; export type TeamOnboardingWorkflowArgsType = z.infer<typeof TeamOnboardingWorkflowArgs>; export type AutomatedReviewPipelineArgsType = z.infer<typeof AutomatedReviewPipelineArgs>;