@microsoft/msgraph-sdk-drives 1.0.0-preview.72 → 1.0.0-preview.73

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.
@@ -73,7 +73,7 @@ export interface InvitePostResponse extends BaseCollectionPaginationCountRespons
73
73
  */
74
74
  export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBuilder> {
75
75
  /**
76
- * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.
76
+ * Send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared.
77
77
  * @param body The request body
78
78
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
79
79
  * @returns {Promise<InvitePostResponse>}
@@ -82,7 +82,7 @@ export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBu
82
82
  */
83
83
  post(body: InvitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InvitePostResponse | undefined>;
84
84
  /**
85
- * Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.
85
+ * Send a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and, optionally, sends them an email to notify them that the item was shared.
86
86
  * @param body The request body
87
87
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
88
88
  * @returns {RequestInformation}
@@ -31,7 +31,7 @@ export interface RestorePostRequestBody extends AdditionalDataHolder, BackedMode
31
31
  */
32
32
  export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
33
33
  /**
34
- * Restore a driveItem that has been deleted and is currently in the recycle bin.
34
+ * Restore a deleted driveItem that is currently in the recycle bin.
35
35
  * @param body The request body
36
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
37
  * @returns {Promise<DriveItem>}
@@ -40,7 +40,7 @@ export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequest
40
40
  */
41
41
  post(body: RestorePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
42
42
  /**
43
- * Restore a driveItem that has been deleted and is currently in the recycle bin.
43
+ * Restore a deleted driveItem that is currently in the recycle bin.
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}
@@ -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}
@@ -4,14 +4,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  */
5
5
  export interface RestoreVersionRequestBuilder extends BaseRequestBuilder<RestoreVersionRequestBuilder> {
6
6
  /**
7
- * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.
7
+ * Restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
9
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
- * @see {@link https://learn.microsoft.com/graph/api/driveitemversion-restore?view=graph-rest-1.0|Find more info here}
10
+ * @see {@link https://learn.microsoft.com/graph/api/driveitemversion-restoreversion?view=graph-rest-1.0|Find more info here}
11
11
  */
12
12
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
13
  /**
14
- * Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.
14
+ * Restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file.
15
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
16
  * @returns {RequestInformation}
17
17
  */
@@ -19,16 +19,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
19
19
  */
20
20
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
21
21
  /**
22
- * Use this API to create a new Table.
22
+ * 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.
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<WorkbookTable>}
26
26
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
27
- * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here}
27
+ * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here}
28
28
  */
29
29
  post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookTable | undefined>;
30
30
  /**
31
- * Use this API to create a new Table.
31
+ * 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.
32
32
  * @param body The request body
33
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
34
  * @returns {RequestInformation}
@@ -19,16 +19,16 @@ export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, P
19
19
  */
20
20
  export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
21
21
  /**
22
- * Use this API to create a new Table.
22
+ * 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.
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<WorkbookTable>}
26
26
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
27
- * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here}
27
+ * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here}
28
28
  */
29
29
  post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookTable | undefined>;
30
30
  /**
31
- * Use this API to create a new Table.
31
+ * 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.
32
32
  * @param body The request body
33
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
34
  * @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.72",
3
+ "version": "1.0.0-preview.73",
4
4
  "description": "Drives 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": "850132dd965cbaef02959e7dcdf4a0a71fd656e6"
40
+ "gitHead": "d487021ccefd069db80393cc936b542de6475cb2"
41
41
  }