@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
27 lines • 1.47 kB
JavaScript
import { z } from 'zod';
import { BaseResponseSchema } from '../../../core/schemas';
// Fyxer Transcript Parameter Schemas - per OpenAPI specification
// OpenAPI defines: limit, offset, orderBy, q, statusCd as query params
export const FyxerTranscriptListParamsSchema = z.object({
limit: z.coerce.number().optional(),
offset: z.coerce.number().optional(),
orderBy: z.string().optional(),
q: z.string().optional(),
statusCd: z.coerce.number().optional(),
});
// Fyxer transcript path parameter schema
export const FyxerTranscriptHdrUidParamsSchema = z.object({
fyxerTranscriptHdrUid: z.coerce.number(),
});
// POST/PUT body schemas - OpenAPI spec doesn't define specific fields
// Using passthrough to allow any fields
export const FyxerTranscriptCreateParamsSchema = z.object({}).passthrough();
export const FyxerTranscriptUpdateParamsSchema = z.object({}).passthrough();
// Notification Create Parameters - OpenAPI spec doesn't define specific fields
export const NotificationCreateParamsSchema = z.object({}).passthrough();
// Response Schemas - OpenAPI defines standard BaseResponse format only
export const FyxerTranscriptResponseSchema = BaseResponseSchema(z.unknown());
export const FyxerTranscriptArrayResponseSchema = BaseResponseSchema(z.array(z.unknown()));
export const NotificationResponseSchema = BaseResponseSchema(z.unknown());
export const MetaFilesResponseSchema = BaseResponseSchema(z.unknown());
//# sourceMappingURL=content.js.map