UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

1,228 lines 115 kB
import { z } from 'zod'; export declare const OrderHeaderSchema: z.ZodObject<{ customerId: z.ZodOptional<z.ZodNumber>; customer_id: z.ZodOptional<z.ZodNumber>; shipToZipCode: z.ZodOptional<z.ZodString>; ship_to_zip: z.ZodOptional<z.ZodString>; ship_to_postal_code: z.ZodOptional<z.ZodString>; shipToEmailAddress: z.ZodOptional<z.ZodString>; ship_to_email: z.ZodOptional<z.ZodString>; customerPoNo: z.ZodOptional<z.ZodString>; customer_po_no: z.ZodOptional<z.ZodString>; customer_po_number: z.ZodOptional<z.ZodString>; class1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class5: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id5: z.ZodOptional<z.ZodNullable<z.ZodString>>; taker: z.ZodOptional<z.ZodString>; shippingEstimate: z.ZodOptional<z.ZodNumber>; shipping_estimate: z.ZodOptional<z.ZodNumber>; cartTax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; cart_tax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; userEmail: z.ZodOptional<z.ZodString>; user_email: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; user_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }>; export declare const CheckoutCustomerSchema: z.ZodObject<{ customerId: z.ZodNumber; contactId: z.ZodNumber; billToName: z.ZodString; billToAddress1: z.ZodString; billToCity: z.ZodString; billToState: z.ZodString; billToZip: z.ZodString; billToCountry: z.ZodString; shipToName: z.ZodString; shipToAddress1: z.ZodString; shipToCity: z.ZodString; shipToState: z.ZodString; shipToZip: z.ZodString; shipToCountry: z.ZodString; }, "strip", z.ZodTypeAny, { customerId: number; contactId: number; billToName: string; billToAddress1: string; billToCity: string; billToState: string; billToZip: string; billToCountry: string; shipToName: string; shipToAddress1: string; shipToCity: string; shipToState: string; shipToZip: string; shipToCountry: string; }, { customerId: number; contactId: number; billToName: string; billToAddress1: string; billToCity: string; billToState: string; billToZip: string; billToCountry: string; shipToName: string; shipToAddress1: string; shipToCity: string; shipToState: string; shipToZip: string; shipToCountry: string; }>; export declare const OrderLineSchema: z.ZodObject<{ lineNo: z.ZodOptional<z.ZodNumber>; itemId: z.ZodOptional<z.ZodString>; unitQuantity: z.ZodOptional<z.ZodNumber>; unit_quantity: z.ZodOptional<z.ZodNumber>; qty: z.ZodOptional<z.ZodNumber>; unitPrice: z.ZodOptional<z.ZodNumber>; unit_price: z.ZodOptional<z.ZodNumber>; unitOfMeasure: z.ZodOptional<z.ZodString>; unit_of_measure: z.ZodOptional<z.ZodString>; uom: z.ZodOptional<z.ZodString>; manualPriceOverride: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; manual_price_override: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; willCall: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; will_call: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; invMastUid: z.ZodOptional<z.ZodNumber>; lineNote: z.ZodOptional<z.ZodString>; line_note: z.ZodOptional<z.ZodString>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }>; export declare const PaymentSchema: z.ZodObject<{ paymentAccountId: z.ZodOptional<z.ZodString>; payment_account_id: z.ZodOptional<z.ZodString>; PaymentAccountID: z.ZodOptional<z.ZodString>; processor: z.ZodOptional<z.ZodString>; lastFour: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; last_four: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; LastFour: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; paymentBrand: z.ZodOptional<z.ZodString>; payment_brand: z.ZodOptional<z.ZodString>; PaymentBrand: z.ZodOptional<z.ZodString>; expirationMonth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expiration_month: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; ExpirationMonth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expirationYear: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expiration_year: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; ExpirationYear: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; firstName: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; streetAddress1: z.ZodOptional<z.ZodString>; street_address1: z.ZodOptional<z.ZodString>; streetAddress2: z.ZodOptional<z.ZodString>; street_address2: z.ZodOptional<z.ZodString>; city: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodString>; zipCode: z.ZodOptional<z.ZodString>; zip_code: z.ZodOptional<z.ZodString>; country: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { state?: string | undefined; paymentAccountId?: string | undefined; payment_account_id?: string | undefined; PaymentAccountID?: string | undefined; processor?: string | undefined; lastFour?: string | number | undefined; last_four?: string | number | undefined; LastFour?: string | number | undefined; paymentBrand?: string | undefined; payment_brand?: string | undefined; PaymentBrand?: string | undefined; expirationMonth?: string | number | undefined; expiration_month?: string | number | undefined; ExpirationMonth?: string | number | undefined; expirationYear?: string | number | undefined; expiration_year?: string | number | undefined; ExpirationYear?: string | number | undefined; firstName?: string | undefined; first_name?: string | undefined; lastName?: string | undefined; last_name?: string | undefined; streetAddress1?: string | undefined; street_address1?: string | undefined; streetAddress2?: string | undefined; street_address2?: string | undefined; city?: string | undefined; zipCode?: string | undefined; zip_code?: string | undefined; country?: string | undefined; }, { state?: string | undefined; paymentAccountId?: string | undefined; payment_account_id?: string | undefined; PaymentAccountID?: string | undefined; processor?: string | undefined; lastFour?: string | number | undefined; last_four?: string | number | undefined; LastFour?: string | number | undefined; paymentBrand?: string | undefined; payment_brand?: string | undefined; PaymentBrand?: string | undefined; expirationMonth?: string | number | undefined; expiration_month?: string | number | undefined; ExpirationMonth?: string | number | undefined; expirationYear?: string | number | undefined; expiration_year?: string | number | undefined; ExpirationYear?: string | number | undefined; firstName?: string | undefined; first_name?: string | undefined; lastName?: string | undefined; last_name?: string | undefined; streetAddress1?: string | undefined; street_address1?: string | undefined; streetAddress2?: string | undefined; street_address2?: string | undefined; city?: string | undefined; zipCode?: string | undefined; zip_code?: string | undefined; country?: string | undefined; }>; export declare const NotesSchema: z.ZodObject<{ note: z.ZodOptional<z.ZodString>; topic: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; topic?: string | undefined; }, { note?: string | undefined; topic?: string | undefined; }>; export declare const WebInfoSchema: z.ZodObject<{ webShopperEmail: z.ZodOptional<z.ZodString>; webShopperId: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { webShopperEmail?: string | undefined; webShopperId?: number | undefined; }, { webShopperEmail?: string | undefined; webShopperId?: number | undefined; }>; export declare const CheckoutPaymentSchema: z.ZodObject<{ paymentType: z.ZodString; cardNumber: z.ZodString; expirationDate: z.ZodString; cvv: z.ZodString; cardHolderName: z.ZodString; }, "strip", z.ZodTypeAny, { paymentType: string; cardNumber: string; expirationDate: string; cvv: string; cardHolderName: string; }, { paymentType: string; cardNumber: string; expirationDate: string; cvv: string; cardHolderName: string; }>; export declare const CheckoutShippingSchema: z.ZodObject<{ shippingMethod: z.ZodString; shippingInstructions: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { shippingMethod: string; shippingInstructions?: string | undefined; }, { shippingMethod: string; shippingInstructions?: string | undefined; }>; export declare const CheckoutLineItemSchema: z.ZodObject<{ invMastUid: z.ZodNumber; quantity: z.ZodNumber; unitOfMeasure: z.ZodString; unitPrice: z.ZodNumber; }, "strip", z.ZodTypeAny, { invMastUid: number; quantity: number; unitOfMeasure: string; unitPrice: number; }, { invMastUid: number; quantity: number; unitOfMeasure: string; unitPrice: number; }>; export declare const CheckoutCreateRequestSchema: z.ZodEffects<z.ZodObject<{ oeHdr: z.ZodOptional<z.ZodObject<{ customerId: z.ZodOptional<z.ZodNumber>; customer_id: z.ZodOptional<z.ZodNumber>; shipToZipCode: z.ZodOptional<z.ZodString>; ship_to_zip: z.ZodOptional<z.ZodString>; ship_to_postal_code: z.ZodOptional<z.ZodString>; shipToEmailAddress: z.ZodOptional<z.ZodString>; ship_to_email: z.ZodOptional<z.ZodString>; customerPoNo: z.ZodOptional<z.ZodString>; customer_po_no: z.ZodOptional<z.ZodString>; customer_po_number: z.ZodOptional<z.ZodString>; class1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class5: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id5: z.ZodOptional<z.ZodNullable<z.ZodString>>; taker: z.ZodOptional<z.ZodString>; shippingEstimate: z.ZodOptional<z.ZodNumber>; shipping_estimate: z.ZodOptional<z.ZodNumber>; cartTax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; cart_tax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; userEmail: z.ZodOptional<z.ZodString>; user_email: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; user_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }>>; oe_hdr: z.ZodOptional<z.ZodObject<{ customerId: z.ZodOptional<z.ZodNumber>; customer_id: z.ZodOptional<z.ZodNumber>; shipToZipCode: z.ZodOptional<z.ZodString>; ship_to_zip: z.ZodOptional<z.ZodString>; ship_to_postal_code: z.ZodOptional<z.ZodString>; shipToEmailAddress: z.ZodOptional<z.ZodString>; ship_to_email: z.ZodOptional<z.ZodString>; customerPoNo: z.ZodOptional<z.ZodString>; customer_po_no: z.ZodOptional<z.ZodString>; customer_po_number: z.ZodOptional<z.ZodString>; class1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class5: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id5: z.ZodOptional<z.ZodNullable<z.ZodString>>; taker: z.ZodOptional<z.ZodString>; shippingEstimate: z.ZodOptional<z.ZodNumber>; shipping_estimate: z.ZodOptional<z.ZodNumber>; cartTax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; cart_tax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; userEmail: z.ZodOptional<z.ZodString>; user_email: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; user_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }>>; header: z.ZodOptional<z.ZodObject<{ customerId: z.ZodOptional<z.ZodNumber>; customer_id: z.ZodOptional<z.ZodNumber>; shipToZipCode: z.ZodOptional<z.ZodString>; ship_to_zip: z.ZodOptional<z.ZodString>; ship_to_postal_code: z.ZodOptional<z.ZodString>; shipToEmailAddress: z.ZodOptional<z.ZodString>; ship_to_email: z.ZodOptional<z.ZodString>; customerPoNo: z.ZodOptional<z.ZodString>; customer_po_no: z.ZodOptional<z.ZodString>; customer_po_number: z.ZodOptional<z.ZodString>; class1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id1: z.ZodOptional<z.ZodNullable<z.ZodString>>; class2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id2: z.ZodOptional<z.ZodNullable<z.ZodString>>; class3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id3: z.ZodOptional<z.ZodNullable<z.ZodString>>; class4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id4: z.ZodOptional<z.ZodNullable<z.ZodString>>; class5: z.ZodOptional<z.ZodNullable<z.ZodString>>; class_id5: z.ZodOptional<z.ZodNullable<z.ZodString>>; taker: z.ZodOptional<z.ZodString>; shippingEstimate: z.ZodOptional<z.ZodNumber>; shipping_estimate: z.ZodOptional<z.ZodNumber>; cartTax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; cart_tax: z.ZodOptional<z.ZodObject<{ taxAmount: z.ZodOptional<z.ZodNumber>; tax_amount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { taxAmount?: number | undefined; tax_amount?: number | undefined; }, { taxAmount?: number | undefined; tax_amount?: number | undefined; }>>; userEmail: z.ZodOptional<z.ZodString>; user_email: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; user_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }, { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; }>>; oeLine: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNo: z.ZodOptional<z.ZodNumber>; itemId: z.ZodOptional<z.ZodString>; unitQuantity: z.ZodOptional<z.ZodNumber>; unit_quantity: z.ZodOptional<z.ZodNumber>; qty: z.ZodOptional<z.ZodNumber>; unitPrice: z.ZodOptional<z.ZodNumber>; unit_price: z.ZodOptional<z.ZodNumber>; unitOfMeasure: z.ZodOptional<z.ZodString>; unit_of_measure: z.ZodOptional<z.ZodString>; uom: z.ZodOptional<z.ZodString>; manualPriceOverride: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; manual_price_override: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; willCall: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; will_call: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; invMastUid: z.ZodOptional<z.ZodNumber>; lineNote: z.ZodOptional<z.ZodString>; line_note: z.ZodOptional<z.ZodString>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }>, "many">>; oe_line: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNo: z.ZodOptional<z.ZodNumber>; itemId: z.ZodOptional<z.ZodString>; unitQuantity: z.ZodOptional<z.ZodNumber>; unit_quantity: z.ZodOptional<z.ZodNumber>; qty: z.ZodOptional<z.ZodNumber>; unitPrice: z.ZodOptional<z.ZodNumber>; unit_price: z.ZodOptional<z.ZodNumber>; unitOfMeasure: z.ZodOptional<z.ZodString>; unit_of_measure: z.ZodOptional<z.ZodString>; uom: z.ZodOptional<z.ZodString>; manualPriceOverride: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; manual_price_override: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; willCall: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; will_call: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; invMastUid: z.ZodOptional<z.ZodNumber>; lineNote: z.ZodOptional<z.ZodString>; line_note: z.ZodOptional<z.ZodString>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }>, "many">>; lines: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNo: z.ZodOptional<z.ZodNumber>; itemId: z.ZodOptional<z.ZodString>; unitQuantity: z.ZodOptional<z.ZodNumber>; unit_quantity: z.ZodOptional<z.ZodNumber>; qty: z.ZodOptional<z.ZodNumber>; unitPrice: z.ZodOptional<z.ZodNumber>; unit_price: z.ZodOptional<z.ZodNumber>; unitOfMeasure: z.ZodOptional<z.ZodString>; unit_of_measure: z.ZodOptional<z.ZodString>; uom: z.ZodOptional<z.ZodString>; manualPriceOverride: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; manual_price_override: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; willCall: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; will_call: z.ZodOptional<z.ZodEnum<["Y", "N"]>>; invMastUid: z.ZodOptional<z.ZodNumber>; lineNote: z.ZodOptional<z.ZodString>; line_note: z.ZodOptional<z.ZodString>; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }, { note?: string | undefined; lineNo?: number | undefined; invMastUid?: number | undefined; unitOfMeasure?: string | undefined; lineNote?: string | undefined; unitPrice?: number | undefined; itemId?: string | undefined; unitQuantity?: number | undefined; unit_quantity?: number | undefined; qty?: number | undefined; unit_price?: number | undefined; unit_of_measure?: string | undefined; uom?: string | undefined; manualPriceOverride?: "Y" | "N" | undefined; manual_price_override?: "Y" | "N" | undefined; willCall?: "Y" | "N" | undefined; will_call?: "Y" | "N" | undefined; line_note?: string | undefined; }>, "many">>; notes: z.ZodOptional<z.ZodObject<{ note: z.ZodOptional<z.ZodString>; topic: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { note?: string | undefined; topic?: string | undefined; }, { note?: string | undefined; topic?: string | undefined; }>>; payments: z.ZodOptional<z.ZodObject<{ paymentAccountId: z.ZodOptional<z.ZodString>; payment_account_id: z.ZodOptional<z.ZodString>; PaymentAccountID: z.ZodOptional<z.ZodString>; processor: z.ZodOptional<z.ZodString>; lastFour: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; last_four: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; LastFour: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; paymentBrand: z.ZodOptional<z.ZodString>; payment_brand: z.ZodOptional<z.ZodString>; PaymentBrand: z.ZodOptional<z.ZodString>; expirationMonth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expiration_month: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; ExpirationMonth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expirationYear: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; expiration_year: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; ExpirationYear: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>; firstName: z.ZodOptional<z.ZodString>; first_name: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; last_name: z.ZodOptional<z.ZodString>; streetAddress1: z.ZodOptional<z.ZodString>; street_address1: z.ZodOptional<z.ZodString>; streetAddress2: z.ZodOptional<z.ZodString>; street_address2: z.ZodOptional<z.ZodString>; city: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodString>; zipCode: z.ZodOptional<z.ZodString>; zip_code: z.ZodOptional<z.ZodString>; country: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { state?: string | undefined; paymentAccountId?: string | undefined; payment_account_id?: string | undefined; PaymentAccountID?: string | undefined; processor?: string | undefined; lastFour?: string | number | undefined; last_four?: string | number | undefined; LastFour?: string | number | undefined; paymentBrand?: string | undefined; payment_brand?: string | undefined; PaymentBrand?: string | undefined; expirationMonth?: string | number | undefined; expiration_month?: string | number | undefined; ExpirationMonth?: string | number | undefined; expirationYear?: string | number | undefined; expiration_year?: string | number | undefined; ExpirationYear?: string | number | undefined; firstName?: string | undefined; first_name?: string | undefined; lastName?: string | undefined; last_name?: string | undefined; streetAddress1?: string | undefined; street_address1?: string | undefined; streetAddress2?: string | undefined; street_address2?: string | undefined; city?: string | undefined; zipCode?: string | undefined; zip_code?: string | undefined; country?: string | undefined; }, { state?: string | undefined; paymentAccountId?: string | undefined; payment_account_id?: string | undefined; PaymentAccountID?: string | undefined; processor?: string | undefined; lastFour?: string | number | undefined; last_four?: string | number | undefined; LastFour?: string | number | undefined; paymentBrand?: string | undefined; payment_brand?: string | undefined; PaymentBrand?: string | undefined; expirationMonth?: string | number | undefined; expiration_month?: string | number | undefined; ExpirationMonth?: string | number | undefined; expirationYear?: string | number | undefined; expiration_year?: string | number | undefined; ExpirationYear?: string | number | undefined; firstName?: string | undefined; first_name?: string | undefined; lastName?: string | undefined; last_name?: string | undefined; streetAddress1?: string | undefined; street_address1?: string | undefined; streetAddress2?: string | undefined; street_address2?: string | undefined; city?: string | undefined; zipCode?: string | undefined; zip_code?: string | undefined; country?: string | undefined; }>>; web: z.ZodOptional<z.ZodObject<{ webShopperEmail: z.ZodOptional<z.ZodString>; webShopperId: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { webShopperEmail?: string | undefined; webShopperId?: number | undefined; }, { webShopperEmail?: string | undefined; webShopperId?: number | undefined; }>>; customer: z.ZodOptional<z.ZodObject<{ customerId: z.ZodNumber; contactId: z.ZodNumber; billToName: z.ZodString; billToAddress1: z.ZodString; billToCity: z.ZodString; billToState: z.ZodString; billToZip: z.ZodString; billToCountry: z.ZodString; shipToName: z.ZodString; shipToAddress1: z.ZodString; shipToCity: z.ZodString; shipToState: z.ZodString; shipToZip: z.ZodString; shipToCountry: z.ZodString; }, "strip", z.ZodTypeAny, { customerId: number; contactId: number; billToName: string; billToAddress1: string; billToCity: string; billToState: string; billToZip: string; billToCountry: string; shipToName: string; shipToAddress1: string; shipToCity: string; shipToState: string; shipToZip: string; shipToCountry: string; }, { customerId: number; contactId: number; billToName: string; billToAddress1: string; billToCity: string; billToState: string; billToZip: string; billToCountry: string; shipToName: string; shipToAddress1: string; shipToCity: string; shipToState: string; shipToZip: string; shipToCountry: string; }>>; payment: z.ZodOptional<z.ZodObject<{ paymentType: z.ZodString; cardNumber: z.ZodString; expirationDate: z.ZodString; cvv: z.ZodString; cardHolderName: z.ZodString; }, "strip", z.ZodTypeAny, { paymentType: string; cardNumber: string; expirationDate: string; cvv: string; cardHolderName: string; }, { paymentType: string; cardNumber: string; expirationDate: string; cvv: string; cardHolderName: string; }>>; shipping: z.ZodOptional<z.ZodObject<{ shippingMethod: z.ZodString; shippingInstructions: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { shippingMethod: string; shippingInstructions?: string | undefined; }, { shippingMethod: string; shippingInstructions?: string | undefined; }>>; lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{ invMastUid: z.ZodNumber; quantity: z.ZodNumber; unitOfMeasure: z.ZodString; unitPrice: z.ZodNumber; }, "strip", z.ZodTypeAny, { invMastUid: number; quantity: number; unitOfMeasure: string; unitPrice: number; }, { invMastUid: number; quantity: number; unitOfMeasure: string; unitPrice: number; }>, "many">>; }, "strip", z.ZodTypeAny, { oeHdr?: { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; } | undefined; oe_hdr?: { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; userEmail?: string | undefined; user_email?: string | undefined; user_id?: string | number | undefined; } | undefined; header?: { customerId?: number | undefined; userId?: string | number | undefined; customer_id?: number | undefined; shipToZipCode?: string | undefined; ship_to_zip?: string | undefined; ship_to_postal_code?: string | undefined; shipToEmailAddress?: string | undefined; ship_to_email?: string | undefined; customerPoNo?: string | undefined; customer_po_no?: string | undefined; customer_po_number?: string | undefined; class1?: string | null | undefined; class_id1?: string | null | undefined; class2?: string | null | undefined; class_id2?: string | null | undefined; class3?: string | null | undefined; class_id3?: string | null | undefined; class4?: string | null | undefined; class_id4?: string | null | undefined; class5?: string | null | undefined; class_id5?: string | null | undefined; taker?: string | undefined; shippingEstimate?: number | undefined; shipping_estimate?: number | undefined; cartTax?: { taxAmount?: number | undefined; tax_amount?: number | undefined; } | undefined; cart_tax?: { taxAmou