• Retrieves the lists from a specified SharePoint site.

    Parameters

    • client: Client

      The client instance used to make the API request.

    • options: {
          siteId: string;
      }

      An object containing the site ID.

      • siteId: string

        The ID of the SharePoint site from which to retrieve the lists.

    Returns Promise<any>

    A promise that resolves to an array of lists from the specified SharePoint site.

    const client = await getSharePointClient(options);
    const options = { siteId: 'your-site-id' };
    const lists = await getLists(client, options);
    console.log(lists