@microsoft/msgraph-sdk-users 1.0.0-preview.17 → 1.0.0-preview.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/users/index.d.ts +3 -3
- package/users/item/chats/item/lastMessagePreview/index.d.ts +3 -3
- package/users/item/chats/item/messages/item/replies/index.d.ts +3 -3
- package/users/item/cloudClipboard/items/index.d.ts +3 -3
- package/users/item/cloudClipboard/items/item/index.d.ts +3 -3
- package/users/item/index.d.ts +3 -3
- package/users/item/joinedTeams/item/archive/index.d.ts +2 -2
- package/users/item/joinedTeams/item/channels/item/members/item/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/messages/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/tabs/item/index.d.ts +2 -2
- package/users/item/joinedTeams/item/primaryChannel/members/item/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/messages/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/tabs/item/index.d.ts +2 -2
- package/users/item/joinedTeams/item/unarchive/index.d.ts +2 -2
- package/users/item/mailFolders/item/childFolders/index.d.ts +3 -3
- package/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.d.ts +4 -4
- package/users/item/mailFolders/item/index.d.ts +3 -3
- package/users/item/mailFolders/item/messages/item/attachments/index.d.ts +4 -4
- package/users/item/messages/index.d.ts +4 -4
- package/users/item/messages/item/attachments/index.d.ts +4 -4
- package/users/item/messages/item/index.d.ts +7 -7
- package/users/item/messages/item/value/index.d.ts +1 -1
- package/users/item/settings/windows/index.d.ts +4 -3
- package/users/item/settings/windows/index.d.ts.map +1 -1
- package/users/item/settings/windows/item/index.d.ts +4 -3
- package/users/item/settings/windows/item/index.d.ts.map +1 -1
- package/users/item/settings/windows/item/instances/index.d.ts +4 -3
- package/users/item/settings/windows/item/instances/index.d.ts.map +1 -1
- package/users/item/settings/windows/item/instances/item/index.d.ts +4 -3
- package/users/item/settings/windows/item/instances/item/index.d.ts.map +1 -1
- package/users/item/todo/lists/item/tasks/item/linkedResources/item/index.d.ts +2 -2
package/users/index.d.ts
CHANGED
|
@@ -45,12 +45,12 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Create a new user
|
|
48
|
+
* Create a new user object.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<User>}
|
|
52
52
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
53
|
-
* @see {@link https://learn.microsoft.com/graph/api/user-
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0|Find more info here}
|
|
54
54
|
*/
|
|
55
55
|
post(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
56
56
|
/**
|
|
@@ -60,7 +60,7 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
60
60
|
*/
|
|
61
61
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
62
62
|
/**
|
|
63
|
-
* Create a new user
|
|
63
|
+
* Create a new user object.
|
|
64
64
|
* @param body The request body
|
|
65
65
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
66
66
|
* @returns {RequestInformation}
|
|
@@ -11,7 +11,7 @@ export interface LastMessagePreviewRequestBuilder extends BaseRequestBuilder<Las
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Preview of the last message sent in the chat. Null if no messages
|
|
14
|
+
* Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<ChatMessageInfo>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface LastMessagePreviewRequestBuilder extends BaseRequestBuilder<Las
|
|
|
32
32
|
*/
|
|
33
33
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
34
|
/**
|
|
35
|
-
* Preview of the last message sent in the chat. Null if no messages
|
|
35
|
+
* Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface LastMessagePreviewRequestBuilder extends BaseRequestBuilder<Las
|
|
|
46
46
|
toPatchRequestInformation(body: ChatMessageInfo, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Preview of the last message sent in the chat. Null if no messages
|
|
49
|
+
* Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
|
|
50
50
|
*/
|
|
51
51
|
export interface LastMessagePreviewRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|
|
@@ -30,12 +30,12 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ChatMessage>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -17,7 +17,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
17
17
|
*/
|
|
18
18
|
byCloudClipboardItemId(cloudClipboardItemId: string): CloudClipboardItemItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Represents a collection of Cloud Clipboard items.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<CloudClipboardItemCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
32
32
|
*/
|
|
33
33
|
post(body: CloudClipboardItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudClipboardItem | undefined>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Represents a collection of Cloud Clipboard items.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
46
46
|
toPostRequestInformation(body: CloudClipboardItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Represents a collection of Cloud Clipboard items.
|
|
50
50
|
*/
|
|
51
51
|
export interface ItemsRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|
|
@@ -11,7 +11,7 @@ export interface CloudClipboardItemItemRequestBuilder extends BaseRequestBuilder
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Represents a collection of Cloud Clipboard items.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<CloudClipboardItem>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface CloudClipboardItemItemRequestBuilder extends BaseRequestBuilder
|
|
|
32
32
|
*/
|
|
33
33
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Represents a collection of Cloud Clipboard items.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface CloudClipboardItemItemRequestBuilder extends BaseRequestBuilder
|
|
|
46
46
|
toPatchRequestInformation(body: CloudClipboardItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Represents a collection of Cloud Clipboard items.
|
|
50
50
|
*/
|
|
51
51
|
export interface CloudClipboardItemItemRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|
package/users/item/index.d.ts
CHANGED
|
@@ -389,12 +389,12 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
389
389
|
*/
|
|
390
390
|
get(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
|
|
391
391
|
/**
|
|
392
|
-
* Update the properties of a user object.
|
|
392
|
+
* Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update.
|
|
393
393
|
* @param body The request body
|
|
394
394
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
395
395
|
* @returns {Promise<User>}
|
|
396
396
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
397
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
397
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0|Find more info here}
|
|
398
398
|
*/
|
|
399
399
|
patch(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
400
400
|
/**
|
|
@@ -417,7 +417,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
417
417
|
*/
|
|
418
418
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
419
419
|
/**
|
|
420
|
-
* Update the properties of a user object.
|
|
420
|
+
* Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update.
|
|
421
421
|
* @param body The request body
|
|
422
422
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
423
423
|
* @returns {RequestInformation}
|
|
@@ -18,7 +18,7 @@ export interface ArchivePostRequestBody extends AdditionalDataHolder, BackedMode
|
|
|
18
18
|
*/
|
|
19
19
|
export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequestBuilder> {
|
|
20
20
|
/**
|
|
21
|
-
* Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team
|
|
21
|
+
* Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.
|
|
22
22
|
* @param body The request body
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
24
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -26,7 +26,7 @@ export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequest
|
|
|
26
26
|
*/
|
|
27
27
|
post(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
28
28
|
/**
|
|
29
|
-
* Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team
|
|
29
|
+
* Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.
|
|
30
30
|
* @param body The request body
|
|
31
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
32
|
* @returns {RequestInformation}
|
|
@@ -5,10 +5,10 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder<ConversationMemberItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Delete a conversationMember from a channel.
|
|
8
|
+
* Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here}
|
|
12
12
|
*/
|
|
13
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
14
14
|
/**
|
|
@@ -29,7 +29,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
29
29
|
*/
|
|
30
30
|
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
31
31
|
/**
|
|
32
|
-
* Delete a conversationMember from a channel.
|
|
32
|
+
* Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
33
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
34
|
* @returns {RequestInformation}
|
|
35
35
|
*/
|
|
@@ -30,12 +30,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Send a new chatMessage in the specified channel.
|
|
33
|
+
* Send a new chatMessage in the specified channel or a chat.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ChatMessage>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Send a new chatMessage in the specified channel.
|
|
48
|
+
* Send a new chatMessage in the specified channel or a chat.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -30,12 +30,12 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ChatMessage>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -25,7 +25,7 @@ export interface TeamsTabItemRequestBuilder extends BaseRequestBuilder<TeamsTabI
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<TeamsTabItemRequestBuilderGetQueryParameters> | undefined): Promise<TeamsTab | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Update the properties of the specified tab.This can be used to configure the content of the tab.
|
|
28
|
+
* Update the properties of the specified tab.This API can be used to configure the content of the tab.
|
|
29
29
|
* @param body The request body
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<TeamsTab>}
|
|
@@ -46,7 +46,7 @@ export interface TeamsTabItemRequestBuilder extends BaseRequestBuilder<TeamsTabI
|
|
|
46
46
|
*/
|
|
47
47
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsTabItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
48
|
/**
|
|
49
|
-
* Update the properties of the specified tab.This can be used to configure the content of the tab.
|
|
49
|
+
* Update the properties of the specified tab.This API can be used to configure the content of the tab.
|
|
50
50
|
* @param body The request body
|
|
51
51
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
52
|
* @returns {RequestInformation}
|
|
@@ -5,10 +5,10 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder<ConversationMemberItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Delete a conversationMember from a channel.
|
|
8
|
+
* Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here}
|
|
12
12
|
*/
|
|
13
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
14
14
|
/**
|
|
@@ -29,7 +29,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
29
29
|
*/
|
|
30
30
|
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
31
31
|
/**
|
|
32
|
-
* Delete a conversationMember from a channel.
|
|
32
|
+
* Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
33
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
34
|
* @returns {RequestInformation}
|
|
35
35
|
*/
|
|
@@ -30,12 +30,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Send a new chatMessage in the specified channel.
|
|
33
|
+
* Send a new chatMessage in the specified channel or a chat.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ChatMessage>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Send a new chatMessage in the specified channel.
|
|
48
|
+
* Send a new chatMessage in the specified channel or a chat.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -30,12 +30,12 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ChatMessage>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface RepliesRequestBuilder extends BaseRequestBuilder<RepliesRequest
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RepliesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Create a new reply to a chatMessage in a specified channel.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -25,7 +25,7 @@ export interface TeamsTabItemRequestBuilder extends BaseRequestBuilder<TeamsTabI
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<TeamsTabItemRequestBuilderGetQueryParameters> | undefined): Promise<TeamsTab | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Update the properties of the specified tab.This can be used to configure the content of the tab.
|
|
28
|
+
* Update the properties of the specified tab.This API can be used to configure the content of the tab.
|
|
29
29
|
* @param body The request body
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<TeamsTab>}
|
|
@@ -46,7 +46,7 @@ export interface TeamsTabItemRequestBuilder extends BaseRequestBuilder<TeamsTabI
|
|
|
46
46
|
*/
|
|
47
47
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsTabItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
48
|
/**
|
|
49
|
-
* Update the properties of the specified tab.This can be used to configure the content of the tab.
|
|
49
|
+
* Update the properties of the specified tab.This API can be used to configure the content of the tab.
|
|
50
50
|
* @param body The request body
|
|
51
51
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
52
|
* @returns {RequestInformation}
|
|
@@ -4,14 +4,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface UnarchiveRequestBuilder extends BaseRequestBuilder<UnarchiveRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which
|
|
7
|
+
* Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
10
|
* @see {@link https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0|Find more info here}
|
|
11
11
|
*/
|
|
12
12
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which
|
|
14
|
+
* Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {RequestInformation}
|
|
17
17
|
*/
|
|
@@ -30,12 +30,12 @@ export interface ChildFoldersRequestBuilder extends BaseRequestBuilder<ChildFold
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<ChildFoldersRequestBuilderGetQueryParameters> | undefined): Promise<MailFolderCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<MailFolder>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: MailFolder, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MailFolder | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface ChildFoldersRequestBuilder extends BaseRequestBuilder<ChildFold
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ChildFoldersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -22,11 +22,11 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
22
22
|
*/
|
|
23
23
|
byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a list of attachment objects.
|
|
25
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<AttachmentCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
@@ -39,7 +39,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
39
39
|
*/
|
|
40
40
|
post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a list of attachment objects.
|
|
42
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
53
53
|
toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a list of attachment objects.
|
|
56
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
57
57
|
*/
|
|
58
58
|
export interface AttachmentsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|
|
@@ -45,12 +45,12 @@ export interface MailFolderItemRequestBuilder extends BaseRequestBuilder<MailFol
|
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<MailFolderItemRequestBuilderGetQueryParameters> | undefined): Promise<MailFolder | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Update the
|
|
48
|
+
* Update the properties of mailfolder object.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<MailFolder>}
|
|
52
52
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
53
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0|Find more info here}
|
|
54
54
|
*/
|
|
55
55
|
patch(body: MailFolder, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MailFolder | undefined>;
|
|
56
56
|
/**
|
|
@@ -66,7 +66,7 @@ export interface MailFolderItemRequestBuilder extends BaseRequestBuilder<MailFol
|
|
|
66
66
|
*/
|
|
67
67
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MailFolderItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
68
68
|
/**
|
|
69
|
-
* Update the
|
|
69
|
+
* Update the properties of mailfolder object.
|
|
70
70
|
* @param body The request body
|
|
71
71
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
72
72
|
* @returns {RequestInformation}
|
|
@@ -22,11 +22,11 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
22
22
|
*/
|
|
23
23
|
byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a list of attachment objects.
|
|
25
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<AttachmentCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
@@ -39,7 +39,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
39
39
|
*/
|
|
40
40
|
post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a list of attachment objects.
|
|
42
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
53
53
|
toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a list of attachment objects.
|
|
56
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
57
57
|
*/
|
|
58
58
|
export interface AttachmentsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|
|
@@ -26,16 +26,16 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<MessageCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<MessageCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Create
|
|
33
|
+
* Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<Message>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: Message, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Message | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -22,11 +22,11 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
22
22
|
*/
|
|
23
23
|
byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a list of attachment objects.
|
|
25
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<AttachmentCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
@@ -39,7 +39,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
39
39
|
*/
|
|
40
40
|
post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a list of attachment objects.
|
|
42
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
53
53
|
toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a list of attachment objects.
|
|
56
|
+
* Retrieve a list of attachment objects attached to a message.
|
|
57
57
|
*/
|
|
58
58
|
export interface AttachmentsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|