@microsoft/msgraph-sdk-drives 1.0.0-preview.40 → 1.0.0-preview.41

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.
@@ -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}
@@ -143,11 +143,11 @@ export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuil
143
143
  */
144
144
  columnWithColumn(column: number | undefined): ColumnWithColumnRequestBuilder;
145
145
  /**
146
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
146
+ * Retrieve the properties and relationships of range object.
147
147
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
148
148
  * @returns {Promise<WorkbookRange>}
149
149
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
150
- * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
150
+ * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here}
151
151
  */
152
152
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
153
153
  /**
@@ -189,7 +189,7 @@ export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuil
189
189
  */
190
190
  rowWithRow(row: number | undefined): RowWithRowRequestBuilder;
191
191
  /**
192
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
192
+ * Retrieve the properties and relationships of range object.
193
193
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
194
194
  * @returns {RequestInformation}
195
195
  */
@@ -23,16 +23,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
23
23
  */
24
24
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
25
25
  /**
26
- * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
26
+ * Use this API to create a new Table.
27
27
  * @param body The request body
28
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
29
  * @returns {Promise<WorkbookTable>}
30
30
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
- * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here}
31
+ * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here}
32
32
  */
33
33
  post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookTable | undefined>;
34
34
  /**
35
- * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
35
+ * Use this API to create a new Table.
36
36
  * @param body The request body
37
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
38
  * @returns {RequestInformation}
@@ -143,11 +143,11 @@ export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuil
143
143
  */
144
144
  columnWithColumn(column: number | undefined): ColumnWithColumnRequestBuilder;
145
145
  /**
146
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
146
+ * Retrieve the properties and relationships of range object.
147
147
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
148
148
  * @returns {Promise<WorkbookRange>}
149
149
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
150
- * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
150
+ * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here}
151
151
  */
152
152
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
153
153
  /**
@@ -189,7 +189,7 @@ export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuil
189
189
  */
190
190
  rowWithRow(row: number | undefined): RowWithRowRequestBuilder;
191
191
  /**
192
- * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
192
+ * Retrieve the properties and relationships of range object.
193
193
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
194
194
  * @returns {RequestInformation}
195
195
  */
@@ -23,16 +23,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
23
23
  */
24
24
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
25
25
  /**
26
- * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
26
+ * Use this API to create a new Table.
27
27
  * @param body The request body
28
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
29
  * @returns {Promise<WorkbookTable>}
30
30
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
- * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here}
31
+ * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here}
32
32
  */
33
33
  post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookTable | undefined>;
34
34
  /**
35
- * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
35
+ * Use this API to create a new Table.
36
36
  * @param body The request body
37
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
38
  * @returns {RequestInformation}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-drives",
3
- "version": "1.0.0-preview.40",
3
+ "version": "1.0.0-preview.41",
4
4
  "description": "Drives fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -43,5 +43,5 @@
43
43
  "typescript": "^5.3.3"
44
44
  },
45
45
  "type": "module",
46
- "gitHead": "02026b62803a74887de653c1e04ea890be34692f"
46
+ "gitHead": "0ca49f5e7dda09f7124f2a23ab49be2eef5173d6"
47
47
  }