@microsoft/msgraph-sdk-drives 1.0.0-preview.16 → 1.0.0-preview.17

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.
@@ -176,12 +176,12 @@ export interface DriveItemItemRequestBuilder extends BaseRequestBuilder<DriveIte
176
176
  */
177
177
  getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(endDateTime: string | undefined, interval: string | undefined, startDateTime: string | undefined): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder;
178
178
  /**
179
- * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
179
+ * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property.
180
180
  * @param body The request body
181
181
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
182
182
  * @returns {Promise<DriveItem>}
183
183
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
184
- * @see {@link https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0|Find more info here}
184
+ * @see {@link https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0|Find more info here}
185
185
  */
186
186
  patch(body: DriveItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
187
187
  /**
@@ -203,7 +203,7 @@ export interface DriveItemItemRequestBuilder extends BaseRequestBuilder<DriveIte
203
203
  */
204
204
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DriveItemItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
205
205
  /**
206
- * To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request.
206
+ * Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property.
207
207
  * @param body The request body
208
208
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
209
209
  * @returns {RequestInformation}
@@ -19,12 +19,12 @@ export interface RetentionLabelRequestBuilder extends BaseRequestBuilder<Retenti
19
19
  */
20
20
  get(requestConfiguration?: RequestConfiguration<RetentionLabelRequestBuilderGetQueryParameters> | undefined): Promise<ItemRetentionLabel | undefined>;
21
21
  /**
22
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
22
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
23
23
  * @param body The request body
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
25
  * @returns {Promise<ItemRetentionLabel>}
26
26
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
27
- * @see {@link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0|Find more info here}
27
+ * @see {@link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0|Find more info here}
28
28
  */
29
29
  patch(body: ItemRetentionLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ItemRetentionLabel | undefined>;
30
30
  /**
@@ -40,7 +40,7 @@ export interface RetentionLabelRequestBuilder extends BaseRequestBuilder<Retenti
40
40
  */
41
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RetentionLabelRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
42
  /**
43
- * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
43
+ * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
44
44
  * @param body The request body
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
46
  * @returns {RequestInformation}
@@ -5,15 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuilder> {
7
7
  /**
8
- * Retrieve the properties and relationships of range object.
8
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookRange>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
15
15
  /**
16
- * Retrieve the properties and relationships of range object.
16
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
@@ -27,7 +27,7 @@ export interface TablesRequestBuilder extends BaseRequestBuilder<TablesRequestBu
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<WorkbookTableCollectionResponse>}
29
29
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
- * @see {@link https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0|Find more info here}
30
+ * @see {@link https://learn.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0|Find more info here}
31
31
  */
32
32
  get(requestConfiguration?: RequestConfiguration<TablesRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableCollectionResponse | undefined>;
33
33
  /**
@@ -27,7 +27,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<WorkbookTableColumnCollectionResponse>}
29
29
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
- * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here}
30
+ * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here}
31
31
  */
32
32
  get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableColumnCollectionResponse | undefined>;
33
33
  /**
@@ -27,7 +27,7 @@ export interface RowsRequestBuilder extends BaseRequestBuilder<RowsRequestBuilde
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<WorkbookTableRowCollectionResponse>}
29
29
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
- * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here}
30
+ * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here}
31
31
  */
32
32
  get(requestConfiguration?: RequestConfiguration<RowsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableRowCollectionResponse | undefined>;
33
33
  /**
@@ -9,7 +9,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookTableColumnCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableColumnCollectionResponse | undefined>;
15
15
  /**
@@ -9,7 +9,7 @@ export interface RowsRequestBuilder extends BaseRequestBuilder<RowsRequestBuilde
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookTableRowCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<RowsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableRowCollectionResponse | undefined>;
15
15
  /**
@@ -22,7 +22,7 @@ export interface SeriesRequestBuilder extends BaseRequestBuilder<SeriesRequestBu
22
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
23
  * @returns {Promise<WorkbookChartSeriesCollectionResponse>}
24
24
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
- * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here}
25
+ * @see {@link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0|Find more info here}
26
26
  */
27
27
  get(requestConfiguration?: RequestConfiguration<SeriesRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookChartSeriesCollectionResponse | undefined>;
28
28
  /**
@@ -9,7 +9,7 @@ export interface SeriesRequestBuilder extends BaseRequestBuilder<SeriesRequestBu
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookChartSeriesCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<SeriesRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookChartSeriesCollectionResponse | undefined>;
15
15
  /**
@@ -9,7 +9,7 @@ export interface SeriesRequestBuilder extends BaseRequestBuilder<SeriesRequestBu
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookChartSeriesCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<SeriesRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookChartSeriesCollectionResponse | undefined>;
15
15
  /**
@@ -5,15 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuilder> {
7
7
  /**
8
- * Retrieve the properties and relationships of range object.
8
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookRange>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
15
15
  /**
16
- * Retrieve the properties and relationships of range object.
16
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
@@ -27,7 +27,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<WorkbookTableColumnCollectionResponse>}
29
29
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
- * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here}
30
+ * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here}
31
31
  */
32
32
  get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableColumnCollectionResponse | undefined>;
33
33
  /**
@@ -27,7 +27,7 @@ export interface RowsRequestBuilder extends BaseRequestBuilder<RowsRequestBuilde
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<WorkbookTableRowCollectionResponse>}
29
29
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
- * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here}
30
+ * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here}
31
31
  */
32
32
  get(requestConfiguration?: RequestConfiguration<RowsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableRowCollectionResponse | undefined>;
33
33
  /**
@@ -9,7 +9,7 @@ export interface ColumnsRequestBuilder extends BaseRequestBuilder<ColumnsRequest
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookTableColumnCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<ColumnsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableColumnCollectionResponse | undefined>;
15
15
  /**
@@ -9,7 +9,7 @@ export interface RowsRequestBuilder extends BaseRequestBuilder<RowsRequestBuilde
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<WorkbookTableRowCollectionResponse>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
- * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here}
12
+ * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here}
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<RowsRequestBuilderGetQueryParameters> | undefined): Promise<WorkbookTableRowCollectionResponse | undefined>;
15
15
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-drives",
3
- "version": "1.0.0-preview.16",
3
+ "version": "1.0.0-preview.17",
4
4
  "description": "Drives fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.16",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.17",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "7d5a0cf29cc99c7e7f8b58504df4c47070cefa79"
47
+ "gitHead": "cf9344aac51247cf524bc8163ff07531d51c9b6c"
48
48
  }