Skip to content

Commit c63ec85

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 195436
1 parent 4090bd5 commit c63ec85

File tree

67 files changed

+3286
-380
lines changed
  • packages
    • msgraph-beta-sdk-administrativeUnits/administrativeUnits/validateProperties
    • msgraph-beta-sdk-admin/admin/windows/updates
    • msgraph-beta-sdk-applications/applications/validateProperties
    • msgraph-beta-sdk-chats/chats/item/messages
    • msgraph-beta-sdk-contacts/contacts/validateProperties
    • msgraph-beta-sdk-contracts/contracts/validateProperties
    • msgraph-beta-sdk-deviceAppManagement/deviceAppManagement
    • msgraph-beta-sdk-deviceManagement/deviceManagement
    • msgraph-beta-sdk-devices/devices/validateProperties
    • msgraph-beta-sdk-directoryObjects/directoryObjects/validateProperties
    • msgraph-beta-sdk-directoryRoleTemplates/directoryRoleTemplates/validateProperties
    • msgraph-beta-sdk-directoryRoles/directoryRoles/validateProperties
    • msgraph-beta-sdk-directorySettingTemplates/directorySettingTemplates/validateProperties
    • msgraph-beta-sdk-directory/directory/deletedItems/validateProperties
    • 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/entitlementManagement/accessPackageCatalogs/item
      • accessPackageCustomWorkflowExtensions/item
      • customAccessPackageWorkflowExtensions/item
    • msgraph-beta-sdk-identityProtection/identityProtection/riskyUsers
    • msgraph-beta-sdk-identity/identity/customAuthenticationExtensions/item
    • msgraph-beta-sdk-networkAccess/networkAccess/filteringProfiles/item/policies/item
    • msgraph-beta-sdk-organization/organization/validateProperties
    • msgraph-beta-sdk-permissionGrants/permissionGrants/validateProperties
    • msgraph-beta-sdk-places/places
    • msgraph-beta-sdk-servicePrincipals/servicePrincipals/validateProperties
    • msgraph-beta-sdk-sites/sites/item
    • msgraph-beta-sdk-teams/teams/item/channels/item/members/item
    • msgraph-beta-sdk-teamwork/teamwork/teamTemplates
    • msgraph-beta-sdk-users/users/validateProperties
    • 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.

67 files changed

+3286
-380
lines changed

packages/kiota-dom-export.txt

Lines changed: 396 additions & 22 deletions
Large diffs are not rendered by default.

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": "6A17EBA4FD251AD6FC9E6928DC96039C18477BA1BA4E946A13FC9996F3C6828D895147E6C085BD9A127ECDACB53CA31E3AD10DD70517A32F3B12B6FA171AEAFD",
2+
"descriptionHash": "428E415442B412EDAF1E6439A978032AA8FEE1BD373825B4FB40483CDE702B0783ABE8984097D72C9008AB371A48B9456C070501D8C91F9902B74737C65C1789",
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/windows/updates/resourceConnections/item/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
1313
*/
1414
export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder<ResourceConnectionItemRequestBuilder> {
1515
/**
16-
* Delete an operationalInsightsConnection object.
16+
* Delete a resourceConnection object.
1717
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
1818
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
19-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta|Find more info here}
19+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta|Find more info here}
2020
*/
2121
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2222
/**
23-
* Read the properties and relationships of a resourceConnection object.
23+
* Read the properties and relationships of an operationalInsightsConnection object.
2424
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2525
* @returns {Promise<ResourceConnection>}
2626
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
27-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta|Find more info here}
27+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta|Find more info here}
2828
*/
2929
get(requestConfiguration?: RequestConfiguration<ResourceConnectionItemRequestBuilderGetQueryParameters> | undefined) : Promise<ResourceConnection | undefined>;
3030
/**
@@ -36,13 +36,13 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
3636
*/
3737
patch(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ResourceConnection | undefined>;
3838
/**
39-
* Delete an operationalInsightsConnection object.
39+
* Delete a resourceConnection object.
4040
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4141
* @returns {RequestInformation}
4242
*/
4343
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
4444
/**
45-
* Read the properties and relationships of a resourceConnection object.
45+
* Read the properties and relationships of an operationalInsightsConnection object.
4646
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4747
* @returns {RequestInformation}
4848
*/
@@ -56,7 +56,7 @@ export interface ResourceConnectionItemRequestBuilder extends BaseRequestBuilder
5656
toPatchRequestInformation(body: ResourceConnection, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
5757
}
5858
/**
59-
* Read the properties and relationships of a resourceConnection object.
59+
* Read the properties and relationships of an operationalInsightsConnection object.
6060
*/
6161
export interface ResourceConnectionItemRequestBuilderGetQueryParameters {
6262
/**

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 of an azureADDevice 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-azureaddevice-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 of an azureADDevice 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 of an azureADDevice object.
83+
* Read the properties and relationships of an updatableAssetGroup object.
8484
*/
8585
export interface UpdatableAssetItemRequestBuilderGetQueryParameters {
8686
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
1919
*/
2020
get updatePolicy(): UpdatePolicyRequestBuilder;
2121
/**
22-
* Delete a complianceChange object.
22+
* Delete a contentApproval object.
2323
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
2424
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
25-
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta|Find more info here}
25+
* @see {@link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta|Find more info here}
2626
*/
2727
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
2828
/**
@@ -43,7 +43,7 @@ export interface ComplianceChangeItemRequestBuilder extends BaseRequestBuilder<C
4343
*/
4444
patch(body: ComplianceChange, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ComplianceChange | undefined>;
4545
/**
46-
* Delete a complianceChange object.
46+
* Delete a contentApproval object.
4747
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4848
* @returns {RequestInformation}
4949
*/

packages/msgraph-beta-sdk-administrativeUnits/administrativeUnits/validateProperties/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ export interface ValidatePropertiesPostRequestBody extends AdditionalDataHolder,
7272
*/
7373
export interface ValidatePropertiesRequestBuilder extends BaseRequestBuilder<ValidatePropertiesRequestBuilder> {
7474
/**
75-
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
75+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
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/directoryobject-validateproperties?view=graph-rest-beta|Find more info here}
8080
*/
8181
post(body: ValidatePropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
8282
/**
83-
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
83+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
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-applications/applications/validateProperties/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ export interface ValidatePropertiesPostRequestBody extends AdditionalDataHolder,
7272
*/
7373
export interface ValidatePropertiesRequestBuilder extends BaseRequestBuilder<ValidatePropertiesRequestBuilder> {
7474
/**
75-
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
75+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
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/directoryobject-validateproperties?view=graph-rest-beta|Find more info here}
8080
*/
8181
post(body: ValidatePropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void>;
8282
/**
83-
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
83+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy.
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-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}

0 commit comments

Comments
 (0)