@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
332 lines • 9.58 kB
TypeScript
import { z } from 'zod';
/**
* AI Suggestion Entity Schema (matches Items.json)
*/
export declare const AISuggestionSchema: z.ZodObject<{
description: z.ZodString;
length: z.ZodNumber;
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>;
/**
* Display Description Suggestion Schema (255 character limit)
*/
export declare const DisplayDescSuggestionSchema: z.ZodObject<{
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
} & {
description: z.ZodString;
length: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>;
/**
* Web Description Suggestion Schema (4000 character limit)
*/
export declare const WebDescSuggestionSchema: z.ZodObject<{
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
} & {
description: z.ZodString;
length: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>;
/**
* Parameter Schemas
*/
export declare const AISuggestionParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
model: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
model?: string | undefined;
}, {
limit?: number | undefined;
model?: string | undefined;
}>;
/**
* Response Schemas (matches Items.json exactly)
*/
export declare const SuggestDisplayDescResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodUnion<[z.ZodArray<z.ZodObject<{
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
} & {
description: z.ZodString;
length: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>, "many">, z.ZodLiteral<false>]>;
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: false | {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: false | {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: false | {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: false | {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const SuggestWebDescResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
} & {
description: z.ZodString;
length: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>, "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: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const AISuggestionsResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
description: z.ZodString;
length: z.ZodNumber;
euclideanDistance: z.ZodNumber;
taxicabDistance: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}, {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}>, "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: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
length: number;
description: string;
euclideanDistance: number;
taxicabDistance: number;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
/**
* Type Exports
*/
export type AISuggestion = z.infer<typeof AISuggestionSchema>;
export type DisplayDescSuggestion = z.infer<typeof DisplayDescSuggestionSchema>;
export type WebDescSuggestion = z.infer<typeof WebDescSuggestionSchema>;
export type AISuggestionParams = z.infer<typeof AISuggestionParamsSchema>;
export type SuggestDisplayDescResponse = z.infer<typeof SuggestDisplayDescResponseSchema>;
export type SuggestWebDescResponse = z.infer<typeof SuggestWebDescResponseSchema>;
export type AISuggestionsResponse = z.infer<typeof AISuggestionsResponseSchema>;
//# sourceMappingURL=ai-suggestions.d.ts.map