Constructors

Methods

  • Get a single sourced creator.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • sourced_creator_id: string

      The UUID of the sourced creator.

    Returns AxiosPromise<default<T>>

    promise

  • Get sourced creators for a campaign from the database.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • Optional params: Record<string, any>

      Query parameters for filtering, sorting, and pagination.

    Returns AxiosPromise<default<T>>

    promise

  • Find and save content creators for selected games to the database.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • data: object

      The search criteria (source, igdb_ids, etc.).

    Returns AxiosPromise<default<T>>

    promise

  • Find content creators for selected games. This does not save them to the database.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • data: object

      The search criteria (source, igdb_ids, etc.).

    Returns AxiosPromise<default<T>>

    promise

  • Find popular similar games from IGDB.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • params: Record<string, any>

      Query parameters (e.g., igdb_id, limit).

    Returns AxiosPromise<default<T>>

    promise

  • Search IGDB for the campaign's game.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • Optional params: Record<string, any>

      Query parameters (e.g., search_query, limit).

    Returns AxiosPromise<default<T>>

    promise

  • Update a sourced creator (e.g., approve or reject).

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • sourced_creator_id: string

      The UUID of the sourced creator to update.

    • data: object

      The update data (e.g., is_approved, is_rejected).

    Returns AxiosPromise<default<T>>

    promise

  • Update campaign sourcing settings.

    Type Parameters

    • T

    Parameters

    • campaign_id: string

      The UUID of the campaign.

    • data: object

      The settings to update (igdb_id, similar_game_igdb_ids, etc.).

    Returns AxiosPromise<default<T>>

    promise

Generated using TypeDoc