@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
23 lines • 1.2 kB
JavaScript
import { z } from 'zod';
import { BaseResponseSchema } from '../../../core/schemas';
/** US address lookup params - passthrough for flexible input */
export const UsLookupParamsSchema = z.object({}).passthrough();
/** Address component - passthrough for API flexibility */
export const AddressComponentSchema = z.object({}).passthrough();
/** Address metadata - passthrough for API flexibility */
export const AddressMetadataSchema = z.object({}).passthrough();
/** Address analysis - passthrough for API flexibility */
export const AddressAnalysisSchema = z.object({}).passthrough();
/** Standardized address - passthrough for API flexibility */
export const StandardizedAddressSchema = z.object({}).passthrough();
/** US lookup result - passthrough for API flexibility */
export const UsLookupResultSchema = z.object({}).passthrough();
/** US lookup data - candidates array with passthrough for API flexibility */
export const UsLookupDataSchema = z
.object({
candidates: z.array(z.object({}).passthrough()).optional(),
})
.passthrough();
/** US address lookup response */
export const UsLookupResponseSchema = BaseResponseSchema(UsLookupDataSchema);
//# sourceMappingURL=usLookup.js.map