Skip to main content
Glama
index.ts975 B
/** * Mock data and response factories for FreshBooks MCP Server testing * * This module provides comprehensive mock factories for: * - Entity data (TimeEntry, Project, Service, Task, etc.) * - API responses (success and error scenarios) * - OAuth authentication flows * - FreshBooks SDK client * * Usage: * ```typescript * import { * createTimeEntry, * mockTimeEntryListResponse, * mockNotFoundError, * createMockFreshBooksClient, * } from '../mocks'; * * const entry = createTimeEntry({ duration: 3600 }); * const response = mockTimeEntryListResponse(10); * const error = mockNotFoundError('TimeEntry', 123); * const client = createMockFreshBooksClient(); * ``` */ // Re-export all factories export * from './factories'; // Re-export all response mocks export * from './responses'; // Re-export all error mocks export * from './errors'; // Re-export auth mocks export * from './auth'; // Re-export client mocks export * from './client';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Good-Samaritan-Software-LLC/freshbooks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server