@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
1,437 lines • 44.9 kB
TypeScript
import { z } from 'zod';
export declare const ItemCategoryEntitySchema: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
masterCategoryFlag: z.ZodString;
parentCategoryFlag: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
displayMasterProductFlag: z.ZodString;
catalogPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
dateCreated: z.ZodString;
createdBy: z.ZodString;
dateLastModified: z.ZodString;
lastMaintainedBy: z.ZodString;
subCategoryImageFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
updateCd: z.ZodNumber;
statusCd: z.ZodNumber;
processCd: z.ZodNumber;
itemCount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}, {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}>;
export declare const LookupCategoryEntitySchema: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}>;
export declare const SubCategorySchema: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}>;
export declare const LookupCategoryWithSubsSchema: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
} & {
subCategories: z.ZodArray<z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}>, "many">;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
}>;
export declare const CategorySchema: z.ZodType<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
export declare const CategoryListParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
displayOnWebFlag: z.ZodOptional<z.ZodEnum<["Y", "N"]>>;
deleteFlag: z.ZodOptional<z.ZodEnum<["Y", "N"]>>;
masterCategoryFlag: z.ZodOptional<z.ZodString>;
parentCategoryFlag: z.ZodOptional<z.ZodString>;
orderBy: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
displayOnWebFlag?: "Y" | "N" | undefined;
deleteFlag?: "Y" | "N" | undefined;
masterCategoryFlag?: string | undefined;
parentCategoryFlag?: string | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
displayOnWebFlag?: "Y" | "N" | undefined;
deleteFlag?: "Y" | "N" | undefined;
masterCategoryFlag?: string | undefined;
parentCategoryFlag?: string | undefined;
}>;
export declare const CategoryLookupParamsSchema: z.ZodObject<{
itemCategoryUid: z.ZodOptional<z.ZodNumber>;
itemCategoryId: z.ZodOptional<z.ZodString>;
includeSubCategories: z.ZodOptional<z.ZodBoolean>;
displayOnWebFlag: z.ZodOptional<z.ZodEnum<["Y", "N"]>>;
deleteFlag: z.ZodOptional<z.ZodEnum<["Y", "N"]>>;
}, "strip", z.ZodTypeAny, {
displayOnWebFlag?: "Y" | "N" | undefined;
deleteFlag?: "Y" | "N" | undefined;
itemCategoryUid?: number | undefined;
itemCategoryId?: string | undefined;
includeSubCategories?: boolean | undefined;
}, {
displayOnWebFlag?: "Y" | "N" | undefined;
deleteFlag?: "Y" | "N" | undefined;
itemCategoryUid?: number | undefined;
itemCategoryId?: string | undefined;
includeSubCategories?: boolean | undefined;
}>;
export declare const CategoryPreCacheParamsSchema: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
itemCategoryUid: number;
}, {
itemCategoryUid: number;
}>;
export declare const CategoryDetailsParamsSchema: z.ZodObject<{
path: z.ZodOptional<z.ZodString>;
rootItemCategoryId: z.ZodOptional<z.ZodString>;
orderBy: z.ZodOptional<z.ZodString>;
classId5List: z.ZodOptional<z.ZodString>;
productCollection: z.ZodOptional<z.ZodString>;
filters: z.ZodOptional<z.ZodString>;
childrenLimit: z.ZodOptional<z.ZodNumber>;
childrenOffset: z.ZodOptional<z.ZodNumber>;
childrenFilter: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
path?: string | undefined;
orderBy?: string | undefined;
classId5List?: string | undefined;
filters?: string | undefined;
rootItemCategoryId?: string | undefined;
productCollection?: string | undefined;
childrenLimit?: number | undefined;
childrenOffset?: number | undefined;
childrenFilter?: string | undefined;
}, {
path?: string | undefined;
orderBy?: string | undefined;
classId5List?: string | undefined;
filters?: string | undefined;
rootItemCategoryId?: string | undefined;
productCollection?: string | undefined;
childrenLimit?: number | undefined;
childrenOffset?: number | undefined;
childrenFilter?: string | undefined;
}>;
export declare const CategoryItemsParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
sortBy: z.ZodOptional<z.ZodString>;
sortOrder: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
filters: z.ZodOptional<z.ZodString>;
fields: z.ZodOptional<z.ZodString>;
displayOnWebFlag: z.ZodOptional<z.ZodString>;
classId5List: z.ZodOptional<z.ZodString>;
classId5ExcludeList: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
includeStock: z.ZodOptional<z.ZodEnum<["Y", "N"]>>;
cacheTtl: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
fields?: string | undefined;
displayOnWebFlag?: string | undefined;
cacheTtl?: number | undefined;
classId5ExcludeList?: string | undefined;
classId5List?: string | undefined;
filters?: string | undefined;
tags?: string | undefined;
sortBy?: string | undefined;
sortOrder?: "asc" | "desc" | undefined;
includeStock?: "Y" | "N" | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
fields?: string | undefined;
displayOnWebFlag?: string | undefined;
cacheTtl?: number | undefined;
classId5ExcludeList?: string | undefined;
classId5List?: string | undefined;
filters?: string | undefined;
tags?: string | undefined;
sortBy?: string | undefined;
sortOrder?: "asc" | "desc" | undefined;
includeStock?: "Y" | "N" | undefined;
}>;
export declare const CategoryItemSchema: z.ZodObject<{
invMastUid: z.ZodNumber;
itemId: z.ZodString;
itemDesc: z.ZodString;
listPrice: z.ZodOptional<z.ZodNumber>;
stdPrice: z.ZodOptional<z.ZodNumber>;
images: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
attributes: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
stock: z.ZodOptional<z.ZodObject<{
qtyOnHand: z.ZodNumber;
qtyAvailable: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
qtyOnHand: number;
qtyAvailable: number;
}, {
qtyOnHand: number;
qtyAvailable: number;
}>>;
}, "strip", z.ZodTypeAny, {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}, {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}>;
export declare const CategoryAttributeSchema: z.ZodObject<{
attributeUid: z.ZodNumber;
attributeId: z.ZodString;
attributeDesc: z.ZodString;
dataType: z.ZodString;
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}, {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}>;
export declare const CategoryFilterSchema: z.ZodObject<{
attributeId: z.ZodString;
attributeDesc: z.ZodString;
filterType: z.ZodString;
values: z.ZodArray<z.ZodObject<{
value: z.ZodString;
count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
value: string;
count: number;
}, {
value: string;
count: number;
}>, "many">;
}, "strip", z.ZodTypeAny, {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}, {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}>;
export declare const CategoryImageSchema: z.ZodObject<{
imageUid: z.ZodNumber;
imagePath: z.ZodString;
imageType: z.ZodString;
altText: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}, {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}>;
export declare const CategoryResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodType<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}, z.ZodTypeDef, {
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
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: {
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: Array<{
itemCategoryUid: number;
itemCategoryDesc: string;
path?: string;
parentItemCategoryUid?: number;
level?: number;
children?: unknown;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
}>;
attributes?: unknown[];
images?: unknown[];
itemCount?: number;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
masterCategoryFlag: z.ZodString;
parentCategoryFlag: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
displayMasterProductFlag: z.ZodString;
catalogPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
dateCreated: z.ZodString;
createdBy: z.ZodString;
dateLastModified: z.ZodString;
lastMaintainedBy: z.ZodString;
subCategoryImageFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
updateCd: z.ZodNumber;
statusCd: z.ZodNumber;
processCd: z.ZodNumber;
itemCount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}, {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}>, "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: {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
dateCreated: string;
dateLastModified: string;
statusCd: number;
updateCd: number;
processCd: number;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
createdBy: string;
lastMaintainedBy: string;
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
masterCategoryFlag: string;
parentCategoryFlag: string;
displayMasterProductFlag: string;
itemCount: number;
catalogPage?: string | null | undefined;
subCategoryImageFile?: string | null | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryLookupResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
} & {
subCategories: z.ZodArray<z.ZodObject<{
itemCategoryUid: z.ZodNumber;
itemCategoryId: z.ZodString;
itemCategoryDesc: z.ZodString;
displayOnWebFlag: z.ZodEnum<["Y", "N"]>;
deleteFlag: z.ZodEnum<["Y", "N"]>;
itemCount: z.ZodNumber;
fullPath: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}>, "many">;
}, "strip", z.ZodTypeAny, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
}, {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
}>;
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: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
subCategories: {
fullPath: string | null;
displayOnWebFlag: "Y" | "N";
deleteFlag: "Y" | "N";
itemCategoryUid: number;
itemCategoryId: string;
itemCategoryDesc: string;
itemCount: number;
}[];
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryPreCacheResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodBoolean;
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: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryItemsResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
invMastUid: z.ZodNumber;
itemId: z.ZodString;
itemDesc: z.ZodString;
listPrice: z.ZodOptional<z.ZodNumber>;
stdPrice: z.ZodOptional<z.ZodNumber>;
images: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
attributes: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
stock: z.ZodOptional<z.ZodObject<{
qtyOnHand: z.ZodNumber;
qtyAvailable: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
qtyOnHand: number;
qtyAvailable: number;
}, {
qtyOnHand: number;
qtyAvailable: number;
}>>;
}, "strip", z.ZodTypeAny, {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}, {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}>, "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: {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
invMastUid: number;
itemId: string;
itemDesc: string;
images?: unknown[] | undefined;
attributes?: unknown[] | undefined;
listPrice?: number | undefined;
stdPrice?: number | undefined;
stock?: {
qtyOnHand: number;
qtyAvailable: number;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
attributeUid: z.ZodNumber;
attributeId: z.ZodString;
attributeDesc: z.ZodString;
dataType: z.ZodString;
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}, {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}>, "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: {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
attributeId: string;
attributeUid: number;
attributeDesc: string;
dataType: string;
values?: string[] | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryFiltersResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
attributeId: z.ZodString;
attributeDesc: z.ZodString;
filterType: z.ZodString;
values: z.ZodArray<z.ZodObject<{
value: z.ZodString;
count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
value: string;
count: number;
}, {
value: string;
count: number;
}>, "many">;
}, "strip", z.ZodTypeAny, {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}, {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}>, "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: {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
values: {
value: string;
count: number;
}[];
attributeId: string;
attributeDesc: string;
filterType: string;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CategoryImagesResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
imageUid: z.ZodNumber;
imagePath: z.ZodString;
imageType: z.ZodString;
altText: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}, {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}>, "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: {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
imageUid: number;
imagePath: string;
imageType: string;
altText?: string | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type Category = z.infer<typeof CategorySchema>;
export type ItemCategoryEntity = z.infer<typeof ItemCategoryEntitySchema>;
export type LookupCategoryEntity = z.infer<typeof LookupCategoryEntitySchema>;
export type SubCategory = z.infer<typeof SubCategorySchema>;
export type LookupCategoryWithSubs = z.infer<typeof LookupCategoryWithSubsSchema>;
export type CategoryListParams = z.infer<typeof CategoryListParamsSchema>;
export type CategoryLookupParams = z.infer<typeof CategoryLookupParamsSchema>;
export type CategoryPreCacheParams = z.infer<typeof CategoryPreCacheParamsSchema>;
export type CategoryDetailsParams = z.infer<typeof CategoryDetailsParamsSchema>;
export type CategoryItemsParams = z.infer<typeof CategoryItemsParamsSchema>;
export type CategoryItem = z.infer<typeof CategoryItemSchema>;
export type CategoryAttribute = z.infer<typeof CategoryAttributeSchema>;
export type CategoryFilter = z.infer<typeof CategoryFilterSchema>;
export type CategoryImage = z.infer<typeof CategoryImageSchema>;
//# sourceMappingURL=categories.d.ts.map