@microsoft/msgraph-sdk-teamwork
Advanced tools
Comparing version 1.0.0-preview.14 to 1.0.0-preview.15
{ | ||
"name": "@microsoft/msgraph-sdk-teamwork", | ||
"version": "1.0.0-preview.14", | ||
"version": "1.0.0-preview.15", | ||
"description": "Teamwork fluent API for Microsoft Graph", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36", | ||
"@microsoft/msgraph-sdk": "^1.0.0-preview.14", | ||
"@microsoft/msgraph-sdk": "^1.0.0-preview.15", | ||
"guid-typescript": "^1.0.9", | ||
@@ -48,3 +48,3 @@ "tslib": "^2.6.2" | ||
}, | ||
"gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7" | ||
"gitHead": "1dcf0e9093a5645283fea0e91cc30247bc3a76c4" | ||
} |
@@ -33,3 +33,3 @@ import { type ConversationMember, type ConversationMemberCollectionResponse } from '@microsoft/msgraph-sdk/models/'; | ||
/** | ||
* Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. | ||
* Add a conversationMember to a channel. | ||
* @param body The request body | ||
@@ -39,3 +39,3 @@ * @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/channel-post-members?view=graph-rest-1.0|Find more info here} | ||
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} | ||
*/ | ||
@@ -50,3 +50,3 @@ post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>; | ||
/** | ||
* Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. | ||
* Add a conversationMember to a channel. | ||
* @param body The request body | ||
@@ -53,0 +53,0 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. |
@@ -23,3 +23,3 @@ import { type ConversationMember } from '@microsoft/msgraph-sdk/models/'; | ||
/** | ||
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. | ||
* Update the role of a conversationMember in a team or channel. | ||
* @param body The request body | ||
@@ -29,3 +29,3 @@ * @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/channel-update-members?view=graph-rest-1.0|Find more info here} | ||
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0|Find more info here} | ||
*/ | ||
@@ -46,3 +46,3 @@ patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>; | ||
/** | ||
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. | ||
* Update the role of a conversationMember in a team or channel. | ||
* @param body The request body | ||
@@ -49,0 +49,0 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. |
@@ -33,3 +33,3 @@ import { type ChatMessage, type ChatMessageCollectionResponse } from '@microsoft/msgraph-sdk/models/'; | ||
/** | ||
* Send a new chatMessage in the specified channel or a chat. | ||
* Send a new chatMessage in the specified channel. | ||
* @param body The request body | ||
@@ -39,3 +39,3 @@ * @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/chatmessage-post?view=graph-rest-1.0|Find more info here} | ||
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} | ||
*/ | ||
@@ -50,3 +50,3 @@ post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>; | ||
/** | ||
* Send a new chatMessage in the specified channel or a chat. | ||
* Send a new chatMessage in the specified channel. | ||
* @param body The request body | ||
@@ -53,0 +53,0 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. |
@@ -52,3 +52,3 @@ import { type ChatMessage } from '@microsoft/msgraph-sdk/models/'; | ||
/** | ||
* Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. | ||
* Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. | ||
* @param body The request body | ||
@@ -74,3 +74,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
/** | ||
* Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. | ||
* Update a chatMessage object. Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. | ||
* @param body The request body | ||
@@ -77,0 +77,0 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. |
@@ -25,3 +25,3 @@ import { type ChatMessage, type ChatMessageCollectionResponse } from '@microsoft/msgraph-sdk/models/'; | ||
/** | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
@@ -34,3 +34,3 @@ * @returns {Promise<ChatMessageCollectionResponse>} | ||
/** | ||
* Send a new reply to a chatMessage in a specified channel. | ||
* Create a new reply to a chatMessage in a specified channel. | ||
* @param body The request body | ||
@@ -40,7 +40,7 @@ * @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/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} | ||
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} | ||
*/ | ||
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>; | ||
/** | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
@@ -51,3 +51,3 @@ * @returns {RequestInformation} | ||
/** | ||
* Send a new reply to a chatMessage in a specified channel. | ||
* Create a new reply to a chatMessage in a specified channel. | ||
* @param body The request body | ||
@@ -60,3 +60,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
/** | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. | ||
* List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. | ||
*/ | ||
@@ -63,0 +63,0 @@ export interface RepliesRequestBuilderGetQueryParameters { |
import { type Teamwork } from '@microsoft/msgraph-sdk/models/'; | ||
import { type DeletedChatsRequestBuilder } from './deletedChats/'; | ||
import { type DeletedTeamsRequestBuilder } from './deletedTeams/'; | ||
@@ -12,2 +13,6 @@ import { type SendActivityNotificationToRecipientsRequestBuilder } from './sendActivityNotificationToRecipients/'; | ||
/** | ||
* Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity. | ||
*/ | ||
get deletedChats(): DeletedChatsRequestBuilder; | ||
/** | ||
* Provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity. | ||
@@ -14,0 +19,0 @@ */ |
@@ -9,2 +9,3 @@ "use strict"; | ||
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/"); | ||
const deletedChats_1 = require("./deletedChats/"); | ||
const deletedTeams_1 = require("./deletedTeams/"); | ||
@@ -29,2 +30,6 @@ const sendActivityNotificationToRecipients_1 = require("./sendActivityNotificationToRecipients/"); | ||
exports.TeamworkRequestBuilderNavigationMetadata = { | ||
deletedChats: { | ||
requestsMetadata: deletedChats_1.DeletedChatsRequestBuilderRequestsMetadata, | ||
navigationMetadata: deletedChats_1.DeletedChatsRequestBuilderNavigationMetadata, | ||
}, | ||
deletedTeams: { | ||
@@ -31,0 +36,0 @@ requestsMetadata: deletedTeams_1.DeletedTeamsRequestBuilderRequestsMetadata, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
524604
200
7653