@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
859 lines • 29.2 kB
TypeScript
import { z } from 'zod';
export declare const ContactSchema: z.ZodObject<{
contactId: z.ZodNumber;
customerId: z.ZodNumber;
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
phoneNumber: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
role: z.ZodOptional<z.ZodString>;
isPrimary: z.ZodOptional<z.ZodBoolean>;
webEnabled: z.ZodOptional<z.ZodBoolean>;
dateCreated: z.ZodOptional<z.ZodString>;
dateLastModified: z.ZodOptional<z.ZodString>;
loginCredentials: z.ZodOptional<z.ZodObject<{
username: z.ZodOptional<z.ZodString>;
lastLogin: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
username?: string | undefined;
lastLogin?: string | undefined;
}, {
username?: string | undefined;
lastLogin?: string | undefined;
}>>;
permissions: z.ZodOptional<z.ZodObject<{
canViewPricing: z.ZodOptional<z.ZodBoolean>;
canPlaceOrders: z.ZodOptional<z.ZodBoolean>;
canViewInvoices: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}>;
export declare const ContactCreateParamsSchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
phoneNumber: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
role: z.ZodOptional<z.ZodString>;
isPrimary: z.ZodOptional<z.ZodBoolean>;
webEnabled: z.ZodOptional<z.ZodBoolean>;
permissions: z.ZodOptional<z.ZodObject<{
canViewPricing: z.ZodOptional<z.ZodBoolean>;
canPlaceOrders: z.ZodOptional<z.ZodBoolean>;
canViewInvoices: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
email: string;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
}, {
email: string;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
}>;
export declare const ContactListParamsSchema: 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 ContactCustomersParamsSchema: 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>;
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;
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;
class5Id?: string | undefined;
}>;
export declare const ContactUserDefinedFieldSchema: z.ZodObject<{
fieldName: z.ZodString;
fieldValue: z.ZodString;
fieldType: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldName: string;
fieldValue: string;
fieldType: string;
}, {
fieldName: string;
fieldValue: string;
fieldType: string;
}>;
export declare const ContactUserDefinedFieldsSchema: z.ZodObject<{
contactId: z.ZodNumber;
customFields: z.ZodArray<z.ZodObject<{
fieldName: z.ZodString;
fieldValue: z.ZodString;
fieldType: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldName: string;
fieldValue: string;
fieldType: string;
}, {
fieldName: string;
fieldValue: string;
fieldType: string;
}>, "many">;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
}, {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
}>;
export declare const ContactListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
contactId: z.ZodNumber;
customerId: z.ZodNumber;
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
phoneNumber: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
role: z.ZodOptional<z.ZodString>;
isPrimary: z.ZodOptional<z.ZodBoolean>;
webEnabled: z.ZodOptional<z.ZodBoolean>;
dateCreated: z.ZodOptional<z.ZodString>;
dateLastModified: z.ZodOptional<z.ZodString>;
loginCredentials: z.ZodOptional<z.ZodObject<{
username: z.ZodOptional<z.ZodString>;
lastLogin: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
username?: string | undefined;
lastLogin?: string | undefined;
}, {
username?: string | undefined;
lastLogin?: string | undefined;
}>>;
permissions: z.ZodOptional<z.ZodObject<{
canViewPricing: z.ZodOptional<z.ZodBoolean>;
canPlaceOrders: z.ZodOptional<z.ZodBoolean>;
canViewInvoices: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}>, "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: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ContactResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
contactId: z.ZodNumber;
customerId: z.ZodNumber;
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
phoneNumber: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
role: z.ZodOptional<z.ZodString>;
isPrimary: z.ZodOptional<z.ZodBoolean>;
webEnabled: z.ZodOptional<z.ZodBoolean>;
dateCreated: z.ZodOptional<z.ZodString>;
dateLastModified: z.ZodOptional<z.ZodString>;
loginCredentials: z.ZodOptional<z.ZodObject<{
username: z.ZodOptional<z.ZodString>;
lastLogin: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
username?: string | undefined;
lastLogin?: string | undefined;
}, {
username?: string | undefined;
lastLogin?: string | undefined;
}>>;
permissions: z.ZodOptional<z.ZodObject<{
canViewPricing: z.ZodOptional<z.ZodBoolean>;
canPlaceOrders: z.ZodOptional<z.ZodBoolean>;
canViewInvoices: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}, {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}, {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
}>;
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: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
email: string;
customerId: number;
contactId: number;
firstName: string;
lastName: string;
title?: string | undefined;
role?: string | undefined;
dateCreated?: string | undefined;
dateLastModified?: string | undefined;
permissions?: {
canViewPricing?: boolean | undefined;
canPlaceOrders?: boolean | undefined;
canViewInvoices?: boolean | undefined;
} | undefined;
isPrimary?: boolean | undefined;
phoneNumber?: string | undefined;
webEnabled?: boolean | undefined;
loginCredentials?: {
username?: string | undefined;
lastLogin?: string | undefined;
} | undefined;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ContactCustomersResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
customerId: z.ZodNumber;
customerName: z.ZodString;
class5Id: z.ZodOptional<z.ZodString>;
salesRepId: z.ZodOptional<z.ZodString>;
territoryId: z.ZodOptional<z.ZodString>;
lastOrderDate: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
customerId: number;
customerName: string;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}, {
customerId: number;
customerName: string;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}>, "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;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}[];
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;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}[];
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;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}[];
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;
class5Id?: string | undefined;
salesRepId?: string | undefined;
territoryId?: string | undefined;
lastOrderDate?: string | undefined;
}[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ContactUserDefinedFieldsResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
contactId: z.ZodNumber;
customFields: z.ZodArray<z.ZodObject<{
fieldName: z.ZodString;
fieldValue: z.ZodString;
fieldType: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldName: string;
fieldValue: string;
fieldType: string;
}, {
fieldName: string;
fieldValue: string;
fieldType: string;
}>, "many">;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
}, {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: 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: {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
contactId: number;
customFields: {
fieldName: string;
fieldValue: string;
fieldType: string;
}[];
lastUpdated: string;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type Contact = z.infer<typeof ContactSchema>;
export type ContactCreateParams = z.infer<typeof ContactCreateParamsSchema>;
export type ContactListParams = z.infer<typeof ContactListParamsSchema>;
export type ContactCustomersParams = z.infer<typeof ContactCustomersParamsSchema>;
export type ContactUserDefinedFields = z.infer<typeof ContactUserDefinedFieldsSchema>;
export type ContactListResponse = z.infer<typeof ContactListResponseSchema>;
export type ContactResponse = z.infer<typeof ContactResponseSchema>;
export type ContactCustomersResponse = z.infer<typeof ContactCustomersResponseSchema>;
export type ContactUserDefinedFieldsResponse = z.infer<typeof ContactUserDefinedFieldsResponseSchema>;
//# sourceMappingURL=contacts.d.ts.map