@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
11 lines • 563 B
JavaScript
import { z } from 'zod';
import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas';
// Reuse existing SubPartSchema but for the new endpoint structure
import { SubPartSchema } from './subparts';
// Parameters for sub parts endpoint
export const InvMastSubPartsParamsSchema = BaseGetParamsSchema.extend({
invMastLinksUid: z.coerce.number().optional(),
});
// Response Schemas for the new OpenAPI endpoints
export const InvMastSubPartsResponseSchema = BaseResponseSchema(z.array(SubPartSchema));
//# sourceMappingURL=invMastSubParts.js.map