UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

21 lines 1.17 kB
import { z } from 'zod'; import { BaseResponseSchema } from '../../../core/schemas'; /** Attribute group attributes list params */ export const AttributeGroupAttributesListParamsSchema = z.object({ limit: z.number().int().positive().optional(), offset: z.number().int().min(0).optional(), orderBy: z.string().optional(), q: z.string().optional(), statusCd: z.number().optional(), }); /** Create request - passthrough for flexible input */ export const CreateAttributeGroupAttributeRequestSchema = z.object({}).passthrough(); /** Update request - passthrough for flexible input */ export const UpdateAttributeGroupAttributeRequestSchema = z.object({}).passthrough(); /** Attribute group attribute - key field only, passthrough for API flexibility */ export const AttributeGroupAttributeSchema = z .object({ attributeXAttributeGroupUid: z.number() }) .passthrough(); export const AttributeGroupAttributeResponseSchema = BaseResponseSchema(AttributeGroupAttributeSchema); export const AttributeGroupAttributeListResponseSchema = BaseResponseSchema(z.array(AttributeGroupAttributeSchema)); //# sourceMappingURL=attributeGroupsAttributes.js.map