Hierarchy

Constructors

Properties

widgets: Widgets = ...

Methods

  • Generates and retrieves a new dashboard from the account

    Parameters

    Returns Promise<{
        dashboard: string;
    }>

  • Deletes an dashboard from the account

    Parameters

    • dashboardID: string

      Dashboard identification

    Returns Promise<string>

  • Duplicate the dashboard to your own account

    Parameters

    • dashboardID: string

      Dashboard identification

    • Optional dashboardObj: {
          new_label?: string;
          setup?: object;
      }

      Object with data of the duplicate dashboard

      • Optional new_label?: string
      • Optional setup?: object

    Returns Promise<{
        dashboard_id: string;
        message: string;
    }>

  • Modify any property of the action

    Parameters

    • dashboardID: string

      Dashboard identification

    • dashboardObj: Partial<DashboardInfo>

      Dashboard Object with data to be replaced

    Returns Promise<string>

  • Runs an analysis located in a widget's header button

    Parameters

    • analysisID: string

      The id of the analysis to run

    • dashboardID: string

      The id of the dashboard that contains the widget

    • widgetID: string

      The id of the widget that contains the header button

    • Optional scope: object

      Data to send to the analysis

    Returns Promise<string>

  • Remove share of the bucket

    Parameters

    • shareID: string

      Share identification

    Returns Promise<string>

  • Change permissions of the bucket

    Parameters

    • shareID: string

      Share identification

    • targetObj: Partial<InviteInfo>

      Object with target email and new permission

    Returns Promise<string>