UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

84 lines 2.93 kB
import { z } from 'zod'; export declare const OrderEntryHeaderParamsSchema: z.ZodObject<{ importUid: z.ZodString; }, "strip", z.ZodTypeAny, { importUid: string; }, { importUid: string; }>; export declare const OrderEntryHeaderSalesrepParamsSchema: z.ZodObject<{ importUid: z.ZodString; }, "strip", z.ZodTypeAny, { importUid: string; }, { importUid: string; }>; export declare const OrderEntryHeaderWebParamsSchema: z.ZodObject<{ importUid: z.ZodString; }, "strip", z.ZodTypeAny, { importUid: string; }, { importUid: string; }>; /** Order entry data - passthrough for API flexibility */ export declare const OrderEntryDataSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; export declare const OrderEntryHeaderResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, 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: {} & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: {} & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: {} & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: {} & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type OrderEntryHeaderParams = z.infer<typeof OrderEntryHeaderParamsSchema>; export type OrderEntryHeaderSalesrepParams = z.infer<typeof OrderEntryHeaderSalesrepParamsSchema>; export type OrderEntryHeaderWebParams = z.infer<typeof OrderEntryHeaderWebParamsSchema>; export type OrderEntryData = z.infer<typeof OrderEntryDataSchema>; export type OrderEntryHeaderResponse = z.infer<typeof OrderEntryHeaderResponseSchema>; //# sourceMappingURL=order-entry.d.ts.map