Interface AppManagementRequestOptions<TResult, TVariables>

The organization ID.

GraphQL query to execute.

Partners token.

GraphQL variables to pass to the query.

Cache options for the request. If not present, the request will not be cached.

Preferred behaviour for the request.

Optional handler for unauthorized requests.

interface AppManagementRequestOptions<TResult, TVariables extends Variables> {
    cacheOptions?: CacheOptions;
    organizationId: string;
    query: TypedDocumentNode<TResult, TVariables>;
    requestOptions?: RequestOptions;
    token: string;
    unauthorizedHandler: UnauthorizedHandler;
    variables?: TVariables;
}

Type Parameters

  • TResult
  • TVariables extends Variables

Properties

cacheOptions?: CacheOptions
organizationId: string
query: TypedDocumentNode<TResult, TVariables>
requestOptions?: RequestOptions
token: string
unauthorizedHandler: UnauthorizedHandler
variables?: TVariables