@microsoft/msgraph-beta-sdk-privacy
Version:
Privacy fluent API for Microsoft Graph
44 lines • 2.44 kB
TypeScript
import { type Team } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity.
*/
export interface TeamRequestBuilder extends BaseRequestBuilder<TeamRequestBuilder> {
/**
* Information about the Microsoft Teams team that was created for the request.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Team>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20
*/
get(requestConfiguration?: RequestConfiguration<TeamRequestBuilderGetQueryParameters> | undefined): Promise<Team | undefined>;
/**
* Information about the Microsoft Teams team that was created for the request.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Information about the Microsoft Teams team that was created for the request.
*/
export interface TeamRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TeamRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/team{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const TeamRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map