import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { ContractorPaymentGroupWithBlockers } from "../components/contractorpaymentgroupwithblockers.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 GetV1CompaniesCompanyIdContractorPaymentGroupsHeaderXGustoAPIVersion: { 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 GetV1CompaniesCompanyIdContractorPaymentGroupsHeaderXGustoAPIVersion = ClosedEnum; export type GetV1CompaniesCompanyIdContractorPaymentGroupsRequest = { /** * The UUID of the company */ companyId: string; /** * The time period for which to retrieve contractor payment groups. Defaults to 6 months ago. */ startDate?: string | undefined; /** * The time period for which to retrieve contractor payment groups. Defaults to today's date. */ endDate?: 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; /** * 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?: GetV1CompaniesCompanyIdContractorPaymentGroupsHeaderXGustoAPIVersion | undefined; }; export type GetV1CompaniesCompanyIdContractorPaymentGroupsResponse = { httpMeta: HTTPMetadata; /** * List of Contractor Payment Groups */ contractorPaymentGroupWithBlockers?: Array | undefined; }; /** @internal */ export declare const GetV1CompaniesCompanyIdContractorPaymentGroupsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetV1CompaniesCompanyIdContractorPaymentGroupsRequest$Outbound = { company_id: string; start_date?: string | undefined; end_date?: string | undefined; page?: number | undefined; per?: number | undefined; "X-Gusto-API-Version": string; }; /** @internal */ export declare const GetV1CompaniesCompanyIdContractorPaymentGroupsRequest$outboundSchema: z.ZodType; export declare function getV1CompaniesCompanyIdContractorPaymentGroupsRequestToJSON(getV1CompaniesCompanyIdContractorPaymentGroupsRequest: GetV1CompaniesCompanyIdContractorPaymentGroupsRequest): string; /** @internal */ export declare const GetV1CompaniesCompanyIdContractorPaymentGroupsResponse$inboundSchema: z.ZodType; export declare function getV1CompaniesCompanyIdContractorPaymentGroupsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getv1companiescompanyidcontractorpaymentgroups.d.ts.map