import { UseQueryOptions } from '@tanstack/react-query'; import type { ListGitXWebhookEventResponseResponse } from '../responses/ListGitXWebhookEventResponseResponse'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListGitxWebhookEventsRefAccountPathParams { } export interface ListGitxWebhookEventsRefAccountQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; /** * @format int64 */ event_start_time?: number; /** * @format int64 */ event_end_time?: number; repo_name?: string; file_path?: string; event_identifier?: string; event_status?: Array<'FAILED' | 'PROCESSING' | 'QUEUED' | 'SKIPPED' | 'SUCCESSFUL' | 'UNKNOWN' | 'WARNING'>; connector_ref?: string; include_parent_scope?: boolean; commit_id?: string; branch?: string; } export interface ListGitxWebhookEventsRefAccountHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhookEventsRefAccountOKResponse = ListGitXWebhookEventResponseResponse; export type ListGitxWebhookEventsRefAccountErrorResponse = unknown; export interface ListGitxWebhookEventsRefOrgPathParams { org: string; } export interface ListGitxWebhookEventsRefOrgQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; /** * @format int64 */ event_start_time?: number; /** * @format int64 */ event_end_time?: number; repo_name?: string; file_path?: string; event_identifier?: string; event_status?: Array<'FAILED' | 'PROCESSING' | 'QUEUED' | 'SKIPPED' | 'SUCCESSFUL' | 'UNKNOWN'>; connector_ref?: string; include_parent_scope?: boolean; commit_id?: string; branch?: string; } export interface ListGitxWebhookEventsRefOrgHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhookEventsRefOrgOKResponse = ListGitXWebhookEventResponseResponse; export type ListGitxWebhookEventsRefOrgErrorResponse = unknown; export interface ListGitxWebhookEventsRefProjectPathParams { org: string; project: string; } export interface ListGitxWebhookEventsRefProjectQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; webhook_identifier?: string; /** * @format int64 */ event_start_time?: number; /** * @format int64 */ event_end_time?: number; repo_name?: string; file_path?: string; event_identifier?: string; event_status?: Array<'FAILED' | 'PROCESSING' | 'QUEUED' | 'SKIPPED' | 'SUCCESSFUL' | 'UNKNOWN'>; connector_ref?: string; include_parent_scope?: boolean; commit_id?: string; branch?: string; } export interface ListGitxWebhookEventsRefProjectHeaderParams { 'Harness-Account'?: string; } export type ListGitxWebhookEventsRefProjectOKResponse = ListGitXWebhookEventResponseResponse; export type ListGitxWebhookEventsRefProjectErrorResponse = unknown; export type ListGitxWebhookEventsRefOKResponse = T extends ListGitxWebhookEventsRefProjectPathParams ? ResponseWithPagination : T extends ListGitxWebhookEventsRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type ListGitxWebhookEventsRefErrorResponse = T extends ListGitxWebhookEventsRefProjectPathParams ? ListGitxWebhookEventsRefProjectErrorResponse : T extends ListGitxWebhookEventsRefOrgPathParams ? ListGitxWebhookEventsRefOrgErrorResponse : ListGitxWebhookEventsRefAccountErrorResponse; export interface ListGitxWebhookEventsRefProps extends Omit, 'url'> { pathParams: ListGitxWebhookEventsRefAccountPathParams | ListGitxWebhookEventsRefOrgPathParams | ListGitxWebhookEventsRefProjectPathParams; } export declare function listGitxWebhookEventsRef(props: T): Promise>>; export declare function useListGitxWebhookEventsRefQuery(props: T, options?: Omit>, ListGitxWebhookEventsRefErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, ListGitxWebhookEventsRefErrorResponse>>;