import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { PagePromise, SinglePage } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class PayGroups extends APIResource { /** * Read information from a single pay group */ retrieve(payGroupID: string, query?: PayGroupRetrieveParams | null | undefined, options?: RequestOptions): APIPromise; /** * Read company pay groups and frequencies */ list(query?: PayGroupListParams | null | undefined, options?: RequestOptions): PagePromise; } export type PayGroupListResponsesSinglePage = SinglePage; export interface PayGroupRetrieveResponse { /** * Finch id (uuidv4) for the pay group */ id: string; individual_ids: Array; /** * Name of the pay group */ name: string; /** * List of pay frequencies associated with this pay group */ pay_frequencies: Array<'annually' | 'bi_weekly' | 'daily' | 'monthly' | 'other' | 'quarterly' | 'semi_annually' | 'semi_monthly' | 'weekly'>; } export interface PayGroupListResponse { /** * Finch id (uuidv4) for the pay group */ id: string; /** * Name of the pay group */ name: string; /** * List of pay frequencies associated with this pay group */ pay_frequencies: Array<'annually' | 'bi_weekly' | 'daily' | 'monthly' | 'other' | 'quarterly' | 'semi_annually' | 'semi_monthly' | 'weekly'>; } export interface PayGroupRetrieveParams { /** * The entity IDs to specify which entities' data to access. */ entity_ids?: Array; } export interface PayGroupListParams { /** * The entity IDs to specify which entities' data to access. */ entity_ids?: Array; individual_id?: string; pay_frequencies?: Array; } export declare namespace PayGroups { export { type PayGroupRetrieveResponse as PayGroupRetrieveResponse, type PayGroupListResponse as PayGroupListResponse, type PayGroupListResponsesSinglePage as PayGroupListResponsesSinglePage, type PayGroupRetrieveParams as PayGroupRetrieveParams, type PayGroupListParams as PayGroupListParams, }; } //# sourceMappingURL=pay-groups.d.ts.map