import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { AchTransaction } from "../components/achtransaction.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 GetAchTransactionsHeaderXGustoAPIVersion: { 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 GetAchTransactionsHeaderXGustoAPIVersion = ClosedEnum; export type GetAchTransactionsRequest = { /** * 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?: GetAchTransactionsHeaderXGustoAPIVersion | undefined; /** * The UUID of the company */ companyUuid: string; /** * The UUID of the contractor payment */ contractorPaymentUuid?: string | undefined; /** * The UUID of the payroll */ payrollUuid?: string | undefined; /** * Used to filter the ACH transactions to only include those with a specific transaction type, such as "Credit employee pay". */ transactionType?: string | undefined; /** * Used to filter the ACH transactions to only include those with a specific payment direction, either "credit" or "debit". */ paymentDirection?: 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 GetAchTransactionsResponse = { httpMeta: HTTPMetadata; /** * Example response */ achTransactionList?: Array | undefined; }; /** @internal */ export declare const GetAchTransactionsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetAchTransactionsRequest$Outbound = { "X-Gusto-API-Version": string; company_uuid: string; contractor_payment_uuid?: string | undefined; payroll_uuid?: string | undefined; transaction_type?: string | undefined; payment_direction?: string | undefined; page?: number | undefined; per?: number | undefined; }; /** @internal */ export declare const GetAchTransactionsRequest$outboundSchema: z.ZodType; export declare function getAchTransactionsRequestToJSON(getAchTransactionsRequest: GetAchTransactionsRequest): string; /** @internal */ export declare const GetAchTransactionsResponse$inboundSchema: z.ZodType; export declare function getAchTransactionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getachtransactions.d.ts.map