Skip to content

Commit 3126292

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 199037
1 parent 1195c34 commit 3126292

79 files changed

Lines changed: 311 additions & 297 deletions

File tree

  • packages
    • msgraph-beta-sdk-administrativeUnits/administrativeUnits/item/restore
    • msgraph-beta-sdk-admin/admin
    • msgraph-beta-sdk-applications/applications/item/restore
    • msgraph-beta-sdk-chats/chats/item/messages
    • msgraph-beta-sdk-communications/communications/presences/item/setPresence
    • msgraph-beta-sdk-contacts/contacts/item/restore
    • msgraph-beta-sdk-contracts/contracts/item/restore
    • msgraph-beta-sdk-deviceManagement/deviceManagement/mobileAppTroubleshootingEvents/item/appLogCollectionRequests
    • msgraph-beta-sdk-devices/devices/item/restore
    • msgraph-beta-sdk-directoryObjects/directoryObjects/item/restore
    • msgraph-beta-sdk-directoryRoleTemplates/directoryRoleTemplates/item/restore
    • msgraph-beta-sdk-directoryRoles/directoryRoles/item/restore
    • msgraph-beta-sdk-directorySettingTemplates/directorySettingTemplates/item/restore
    • msgraph-beta-sdk-directory/directory
      • authenticationMethodDevices/hardwareOathDevices
      • deletedItems/item/restore
    • msgraph-beta-sdk-drives/drives/item/items/item/workbook
    • msgraph-beta-sdk-education/education/users/item
    • msgraph-beta-sdk-external/external
    • msgraph-beta-sdk-groups/groups
    • msgraph-beta-sdk-identityGovernance/identityGovernance
    • msgraph-beta-sdk-identityProtection/identityProtection/riskyUsers
    • msgraph-beta-sdk-identity/identity/conditionalAccess
    • msgraph-beta-sdk-organization/organization/item/restore
    • msgraph-beta-sdk-permissionGrants/permissionGrants/item/restore
    • msgraph-beta-sdk-policies/policies
    • msgraph-beta-sdk-servicePrincipals/servicePrincipals/item/restore
    • msgraph-beta-sdk-sites/sites/item/lists/item
    • msgraph-beta-sdk-solutions/solutions/backupRestore/protectionUnits/item/cancelOffboard
    • msgraph-beta-sdk-teamwork/teamwork/teamTemplates
    • msgraph-beta-sdk-tenantRelationships/tenantRelationships/multiTenantOrganization
    • msgraph-beta-sdk-users/users/item
    • msgraph-beta-sdk/models

Some content is hidden

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

packages/kiota-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"descriptionHash": "5EBF0931575B59AFF14D62894DEA1930E8EA6764C2838D65EB17C04BBD10176BD6FC9859893FAA48C7AC6F4984BE90FD1DBE3E8CABDC2FF70B5BC5937BBED056",
2+
"descriptionHash": "AA9E94E7EFD0F6E782B6025956D84BB92BC7E532F476B492EA4BF706BFE47EDD4645053F696A1B496A97FA963846A230A27E9CEDBE9C3B6EA581B9BADED17BF4",
33
"descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.29.0",

