UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

75 lines 2.89 kB
import { z } from 'zod'; /** Purchase order scan params - passthrough for flexible input */ export declare const PurchaseOrderScanParamsSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; /** Purchase order scan result - key field only, passthrough for API flexibility */ export declare const PurchaseOrderScanResultSchema: z.ZodObject<{ poNo: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ poNo: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ poNo: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; export declare const PurchaseOrderScanResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ poNo: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ poNo: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ poNo: 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<{ poNo: 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<{ poNo: 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<{ poNo: 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<{ poNo: z.ZodNumber; }, z.ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type PurchaseOrderScanParams = z.infer<typeof PurchaseOrderScanParamsSchema>; export type PurchaseOrderScanResult = z.infer<typeof PurchaseOrderScanResultSchema>; export type PurchaseOrderScanResponse = z.infer<typeof PurchaseOrderScanResponseSchema>; //# sourceMappingURL=poHdrScan.d.ts.map