@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
473 lines • 18.5 kB
TypeScript
import { z } from 'zod';
/** Item wishlist header - key field only, passthrough for API flexibility */
export declare const ItemWishlistHeaderSchema: z.ZodObject<{
itemWishlistHdrUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistHdrUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistHdrUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Item wishlist line - key field only, passthrough for API flexibility */
export declare const ItemWishlistLineSchema: z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Complete wishlist with lines - passthrough for API flexibility */
export declare const ItemWishlistDetailSchema: z.ZodObject<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, z.ZodTypeAny, "passthrough">>;
/** Create wishlist header request - passthrough for flexible input */
export declare const CreateItemWishlistHeaderRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update wishlist header request - passthrough for flexible input */
export declare const UpdateItemWishlistHeaderRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Create wishlist line request - passthrough for flexible input */
export declare const CreateItemWishlistLineRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update wishlist line request - passthrough for flexible input */
export declare const UpdateItemWishlistLineRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Wishlist list params */
export declare const ItemWishlistListParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
isPublic: z.ZodOptional<z.ZodString>;
shareCode: z.ZodOptional<z.ZodString>;
orderBy: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
orderBy?: string | undefined;
isPublic?: string | undefined;
shareCode?: string | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
orderBy?: string | undefined;
isPublic?: string | undefined;
shareCode?: string | undefined;
}>;
/** Wishlist line list params */
export declare const ItemWishlistLineListParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
priority: z.ZodOptional<z.ZodNumber>;
orderBy: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
orderBy?: string | undefined;
priority?: number | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
orderBy?: string | undefined;
priority?: number | undefined;
}>;
export declare const ItemWishlistHeaderResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
itemWishlistHdrUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistHdrUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistHdrUid: 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: {
itemWishlistHdrUid: 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: {
itemWishlistHdrUid: 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: {
itemWishlistHdrUid: 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: {
itemWishlistHdrUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ItemWishlistHeaderListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
itemWishlistHdrUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistHdrUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistHdrUid: 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<{
itemWishlistHdrUid: 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<{
itemWishlistHdrUid: 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<{
itemWishlistHdrUid: 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<{
itemWishlistHdrUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ItemWishlistLineResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: 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: {
itemWishlistLineUid: 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: {
itemWishlistLineUid: 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: {
itemWishlistLineUid: 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: {
itemWishlistLineUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ItemWishlistLineListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: 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<{
itemWishlistLineUid: 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<{
itemWishlistLineUid: 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<{
itemWishlistLineUid: 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<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ItemWishlistDetailResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistHdrUid: z.ZodNumber;
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
itemWishlistLineUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">>;
}, 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: {
itemWishlistHdrUid: number;
lines?: z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[] | undefined;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
itemWishlistHdrUid: number;
lines?: z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[] | undefined;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
itemWishlistHdrUid: number;
lines?: z.objectOutputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[] | undefined;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
itemWishlistHdrUid: number;
lines?: z.objectInputType<{
itemWishlistLineUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[] | undefined;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type ItemWishlistHeader = z.infer<typeof ItemWishlistHeaderSchema>;
export type ItemWishlistLine = z.infer<typeof ItemWishlistLineSchema>;
export type ItemWishlistDetail = z.infer<typeof ItemWishlistDetailSchema>;
export type CreateItemWishlistHeaderRequest = z.infer<typeof CreateItemWishlistHeaderRequestSchema>;
export type UpdateItemWishlistHeaderRequest = z.infer<typeof UpdateItemWishlistHeaderRequestSchema>;
export type CreateItemWishlistLineRequest = z.infer<typeof CreateItemWishlistLineRequestSchema>;
export type UpdateItemWishlistLineRequest = z.infer<typeof UpdateItemWishlistLineRequestSchema>;
export type ItemWishlistListParams = z.infer<typeof ItemWishlistListParamsSchema>;
export type ItemWishlistLineListParams = z.infer<typeof ItemWishlistLineListParamsSchema>;
export type ItemWishlistHeaderResponse = z.infer<typeof ItemWishlistHeaderResponseSchema>;
export type ItemWishlistHeaderListResponse = z.infer<typeof ItemWishlistHeaderListResponseSchema>;
export type ItemWishlistLineResponse = z.infer<typeof ItemWishlistLineResponseSchema>;
export type ItemWishlistLineListResponse = z.infer<typeof ItemWishlistLineListResponseSchema>;
export type ItemWishlistDetailResponse = z.infer<typeof ItemWishlistDetailResponseSchema>;
//# sourceMappingURL=itemWishlist.d.ts.map