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

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
- * 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.
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.
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-lockorunlockrecord?view=graph-rest-1.0|Find more info here}
27
+ * @see {@link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?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
- * 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.
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.
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}
@@ -23,16 +23,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
23
23
  */
24
24
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
25
25
  /**
26
- * Use this API to create a new Table.
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.
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/workbook-post-tables?view=graph-rest-1.0|Find more info here}
31
+ * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?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
- * Use this API to create a new Table.
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.
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}
@@ -23,16 +23,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
23
23
  */
24
24
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
25
25
  /**
26
- * Use this API to create a new Table.
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.
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/workbook-post-tables?view=graph-rest-1.0|Find more info here}
31
+ * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?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
- * Use this API to create a new Table.
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.
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.39",
3
+ "version": "1.0.0-preview.40",
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": "78cd8aa67068f43ea6474b2d1f544ffd81a47638"
46
+ "gitHead": "02026b62803a74887de653c1e04ea890be34692f"
47
47
  }