import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PostalAddressUpdate, PostalAddressUpdate$Outbound } from "./postaladdressupdate.js"; /** * Classifies in what capacity (or if) the underlying natural person holds a job */ export declare enum EmploymentUpdateEmploymentStatus { StatusUnspecified = "STATUS_UNSPECIFIED", Employed = "EMPLOYED", SelfEmployed = "SELF_EMPLOYED", Unemployed = "UNEMPLOYED", Retired = "RETIRED", Student = "STUDENT" } /** * Classifies in what capacity (or if) the underlying natural person holds a job */ export type EmploymentUpdateEmploymentStatusOpen = OpenEnum; /** * Object containing information pertaining to a investor's current employer including the name, address, and duration of employment. */ export type EmploymentUpdate = { /** * The business name of an investor's employer. */ employer?: string | undefined; /** * Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). * * @remarks * * In typical usage an address would be created via user input or from importing existing data, depending on the type of process. * * Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. * * For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 */ employerAddress?: PostalAddressUpdate | undefined; /** * Classifies in what capacity (or if) the underlying natural person holds a job */ employmentStatus?: EmploymentUpdateEmploymentStatusOpen | undefined; /** * **Field Dependencies:** * * @remarks * * Required if `employment_status` is one of: * - `EMPLOYED` * - `SELF_EMPLOYED` */ occupation?: string | undefined; /** * **Field Dependencies:** * * @remarks * * Must be empty if `employment_status` is ___not___ one of: * - `EMPLOYED` * - `SELF_EMPLOYED` */ startYear?: number | undefined; }; /** @internal */ export declare const EmploymentUpdateEmploymentStatus$inboundSchema: z.ZodType; /** @internal */ export declare const EmploymentUpdateEmploymentStatus$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace EmploymentUpdateEmploymentStatus$ { /** @deprecated use `EmploymentUpdateEmploymentStatus$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmploymentUpdateEmploymentStatus$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const EmploymentUpdate$inboundSchema: z.ZodType; /** @internal */ export type EmploymentUpdate$Outbound = { employer?: string | undefined; employer_address?: PostalAddressUpdate$Outbound | undefined; employment_status?: string | undefined; occupation?: string | undefined; start_year?: number | undefined; }; /** @internal */ export declare const EmploymentUpdate$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace EmploymentUpdate$ { /** @deprecated use `EmploymentUpdate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmploymentUpdate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EmploymentUpdate$Outbound` instead. */ type Outbound = EmploymentUpdate$Outbound; } export declare function employmentUpdateToJSON(employmentUpdate: EmploymentUpdate): string; export declare function employmentUpdateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=employmentupdate.d.ts.map