@microsoft/msgraph-sdk-users 1.0.0-preview.63 → 1.0.0-preview.65
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/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/users/index.d.ts +4 -4
- package/users/item/dataSecurityAndGovernance/index.d.ts +5 -0
- package/users/item/dataSecurityAndGovernance/index.d.ts.map +1 -1
- package/users/item/dataSecurityAndGovernance/index.js +6 -0
- package/users/item/dataSecurityAndGovernance/index.js.map +1 -1
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts +73 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js +72 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts +41 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.js +34 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.d.ts +111 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.js +82 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts +83 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.js +72 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts +42 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js +36 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts +73 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js +72 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts +41 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js +34 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts +111 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js +82 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts +78 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js +66 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts +42 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts.map +1 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js +36 -0
- package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js.map +1 -0
- package/users/item/index.d.ts +6 -6
package/users/index.d.ts
CHANGED
|
@@ -41,16 +41,16 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {Promise<UserCollectionResponse>}
|
|
43
43
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
44
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-
|
|
44
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0|Find more info here}
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Create a new user
|
|
48
|
+
* Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<User>}
|
|
52
52
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
53
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0|Find more info here}
|
|
54
54
|
*/
|
|
55
55
|
post(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
56
56
|
/**
|
|
@@ -60,7 +60,7 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
60
60
|
*/
|
|
61
61
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
62
62
|
/**
|
|
63
|
-
* Create a new user
|
|
63
|
+
* Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
|
64
64
|
* @param body The request body
|
|
65
65
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
66
66
|
* @returns {RequestInformation}
|
|
@@ -2,6 +2,7 @@ import { type UserDataSecurityAndGovernance } from '@microsoft/msgraph-sdk/model
|
|
|
2
2
|
import { type ActivitiesRequestBuilder } from './activities/index.js';
|
|
3
3
|
import { type ProcessContentRequestBuilder } from './processContent/index.js';
|
|
4
4
|
import { type ProtectionScopesRequestBuilder } from './protectionScopes/index.js';
|
|
5
|
+
import { type SensitivityLabelsRequestBuilder } from './sensitivityLabels/index.js';
|
|
5
6
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
7
|
/**
|
|
7
8
|
* Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity.
|
|
@@ -19,6 +20,10 @@ export interface DataSecurityAndGovernanceRequestBuilder extends BaseRequestBuil
|
|
|
19
20
|
* Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity.
|
|
20
21
|
*/
|
|
21
22
|
get protectionScopes(): ProtectionScopesRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
25
|
+
*/
|
|
26
|
+
get sensitivityLabels(): SensitivityLabelsRequestBuilder;
|
|
22
27
|
/**
|
|
23
28
|
* Delete navigation property dataSecurityAndGovernance for users
|
|
24
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAI/L,OAAO,EAAwF,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE5J,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAAoG,KAAK,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAEpL,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,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AE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,iFAAiF,CAAC;AAQjJ;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgB5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBA+BrE,CAAC"}
|
|
@@ -11,6 +11,8 @@ import { ActivitiesRequestBuilderNavigationMetadata, ActivitiesRequestBuilderReq
|
|
|
11
11
|
import { ProcessContentRequestBuilderRequestsMetadata } from './processContent/index.js';
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
import { ProtectionScopesRequestBuilderNavigationMetadata, ProtectionScopesRequestBuilderRequestsMetadata } from './protectionScopes/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { SensitivityLabelsRequestBuilderNavigationMetadata, SensitivityLabelsRequestBuilderRequestsMetadata } from './sensitivityLabels/index.js';
|
|
14
16
|
/**
|
|
15
17
|
* Uri template for the request builder.
|
|
16
18
|
*/
|
|
@@ -37,6 +39,10 @@ export const DataSecurityAndGovernanceRequestBuilderNavigationMetadata = {
|
|
|
37
39
|
requestsMetadata: ProtectionScopesRequestBuilderRequestsMetadata,
|
|
38
40
|
navigationMetadata: ProtectionScopesRequestBuilderNavigationMetadata,
|
|
39
41
|
},
|
|
42
|
+
sensitivityLabels: {
|
|
43
|
+
requestsMetadata: SensitivityLabelsRequestBuilderRequestsMetadata,
|
|
44
|
+
navigationMetadata: SensitivityLabelsRequestBuilderNavigationMetadata,
|
|
45
|
+
},
|
|
40
46
|
};
|
|
41
47
|
/**
|
|
42
48
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,sCAAsC,EAAsC,MAAM,wCAAwC,CAAC;AAC/L,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AAC5J,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5H,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,8CAA8C,EAAuC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAE,sCAAsC,EAAsC,MAAM,wCAAwC,CAAC;AAC/L,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC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,qBAAqB,EAAE,+DAA+D;KACzF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,kDAAkD;QAC/D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,yDAAyD;QAC/E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the computeInheritance method.
|
|
5
|
+
*/
|
|
6
|
+
export interface ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder<ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<SensitivityLabel>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computeinheritance?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wEAAyE,SAAQ,kBAAkB,CAAC,wEAAwE,CAAC;IAC1L;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,mFAAmF,uKAAuK,CAAC;AACxQ;;GAEG;AACH,eAAO,MAAM,wFAAwF,EAAE,gBAUtG,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSensitivityLabelFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata = {
|
|
16
|
+
get: {
|
|
17
|
+
uriTemplate: ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAyB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,mFAAmF,GAAG,oKAAoK,CAAC;AACxQ;;GAEG;AACH,MAAM,CAAC,MAAM,wFAAwF,GAAqB;IACtH,GAAG,EAAE;QACD,WAAW,EAAE,mFAAmF;QAChG,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type ComputeRightsAndInheritanceResult, type ProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface ComputeRightsAndInheritancePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores model information.
|
|
6
|
+
*/
|
|
7
|
+
backingStoreEnabled?: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* The delegatedUserEmail property
|
|
10
|
+
*/
|
|
11
|
+
delegatedUserEmail?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The locale property
|
|
14
|
+
*/
|
|
15
|
+
locale?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The protectedContents property
|
|
18
|
+
*/
|
|
19
|
+
protectedContents?: ProtectedContent[] | null;
|
|
20
|
+
/**
|
|
21
|
+
* The supportedContentFormats property
|
|
22
|
+
*/
|
|
23
|
+
supportedContentFormats?: string[] | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the computeRightsAndInheritance method.
|
|
27
|
+
*/
|
|
28
|
+
export interface ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder<ComputeRightsAndInheritanceRequestBuilder> {
|
|
29
|
+
/**
|
|
30
|
+
* Computes the rights and inheritance for sensitivity labels based on the input content and labels.
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {Promise<ComputeRightsAndInheritanceResult>}
|
|
34
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computerightsandinheritance?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
post(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ComputeRightsAndInheritanceResult | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Computes the rights and inheritance for sensitivity labels based on the input content and labels.
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
48
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
49
|
+
* @returns {ComputeRightsAndInheritancePostRequestBody}
|
|
50
|
+
*/
|
|
51
|
+
export declare function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
52
|
+
/**
|
|
53
|
+
* The deserialization information for the current model
|
|
54
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
|
|
55
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
56
|
+
*/
|
|
57
|
+
export declare function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
58
|
+
/**
|
|
59
|
+
* Serializes information the current object
|
|
60
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
|
|
61
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
62
|
+
* @param writer Serialization writer to use to serialize this model
|
|
63
|
+
*/
|
|
64
|
+
export declare function serializeComputeRightsAndInheritancePostRequestBody(writer: SerializationWriter, computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance";
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the requests in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI3S,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,C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AAE,mBAAmB,EAAE,0CAA0C,GAAE,OAAO,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAO1Q;AACD;;GAEG;AACH,eAAO,MAAM,oDAAoD,yGAAyG,CAAC;AAC3K;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBAavE,CAAC"}
|
package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createComputeRightsAndInheritanceResultFromDiscriminatorValue, createProtectedContentFromDiscriminatorValue, serializeProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {ComputeRightsAndInheritancePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoComputeRightsAndInheritancePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { computeRightsAndInheritancePostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"delegatedUserEmail": n => { computeRightsAndInheritancePostRequestBody.delegatedUserEmail = n.getStringValue(); },
|
|
27
|
+
"locale": n => { computeRightsAndInheritancePostRequestBody.locale = n.getStringValue(); },
|
|
28
|
+
"protectedContents": n => { computeRightsAndInheritancePostRequestBody.protectedContents = n.getCollectionOfObjectValues(createProtectedContentFromDiscriminatorValue); },
|
|
29
|
+
"supportedContentFormats": n => { computeRightsAndInheritancePostRequestBody.supportedContentFormats = n.getCollectionOfPrimitiveValues(); },
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Serializes information the current object
|
|
34
|
+
* @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
|
|
35
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
36
|
+
* @param writer Serialization writer to use to serialize this model
|
|
37
|
+
*/
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export function serializeComputeRightsAndInheritancePostRequestBody(writer, computeRightsAndInheritancePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
40
|
+
if (!computeRightsAndInheritancePostRequestBody || isSerializingDerivedType) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
writer.writeStringValue("delegatedUserEmail", computeRightsAndInheritancePostRequestBody.delegatedUserEmail);
|
|
44
|
+
writer.writeStringValue("locale", computeRightsAndInheritancePostRequestBody.locale);
|
|
45
|
+
writer.writeCollectionOfObjectValues("protectedContents", computeRightsAndInheritancePostRequestBody.protectedContents, serializeProtectedContent);
|
|
46
|
+
writer.writeCollectionOfPrimitiveValues("supportedContentFormats", computeRightsAndInheritancePostRequestBody.supportedContentFormats);
|
|
47
|
+
writer.writeAdditionalData(computeRightsAndInheritancePostRequestBody.additionalData);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Uri template for the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance";
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata = {
|
|
57
|
+
post: {
|
|
58
|
+
uriTemplate: ComputeRightsAndInheritanceRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createComputeRightsAndInheritanceResultFromDiscriminatorValue,
|
|
65
|
+
requestBodyContentType: "application/json",
|
|
66
|
+
requestBodySerializer: serializeComputeRightsAndInheritancePostRequestBody,
|
|
67
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,4CAA4C,EAA8C,yBAAyB,EAAiE,MAAM,wCAAwC,CAAC;AAC3S,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA+C7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,sEAAsE,CAAC,SAAgC;IACnH,OAAO,yDAAyD,CAAC;AACrE,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,6CAA8G,EAAE;IACtL,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,0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;GAEG;AACH,MAAM,CAAC,MAAM,yDAAyD,GAAqB;IACvF,IAAI,EAAE;QACF,WAAW,EAAE,oDAAoD;QACjE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mDAAmD;QAC1E,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,0GAA0G,CAAC;AAQtJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,uGAAuG,CAAC;AACtJ;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type SensitivityLabel, type SensitivityLabelCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder } from './computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js';
|
|
3
|
+
import { type ComputeRightsAndInheritanceRequestBuilder } from './computeRightsAndInheritance/index.js';
|
|
4
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
5
|
+
import { type SensitivityLabelItemRequestBuilder } from './item/index.js';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface SensitivityLabelsRequestBuilder extends BaseRequestBuilder<SensitivityLabelsRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the computeRightsAndInheritance method.
|
|
13
|
+
*/
|
|
14
|
+
get computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to count the resources in the collection.
|
|
17
|
+
*/
|
|
18
|
+
get count(): CountRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
|
|
21
|
+
* @param sensitivityLabelId The unique identifier of sensitivityLabel
|
|
22
|
+
* @returns {SensitivityLabelItemRequestBuilder}
|
|
23
|
+
*/
|
|
24
|
+
bySensitivityLabelId(sensitivityLabelId: string): SensitivityLabelItemRequestBuilder;
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the computeInheritance method.
|
|
27
|
+
* @param contentFormats Usage: contentFormats={contentFormats}
|
|
28
|
+
* @param labelIds Usage: labelIds={labelIds}
|
|
29
|
+
* @param locale Usage: locale='{locale}'
|
|
30
|
+
* @returns {ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder}
|
|
31
|
+
*/
|
|
32
|
+
computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats: string | undefined, labelIds: string | undefined, locale: string | undefined): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder;
|
|
33
|
+
/**
|
|
34
|
+
* Get sensitivityLabels from users
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {Promise<SensitivityLabelCollectionResponse>}
|
|
37
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
*/
|
|
39
|
+
get(requestConfiguration?: RequestConfiguration<SensitivityLabelsRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabelCollectionResponse | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to sensitivityLabels for users
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {Promise<SensitivityLabel>}
|
|
45
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
46
|
+
*/
|
|
47
|
+
post(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Get sensitivityLabels from users
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns {RequestInformation}
|
|
52
|
+
*/
|
|
53
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensitivityLabelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
54
|
+
/**
|
|
55
|
+
* Create new navigation property to sensitivityLabels for users
|
|
56
|
+
* @param body The request body
|
|
57
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
|
+
* @returns {RequestInformation}
|
|
59
|
+
*/
|
|
60
|
+
toPostRequestInformation(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get sensitivityLabels from users
|
|
64
|
+
*/
|
|
65
|
+
export interface SensitivityLabelsRequestBuilderGetQueryParameters {
|
|
66
|
+
/**
|
|
67
|
+
* Include count of items
|
|
68
|
+
*/
|
|
69
|
+
count?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Expand related entities
|
|
72
|
+
*/
|
|
73
|
+
expand?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Filter items by property values
|
|
76
|
+
*/
|
|
77
|
+
filter?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Order items by property values
|
|
80
|
+
*/
|
|
81
|
+
orderby?: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Search items by search phrases
|
|
84
|
+
*/
|
|
85
|
+
search?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Select properties to be returned
|
|
88
|
+
*/
|
|
89
|
+
select?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* Skip the first n items
|
|
92
|
+
*/
|
|
93
|
+
skip?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Show only the first n items
|
|
96
|
+
*/
|
|
97
|
+
top?: number;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Uri template for the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const SensitivityLabelsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
103
|
+
/**
|
|
104
|
+
* Metadata for all the navigation properties in the request builder.
|
|
105
|
+
*/
|
|
106
|
+
export declare const SensitivityLabelsRequestBuilderNavigationMetadata: Record<Exclude<keyof SensitivityLabelsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
107
|
+
/**
|
|
108
|
+
* Metadata for all the requests in the request builder.
|
|
109
|
+
*/
|
|
110
|
+
export declare const SensitivityLabelsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
111
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2I,KAAK,gBAAgB,EAAE,KAAK,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAIjQ,OAAO,EAA4F,KAAK,wEAAwE,EAAE,MAAM,uEAAuE,CAAC;AAEhQ,OAAO,EAA6D,KAAK,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AAEnK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4G,KAAK,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAEpL,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CA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AAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,0JAA0J,CAAC;AAclN;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgB5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSensitivityLabelCollectionResponseFromDiscriminatorValue, createSensitivityLabelFromDiscriminatorValue, serializeSensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata } from './computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { ComputeRightsAndInheritanceRequestBuilderRequestsMetadata } from './computeRightsAndInheritance/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { SensitivityLabelItemRequestBuilderNavigationMetadata, SensitivityLabelItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
16
|
+
/**
|
|
17
|
+
* Uri template for the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export const SensitivityLabelsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const SensitivityLabelsRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"count": "%24count",
|
|
25
|
+
"expand": "%24expand",
|
|
26
|
+
"filter": "%24filter",
|
|
27
|
+
"orderby": "%24orderby",
|
|
28
|
+
"search": "%24search",
|
|
29
|
+
"select": "%24select",
|
|
30
|
+
"skip": "%24skip",
|
|
31
|
+
"top": "%24top",
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the navigation properties in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export const SensitivityLabelsRequestBuilderNavigationMetadata = {
|
|
37
|
+
bySensitivityLabelId: {
|
|
38
|
+
requestsMetadata: SensitivityLabelItemRequestBuilderRequestsMetadata,
|
|
39
|
+
navigationMetadata: SensitivityLabelItemRequestBuilderNavigationMetadata,
|
|
40
|
+
pathParametersMappings: ["sensitivityLabel%2Did"],
|
|
41
|
+
},
|
|
42
|
+
computeInheritanceWithLabelIdsWithLocaleWithContentFormats: {
|
|
43
|
+
requestsMetadata: ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata,
|
|
44
|
+
pathParametersMappings: ["contentFormats", "labelIds", "locale"],
|
|
45
|
+
},
|
|
46
|
+
computeRightsAndInheritance: {
|
|
47
|
+
requestsMetadata: ComputeRightsAndInheritanceRequestBuilderRequestsMetadata,
|
|
48
|
+
},
|
|
49
|
+
count: {
|
|
50
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const SensitivityLabelsRequestBuilderRequestsMetadata = {
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: SensitivityLabelsRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createSensitivityLabelCollectionResponseFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: SensitivityLabelsRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
post: {
|
|
68
|
+
uriTemplate: SensitivityLabelsRequestBuilderUriTemplate,
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
72
|
+
},
|
|
73
|
+
adapterMethodName: "send",
|
|
74
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
75
|
+
requestBodyContentType: "application/json",
|
|
76
|
+
requestBodySerializer: serializeSensitivityLabel,
|
|
77
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
/* tslint:enable */
|
|
81
|
+
/* eslint-enable */
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8DAA8D,EAAE,4CAA4C,EAAE,yBAAyB,EAAkE,MAAM,wCAAwC,CAAC;AACjQ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,wFAAwF,EAAiF,MAAM,u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