docstr: Inserts data into the Sharepoint "POST /lists" API endpoint.
  
  Parameters
  ----------
  query : ast.Insert
     Given SQL INSERT query
  
  Returns
  -------
  None
  
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
docstr_tok: ["Inserts","data","into","the","Sharepoint","``","POST","\/lists","''","API","endpoint",".","Parameters","--","--","--","--","--","query",":","ast.Insert","Given","SQL","INSERT","query","Returns","--","--","--","-","None","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def insert(self, query: ast.Insert) -> None:
      """Inserts data into the Sharepoint "POST /lists" API endpoint.
  
      Parameters
      ----------
      query : ast.Insert
         Given SQL INSERT query
  
      Returns
      -------
      None
  
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
      insert_statement_parser = INSERTQueryParser(
          query,
          supported_columns=[
              "displayName",
              "columns",
              "list",
              "siteId",
          ],
          mandatory_columns=["displayName", "list", "siteId"],
          all_mandatory=False,
      )
      lists_data = insert_statement_parser.parse_query()
      self.create_lists(lists_data)
  
imports: import pandas
  from typing import Text, List, Dict, Any
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.utilities.query_utilities.select_query_utilities import SELECTQueryParser, SELECTQueryExecutor
  from mindsdb.integrations.handlers.utilities.query_utilities.delete_query_utilities import DELETEQueryParser, DELETEQueryExecutor
  from mindsdb.integrations.handlers.utilities.query_utilities.update_query_utilities import UPDATEQueryParser, UPDATEQueryExecutor
  from mindsdb.integrations.handlers.utilities.query_utilities import INSERTQueryParser
label_desc: Use image node_id 1 for calling the ListsTable obj's underlying member method code with example usage: obj.insert(query) without return types