import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Form } from "../components/form.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 GetV1CompanyFormsHeaderXGustoAPIVersion: { 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 GetV1CompanyFormsHeaderXGustoAPIVersion = ClosedEnum; export type GetV1CompanyFormsRequest = { /** * 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?: GetV1CompanyFormsHeaderXGustoAPIVersion | undefined; /** * The UUID of the company */ companyId: string; /** * Sort by one or more fields. Options: created_at, name, year, quarter, draft, document_content_type. Append `:asc` or `:desc` to specify direction (e.g., `created_at:asc`). Defaults to ascending. */ sortBy?: string | undefined; /** * The page that is requested. When unspecified, will load all objects unless endpoint forces pagination. */ page?: number | undefined; /** * Number of objects per page. For majority of endpoints will default to 25 */ per?: number | undefined; }; export type GetV1CompanyFormsResponse = { httpMeta: HTTPMetadata; /** * Success */ forms?: Array
| undefined; }; /** @internal */ export declare const GetV1CompanyFormsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetV1CompanyFormsRequest$Outbound = { "X-Gusto-API-Version": string; company_id: string; sort_by?: string | undefined; page?: number | undefined; per?: number | undefined; }; /** @internal */ export declare const GetV1CompanyFormsRequest$outboundSchema: z.ZodType; export declare function getV1CompanyFormsRequestToJSON(getV1CompanyFormsRequest: GetV1CompanyFormsRequest): string; /** @internal */ export declare const GetV1CompanyFormsResponse$inboundSchema: z.ZodType; export declare function getV1CompanyFormsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getv1companyforms.d.ts.map