Skip to main content
Glama
createGetV1WorkoutsEvents.ts1.33 kB
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import type { GetV1WorkoutsEventsQueryParams, GetV1WorkoutsEventsHeaderParams, GetV1WorkoutsEventsQueryResponse } from '../types/GetV1WorkoutsEvents.ts' import { createPaginatedWorkoutEvents } from './createPaginatedWorkoutEvents.ts' import { faker } from '@faker-js/faker' export function createGetV1WorkoutsEventsQueryParams(data?: Partial<GetV1WorkoutsEventsQueryParams>): GetV1WorkoutsEventsQueryParams { return { ...{ page: faker.number.int(), pageSize: faker.number.int(), since: faker.string.alpha() }, ...(data || {}), } } export function createGetV1WorkoutsEventsHeaderParams(data?: Partial<GetV1WorkoutsEventsHeaderParams>): GetV1WorkoutsEventsHeaderParams { return { ...{ 'api-key': faker.string.uuid() }, ...(data || {}), } } /** * @description A paginated list of workout events */ export function createGetV1WorkoutsEvents200() { return createPaginatedWorkoutEvents() } /** * @description Internal Server Error */ export function createGetV1WorkoutsEvents500() { return undefined } export function createGetV1WorkoutsEventsQueryResponse(data?: Partial<GetV1WorkoutsEventsQueryResponse>): GetV1WorkoutsEventsQueryResponse { return data || faker.helpers.arrayElement<any>([createGetV1WorkoutsEvents200()]) }

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/chrisdoc/hevy-mcp'

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