Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
600 changes: 600 additions & 0 deletions packages/kiota-dom-export.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "9E99D95BCD1288D6ACD5509BB638D7A5FFAA1CBCE499D2605AA7DFD71751474D5476525C7A912CDD94FC0413398C93D7EC5320853177D6AA1DFF2C52389B1C80",
"descriptionHash": "6B168C4DEA89F82CE7BD09222A01A433A0036A725829803C8823F3F39E7C5E29157E30C4118F0A1971427E16A837D247B32B8DF75EB3CBD4D597E5CBC2E83E9E",
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.34.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ export interface ReportSyntheticMediaPostRequestBody extends AdditionalDataHolde
*/
export interface ReportSyntheticMediaRequestBuilder extends BaseRequestBuilder<ReportSyntheticMediaRequestBuilder> {
/**
* Invoke action reportSyntheticMedia
* Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta|Find more info here}
*/
post(body: ReportSyntheticMediaPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action reportSyntheticMedia
* Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
*/
byTargetedChatMessageId(targetedChatMessageId: string) : TargetedChatMessageItemRequestBuilder;
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TargetedChatMessageCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -42,7 +42,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
*/
post(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<TargetedChatMessage | undefined>;
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -56,7 +56,7 @@ export interface TargetedMessagesRequestBuilder extends BaseRequestBuilder<Targe
toPostRequestInformation(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
export interface TargetedMessagesRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TargetedChatMessage>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
Expand All @@ -52,7 +52,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
Expand All @@ -66,7 +66,7 @@ export interface TargetedChatMessageItemRequestBuilder extends BaseRequestBuilde
toPatchRequestInformation(body: TargetedChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
}
/**
* A collection of targeted messages in the chat that are visible only to specific users. Nullable.
* A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
*/
export interface TargetedChatMessageItemRequestBuilderGetQueryParameters {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ export interface ReportSyntheticMediaPostRequestBody extends AdditionalDataHolde
*/
export interface ReportSyntheticMediaRequestBuilder extends BaseRequestBuilder<ReportSyntheticMediaRequestBuilder> {
/**
* Invoke action reportSyntheticMedia
* Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta|Find more info here}
*/
post(body: ReportSyntheticMediaPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action reportSyntheticMedia
* Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ export interface AssignSensitivityLabelPostRequestBody extends AdditionalDataHol
*/
export interface AssignSensitivityLabelRequestBuilder extends BaseRequestBuilder<AssignSensitivityLabelRequestBuilder> {
/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-beta|Find more info here}
*/
post(body: AssignSensitivityLabelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
/**
* Invoke action assignSensitivityLabel
* Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createODataErrorFromDiscriminatorValue, type ODataError } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Provides operations to count the resources in the collection.
*/
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26
*/
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : Promise<number | undefined>;
/**
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
}
/**
* Get the number of the resource
*/
export interface CountRequestBuilderGetQueryParameters {
/**
* Filter items by property values
*/
filter?: string;
/**
* Search items by search phrases
*/
search?: string;
}
/**
* Uri template for the request builder.
*/
export const CountRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const CountRequestBuilderGetQueryParametersMapper: Record<string, string> = {
"filter": "%24filter",
"search": "%24search",
};
/**
* Metadata for all the requests in the request builder.
*/
export const CountRequestBuilderRequestsMetadata: RequestsMetadata = {
get: {
uriTemplate: CountRequestBuilderUriTemplate,
responseBodyContentType: "text/plain;q=0.9",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue as ParsableFactory<Parsable>,
},
adapterMethodName: "sendPrimitive",
responseBodyFactory: "number",
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
},
};
/* tslint:enable */
/* eslint-enable */
Loading
Loading