UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

614 lines 23.2 kB
import { z } from 'zod'; export declare const AlsoBoughtParamsSchema: z.ZodObject<{ 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 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined; }, { edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const ItemUomSchema: z.ZodObject<{ unitOfMeasure: z.ZodString; unitSize: z.ZodNumber; }, "strip", z.ZodTypeAny, { unitOfMeasure: string; unitSize: number; }, { unitOfMeasure: string; unitSize: number; }>; export declare const InvMastTextSchema: z.ZodObject<{ sequenceNo: z.ZodNumber; displayOnWebFlag: z.ZodString; textTypeCd: z.ZodNumber; textTypeDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; webDisplayTypeUid: z.ZodNumber; webDisplayTypeId: z.ZodString; webDisplayTypeDesc: z.ZodString; textValue: z.ZodString; }, "strip", z.ZodTypeAny, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }>; export declare const AlsoBoughtItemSchema: z.ZodObject<{ invMastUid: z.ZodNumber; itemId: z.ZodString; itemDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; displayDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; extendedDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; defaultSellingUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>; defaultPurchasingUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>; deleteFlag: z.ZodString; baseUnit: z.ZodString; vndrStock: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; classId1: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId2: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId3: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId4: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId5: z.ZodOptional<z.ZodNullable<z.ZodString>>; serialized: z.ZodString; trackLots: z.ZodString; defaultProductGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>; upcOrEan: z.ZodOptional<z.ZodNullable<z.ZodString>>; upcOrEanId: z.ZodOptional<z.ZodNullable<z.ZodString>>; weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; inventorySupplier: z.ZodArray<z.ZodUnknown, "many">; itemUom: z.ZodArray<z.ZodObject<{ unitOfMeasure: z.ZodString; unitSize: z.ZodNumber; }, "strip", z.ZodTypeAny, { unitOfMeasure: string; unitSize: number; }, { unitOfMeasure: string; unitSize: number; }>, "many">; alternateCodes: z.ZodArray<z.ZodString, "many">; legacyTags: z.ZodArray<z.ZodString, "many">; attributes: z.ZodArray<z.ZodUnknown, "many">; images: z.ZodArray<z.ZodString, "many">; categoryList: z.ZodArray<z.ZodNumber, "many">; userDefined: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; invMastText: z.ZodArray<z.ZodObject<{ sequenceNo: z.ZodNumber; displayOnWebFlag: z.ZodString; textTypeCd: z.ZodNumber; textTypeDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; webDisplayTypeUid: z.ZodNumber; webDisplayTypeId: z.ZodString; webDisplayTypeDesc: z.ZodString; textValue: z.ZodString; }, "strip", z.ZodTypeAny, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }, { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }>; export declare const AlsoBoughtResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ invMastUid: z.ZodNumber; itemId: z.ZodString; itemDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; displayDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; extendedDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; defaultSellingUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>; defaultPurchasingUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>; deleteFlag: z.ZodString; baseUnit: z.ZodString; vndrStock: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; classId1: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId2: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId3: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId4: z.ZodOptional<z.ZodNullable<z.ZodString>>; classId5: z.ZodOptional<z.ZodNullable<z.ZodString>>; serialized: z.ZodString; trackLots: z.ZodString; defaultProductGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>; upcOrEan: z.ZodOptional<z.ZodNullable<z.ZodString>>; upcOrEanId: z.ZodOptional<z.ZodNullable<z.ZodString>>; weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; inventorySupplier: z.ZodArray<z.ZodUnknown, "many">; itemUom: z.ZodArray<z.ZodObject<{ unitOfMeasure: z.ZodString; unitSize: z.ZodNumber; }, "strip", z.ZodTypeAny, { unitOfMeasure: string; unitSize: number; }, { unitOfMeasure: string; unitSize: number; }>, "many">; alternateCodes: z.ZodArray<z.ZodString, "many">; legacyTags: z.ZodArray<z.ZodString, "many">; attributes: z.ZodArray<z.ZodUnknown, "many">; images: z.ZodArray<z.ZodString, "many">; categoryList: z.ZodArray<z.ZodNumber, "many">; userDefined: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; invMastText: z.ZodArray<z.ZodObject<{ sequenceNo: z.ZodNumber; displayOnWebFlag: z.ZodString; textTypeCd: z.ZodNumber; textTypeDesc: z.ZodOptional<z.ZodNullable<z.ZodString>>; webDisplayTypeUid: z.ZodNumber; webDisplayTypeId: z.ZodString; webDisplayTypeDesc: z.ZodString; textValue: z.ZodString; }, "strip", z.ZodTypeAny, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }, { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }, { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | 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: { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { images: string[]; invMastUid: number; itemId: string; deleteFlag: string; baseUnit: string; serialized: string; trackLots: string; inventorySupplier: unknown[]; itemUom: { unitOfMeasure: string; unitSize: number; }[]; alternateCodes: string[]; legacyTags: string[]; attributes: unknown[]; categoryList: number[]; userDefined: Record<string, unknown> | unknown[]; invMastText: { sequenceNo: number; displayOnWebFlag: string; textTypeCd: number; webDisplayTypeUid: number; webDisplayTypeId: string; webDisplayTypeDesc: string; textValue: string; textTypeDesc?: string | null | undefined; }[]; length?: number | null | undefined; itemDesc?: string | null | undefined; displayDesc?: string | null | undefined; extendedDesc?: string | null | undefined; defaultSellingUnit?: string | null | undefined; defaultPurchasingUnit?: string | null | undefined; vndrStock?: number | null | undefined; classId1?: string | null | undefined; classId2?: string | null | undefined; classId3?: string | null | undefined; classId4?: string | null | undefined; classId5?: string | null | undefined; defaultProductGroup?: string | null | undefined; upcOrEan?: string | null | undefined; upcOrEanId?: string | null | undefined; weight?: number | null | undefined; width?: number | null | undefined; height?: number | null | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type AlsoBoughtParams = z.infer<typeof AlsoBoughtParamsSchema>; export type ItemUom = z.infer<typeof ItemUomSchema>; export type InvMastText = z.infer<typeof InvMastTextSchema>; export type AlsoBoughtItem = z.infer<typeof AlsoBoughtItemSchema>; export type AlsoBoughtResponse = z.infer<typeof AlsoBoughtResponseSchema>; //# sourceMappingURL=recommendations.d.ts.map