UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

80 lines 2.51 kB
import { z } from 'zod'; /** Customer document - key field only, passthrough for API flexibility */ export declare const CustomerDocumentSchema: z.ZodObject<{ customerId: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ customerId: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ customerId: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; export declare const CustomerCustomerIdDocResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ customerId: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ customerId: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ customerId: 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: { customerId: 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: { customerId: 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: { customerId: 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: { customerId: number; } & { [k: string]: unknown; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type CustomerDocument = z.infer<typeof CustomerDocumentSchema>; export type CustomerCustomerIdDocResponse = z.infer<typeof CustomerCustomerIdDocResponseSchema>; //# sourceMappingURL=customerCustomerIdDoc.d.ts.map