import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Contractor } from "../components/contractor.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 GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion: { 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 GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion = ClosedEnum; export declare const GetV1CompaniesCompanyUuidContractorsQueryParamInclude: { readonly CompanyName: "company_name"; readonly PortalInvitations: "portal_invitations"; }; export type GetV1CompaniesCompanyUuidContractorsQueryParamInclude = ClosedEnum; export type GetV1CompaniesCompanyUuidContractorsRequest = { /** * 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?: GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion | undefined; /** * The UUID of the company */ companyUuid: string; /** * A string to search for in the object's names */ searchTerm?: string | undefined; /** * Sort by one or more fields. Options: created_at, type, onboarding_status, name. Append `:asc` or `:desc` to specify direction (e.g., `created_at:asc`). Defaults to ascending. */ sortBy?: string | undefined; /** * Filters contractors by those who have completed onboarding */ onboarded?: boolean | undefined; /** * Filters contractors who are ready to work (onboarded AND active today) */ onboardedActive?: boolean | undefined; /** * Filters contractors by those who have been or are scheduled to be dismissed */ terminated?: boolean | undefined; /** * Filters contractors by those who have been dismissed and whose dismissal is in effect today (excludes active and scheduled to be dismissed) */ terminatedToday?: boolean | undefined; /** * Include the requested attribute(s) in each contractor response. Multiple options are comma separated. */ include?: Array | 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 GetV1CompaniesCompanyUuidContractorsResponse = { httpMeta: HTTPMetadata; /** * Successful */ contractors?: Array | undefined; }; /** @internal */ export declare const GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetV1CompaniesCompanyUuidContractorsQueryParamInclude$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetV1CompaniesCompanyUuidContractorsRequest$Outbound = { "X-Gusto-API-Version": string; company_uuid: string; search_term?: string | undefined; sort_by?: string | undefined; onboarded?: boolean | undefined; onboarded_active?: boolean | undefined; terminated?: boolean | undefined; terminated_today?: boolean | undefined; include?: Array | undefined; page?: number | undefined; per?: number | undefined; }; /** @internal */ export declare const GetV1CompaniesCompanyUuidContractorsRequest$outboundSchema: z.ZodType; export declare function getV1CompaniesCompanyUuidContractorsRequestToJSON(getV1CompaniesCompanyUuidContractorsRequest: GetV1CompaniesCompanyUuidContractorsRequest): string; /** @internal */ export declare const GetV1CompaniesCompanyUuidContractorsResponse$inboundSchema: z.ZodType; export declare function getV1CompaniesCompanyUuidContractorsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getv1companiescompanyuuidcontractors.d.ts.map