@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
14 lines • 738 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvMastSubPartsResponseSchema = exports.InvMastSubPartsParamsSchema = void 0;
const zod_1 = require("zod");
const schemas_1 = require("../../../core/schemas");
// Reuse existing SubPartSchema but for the new endpoint structure
const subparts_1 = require("./subparts");
// Parameters for sub parts endpoint
exports.InvMastSubPartsParamsSchema = schemas_1.BaseGetParamsSchema.extend({
invMastLinksUid: zod_1.z.coerce.number().optional(),
});
// Response Schemas for the new OpenAPI endpoints
exports.InvMastSubPartsResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(subparts_1.SubPartSchema));
//# sourceMappingURL=invMastSubParts.js.map