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 { PostalAddressCreate, PostalAddressCreate$Outbound } from "./postaladdresscreate.js"; /** * Classifies in what capacity (or if) the underlying natural person holds a job */ export declare enum EmploymentStatus { 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 EmploymentStatusOpen = OpenEnum; /** * Object containing information pertaining to a investor's current employer including the name, address, and duration of employment. */ export type EmploymentCreate = { /** * 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?: PostalAddressCreate | undefined; /** * Classifies in what capacity (or if) the underlying natural person holds a job */ employmentStatus: EmploymentStatusOpen; /** * **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 EmploymentStatus$inboundSchema: z.ZodType; /** @internal */ export declare const EmploymentStatus$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 EmploymentStatus$ { /** @deprecated use `EmploymentStatus$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmploymentStatus$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const EmploymentCreate$inboundSchema: z.ZodType; /** @internal */ export type EmploymentCreate$Outbound = { employer?: string | undefined; employer_address?: PostalAddressCreate$Outbound | undefined; employment_status: string; occupation?: string | undefined; start_year?: number | undefined; }; /** @internal */ export declare const EmploymentCreate$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 EmploymentCreate$ { /** @deprecated use `EmploymentCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmploymentCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EmploymentCreate$Outbound` instead. */ type Outbound = EmploymentCreate$Outbound; } export declare function employmentCreateToJSON(employmentCreate: EmploymentCreate): string; export declare function employmentCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=employmentcreate.d.ts.map