UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
127 lines 7.38 kB
import { type InformationProtectionLabel, type InformationProtectionLabelCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CountRequestBuilder } from './count/index.js'; import { type EvaluateApplicationRequestBuilder } from './evaluateApplication/index.js'; import { type EvaluateClassificationResultsRequestBuilder } from './evaluateClassificationResults/index.js'; import { type EvaluateRemovalRequestBuilder } from './evaluateRemoval/index.js'; import { type ExtractLabelRequestBuilder } from './extractLabel/index.js'; import { type InformationProtectionLabelItemRequestBuilder } from './item/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. */ export interface LabelsRequestBuilder extends BaseRequestBuilder<LabelsRequestBuilder> { /** * Provides operations to count the resources in the collection. * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get count(): CountRequestBuilder; /** * Provides operations to call the evaluateApplication method. * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get evaluateApplication(): EvaluateApplicationRequestBuilder; /** * Provides operations to call the evaluateClassificationResults method. * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get evaluateClassificationResults(): EvaluateClassificationResultsRequestBuilder; /** * Provides operations to call the evaluateRemoval method. * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get evaluateRemoval(): EvaluateRemovalRequestBuilder; /** * Provides operations to call the extractLabel method. * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get extractLabel(): ExtractLabelRequestBuilder; /** * Provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. * @param informationProtectionLabelId The unique identifier of informationProtectionLabel * @returns {InformationProtectionLabelItemRequestBuilder} * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ byInformationProtectionLabelId(informationProtectionLabelId: string): InformationProtectionLabelItemRequestBuilder; /** * Get labels from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<InformationProtectionLabelCollectionResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ get(requestConfiguration?: RequestConfiguration<LabelsRequestBuilderGetQueryParameters> | undefined): Promise<InformationProtectionLabelCollectionResponse | undefined>; /** * Create new navigation property to labels for users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<InformationProtectionLabel>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ post(body: InformationProtectionLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InformationProtectionLabel | undefined>; /** * Get labels from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<LabelsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Create new navigation property to labels for users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 */ toPostRequestInformation(body: InformationProtectionLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get labels from users */ export interface LabelsRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * Show only the first n items */ top?: number; } /** * Uri template for the request builder. */ export declare const LabelsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/informationProtection/policy/labels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const LabelsRequestBuilderNavigationMetadata: Record<Exclude<keyof LabelsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const LabelsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map