UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

396 lines 13.9 kB
import { z } from 'zod'; /** Attributes list params */ export declare const AttributesListParamsSchema: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; orderBy: z.ZodOptional<z.ZodString>; q: z.ZodOptional<z.ZodString>; statusCd: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; statusCd?: number | undefined; }, { limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; statusCd?: number | undefined; }>; /** Attribute values list params */ export declare const AttributeValuesListParamsSchema: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; orderBy: z.ZodOptional<z.ZodString>; q: z.ZodOptional<z.ZodString>; statusCd: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; statusCd?: number | undefined; }, { limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; statusCd?: number | undefined; }>; /** Attribute - key field only, passthrough for API flexibility */ export declare const AttributeSchema: z.ZodObject<{ attributeUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Create attribute request - passthrough for flexible input */ export declare const CreateAttributeRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Update attribute request - passthrough for flexible input */ export declare const UpdateAttributeRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Attribute value - key field only, passthrough for API flexibility */ export declare const AttributeValueSchema: z.ZodObject<{ attributeValueUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Item attribute value - key field only, passthrough for API flexibility */ export declare const ItemAttributeValueSchema: z.ZodObject<{ itemAttributeValueUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Create item attribute value request - passthrough for flexible input */ export declare const CreateItemAttributeValueRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; export declare const AttributeResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ attributeUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { attributeUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { attributeUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { attributeUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { attributeUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const AttributeListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ attributeUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ attributeUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const AttributeValueListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ attributeValueUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ attributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const ItemAttributeValueListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ itemAttributeValueUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: z.objectOutputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: z.objectInputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const ItemAttributeValueResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ itemAttributeValueUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ itemAttributeValueUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { itemAttributeValueUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { itemAttributeValueUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { itemAttributeValueUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { itemAttributeValueUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type AttributesListParams = z.infer<typeof AttributesListParamsSchema>; export type AttributeValuesListParams = z.infer<typeof AttributeValuesListParamsSchema>; export type Attribute = z.infer<typeof AttributeSchema>; export type CreateAttributeRequest = z.infer<typeof CreateAttributeRequestSchema>; export type UpdateAttributeRequest = z.infer<typeof UpdateAttributeRequestSchema>; export type AttributeValue = z.infer<typeof AttributeValueSchema>; export type ItemAttributeValue = z.infer<typeof ItemAttributeValueSchema>; export type CreateItemAttributeValueRequest = z.infer<typeof CreateItemAttributeValueRequestSchema>; //# sourceMappingURL=attributes.d.ts.map