UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
29 lines 1.59 kB
import { type DataSharingConsent } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the consentToDataSharing method. */ export interface ConsentToDataSharingRequestBuilder extends BaseRequestBuilder<ConsentToDataSharingRequestBuilder> { /** * Invoke action consentToDataSharing * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DataSharingConsent>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DataSharingConsent | undefined>; /** * Invoke action consentToDataSharing * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const ConsentToDataSharingRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/dataSharingConsents/{dataSharingConsent%2Did}/consentToDataSharing"; /** * Metadata for all the requests in the request builder. */ export declare const ConsentToDataSharingRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map