packages/msgraph-beta-sdk-admin/admin/teams/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
3131
*/
3232
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
3333
/**
34-
* A container for all Teams telephone number management functionalities and user configurations.
34+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
3535
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @returns {Promise<TeamsAdminRoot>}
3737
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -52,7 +52,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
5252
*/
5353
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5454
/**
55-
* A container for all Teams telephone number management functionalities and user configurations.
55+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
5656
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @returns {RequestInformation}
5858
*/
@@ -66,7 +66,7 @@ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuil
6666
toPatchRequestInformation(body: TeamsAdminRoot, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6767
}
6868
/**
69-
* A container for all Teams telephone number management functionalities and user configurations.
69+
* A container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments.
7070
*/
7171
export interface TeamsRequestBuilderGetQueryParameters {
7272
/**

packages/msgraph-beta-sdk-admin/admin/teams/policy/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBu
1919
*/
2020
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2121
/**
22-
* Get policy from admin
22+
* Represents a navigation property to the Teams policy assignment object.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @returns {Promise<TeamsPolicyAssignment>}
2525
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -40,7 +40,7 @@ export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBu
4040
*/
4141
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4242
/**
43-
* Get policy from admin
43+
* Represents a navigation property to the Teams policy assignment object.
4444
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4545
* @returns {RequestInformation}
4646
*/
@@ -54,7 +54,7 @@ export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBu
5454
toPatchRequestInformation(body: TeamsPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5555
}
5656
/**
57-
* Get policy from admin
57+
* Represents a navigation property to the Teams policy assignment object.
5858
*/
5959
export interface PolicyRequestBuilderGetQueryParameters {
6060
/**

packages/msgraph-beta-sdk-admin/admin/windows/updates/updatableAssets/item/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
4444
*/
4545
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
4646
/**
47-
* Read the properties and relationships of an updatableAsset object.
47+
* Read the properties and relationships of an updatableAssetGroup object.
4848
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4949
* @returns {Promise<UpdatableAsset>}
5050
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
51-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta|Find more info here}
51+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta|Find more info here}
5252
*/
5353
get(requestConfiguration?: RequestConfiguration<UpdatableAssetItemRequestBuilderGetQueryParameters> | undefined) : Promise<UpdatableAsset | undefined>;
5454
/**
@@ -66,7 +66,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
6666
*/
6767
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
6868
/**
69-
* Read the properties and relationships of an updatableAsset object.
69+
* Read the properties and relationships of an updatableAssetGroup object.
7070
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7171
* @returns {RequestInformation}
7272
*/
@@ -80,7 +80,7 @@ export interface UpdatableAssetItemRequestBuilder extends BaseRequestBuilder<Upd
8080
toPatchRequestInformation(body: UpdatableAsset, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
8181
}
8282
/**
83-
* Read the properties and relationships of an updatableAsset object.
83+
* Read the properties and relationships of an updatableAssetGroup object.
8484
*/
8585
export interface UpdatableAssetItemRequestBuilderGetQueryParameters {
8686
/**

packages/msgraph-beta-sdk-administrativeUnits/administrativeUnits/item/restore/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
1515
/**
16-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
16+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @returns {Promise<DirectoryObject>}
1919
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
2020
* @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta|Find more info here}
2121
*/
2222
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DirectoryObject | undefined>;
2323
/**
24-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
24+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
2525
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2626
* @returns {RequestInformation}
2727
*/

packages/msgraph-beta-sdk-applications/applications/item/restore/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
1515
/**
16-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
16+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @returns {Promise<DirectoryObject>}
1919
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
2020
* @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta|Find more info here}
2121
*/
2222
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DirectoryObject | undefined>;
2323
/**
24-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
24+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
2525
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2626
* @returns {RequestInformation}
2727
*/

packages/msgraph-beta-sdk-chats/chats/item/messages/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
5353
*/
5454
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : Promise<ChatMessageCollectionResponse | undefined>;
5555
/**
56-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
56+
* Send a new chatMessage in the specified channel or a chat.
5757
* @param body The request body
5858
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5959
* @returns {Promise<ChatMessage>}
6060
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
61-
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta|Find more info here}
61+
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta|Find more info here}
6262
*/
6363
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ChatMessage | undefined>;
6464
/**
@@ -68,7 +68,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
6868
*/
6969
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
7070
/**
71-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
71+
* Send a new chatMessage in the specified channel or a chat.
7272
* @param body The request body
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @returns {RequestInformation}

packages/msgraph-beta-sdk-communications/communications/presences/item/setPresence/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ export interface SetPresencePostRequestBody extends AdditionalDataHolder, Backed
7272
*/
7373
export interface SetPresenceRequestBuilder extends BaseRequestBuilder<SetPresenceRequestBuilder> {
7474
/**
75-
* Set the availability and activity status in a presence session of an application for a user.
75+
* Set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
7979
* @see {@link https://learn.microsoft.com/graph/api/presence-setpresence?view=graph-rest-beta|Find more info here}
8080
*/
8181
post(body: SetPresencePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
8282
/**
83-
* Set the availability and activity status in a presence session of an application for a user.
83+
* Set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API.
8484
* @param body The request body
8585
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8686
* @returns {RequestInformation}

packages/msgraph-beta-sdk-contacts/contacts/item/restore/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
1515
/**
16-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
16+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @returns {Promise<DirectoryObject>}
1919
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
2020
* @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta|Find more info here}
2121
*/
2222
post(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DirectoryObject | undefined>;
2323
/**
24-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
24+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
2525
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2626
* @returns {RequestInformation}
2727
*/

0 commit comments

Comments
 (0)