@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
1,117 lines (1,113 loc) • 850 kB
TypeScript
import * as React from 'react';
import React__default, { ReactNode, FC, ReactElement, CSSProperties, Ref, HTMLAttributeAnchorTarget, ComponentType, HTMLProps, FunctionComponent, ErrorInfo } from 'react';
import { EuiBadgeProps, EuiThemeComputed, EuiThemeModifications, EuiThemeColorModeStandard, EuiContextMenuPanelDescriptor, EuiThemeColorMode, EuiSideNavItemType, EuiSelectableOption } from '@elastic/eui';
import { TextSize } from '@elastic/eui/src/components/text/text';
import { TextColor } from '@elastic/eui/src/components/text/text_color';
import { JSONSchema6 } from 'json-schema';
import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
import * as graphql_error_GraphQLError from 'graphql/error/GraphQLError';
import { GraphQLErrorExtensions, GraphQLError } from 'graphql/error/GraphQLError';
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
import { CombinedState, BaseQueryFn, FetchBaseQueryError } from '@reduxjs/toolkit/query';
import { ErrorResponse, GraphqlRequestBaseQueryArgs } from '@rtk-query/graphql-request-base-query/dist/GraphqlBaseQueryTypes';
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
import { NextRouter } from 'next/router';
import * as uniforms from 'uniforms';
import { HTMLFieldProps, FieldProps as FieldProps$1 } from 'uniforms';
import * as graphql from 'graphql';
import { EuiSideNavItemType as EuiSideNavItemType$1 } from '@elastic/eui/src/components/side_nav/side_nav_types';
import { TranslationValues } from 'next-intl';
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
import { Slice, Reducer, PayloadAction, EnhancedStore, Dispatch, UnknownAction, SerializedError } from '@reduxjs/toolkit';
import * as _emotion_react from '@emotion/react';
import moment, { Moment } from 'moment-timezone';
import * as csstype from 'csstype';
import { IconType } from '@elastic/eui/src/components/icon';
import { ComponentMatcherExtender, PydanticFormLabelProvider, PydanticFormControlledElement, PydanticFormElement, PydanticFormElementProps, RowRenderComponent } from 'pydantic-forms';
import * as next_auth_react from 'next-auth/react';
import { UseSessionOptions } from 'next-auth/react';
import { Session } from 'next-auth';
import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
export { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
import { ClientError } from 'graphql-request';
type WfoBadgeProps = EuiBadgeProps & {
textColor: TextColor | string;
children: ReactNode;
size?: TextSize;
};
declare const WfoBadge: FC<WfoBadgeProps>;
declare enum BaseQueryTypes {
fetch = "fetch",
graphql = "graphql",
custom = "custom"
}
declare enum HttpStatus {
FormNotComplete = 510,
BadGateway = 502,
BadRequest = 400,
ServiceUnavailable = 503,
Unauthorized = 401,
Forbidden = 403,
Ok = 200,
NoContent = 204,
MultipleChoices = 300
}
interface ApiResult<T> {
data?: T;
error?: ErrorResponse;
isLoading: boolean;
isFetching: boolean;
isError: boolean;
refetch?: () => void;
selectFromResult?: (result: T) => T;
endpointName?: string;
}
interface UseQueryOptions<T, U> {
selectFromResult?: (result: ApiResult<T>) => Partial<ApiResult<T>> & {
selectedItem?: U;
};
subscriptionId?: string;
}
interface UseQueryReturn<T, U> extends ApiResult<T> {
selectedItem?: U;
endpointName?: string;
}
type UseQuery<T, U> = (queryVariables?: GraphqlQueryVariables<SubscriptionListItem>, options?: UseQueryOptions<T, U>) => UseQueryReturn<T, U>;
type ExtraOptions = {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
};
type WfoGraphqlError = {
extensions: GraphQLErrorExtensions;
message: string;
};
type WfoGraphqlErrorsMeta = {
errors: WfoGraphqlError[];
};
declare const prepareHeaders: (headers: Headers) => Promise<Headers>;
declare const handlePromiseErrorWithCallback: <T>(promise: Promise<unknown>, status: HttpStatus, callbackAction: (json: T) => void) => Promise<unknown>;
declare const handleGraphqlMetaErrors: (meta: WfoGraphqlErrorsMeta, responseHasInvalidData?: boolean) => void;
declare const catchErrorResponse: (response: Response, authActive: boolean) => Promise<any>;
declare const orchestratorApi: _reduxjs_toolkit_query.Api<(args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: ExtraOptions) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql_error_GraphQLError.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql_error_GraphQLError.GraphQLError[] | undefined, {}>>, {}, "orchestratorApi", CacheTagType, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_query_react.reactHooksModuleName>;
declare const useGetCustomersQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
skip?: boolean;
refetchOnMountOrArgChange?: boolean | number;
} & {
skip?: boolean;
selectFromResult?: ((state: _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}) => R) | undefined;
}) | undefined) => [R][R extends any ? 0 : never] & {
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>>;
};
declare const useGetCustomerQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}>(arg: {
customerIds: string[];
} | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
skip?: boolean;
refetchOnMountOrArgChange?: boolean | number;
} & {
skip?: boolean;
selectFromResult?: ((state: _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>> & {
currentData?: Customer[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}) => R) | undefined;
}) | undefined) => [R][R extends any ? 0 : never] & {
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<{
customerIds: string[];
}, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, Customer[], "orchestratorApi", unknown>>;
};
declare const useGetCustomersWithSubscriptionCountQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
skip?: boolean;
refetchOnMountOrArgChange?: boolean | number;
} & {
skip?: boolean;
selectFromResult?: ((state: _reduxjs_toolkit_query.TSHelpersId<(Omit<{
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
originalArgs?: undefined | undefined;
data?: undefined | undefined;
error?: undefined | undefined;
requestId?: undefined | undefined;
endpointName?: string | undefined;
startedTimeStamp?: undefined | undefined;
fulfilledTimeStamp?: undefined | undefined;
} & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "isUninitialized"> & {
isUninitialized: true;
}) | _reduxjs_toolkit_query.TSHelpersOverride<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, {
isLoading: true;
isFetching: boolean;
data: undefined;
} | ({
isSuccess: true;
isFetching: true;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
isSuccess: true;
isFetching: false;
error: undefined;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
isError: true;
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>> & {
currentData?: CustomerWithSubscriptionCount[] | undefined;
isUninitialized: false;
isLoading: false;
isFetching: false;
isSuccess: false;
isError: false;
}, "error">>)>> & {
status: _reduxjs_toolkit_query.QueryStatus;
}) => R) | undefined;
}) | undefined) => [R][R extends any ? 0 : never] & {
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
baseQueryType?: BaseQueryTypes;
apiName?: string;
paramsSerializer?: (params: Record<string, unknown>) => string;
}) => {
error?: undefined;
data: unknown;
meta?: {} | undefined;
} | {
error: _reduxjs_toolkit_query.FetchBaseQueryError;
data?: undefined;
meta?: _reduxjs_toolkit_query.FetchBaseQueryMeta | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, _reduxjs_toolkit_query.FetchBaseQueryError, _reduxjs_toolkit_query.FetchBaseQueryMeta>> | {
error: graphql.GraphQLError[] | undefined;
data?: undefined;
meta?: {} | undefined;
} | PromiseLike<_reduxjs_toolkit_query.QueryReturnValue<unknown, graphql.GraphQLError[] | undefined, {}>>, CacheTagType, CustomerWithSubscriptionCount[], "orchestratorApi", unknown>>;
};
declare const useSetSubscriptionInSyncMutation: <R extends Record<string, any> = ({
requestId?: undefined;
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
data?: undefined;
error?: undefined;
endpointName?: string;
startedTimeStamp?: undefined;
fulfilledTimeStamp?: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
isUninitialized: true;
isLoading: false;
isSuccess: false;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
} & Omit<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "data" | "fulfilledTimeStamp">> & {
error: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
isUninitialized: false;
isLoading: false;
isSuccess: true;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.pending;
} & {
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
} & {
data?: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.pending;
isUninitialized: false;
isLoading: true;
isSuccess: false;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.rejected;
} & Omit<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "error"> & Required<Pick<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "error">> & {
status: _reduxjs_toolkit_query.QueryStatus.rejected;
isUninitialized: false;
isLoading: false;
isSuccess: false;
isError: true;
})>(options?: {
selectFromResult?: ((state: ({
requestId?: undefined;
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
data?: undefined;
error?: undefined;
endpointName?: string;
startedTimeStamp?: undefined;
fulfilledTimeStamp?: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
isUninitialized: true;
isLoading: false;
isSuccess: false;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
} & Omit<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "data" | "fulfilledTimeStamp">> & {
error: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
isUninitialized: false;
isLoading: false;
isSuccess: true;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.pending;
} & {
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
} & {
data?: undefined;
} & {
status: _reduxjs_toolkit_query.QueryStatus.pending;
isUninitialized: false;
isLoading: true;
isSuccess: false;
isError: false;
}) | ({
status: _reduxjs_toolkit_query.QueryStatus.rejected;
} & Omit<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "error"> & Required<Pick<{
requestId: string;
data?: void | undefined;
error?: _reduxjs_toolkit.SerializedError | _reduxjs_toolkit_query.FetchBaseQueryError | graphql.GraphQLError[] | undefined;
endpointName: string;
startedTimeStamp: number;
fulfilledTimeStamp?: number;
}, "error">> & {
status: _reduxjs_toolkit_query.QueryStatus.rejected;
isUninitialized: false;
isLoading: false;
isSuccess: false;
isError: true;
})) => R) | undefined;
fixedCacheKey?: string;
} | undefined) => readonly [(arg: string) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.