@microsoft/msgraph-sdk-drives 1.0.0-preview.87 → 1.0.0-preview.89

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.
@@ -23,14 +23,15 @@ export interface AssignSensitivityLabelPostRequestBody extends AdditionalDataHol
23
23
  */
24
24
  export interface AssignSensitivityLabelRequestBuilder extends BaseRequestBuilder<AssignSensitivityLabelRequestBuilder> {
25
25
  /**
26
- * Invoke action assignSensitivityLabel
26
+ * Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
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
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
+ * @see {@link https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-1.0|Find more info here}
30
31
  */
31
32
  post(body: AssignSensitivityLabelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
32
33
  /**
33
- * Invoke action assignSensitivityLabel
34
+ * Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
34
35
  * @param body The request body
35
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
37
  * @returns {RequestInformation}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAIvI,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,qCAAsC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtG;;OAEG;IACH,gBAAgB,CAAC,EAAE,gCAAgC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AACD;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChK;AACD;;;;GAIG;AAEH,wBAAgB,iEAAiE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MA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kBAAkB,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;KAChH,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CAAC,MAA2B,EAAE,wCAA2G,EAAE,EAAE,2BAAoC,KAAK;IAChP,IAAI,CAAC,qCAAqC,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACnF,MAAM,CAAC,cAAc,CAAmC,kBAAkB,EAAE,qCAAqC,CAAC,gBAAgB,CAAC,CAAC;IACpI,MAAM,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,qCAAqC,CAAC,iBAAiB,CAAC,CAAC;IACtG,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,qCAAqC,CAAC,kBAAkB,CAAC,CAAC;IACxG,MAAM,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,cAAc,CAAC,CAAC;AACrF,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,8EAA8E,CAAC;AAC9I;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,IAAI,EAAE;QACF,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,8CAA8C;QACrE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -17,7 +17,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
17
17
  */
18
18
  byPermissionId(permissionId: string): PermissionItemRequestBuilder;
19
19
  /**
20
- * Get permissions from drives
20
+ * The set of permissions for the item. Read-only. Nullable.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<PermissionCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -32,7 +32,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
32
32
  */
33
33
  post(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Permission | undefined>;
34
34
  /**
35
- * Get permissions from drives
35
+ * The set of permissions for the item. Read-only. Nullable.
36
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
37
  * @returns {RequestInformation}
38
38
  */
@@ -46,7 +46,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
46
46
  toPostRequestInformation(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
47
  }
48
48
  /**
49
- * Get permissions from drives
49
+ * The set of permissions for the item. Read-only. Nullable.
50
50
  */
51
51
  export interface PermissionsRequestBuilderGetQueryParameters {
52
52
  /**
@@ -16,7 +16,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
16
16
  */
17
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
18
  /**
19
- * Get permissions from drives
19
+ * The set of permissions for the item. Read-only. Nullable.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {Promise<Permission>}
22
22
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -37,7 +37,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
37
37
  */
38
38
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
39
  /**
40
- * Get permissions from drives
40
+ * The set of permissions for the item. Read-only. Nullable.
41
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
42
  * @returns {RequestInformation}
43
43
  */
@@ -51,7 +51,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
51
51
  toPatchRequestInformation(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
52
  }
53
53
  /**
54
- * Get permissions from drives
54
+ * The set of permissions for the item. Read-only. Nullable.
55
55
  */
56
56
  export interface PermissionItemRequestBuilderGetQueryParameters {
57
57
  /**
@@ -17,7 +17,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
17
17
  */
18
18
  byPermissionId(permissionId: string): PermissionItemRequestBuilder;
19
19
  /**
20
- * Get permissions from drives
20
+ * The set of permissions for the item. Read-only. Nullable.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<PermissionCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -32,7 +32,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
32
32
  */
33
33
  post(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Permission | undefined>;
34
34
  /**
35
- * Get permissions from drives
35
+ * The set of permissions for the item. Read-only. Nullable.
36
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
37
  * @returns {RequestInformation}
38
38
  */
@@ -46,7 +46,7 @@ export interface PermissionsRequestBuilder extends BaseRequestBuilder<Permission
46
46
  toPostRequestInformation(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
47
  }
48
48
  /**
49
- * Get permissions from drives
49
+ * The set of permissions for the item. Read-only. Nullable.
50
50
  */
51
51
  export interface PermissionsRequestBuilderGetQueryParameters {
52
52
  /**
@@ -16,7 +16,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
16
16
  */
17
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
18
  /**
19
- * Get permissions from drives
19
+ * The set of permissions for the item. Read-only. Nullable.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {Promise<Permission>}
22
22
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -37,7 +37,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
37
37
  */
38
38
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
39
  /**
40
- * Get permissions from drives
40
+ * The set of permissions for the item. Read-only. Nullable.
41
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
42
  * @returns {RequestInformation}
43
43
  */
@@ -51,7 +51,7 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
51
51
  toPatchRequestInformation(body: Permission, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
52
  }
53
53
  /**
54
- * Get permissions from drives
54
+ * The set of permissions for the item. Read-only. Nullable.
55
55
  */
56
56
  export interface PermissionItemRequestBuilderGetQueryParameters {
57
57
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-drives",
3
- "version": "1.0.0-preview.87",
3
+ "version": "1.0.0-preview.89",
4
4
  "description": "Drives fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",