@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
147 lines • 5.38 kB
TypeScript
import { z } from 'zod';
/** Create request - passthrough for flexible input */
export declare const CreateAttributeValueRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update request - passthrough for flexible input */
export declare const UpdateAttributeValueRequestSchema: 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">>;
export declare const AttributeValueResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
attributeValueUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeValueUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeValueUid: 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: {
attributeValueUid: 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: {
attributeValueUid: 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: {
attributeValueUid: 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: {
attributeValueUid: number;
} & {
[k: string]: unknown;
};
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 type CreateAttributeValueRequest = z.infer<typeof CreateAttributeValueRequestSchema>;
export type UpdateAttributeValueRequest = z.infer<typeof UpdateAttributeValueRequestSchema>;
export type AttributeValue = z.infer<typeof AttributeValueSchema>;
export type AttributeValueResponse = z.infer<typeof AttributeValueResponseSchema>;
export type AttributeValueListResponse = z.infer<typeof AttributeValueListResponseSchema>;
//# sourceMappingURL=attributesValues.d.ts.map