@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
|
@@ -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 sublabels property of the microsoft.graph.sensitivityLabel entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface SublabelsRequestBuilder extends BaseRequestBuilder<SublabelsRequestBuilder> {
|
|
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 sublabels property of the microsoft.graph.sensitivityLabel entity.
|
|
21
|
+
* @param sensitivityLabelId1 The unique identifier of sensitivityLabel
|
|
22
|
+
* @returns {SensitivityLabelItemRequestBuilder}
|
|
23
|
+
*/
|
|
24
|
+
bySensitivityLabelId1(sensitivityLabelId1: 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 sublabels 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<SublabelsRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabelCollectionResponse | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to sublabels 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 sublabels 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<SublabelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
54
|
+
/**
|
|
55
|
+
* Create new navigation property to sublabels 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 sublabels from users
|
|
64
|
+
*/
|
|
65
|
+
export interface SublabelsRequestBuilderGetQueryParameters {
|
|
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 SublabelsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels{?%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 SublabelsRequestBuilderNavigationMetadata: Record<Exclude<keyof SublabelsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
107
|
+
/**
|
|
108
|
+
* Metadata for all the requests in the request builder.
|
|
109
|
+
*/
|
|
110
|
+
export declare const SublabelsRequestBuilderRequestsMetadata: 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,K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,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,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,kCAAkC,4LAA4L,CAAC;AAc5O;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgB5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,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 SublabelsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels{?%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 SublabelsRequestBuilderGetQueryParametersMapper = {
|
|
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 SublabelsRequestBuilderNavigationMetadata = {
|
|
37
|
+
bySensitivityLabelId1: {
|
|
38
|
+
requestsMetadata: SensitivityLabelItemRequestBuilderRequestsMetadata,
|
|
39
|
+
navigationMetadata: SensitivityLabelItemRequestBuilderNavigationMetadata,
|
|
40
|
+
pathParametersMappings: ["sensitivityLabel%2Did1"],
|
|
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 SublabelsRequestBuilderRequestsMetadata = {
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: SublabelsRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createSensitivityLabelCollectionResponseFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: SublabelsRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
post: {
|
|
68
|
+
uriTemplate: SublabelsRequestBuilderUriTemplate,
|
|
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 */
|
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EAAE;QACzB,gBAAgB,EAAE,yDAAyD;KAC9E;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8DAA8D;QACpF,qBAAqB,EAAE,+CAA+C;KACzE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type RightsRequestBuilder } from './rights/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface SensitivityLabelItemRequestBuilder extends BaseRequestBuilder<SensitivityLabelItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity.
|
|
10
|
+
*/
|
|
11
|
+
get rights(): RightsRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property sublabels for users
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get sublabels from users
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<SensitivityLabel>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabel | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property sublabels in users
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {Promise<SensitivityLabel>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
*/
|
|
32
|
+
patch(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete navigation property sublabels for users
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get sublabels from users
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property sublabels in users
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get sublabels from users
|
|
55
|
+
*/
|
|
56
|
+
export interface SensitivityLabelItemRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const SensitivityLabelItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SensitivityLabelItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const SensitivityLabelItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO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D;;GAEG;AACH,MAAM,WAAW,oDAAoD;IACjE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,8JAA8J,CAAC;AAQzN;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kCAAkC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIlL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA+BhE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { 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 { RightsRequestBuilderRequestsMetadata } from './rights/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}{?%24expand,%24select}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const SensitivityLabelItemRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const SensitivityLabelItemRequestBuilderNavigationMetadata = {
|
|
25
|
+
rights: {
|
|
26
|
+
requestsMetadata: RightsRequestBuilderRequestsMetadata,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const SensitivityLabelItemRequestBuilderRequestsMetadata = {
|
|
33
|
+
delete: {
|
|
34
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
38
|
+
},
|
|
39
|
+
adapterMethodName: "sendNoResponseContent",
|
|
40
|
+
},
|
|
41
|
+
get: {
|
|
42
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
49
|
+
queryParametersMapper: SensitivityLabelItemRequestBuilderGetQueryParametersMapper,
|
|
50
|
+
},
|
|
51
|
+
patch: {
|
|
52
|
+
uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeSensitivityLabel,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js.map
ADDED
|
@@ -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,EAAE,yBAAyB,EAAyB,MAAM,wCAAwC,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAkEpG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,2JAA2J,CAAC;AACzN;;GAEG;AACH,MAAM,0DAA0D,GAA2B;IACvF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAsH;IACnL,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,MAAM,EAAE;QACJ,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,qBAAqB,EAAE,0DAA0D;KACpF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type UsageRightsIncluded } 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 manage the rights property of the microsoft.graph.sensitivityLabel entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface RightsRequestBuilder extends BaseRequestBuilder<RightsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Get rights from users
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<UsageRightsIncluded>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<RightsRequestBuilderGetQueryParameters> | undefined): Promise<UsageRightsIncluded | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Get rights from users
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RightsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get rights from users
|
|
23
|
+
*/
|
|
24
|
+
export interface RightsRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const RightsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const RightsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAInI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,qKAAqK,CAAC;AAQlN;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
|
package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createUsageRightsIncludedFromDiscriminatorValue } 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 RightsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const RightsRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const RightsRequestBuilderRequestsMetadata = {
|
|
23
|
+
get: {
|
|
24
|
+
uriTemplate: RightsRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "send",
|
|
30
|
+
responseBodyFactory: createUsageRightsIncludedFromDiscriminatorValue,
|
|
31
|
+
queryParametersMapper: RightsRequestBuilderGetQueryParametersMapper,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
36
|
+
//# 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,+CAA+C,EAA4B,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,kKAAkK,CAAC;AAClN;;GAEG;AACH,MAAM,4CAA4C,GAA2B;IACzE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,4CAA4C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/users/item/index.d.ts
CHANGED
|
@@ -385,7 +385,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
385
385
|
* Deletes a user.
|
|
386
386
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
387
387
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
388
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-
|
|
388
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0|Find more info here}
|
|
389
389
|
*/
|
|
390
390
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
391
391
|
/**
|
|
@@ -396,11 +396,11 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
396
396
|
*/
|
|
397
397
|
exportDeviceAndAppManagementDataWithSkipWithTop(skip: number | undefined, top: number | undefined): ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder;
|
|
398
398
|
/**
|
|
399
|
-
*
|
|
399
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
400
400
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
401
401
|
* @returns {Promise<User>}
|
|
402
402
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
403
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
403
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0|Find more info here}
|
|
404
404
|
*/
|
|
405
405
|
get(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
|
|
406
406
|
/**
|
|
@@ -409,7 +409,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
409
409
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
410
410
|
* @returns {Promise<User>}
|
|
411
411
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
412
|
-
* @see {@link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0|Find more info here}
|
|
412
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0|Find more info here}
|
|
413
413
|
*/
|
|
414
414
|
patch(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
415
415
|
/**
|
|
@@ -426,7 +426,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
426
426
|
*/
|
|
427
427
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
429
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
430
430
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
431
431
|
* @returns {RequestInformation}
|
|
432
432
|
*/
|
|
@@ -440,7 +440,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
440
440
|
toPatchRequestInformation(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
|
-
*
|
|
443
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
444
444
|
*/
|
|
445
445
|
export interface UserItemRequestBuilderGetQueryParameters {
|
|
446
446
|
/**
|