@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
176 lines • 6.6 kB
TypeScript
import { z } from 'zod';
/** Brand item - key field only, passthrough for API flexibility */
export declare const BrandItemSchema: z.ZodObject<{
brandItemUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
brandItemUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
brandItemUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Create brand item request - passthrough for flexible input */
export declare const CreateBrandItemRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update brand item request - passthrough for flexible input */
export declare const UpdateBrandItemRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Brand item list params */
export declare const BrandItemListParamsSchema: 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">>;
} & {
invMastUid: z.ZodOptional<z.ZodNumber>;
isPrimary: z.ZodOptional<z.ZodString>;
isActive: 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;
isActive?: string | undefined;
invMastUid?: number | undefined;
isPrimary?: 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;
isActive?: string | undefined;
invMastUid?: number | undefined;
isPrimary?: string | undefined;
}>;
export declare const BrandItemResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
brandItemUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
brandItemUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
brandItemUid: 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: {
brandItemUid: 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: {
brandItemUid: 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: {
brandItemUid: 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: {
brandItemUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const BrandItemListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
brandItemUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
brandItemUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
brandItemUid: 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<{
brandItemUid: 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<{
brandItemUid: 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<{
brandItemUid: 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<{
brandItemUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type BrandItem = z.infer<typeof BrandItemSchema>;
export type CreateBrandItemRequest = z.infer<typeof CreateBrandItemRequestSchema>;
export type UpdateBrandItemRequest = z.infer<typeof UpdateBrandItemRequestSchema>;
export type BrandItemListParams = z.infer<typeof BrandItemListParamsSchema>;
export type BrandItemResponse = z.infer<typeof BrandItemResponseSchema>;
export type BrandItemListResponse = z.infer<typeof BrandItemListResponseSchema>;
//# sourceMappingURL=brandsItems.d.ts.map