@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
93 lines • 3.65 kB
TypeScript
import { z } from 'zod';
export declare const CustomerCustomerIdInvoicesParamsSchema: z.ZodObject<{
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">>;
} & {
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
q: z.ZodString;
shipToId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
q: string;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
shipToId?: number | undefined;
}, {
q: string;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
shipToId?: number | undefined;
}>;
/** Invoice - key field only, passthrough for API flexibility */
export declare const InvoiceSchema: z.ZodObject<{
invoiceNo: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
invoiceNo: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
invoiceNo: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
export declare const CustomerCustomerIdInvoicesResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
invoiceNo: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
invoiceNo: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
invoiceNo: 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<{
invoiceNo: 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<{
invoiceNo: 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<{
invoiceNo: 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<{
invoiceNo: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type CustomerCustomerIdInvoicesParams = z.infer<typeof CustomerCustomerIdInvoicesParamsSchema>;
export type Invoice = z.infer<typeof InvoiceSchema>;
export type CustomerCustomerIdInvoicesResponse = z.infer<typeof CustomerCustomerIdInvoicesResponseSchema>;
//# sourceMappingURL=customerCustomerIdInvoices.d.ts.map