import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; 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 { GetV1CompaniesAttachmentsHeaderXGustoAPIVersion, GetV1CompaniesAttachmentsRequest } from "../models/operations/getv1companiesattachments.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildCompanyAttachmentsGetListQuery, CompanyAttachmentsGetListQueryData, prefetchCompanyAttachmentsGetList, queryKeyCompanyAttachmentsGetList } from "./companyAttachmentsGetList.core.js"; export { buildCompanyAttachmentsGetListQuery, type CompanyAttachmentsGetListQueryData, prefetchCompanyAttachmentsGetList, queryKeyCompanyAttachmentsGetList, }; export type CompanyAttachmentsGetListQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get List of Company Attachments * * @remarks * Retrieve a list of all the attachments uploaded by the company. * * ### Related guides * - [Manage company attachments](doc:manage-company-attachments) * * scope: `company_attachments:read` */ export declare function useCompanyAttachmentsGetList(request: GetV1CompaniesAttachmentsRequest, options?: QueryHookOptions): UseQueryResult; /** * Get List of Company Attachments * * @remarks * Retrieve a list of all the attachments uploaded by the company. * * ### Related guides * - [Manage company attachments](doc:manage-company-attachments) * * scope: `company_attachments:read` */ export declare function useCompanyAttachmentsGetListSuspense(request: GetV1CompaniesAttachmentsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setCompanyAttachmentsGetListData(client: QueryClient, queryKeyBase: [ companyId: string, parameters: { xGustoAPIVersion?: GetV1CompaniesAttachmentsHeaderXGustoAPIVersion | undefined; } ], data: CompanyAttachmentsGetListQueryData): CompanyAttachmentsGetListQueryData | undefined; export declare function invalidateCompanyAttachmentsGetList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ companyId: string, parameters: { xGustoAPIVersion?: GetV1CompaniesAttachmentsHeaderXGustoAPIVersion | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllCompanyAttachmentsGetList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=companyAttachmentsGetList.d.ts.map