@microsoft/msgraph-sdk-sites 1.0.0-preview.57 → 1.0.0-preview.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,16 +5,13 @@ Get started with the Microsoft Graph SDK for TypeScript by integrating the [Micr
5
5
  This package provides a fluent API for interacting with Microsoft Graph administrative functions.
6
6
 
7
7
  > [!NOTE]
8
- > This package requires the `@microsoft/msgraph-sdk` package. It allows you to build applications using the [v1.0](https://learn.microsoft.com/graph/use-the-api#version) of Microsoft Graph. If you want to try the latest Microsoft Graph APIs, use our [beta SDK](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript) instead.
9
-
8
+ > This package allows you to build applications using the [v1.0](https://learn.microsoft.com/graph/use-the-api#version) of Microsoft Graph. If you want to try the latest Microsoft Graph APIs, use our [beta SDK](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript) instead.
10
9
 
11
10
  ## 1. Installation
12
11
 
13
12
  To install the package, use npm:
14
13
 
15
14
  ```shell
16
- # this will install the main package
17
- npm install @microsoft/msgraph-sdk
18
15
  # this will install the authentication provider for Azure Identity / Microsoft Entra
19
16
  npm install @microsoft/kiota-authentication-azure @azure/identity
20
17
  # this will install the fluent API package for the administrative API paths
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-sites",
3
- "version": "1.0.0-preview.57",
3
+ "version": "1.0.0-preview.58",
4
4
  "description": "Sites fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3"
38
38
  },
39
39
  "type": "module",
40
- "gitHead": "2a6110df0ff3f617ccfdca60e407c9ac29e87846"
40
+ "gitHead": "d363ba15cf74a576b0b7e7377d98a9bcfdbc7025"
41
41
  }
package/sites/index.d.ts CHANGED
@@ -37,22 +37,22 @@ export interface SitesRequestBuilder extends BaseRequestBuilder<SitesRequestBuil
37
37
  */
38
38
  bySiteId(siteId: string): SiteItemRequestBuilder;
39
39
  /**
40
- * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
40
+ * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
41
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
42
  * @returns {Promise<SiteCollectionResponse>}
43
43
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
44
- * @see {@link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0|Find more info here}
44
+ * @see {@link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0|Find more info here}
45
45
  */
46
46
  get(requestConfiguration?: RequestConfiguration<SitesRequestBuilderGetQueryParameters> | undefined): Promise<SiteCollectionResponse | undefined>;
47
47
  /**
48
- * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
48
+ * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
49
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
50
  * @returns {RequestInformation}
51
51
  */
52
52
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<SitesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
53
53
  }
54
54
  /**
55
- * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
55
+ * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
56
56
  */
57
57
  export interface SitesRequestBuilderGetQueryParameters {
58
58
  /**
@@ -51,11 +51,11 @@ export interface ListItemRequestBuilder extends BaseRequestBuilder<ListItemReque
51
51
  */
52
52
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
53
53
  /**
54
- * Returns the metadata for a list.
54
+ * Get a list of rich long-running operations associated with a list.
55
55
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
56
  * @returns {Promise<List>}
57
57
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
58
- * @see {@link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0|Find more info here}
58
+ * @see {@link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0|Find more info here}
59
59
  */
60
60
  get(requestConfiguration?: RequestConfiguration<ListItemRequestBuilderGetQueryParameters> | undefined): Promise<List | undefined>;
61
61
  /**
@@ -73,7 +73,7 @@ export interface ListItemRequestBuilder extends BaseRequestBuilder<ListItemReque
73
73
  */
74
74
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
75
75
  /**
76
- * Returns the metadata for a list.
76
+ * Get a list of rich long-running operations associated with a list.
77
77
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
78
78
  * @returns {RequestInformation}
79
79
  */
@@ -87,7 +87,7 @@ export interface ListItemRequestBuilder extends BaseRequestBuilder<ListItemReque
87
87
  toPatchRequestInformation(body: List, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
88
88
  }
89
89
  /**
90
- * Returns the metadata for a list.
90
+ * Get a list of rich long-running operations associated with a list.
91
91
  */
92
92
  export interface ListItemRequestBuilderGetQueryParameters {
93
93
  /**