@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.
- package/drives/item/items/item/invite/index.d.ts +2 -2
- package/drives/item/items/item/restore/index.d.ts +2 -2
- package/drives/item/items/item/retentionLabel/index.d.ts +3 -3
- package/drives/item/items/item/versions/item/restoreVersion/index.d.ts +3 -3
- package/drives/item/items/item/workbook/tables/add/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/tables/add/index.d.ts +3 -3
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -73,7 +73,7 @@ export interface InvitePostResponse extends BaseCollectionPaginationCountRespons
|
|
|
73
73
|
*/
|
|
74
74
|
export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBuilder> {
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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-
|
|
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
|
-
*
|
|
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
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
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/
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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/
|
|
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
|
-
*
|
|
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.
|
|
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": "
|
|
40
|
+
"gitHead": "d487021ccefd069db80393cc936b542de6475cb2"
|
|
41
41
|
}
|