Interface WebhooksRequestOptions<TResult, TVariables>

Options for making requests to the Webhooks API.

interface WebhooksRequestOptions<TResult, TVariables extends Variables> {
    organizationId: string;
    query: TypedDocumentNode<TResult, TVariables>;
    token: string;
    unauthorizedHandler: UnauthorizedHandler;
    variables?: TVariables;
}

Type Parameters

  • TResult
  • TVariables extends Variables

Properties

organizationId: string
query: TypedDocumentNode<TResult, TVariables>
token: string
unauthorizedHandler: UnauthorizedHandler
variables?: TVariables