Skip to content

Commit 1e165b8

Browse files
Merge branch 'main' into dependabot/github_actions/actions/checkout-5
2 parents 89b5c50 + f33b0ae commit 1e165b8

File tree

73 files changed

+195
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+195
-188
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.45.0"
2+
".": "2.46.0"
33
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [2.46.0](https://github.com/microsoftgraph/msgraph-sdk-php/compare/v2.45.0...v2.46.0) (2025-08-20)
4+
5+
6+
### Features
7+
8+
* **generation:** update request builders and models ([1ea0608](https://github.com/microsoftgraph/msgraph-sdk-php/commit/1ea060848ee5b3572138ff67925dee2ebd46036c))
9+
310
## [2.45.0](https://github.com/microsoftgraph/msgraph-sdk-php/compare/v2.44.0...v2.45.0) (2025-08-12)
411

512

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can install the PHP SDK with Composer by editing your `composer.json` file:
1111
{
1212
"require": {
1313
// x-release-please-start-version
14-
"microsoft/microsoft-graph": "^2.45.0"
14+
"microsoft/microsoft-graph": "^2.46.0"
1515
// x-release-please-end
1616
}
1717
}

src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu
4646
}
4747

4848
/**
49-
* Retrieve a conversationMember from a chat or channel.
49+
* Retrieve a conversationMember from a chat.
5050
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return Promise<ConversationMember|null>
5252
* @throws Exception
53-
* @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here
53+
* @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here
5454
*/
5555
public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5656
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder
9494
}
9595

9696
/**
97-
* Retrieve a conversationMember from a chat or channel.
97+
* Retrieve a conversationMember from a chat.
9898
* @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9999
* @return RequestInformation
100100
*/

src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Retrieve a conversationMember from a chat or channel.
8+
* Retrieve a conversationMember from a chat.
99
*/
1010
class ConversationMemberItemRequestBuilderGetQueryParameters
1111
{

src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
7575
}
7676

7777
/**
78-
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
78+
* Send a new chatMessage in the specified channel or a chat.
7979
* @param ChatMessage $body The request body
8080
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8181
* @return Promise<ChatMessage|null>
8282
* @throws Exception
83-
* @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here
83+
* @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here
8484
*/
8585
public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
8686
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu
112112
}
113113

114114
/**
115-
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
115+
* Send a new chatMessage in the specified channel or a chat.
116116
* @param ChatMessage $body The request body
117117
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
118118
* @return RequestInformation

src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
163163
* @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
164164
* @return Promise<DeviceAppManagement|null>
165165
* @throws Exception
166-
* @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
166+
* @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
167167
*/
168168
public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
169169
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -179,7 +179,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r
179179
* @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
180180
* @return Promise<DeviceAppManagement|null>
181181
* @throws Exception
182-
* @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
182+
* @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
183183
*/
184184
public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
185185
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);

src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura
5353
}
5454

5555
/**
56-
* Read properties and relationships of the managedAppPolicy object.
56+
* Read properties and relationships of the targetedManagedAppProtection object.
5757
* @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5858
* @return Promise<ManagedAppPolicy|null>
5959
* @throws Exception
60-
* @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 Find more info here
60+
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 Find more info here
6161
*/
6262
public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6363
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe
101101
}
102102

103103
/**
104-
* Read properties and relationships of the managedAppPolicy object.
104+
* Read properties and relationships of the targetedManagedAppProtection object.
105105
* @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
106106
* @return RequestInformation
107107
*/

src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Read properties and relationships of the managedAppPolicy object.
8+
* Read properties and relationships of the targetedManagedAppProtection object.
99
*/
1010
class ManagedAppPolicyItemRequestBuilderGetQueryParameters
1111
{

src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3535
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
3737
* @throws Exception
38-
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
38+
* @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here
3939
*/
4040
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
4141
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);

0 commit comments

Comments
 (0)