import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The representation of an address in Gusto. */ export type Location = { /** * The UUID of the location object. */ uuid: string; /** * The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */ version?: string | undefined; /** * The UUID for the company to which the location belongs. Only included if the location belongs to a company. */ companyUuid?: string | undefined; /** * The phone number for the location. Required for company locations. Optional for employee locations. */ phoneNumber?: string | undefined; street1?: string | undefined; street2?: string | null | undefined; city?: string | undefined; state?: string | undefined; zip?: string | undefined; country: string; /** * Specifies if the location is the company's mailing address. Only included if the location belongs to a company. */ mailingAddress?: boolean | undefined; /** * Specifies if the location is the company's filing address. Only included if the location belongs to a company. */ filingAddress?: boolean | undefined; /** * Datetime for when location is created */ createdAt?: string | undefined; /** * Datetime for when location is updated */ updatedAt?: string | undefined; /** * The status of the location. Inactive locations have been deleted, but may still have historical data associated with them. */ active?: boolean | undefined; /** * The status of the location. Inactive locations have been deleted, but may still have historical data associated with them. */ inactive?: boolean | undefined; }; /** @internal */ export declare const Location$inboundSchema: z.ZodType; export declare function locationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=location.d.ts.map