• Executes an org-scoped GraphQL query against the App Management API. Uses typed documents.

    Type Parameters

    • TResult
    • TVariables extends Variables

    Parameters

    • organizationId: string

      Organization ID required to check permissions.

    • query: TypedDocumentNode<TResult, TVariables>

      GraphQL query to execute.

    • token: string

      Partners token.

    • Optionalvariables: TVariables

      GraphQL variables to pass to the query.

    Returns Promise<TResult>

    The response of the query of generic type .