UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

344 lines 12.3 kB
import { z } from 'zod'; /** Bin - key field only, passthrough for API flexibility */ export declare const BinSchema: z.ZodObject<{ binUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ binUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ binUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Inventory location bin - key field only, passthrough for API flexibility */ export declare const InventoryLocationBinSchema: z.ZodObject<{ invLocBinUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ invLocBinUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ invLocBinUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; /** Create bin request - passthrough for flexible input */ export declare const CreateBinRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Update bin request - passthrough for flexible input */ export declare const UpdateBinRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Bin list params - passthrough for flexible input */ export declare const BinListParamsSchema: 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">>; } & { binType: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; zone: z.ZodOptional<z.ZodString>; q: 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; q?: string | undefined; orderBy?: string | undefined; isActive?: string | undefined; binType?: string | undefined; zone?: string | undefined; }, { limit?: number | undefined; offset?: number | undefined; edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; q?: string | undefined; orderBy?: string | undefined; isActive?: string | undefined; binType?: string | undefined; zone?: string | undefined; }>; /** Inventory location bin list params */ export declare const InventoryLocationBinListParamsSchema: 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>; hasStock: z.ZodOptional<z.ZodBoolean>; 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; invMastUid?: number | undefined; hasStock?: boolean | undefined; }, { limit?: number | undefined; offset?: number | undefined; edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; orderBy?: string | undefined; invMastUid?: number | undefined; hasStock?: boolean | undefined; }>; export declare const BinResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ binUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ binUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ binUid: 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: { binUid: 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: { binUid: 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: { binUid: 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: { binUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const BinListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ binUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ binUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ binUid: 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<{ binUid: 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<{ binUid: 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<{ binUid: 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<{ binUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const InventoryLocationBinResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ invLocBinUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ invLocBinUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ invLocBinUid: 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: { invLocBinUid: 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: { invLocBinUid: 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: { invLocBinUid: 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: { invLocBinUid: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const InventoryLocationBinListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ invLocBinUid: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ invLocBinUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ invLocBinUid: 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<{ invLocBinUid: 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<{ invLocBinUid: 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<{ invLocBinUid: 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<{ invLocBinUid: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type Bin = z.infer<typeof BinSchema>; export type InventoryLocationBin = z.infer<typeof InventoryLocationBinSchema>; export type CreateBinRequest = z.infer<typeof CreateBinRequestSchema>; export type UpdateBinRequest = z.infer<typeof UpdateBinRequestSchema>; export type BinListParams = z.infer<typeof BinListParamsSchema>; export type InventoryLocationBinListParams = z.infer<typeof InventoryLocationBinListParamsSchema>; export type BinResponse = z.infer<typeof BinResponseSchema>; export type BinListResponse = z.infer<typeof BinListResponseSchema>; export type InventoryLocationBinResponse = z.infer<typeof InventoryLocationBinResponseSchema>; export type InventoryLocationBinListResponse = z.infer<typeof InventoryLocationBinListResponseSchema>; //# sourceMappingURL=bins.d.ts.map