import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest, PatchV1ContractorPaymentGroupsIdPartnerDisbursementsResponse } from "../models/operations/patchv1contractorpaymentgroupsidpartnerdisbursements.js"; import { MutationHookOptions } from "./_types.js"; export type ContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutationVariables = { request: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest; options?: RequestOptions; }; export type ContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutationData = PatchV1ContractorPaymentGroupsIdPartnerDisbursementsResponse; export type ContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutationError = NotFoundErrorObject | UnprocessableEntityError | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Update partner disbursements for a contractor payment group * * @remarks * Update partner disbursements for a specific contractor payment group. * * scope: `partner_disbursements:write` */ export declare function useContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursements(): MutationKey; export declare function buildContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutation(client$: GustoEmbeddedCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: ContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutationVariables) => Promise; }; //# sourceMappingURL=contractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursements.d.ts.map