import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Company } from "../components/company.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export declare const GetV1CompaniesHeaderXGustoAPIVersion: { readonly TwoThousandAndTwentyFiveMinus06Minus15: "2025-06-15"; }; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export type GetV1CompaniesHeaderXGustoAPIVersion = ClosedEnum; export type GetV1CompaniesRequest = { /** * The UUID of the company */ companyId: string; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ xGustoAPIVersion?: GetV1CompaniesHeaderXGustoAPIVersion | undefined; }; export type GetV1CompaniesResponse = { httpMeta: HTTPMetadata; /** * successful */ company?: Company | undefined; }; /** @internal */ export declare const GetV1CompaniesHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetV1CompaniesRequest$Outbound = { company_id: string; "X-Gusto-API-Version": string; }; /** @internal */ export declare const GetV1CompaniesRequest$outboundSchema: z.ZodType; export declare function getV1CompaniesRequestToJSON(getV1CompaniesRequest: GetV1CompaniesRequest): string; /** @internal */ export declare const GetV1CompaniesResponse$inboundSchema: z.ZodType; export declare function getV1CompaniesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getv1companies.d.ts.map