@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
1,111 lines • 35.1 kB
TypeScript
import { z } from 'zod';
export declare const CustomerSchema: z.ZodObject<{
customerId: z.ZodNumber;
companyId: z.ZodString;
customerName: z.ZodNullable<z.ZodString>;
class1Id: z.ZodNullable<z.ZodString>;
class2Id: z.ZodNullable<z.ZodString>;
class3Id: z.ZodNullable<z.ZodString>;
class4Id: z.ZodNullable<z.ZodString>;
class5Id: z.ZodNullable<z.ZodString>;
webEnabledFlag: z.ZodString;
deleteFlag: z.ZodString;
salesRepId: z.ZodNullable<z.ZodString>;
poNoRequired: z.ZodString;
termsId: z.ZodNullable<z.ZodString>;
taxableFlag: z.ZodString;
termsDesc: z.ZodNullable<z.ZodString>;
userDefined: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}>;
export declare const CustomerListParamsSchema: 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 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
class5Id: z.ZodOptional<z.ZodString>;
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
orderBy: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined;
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
class5Id?: string | undefined;
}, {
edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
class5Id?: string | undefined;
}>;
export declare const CustomerLookupParamsSchema: 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 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
q: z.ZodString;
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
q: string;
edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined;
limit?: number | undefined;
offset?: number | undefined;
}, {
q: string;
edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
limit?: number | undefined;
offset?: number | undefined;
}>;
export declare const CustomerLookupSchema: z.ZodObject<{
customerId: z.ZodNumber;
customerName: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
customerId: number;
customerName: string | null;
}, {
customerId: number;
customerName: string | null;
}>;
export declare const CustomerContactSchema: z.ZodObject<{
id: z.ZodString;
emailAddress: z.ZodNullable<z.ZodString>;
firstName: z.ZodString;
lastName: z.ZodString;
addressId: z.ZodNumber;
addressClass5Id: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}, {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}>;
export declare const PaginationOptionsSchema: z.ZodObject<{
limit: z.ZodDefault<z.ZodNumber>;
offset: z.ZodDefault<z.ZodNumber>;
filterList: z.ZodObject<{
delete_flag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
customer_type_cd: z.ZodOptional<z.ZodNumber>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
delete_flag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
customer_type_cd: z.ZodOptional<z.ZodNumber>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
delete_flag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
customer_type_cd: z.ZodOptional<z.ZodNumber>;
}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
limit: number;
offset: number;
filterList: {
delete_flag?: string[] | undefined;
customer_type_cd?: number | undefined;
} & {
[k: string]: unknown;
};
}, {
filterList: {
delete_flag?: string[] | undefined;
customer_type_cd?: number | undefined;
} & {
[k: string]: unknown;
};
limit?: number | undefined;
offset?: number | undefined;
}>;
export declare const WebAllowanceSchema: z.ZodObject<{
webAllowance: z.ZodNumber;
orderStartDate: z.ZodNullable<z.ZodString>;
id: z.ZodString;
customerId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
}, {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
}>;
export declare const SalesrepCustomerSchema: z.ZodObject<{
customerId: z.ZodNumber;
companyId: z.ZodString;
customerName: z.ZodNullable<z.ZodString>;
class1Id: z.ZodNullable<z.ZodString>;
class2Id: z.ZodNullable<z.ZodString>;
class3Id: z.ZodNullable<z.ZodString>;
class4Id: z.ZodNullable<z.ZodString>;
class5Id: z.ZodNullable<z.ZodString>;
webEnabledFlag: z.ZodString;
deleteFlag: z.ZodString;
salesRepId: z.ZodNullable<z.ZodString>;
poNoRequired: z.ZodString;
termsId: z.ZodNullable<z.ZodString>;
taxableFlag: z.ZodString;
termsDesc: z.ZodNullable<z.ZodString>;
userDefined: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}>;
export declare const DataRefreshResponseSchema: z.ZodObject<{
message: z.ZodString;
timestamp: z.ZodString;
jobId: z.ZodString;
}, "strip", z.ZodTypeAny, {
message: string;
timestamp: string;
jobId: string;
}, {
message: string;
timestamp: string;
jobId: string;
}>;
export declare const CustomerListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
customerId: z.ZodNumber;
companyId: z.ZodString;
customerName: z.ZodNullable<z.ZodString>;
class1Id: z.ZodNullable<z.ZodString>;
class2Id: z.ZodNullable<z.ZodString>;
class3Id: z.ZodNullable<z.ZodString>;
class4Id: z.ZodNullable<z.ZodString>;
class5Id: z.ZodNullable<z.ZodString>;
webEnabledFlag: z.ZodString;
deleteFlag: z.ZodString;
salesRepId: z.ZodNullable<z.ZodString>;
poNoRequired: z.ZodString;
termsId: z.ZodNullable<z.ZodString>;
taxableFlag: z.ZodString;
termsDesc: z.ZodNullable<z.ZodString>;
userDefined: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}>, "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: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CustomerResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
customerId: z.ZodNumber;
companyId: z.ZodString;
customerName: z.ZodNullable<z.ZodString>;
class1Id: z.ZodNullable<z.ZodString>;
class2Id: z.ZodNullable<z.ZodString>;
class3Id: z.ZodNullable<z.ZodString>;
class4Id: z.ZodNullable<z.ZodString>;
class5Id: z.ZodNullable<z.ZodString>;
webEnabledFlag: z.ZodString;
deleteFlag: z.ZodString;
salesRepId: z.ZodNullable<z.ZodString>;
poNoRequired: z.ZodString;
termsId: z.ZodNullable<z.ZodString>;
taxableFlag: z.ZodString;
termsDesc: z.ZodNullable<z.ZodString>;
userDefined: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}>;
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;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CustomerLookupResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
customerId: z.ZodNumber;
customerName: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
customerId: number;
customerName: string | null;
}, {
customerId: number;
customerName: string | null;
}>, "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: {
customerId: number;
customerName: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
customerName: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
customerName: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
customerName: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CustomerContactsResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
id: z.ZodString;
emailAddress: z.ZodNullable<z.ZodString>;
firstName: z.ZodString;
lastName: z.ZodString;
addressId: z.ZodNumber;
addressClass5Id: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}, {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}>, "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: {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
emailAddress: string | null;
firstName: string;
lastName: string;
addressId: number;
addressClass5Id: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const SalesrepCustomersResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
customerId: z.ZodNumber;
companyId: z.ZodString;
customerName: z.ZodNullable<z.ZodString>;
class1Id: z.ZodNullable<z.ZodString>;
class2Id: z.ZodNullable<z.ZodString>;
class3Id: z.ZodNullable<z.ZodString>;
class4Id: z.ZodNullable<z.ZodString>;
class5Id: z.ZodNullable<z.ZodString>;
webEnabledFlag: z.ZodString;
deleteFlag: z.ZodString;
salesRepId: z.ZodNullable<z.ZodString>;
poNoRequired: z.ZodString;
termsId: z.ZodNullable<z.ZodString>;
taxableFlag: z.ZodString;
termsDesc: z.ZodNullable<z.ZodString>;
userDefined: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
}, "strip", z.ZodTypeAny, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}, {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}>, "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: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
customerId: number;
deleteFlag: string;
userDefined: {} & {
[k: string]: unknown;
};
companyId: string;
customerName: string | null;
class1Id: string | null;
class2Id: string | null;
class3Id: string | null;
class4Id: string | null;
class5Id: string | null;
webEnabledFlag: string;
salesRepId: string | null;
poNoRequired: string;
termsId: string | null;
taxableFlag: string;
termsDesc: string | null;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const WebAllowanceResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
webAllowance: z.ZodNumber;
orderStartDate: z.ZodNullable<z.ZodString>;
id: z.ZodString;
customerId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
}, {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
}>;
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: {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
id: string;
customerId: number;
webAllowance: number;
orderStartDate: string | null;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const DataRefreshResponseSchemaResponse: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
message: z.ZodString;
timestamp: z.ZodString;
jobId: z.ZodString;
}, "strip", z.ZodTypeAny, {
message: string;
timestamp: string;
jobId: string;
}, {
message: string;
timestamp: string;
jobId: string;
}>;
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: {
message: string;
timestamp: string;
jobId: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
message: string;
timestamp: string;
jobId: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
message: string;
timestamp: string;
jobId: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
message: string;
timestamp: string;
jobId: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type Customer = z.infer<typeof CustomerSchema>;
export type CustomerListParams = z.infer<typeof CustomerListParamsSchema>;
export type CustomerLookupParams = z.infer<typeof CustomerLookupParamsSchema>;
export type CustomerLookup = z.infer<typeof CustomerLookupSchema>;
export type CustomerContact = z.infer<typeof CustomerContactSchema>;
export type PaginationOptions = z.infer<typeof PaginationOptionsSchema>;
export type SalesrepCustomer = z.infer<typeof SalesrepCustomerSchema>;
export type WebAllowance = z.infer<typeof WebAllowanceSchema>;
export type DataRefreshResponse = z.infer<typeof DataRefreshResponseSchema>;
export type CustomerListResponse = z.infer<typeof CustomerListResponseSchema>;
export type CustomerResponse = z.infer<typeof CustomerResponseSchema>;
export type CustomerLookupResponse = z.infer<typeof CustomerLookupResponseSchema>;
export type CustomerContactsResponse = z.infer<typeof CustomerContactsResponseSchema>;
export type SalesrepCustomersResponse = z.infer<typeof SalesrepCustomersResponseSchema>;
export type WebAllowanceResponse = z.infer<typeof WebAllowanceResponseSchema>;
export type DataRefreshResponseResponse = z.infer<typeof DataRefreshResponseSchemaResponse>;
//# sourceMappingURL=customers.d.ts.map