@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
72 lines • 2.67 kB
TypeScript
import { z } from 'zod';
/** Inventory master alternate code - key field only, passthrough for API flexibility */
export declare const InvMastAlternateCodeSchema: z.ZodObject<{
alternateCodeId: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
alternateCodeId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
alternateCodeId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
export type InvMastAlternateCode = z.infer<typeof InvMastAlternateCodeSchema>;
export declare const InvMastAlternateCodeListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
alternateCodeId: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
alternateCodeId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
alternateCodeId: 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<{
alternateCodeId: 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<{
alternateCodeId: 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<{
alternateCodeId: 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<{
alternateCodeId: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type InvMastAlternateCodeListResponse = z.infer<typeof InvMastAlternateCodeListResponseSchema>;
//# sourceMappingURL=invMastAlternateCode.d.ts.map