UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

14 lines 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AttributeValueListResponseSchema = exports.AttributeValueResponseSchema = exports.AttributeValueSchema = exports.UpdateAttributeValueRequestSchema = exports.CreateAttributeValueRequestSchema = void 0; const zod_1 = require("zod"); const schemas_1 = require("../../../core/schemas"); /** Create request - passthrough for flexible input */ exports.CreateAttributeValueRequestSchema = zod_1.z.object({}).passthrough(); /** Update request - passthrough for flexible input */ exports.UpdateAttributeValueRequestSchema = zod_1.z.object({}).passthrough(); /** Attribute value - key field only, passthrough for API flexibility */ exports.AttributeValueSchema = zod_1.z.object({ attributeValueUid: zod_1.z.number() }).passthrough(); exports.AttributeValueResponseSchema = (0, schemas_1.BaseResponseSchema)(exports.AttributeValueSchema); exports.AttributeValueListResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(exports.AttributeValueSchema)); //# sourceMappingURL=attributesValues.js.map