@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
15 lines • 807 B
JavaScript
import { z } from 'zod';
import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas';
// OpenAPI spec defines only "type": "object" with no specific properties (line 7512)
export const LocationsBinsSchema = z.object({}).passthrough();
// Parameters for locations bins endpoints
export const LocationsBinsParamsSchema = BaseGetParamsSchema.extend({
excludeZero: z.string().optional(), // Y|N defaults to Y
bin: z.string().optional(), // Filter by specific bin
hasStock: z.boolean().optional(),
orderBy: z.string().optional(),
});
// Response Schemas
export const LocationsBinsResponseSchema = BaseResponseSchema(z.array(LocationsBinsSchema));
export const LocationsBinsItemResponseSchema = BaseResponseSchema(LocationsBinsSchema);
//# sourceMappingURL=locationsBins.js.map