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"; /** * The last valuation of the Pre IPO Company in USD. */ export type LastValuation = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The total funding amount the Pre IPO Company has raised in USD. */ export type TotalFunding = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The total revenue generated by the Pre IPO Company in the last twelve months in USD. */ export type TwelveMonthTrailingRevenue = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The type of the Pre IPO Company. */ export declare enum PreIpoCompanyType { TypeUnspecified = "TYPE_UNSPECIFIED", SoleProprietor = "SOLE_PROPRIETOR", SingleMemberLlc = "SINGLE_MEMBER_LLC", Llc = "LLC", Partnership = "PARTNERSHIP", CCorporation = "C_CORPORATION", SCorporation = "S_CORPORATION", Trust = "TRUST", IraOrTaxExempt = "IRA_OR_TAX_EXEMPT", NonUsCorporation = "NON_US_CORPORATION", PrivateLimitedCompany = "PRIVATE_LIMITED_COMPANY", PublicLimitedCompany = "PUBLIC_LIMITED_COMPANY", TaxExemptEntity = "TAX_EXEMPT_ENTITY", ForeignTrust = "FOREIGN_TRUST", Other = "OTHER" } /** * The type of the Pre IPO Company. */ export type PreIpoCompanyTypeOpen = OpenEnum; /** * A Pre IPO Company. */ export type PreIpoCompany = { /** * Whether the Pre IPO Company is currently active. Companies are updated to inactive if they experience a bankruptcy, shutdown, or similar corporate event. */ active?: boolean | undefined; /** * The categories the Pre IPO Company belongs to. */ categories?: Array | undefined; /** * The description of the Pre IPO Company. */ description?: string | undefined; /** * The executive team of the Pre IPO Company. */ executiveTeam?: Array | undefined; /** * The company's Facebook URI. */ facebookUri?: string | undefined; /** * The founder of the Pre IPO Company. */ founder?: string | undefined; /** * The last valuation of the Pre IPO Company in USD. */ lastValuation?: LastValuation | null | undefined; /** * The company's LinkedIn URI. */ linkedinUri?: string | undefined; /** * The company's logo URI. */ logoUri?: string | undefined; /** * The resource name of the Pre IPO Company. Format: preIpoCompanies/{pre_ipo_company} */ name?: string | undefined; /** * The ID of the Pre IPO Company. */ preIpoCompanyId?: string | undefined; /** * The region code where the Pre IPO Company is located. */ regionCode?: string | undefined; /** * The unique symbol assigned to the Pre IPO Company. */ symbol?: string | undefined; /** * The title of the Pre IPO Company. */ title?: string | undefined; /** * The total funding amount the Pre IPO Company has raised in USD. */ totalFunding?: TotalFunding | null | undefined; /** * The total revenue generated by the Pre IPO Company in the last twelve months in USD. */ twelveMonthTrailingRevenue?: TwelveMonthTrailingRevenue | null | undefined; /** * The type of the Pre IPO Company. */ type?: PreIpoCompanyTypeOpen | undefined; /** * The company's official website URI. */ websiteUri?: string | undefined; /** * The company's X URI. */ xUri?: string | undefined; /** * The year the Pre IPO Company was established. */ yearEstablished?: number | undefined; }; /** @internal */ export declare const LastValuation$inboundSchema: z.ZodType; /** @internal */ export type LastValuation$Outbound = { value?: string | undefined; }; /** @internal */ export declare const LastValuation$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 LastValuation$ { /** @deprecated use `LastValuation$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LastValuation$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LastValuation$Outbound` instead. */ type Outbound = LastValuation$Outbound; } export declare function lastValuationToJSON(lastValuation: LastValuation): string; export declare function lastValuationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TotalFunding$inboundSchema: z.ZodType; /** @internal */ export type TotalFunding$Outbound = { value?: string | undefined; }; /** @internal */ export declare const TotalFunding$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 TotalFunding$ { /** @deprecated use `TotalFunding$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TotalFunding$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TotalFunding$Outbound` instead. */ type Outbound = TotalFunding$Outbound; } export declare function totalFundingToJSON(totalFunding: TotalFunding): string; export declare function totalFundingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TwelveMonthTrailingRevenue$inboundSchema: z.ZodType; /** @internal */ export type TwelveMonthTrailingRevenue$Outbound = { value?: string | undefined; }; /** @internal */ export declare const TwelveMonthTrailingRevenue$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 TwelveMonthTrailingRevenue$ { /** @deprecated use `TwelveMonthTrailingRevenue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TwelveMonthTrailingRevenue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TwelveMonthTrailingRevenue$Outbound` instead. */ type Outbound = TwelveMonthTrailingRevenue$Outbound; } export declare function twelveMonthTrailingRevenueToJSON(twelveMonthTrailingRevenue: TwelveMonthTrailingRevenue): string; export declare function twelveMonthTrailingRevenueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PreIpoCompanyType$inboundSchema: z.ZodType; /** @internal */ export declare const PreIpoCompanyType$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 PreIpoCompanyType$ { /** @deprecated use `PreIpoCompanyType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PreIpoCompanyType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const PreIpoCompany$inboundSchema: z.ZodType; /** @internal */ export type PreIpoCompany$Outbound = { active?: boolean | undefined; categories?: Array | undefined; description?: string | undefined; executive_team?: Array | undefined; facebook_uri?: string | undefined; founder?: string | undefined; last_valuation?: LastValuation$Outbound | null | undefined; linkedin_uri?: string | undefined; logo_uri?: string | undefined; name?: string | undefined; pre_ipo_company_id?: string | undefined; region_code?: string | undefined; symbol?: string | undefined; title?: string | undefined; total_funding?: TotalFunding$Outbound | null | undefined; twelve_month_trailing_revenue?: TwelveMonthTrailingRevenue$Outbound | null | undefined; type?: string | undefined; website_uri?: string | undefined; x_uri?: string | undefined; year_established?: number | undefined; }; /** @internal */ export declare const PreIpoCompany$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 PreIpoCompany$ { /** @deprecated use `PreIpoCompany$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PreIpoCompany$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PreIpoCompany$Outbound` instead. */ type Outbound = PreIpoCompany$Outbound; } export declare function preIpoCompanyToJSON(preIpoCompany: PreIpoCompany): string; export declare function preIpoCompanyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=preipocompany.d.ts.map