diff --git a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts index 8b079ce6b4c..876c8088b55 100644 --- a/src/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/chats/item/messages/messagesRequestBuilder.ts b/src/chats/item/messages/messagesRequestBuilder.ts index 608b8ebb7ab..341441ab2f0 100644 --- a/src/chats/item/messages/messagesRequestBuilder.ts +++ b/src/chats/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts index 5460973e228..cd583d6a910 100644 --- a/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts +++ b/src/communications/calls/item/participants/invite/inviteRequestBuilder.ts @@ -30,11 +30,11 @@ export class InviteRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite"); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InviteParticipantsOperation - * @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here} */ public post(body: InvitePostRequestBody, requestConfiguration?: InviteRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -47,7 +47,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInviteParticipantsOperationFromDiscriminatorValue, errorMapping); }; /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts index 00893137d24..01791ec1251 100644 --- a/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts +++ b/src/deviceAppManagement/deviceAppManagementRequestBuilder.ts @@ -161,7 +161,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceAppManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceAppManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -178,7 +178,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceAppManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceAppManagement, requestConfiguration?: DeviceAppManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts index a3c74f6504b..d4b4199f31d 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/managedAppPolicyItemRequestBuilder.ts @@ -84,10 +84,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the managedAppPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -133,7 +133,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedAppProtection object. + * Read properties and relationships of the managedAppPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts index dd60baf5e22..12f459031e3 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts index 9bc82836e57..e74efc5b075 100644 --- a/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppPolicies/managedAppPoliciesRequestBuilder.ts @@ -98,10 +98,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the managedAppPolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppPolicyCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppPoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the windowsInformationProtection objects. + * List properties and relationships of the managedAppPolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts index 8d9ba26104e..8448fa561a0 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts index e007eec5a43..7de1f9858b6 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/targetAppsRequestBuilder.ts @@ -32,7 +32,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder { * Not yet documented * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here} */ public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts index 0953578a9cf..ae2b65e7312 100644 --- a/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedAppStatuses/item/managedAppStatusItemRequestBuilder.ts @@ -77,10 +77,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppStatus - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedAppStatusItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -126,7 +126,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts index b3e612d790e..152e2928a14 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/assignmentsRequestBuilder.ts @@ -98,10 +98,10 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AssignmentsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts index dfe4170b24e..106ce61b736 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/item/managedEBookAssignmentItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}"); }; /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0|Find more info here} */ public patch(body: ManagedEBookAssignment, requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -128,7 +128,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts index 5fb5d3eea64..85ccc69ac75 100644 --- a/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts +++ b/src/deviceAppManagement/managedEBooks/item/managedEBookItemRequestBuilder.ts @@ -113,10 +113,10 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBook - * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedEBookItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -163,7 +163,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedEBook object. + * Read properties and relationships of the iosVppEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts b/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts index 395e76e681d..18ed9a133d9 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/managedDeviceMobileAppConfigurationItemRequestBuilder.ts @@ -120,10 +120,10 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -170,7 +170,7 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return requestInfo; }; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts index 11af7f6fa00..c15a0882c42 100644 --- a/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/item/mobileAppItemRequestBuilder.ts @@ -196,9 +196,9 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windowsMobileMSI. + * Deletes a macOSMicrosoftEdgeApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MobileAppItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -211,10 +211,10 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the macOSMicrosoftEdgeApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macosmicrosoftedgeapp-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -227,11 +227,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a windowsAppX object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MobileApp, requestConfiguration?: MobileAppItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -244,7 +244,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windowsMobileMSI. + * Deletes a macOSMicrosoftEdgeApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -261,7 +261,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the macOSOfficeSuiteApp object. + * Read properties and relationships of the macOSMicrosoftEdgeApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -279,7 +279,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a windowsMobileMSI object. + * Update the properties of a windowsAppX object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts index 28fb25e16e0..f03c5860d54 100644 --- a/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts +++ b/src/deviceAppManagement/mobileApps/mobileAppsRequestBuilder.ts @@ -210,10 +210,10 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the androidStoreApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileAppCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MobileAppsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -226,11 +226,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new iosLobApp object. + * Create a new windowsMicrosoftEdgeApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-create?view=graph-rest-1.0|Find more info here} */ public post(body: MobileApp, requestConfiguration?: MobileAppsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -243,7 +243,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosiPadOSWebClip objects. + * List properties and relationships of the androidStoreApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -261,7 +261,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new iosLobApp object. + * Create a new windowsMicrosoftEdgeApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts index 6f02bd8daf7..d390ac589db 100644 --- a/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/deviceCompliancePoliciesRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosCompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicyCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new macOSCompliancePolicy object. + * Create a new androidCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceCompliancePolicy, requestConfiguration?: DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosCompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new macOSCompliancePolicy object. + * Create a new androidCompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts index a11c99a7733..f437dbfdc0f 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/deviceCompliancePolicyItemRequestBuilder.ts @@ -126,9 +126,9 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}"); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -157,11 +157,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows10CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceCompliancePolicy - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceCompliancePolicy, requestConfiguration?: DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -174,7 +174,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -209,7 +209,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of a androidWorkProfileCompliancePolicy object. + * Update the properties of a windows10CompliancePolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts index d3fae8c55b5..a5d252c24f4 100644 --- a/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/deviceConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the deviceConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new macOSGeneralDeviceConfiguration object. + * Create a new windows10CustomConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceConfiguration, requestConfiguration?: DeviceConfigurationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + * List properties and relationships of the deviceConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new macOSGeneralDeviceConfiguration object. + * Create a new windows10CustomConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts index 08808675876..39eb97aa740 100644 --- a/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceConfigurations/item/deviceConfigurationItemRequestBuilder.ts @@ -113,9 +113,9 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windowsPhone81CustomConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -128,10 +128,10 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-appledevicefeaturesconfigurationbase-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -153,11 +153,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(this.pathParameters, this.requestAdapter, secretReferenceValueId); }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a windows81GeneralConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceConfiguration, requestConfiguration?: DeviceConfigurationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -170,7 +170,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windows81GeneralConfiguration. + * Deletes a windowsPhone81CustomConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -187,7 +187,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + * Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -205,7 +205,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a windowsPhone81CustomConfiguration object. + * Update the properties of a windows81GeneralConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts index 44edb24d79f..f175f7acce2 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/deviceEnrollmentConfigurationsRequestBuilder.ts @@ -98,10 +98,10 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceEnrollmentConfiguration, requestConfiguration?: DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentLimitConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return requestInfo; }; /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts index 8367cd644d5..5b83422ea4c 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/deviceEnrollmentConfigurationItemRequestBuilder.ts @@ -84,9 +84,9 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -99,10 +99,10 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -132,7 +132,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return requestInfo; }; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceManagement/deviceManagementRequestBuilder.ts b/src/deviceManagement/deviceManagementRequestBuilder.ts index 1fb08de3435..710b861970c 100644 --- a/src/deviceManagement/deviceManagementRequestBuilder.ts +++ b/src/deviceManagement/deviceManagementRequestBuilder.ts @@ -464,7 +464,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the deviceManagement object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-notification-devicemanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: DeviceManagementRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -490,7 +490,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder { * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceManagement - * @see {@link https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceManagement, requestConfiguration?: DeviceManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts index a0c5f977911..a06b67420a8 100644 --- a/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/item/roleDefinitionItemRequestBuilder.ts @@ -70,9 +70,9 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RoleDefinitionItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -85,10 +85,10 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RoleDefinitionItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -101,11 +101,11 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0|Find more info here} */ public patch(body: RoleDefinition, requestConfiguration?: RoleDefinitionItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -118,7 +118,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -135,7 +135,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + * Read properties and relationships of the roleDefinition object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -153,7 +153,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts index 332a74f934d..96daa70840f 100644 --- a/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts +++ b/src/deviceManagement/roleDefinitions/roleDefinitionsRequestBuilder.ts @@ -98,10 +98,10 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinitionCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RoleDefinitionsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,11 +114,11 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinition - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0|Find more info here} */ public post(body: RoleDefinition, requestConfiguration?: RoleDefinitionsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -131,7 +131,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -149,7 +149,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts index 7b2931f1659..c5b6f507205 100644 --- a/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts +++ b/src/domains/item/federationConfiguration/federationConfigurationRequestBuilder.ts @@ -98,9 +98,10 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/domains/{domain%2Did}/federationConfiguration{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of InternalDomainFederationCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/domain-list-federationconfiguration?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: FederationConfigurationRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +131,7 @@ export class FederationConfigurationRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createInternalDomainFederationFromDiscriminatorValue, errorMapping); }; /** - * Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + * Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts b/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts index 637cec1c19f..aba956145a2 100644 --- a/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts +++ b/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts @@ -1,22 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ODataError } from '../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../models/oDataErrors/oDataError'; -import { createWorkbookFunctionResultFromDiscriminatorValue, deserializeIntoWorkbookFunctionResult, serializeWorkbookFunctionResult, type WorkbookFunctionResult } from '../../../../../../../models/workbookFunctionResult'; -import { deserializeIntoBasePostRequestBody, serializeBasePostRequestBody, type BasePostRequestBody } from './basePostRequestBody'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderPostRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; -} /** * Provides operations to call the base method. */ @@ -75,5 +56,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts index 7c3784bfe6f..708cb116be7 100644 --- a/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts index c62dce8e2ce..8b3d7ae99fd 100644 --- a/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/tables/tablesRequestBuilder.ts @@ -109,7 +109,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of table objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/workbook-list-tables?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: TablesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts index 879fdc73581..54bc1c4a5f3 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/pointsRequestBuilder.ts @@ -99,10 +99,10 @@ export class PointsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of chartpoint objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookChartPointCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PointsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -141,7 +141,7 @@ export class PointsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookChartPointFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of chartpoint objects. This API is available in the following national cloud deployments. + * Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts index 70b0dafdd50..98ecac4caff 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/seriesRequestBuilder.ts @@ -102,7 +102,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookChartSeriesCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: SeriesRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts index 90e1acf6c20..c7aa6863372 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rowsRequestBuilder.ts @@ -109,7 +109,7 @@ export class RowsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableRowCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RowsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts index 1c402bf5241..78911670fff 100644 --- a/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/groups/item/conversations/conversationsRequestBuilder.ts b/src/groups/item/conversations/conversationsRequestBuilder.ts index edb75fce48f..0d7f488b66e 100644 --- a/src/groups/item/conversations/conversationsRequestBuilder.ts +++ b/src/groups/item/conversations/conversationsRequestBuilder.ts @@ -110,11 +110,11 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * 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. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0|Find more info here} */ public post(body: Conversation, requestConfiguration?: ConversationsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -145,7 +145,7 @@ export class ConversationsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * 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. This API is available in the following national cloud deployments. + * Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts index bbd0b653a73..4c2a8f1eda6 100644 --- a/src/groups/item/conversations/item/conversationItemRequestBuilder.ts +++ b/src/groups/item/conversations/item/conversationItemRequestBuilder.ts @@ -72,10 +72,10 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Conversation - * @see {@link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ConversationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -105,7 +105,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + * This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts index 83d6949f418..4c8db743fc1 100644 --- a/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/posts/postsRequestBuilder.ts @@ -83,10 +83,10 @@ export class PostsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of PostCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PostsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -99,7 +99,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createPostCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts b/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts index e63c412df5f..245e7292046 100644 --- a/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/conversations/item/threads/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply"); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/groupItemRequestBuilder.ts b/src/groups/item/groupItemRequestBuilder.ts index b095b3f0442..eaf70a5d861 100644 --- a/src/groups/item/groupItemRequestBuilder.ts +++ b/src/groups/item/groupItemRequestBuilder.ts @@ -395,11 +395,11 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createGroupFromDiscriminatorValue, errorMapping); }; /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Update the properties of a group object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Group - * @see {@link https://learn.microsoft.com/graph/api/group-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-update?view=graph-rest-1.0|Find more info here} */ public patch(body: Group, requestConfiguration?: GroupItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -447,7 +447,7 @@ export class GroupItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + * Update the properties of a group object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts index 7c383d8e76a..473fcf0880a 100644 --- a/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts index df2ab6917b3..d3b670f1762 100644 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts b/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts index a38ae41eb47..ed25878c660 100644 --- a/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts +++ b/src/groups/item/sites/item/lists/item/listItemRequestBuilder.ts @@ -133,10 +133,10 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of List - * @see {@link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ListItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -182,7 +182,7 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/team/channels/item/members/membersRequestBuilder.ts b/src/groups/item/team/channels/item/members/membersRequestBuilder.ts index 6f3f3598398..f01c3355122 100644 --- a/src/groups/item/team/channels/item/members/membersRequestBuilder.ts +++ b/src/groups/item/team/channels/item/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts index 240baea11fd..990e48734cb 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts b/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts index cdad3ca03e1..ed55f135c16 100644 --- a/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index 39706f332b4..bf129f543dd 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts index cd06a5db057..deee9dc7cf6 100644 --- a/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts +++ b/src/groups/item/threads/item/conversationThreadItemRequestBuilder.ts @@ -88,10 +88,10 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a thread object. This API is available in the following national cloud deployments. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationThread - * @see {@link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ConversationThreadItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -138,7 +138,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Get a thread object. This API is available in the following national cloud deployments. + * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/threads/item/posts/postsRequestBuilder.ts b/src/groups/item/threads/item/posts/postsRequestBuilder.ts index e78db67d411..02ffd5fadeb 100644 --- a/src/groups/item/threads/item/posts/postsRequestBuilder.ts +++ b/src/groups/item/threads/item/posts/postsRequestBuilder.ts @@ -83,10 +83,10 @@ export class PostsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of PostCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PostsRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -99,7 +99,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createPostCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/threads/item/reply/replyRequestBuilder.ts b/src/groups/item/threads/item/reply/replyRequestBuilder.ts index a161fada507..c35e6f6fe04 100644 --- a/src/groups/item/threads/item/reply/replyRequestBuilder.ts +++ b/src/groups/item/threads/item/reply/replyRequestBuilder.ts @@ -29,10 +29,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply"); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: ReplyRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -45,7 +45,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + * Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts index 0ad57a55c47..a35ea560ed1 100644 --- a/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts +++ b/src/identity/conditionalAccess/namedLocations/item/namedLocationItemRequestBuilder.ts @@ -63,9 +63,9 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24select,%24expand}"); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: NamedLocationItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -78,10 +78,10 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: NamedLocationItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -94,11 +94,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0|Find more info here} */ public patch(body: NamedLocation, requestConfiguration?: NamedLocationItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -111,7 +111,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); }; /** - * Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + * Delete a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -128,7 +128,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of a countryNamedLocation object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + * Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts index bbf79a335db..88642a1d1f8 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/agreementItemRequestBuilder.ts @@ -99,10 +99,10 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Agreement - * @see {@link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: AgreementItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -149,7 +149,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + * Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts b/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts index 3b2aab34e22..b79ddee1a5b 100644 --- a/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts +++ b/src/identityProtection/riskyUsers/item/history/historyRequestBuilder.ts @@ -98,10 +98,10 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Read the properties and relationships of a riskyUserHistoryItem object. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RiskyUserHistoryItemCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: HistoryRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class HistoryRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createRiskyUserHistoryItemFromDiscriminatorValue, errorMapping); }; /** - * Read the properties and relationships of a riskyUserHistoryItem object. This API is available in the following national cloud deployments. + * Get the riskyUserHistoryItems from the history navigation property. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/kiota-lock.json b/src/kiota-lock.json index d1caa0bc6e1..391125a44a8 100644 --- a/src/kiota-lock.json +++ b/src/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "7D71C80CC2146174F8D8AB291B6D44A99DD05C3385B4AA3978E6B156539092B308A9941D6AE5C4C9DB1789EC99902436AD99DFBC87654AEBEDD78CA1631072A3", + "descriptionHash": "B1702EF0B6AB4776B40629BECCD0540C1D6FF04E3C72A31D4BEBC26F9C39F15B5D7CF35ACF85A17C2C752F137D4C764B4FE6C5CDBEE54D234F3C597133779146", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.8.0", diff --git a/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts b/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts index bdb78cdee66..1be0968769b 100644 --- a/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts +++ b/src/me/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts @@ -99,11 +99,11 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createActivityHistoryItemFromDiscriminatorValue, errorMapping); }; /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ActivityHistoryItem - * @see {@link https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/projectrome-put-historyitem?view=graph-rest-1.0|Find more info here} */ public patch(body: ActivityHistoryItem, requestConfiguration?: ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -151,7 +151,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts index 0f83fd2294d..664ad08e777 100644 --- a/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/chats/item/messages/messagesRequestBuilder.ts b/src/me/chats/item/messages/messagesRequestBuilder.ts index 310286679ca..40f01534258 100644 --- a/src/me/chats/item/messages/messagesRequestBuilder.ts +++ b/src/me/chats/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/events/eventsRequestBuilder.ts b/src/me/events/eventsRequestBuilder.ts index 91698ff1a03..73fa6e844b2 100644 --- a/src/me/events/eventsRequestBuilder.ts +++ b/src/me/events/eventsRequestBuilder.ts @@ -117,11 +117,11 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createEventCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Event - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0|Find more info here} */ public post(body: Event, requestConfiguration?: EventsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts index a33e2eb812a..d3cf0bb695e 100644 --- a/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index ee670696ba7..765ea3dcc59 100644 --- a/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts index 77a26adcd75..54be3592732 100644 --- a/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index f826785337c..68214317a89 100644 --- a/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/me/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts b/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts index 59378041d89..0b6c4ac6c1e 100644 --- a/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts +++ b/src/me/mailFolders/item/mailFolderItemRequestBuilder.ts @@ -133,11 +133,11 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMailFolderFromDiscriminatorValue, errorMapping); }; /** - * Update the writable properties of a mailSearchFolder object. This API is available in the following national cloud deployments. + * Update the properties of mailfolder object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MailFolder - * @see {@link https://learn.microsoft.com/graph/api/mailsearchfolder-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MailFolder, requestConfiguration?: MailFolderItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -185,7 +185,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the writable properties of a mailSearchFolder object. This API is available in the following national cloud deployments. + * Update the properties of mailfolder object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/messages/item/messageItemRequestBuilder.ts b/src/me/messages/item/messageItemRequestBuilder.ts index d0600c788cd..e93ddd4ce00 100644 --- a/src/me/messages/item/messageItemRequestBuilder.ts +++ b/src/me/messages/item/messageItemRequestBuilder.ts @@ -151,9 +151,9 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/me/messages/{message%2Did}{?includeHiddenMessages*,%24select,%24expand}"); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MessageItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -169,7 +169,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { * The messages in a mailbox or folder. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MessageItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -199,7 +199,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageFromDiscriminatorValue, errorMapping); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/me/messages/messagesRequestBuilder.ts b/src/me/messages/messagesRequestBuilder.ts index e19249dd99c..df6f5309180 100644 --- a/src/me/messages/messagesRequestBuilder.ts +++ b/src/me/messages/messagesRequestBuilder.ts @@ -125,11 +125,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * 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. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: Message, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -160,7 +160,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * 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. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/me/presence/presenceRequestBuilder.ts b/src/me/presence/presenceRequestBuilder.ts index 436b673b22e..25b8fea1c29 100644 --- a/src/me/presence/presenceRequestBuilder.ts +++ b/src/me/presence/presenceRequestBuilder.ts @@ -112,10 +112,10 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Presence - * @see {@link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PresenceRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -161,7 +161,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/models/baseCollectionPaginationCountResponse.ts b/src/models/baseCollectionPaginationCountResponse.ts index 5d175497fd4..ef7d97ba8bd 100644 --- a/src/models/baseCollectionPaginationCountResponse.ts +++ b/src/models/baseCollectionPaginationCountResponse.ts @@ -344,6 +344,7 @@ import { deserializeIntoHostCollectionResponse } from './security/hostCollection import { deserializeIntoHostComponentCollectionResponse } from './security/hostComponentCollectionResponse'; import { deserializeIntoHostCookieCollectionResponse } from './security/hostCookieCollectionResponse'; import { deserializeIntoHostPairCollectionResponse } from './security/hostPairCollectionResponse'; +import { deserializeIntoHostPortCollectionResponse } from './security/hostPortCollectionResponse'; import { deserializeIntoHostSslCertificateCollectionResponse } from './security/hostSslCertificateCollectionResponse'; import { deserializeIntoHostTrackerCollectionResponse } from './security/hostTrackerCollectionResponse'; import { deserializeIntoIncidentCollectionResponse } from './security/incidentCollectionResponse'; diff --git a/src/models/entity.ts b/src/models/entity.ts index 74246f7841b..a14ee21f39a 100644 --- a/src/models/entity.ts +++ b/src/models/entity.ts @@ -527,7 +527,7 @@ import { deserializeIntoSectionGroup } from './sectionGroup'; import { deserializeIntoSecureScore } from './secureScore'; import { deserializeIntoSecureScoreControlProfile } from './secureScoreControlProfile'; import { deserializeIntoSecurity } from './security'; -import { type Alert as I6c6ea9cf476c9a2686ab81fd2ae38bdf3364559b2c5107ca7a29ad7bcf95e5a8, type Article, type ArticleIndicator, type Artifact, type CaseEscaped, type CaseOperation, type CasesRoot, type DataSet, type DataSource, type DataSourceContainer, type EdiscoveryAddToReviewSetOperation, type EdiscoveryCase, type EdiscoveryCaseSettings, type EdiscoveryCustodian, type EdiscoveryEstimateOperation, type EdiscoveryExportOperation, type EdiscoveryHoldOperation, type EdiscoveryIndexOperation, type EdiscoveryNoncustodialDataSource, type EdiscoveryPurgeDataOperation, type EdiscoveryReviewSet, type EdiscoveryReviewSetQuery, type EdiscoveryReviewTag, type EdiscoverySearch, type EdiscoveryTagOperation, type Host, type HostComponent, type HostCookie, type Hostname, type HostPair, type HostReputation, type HostSslCertificate, type HostTracker, type Incident, type Indicator, type IntelligenceProfile, type IntelligenceProfileIndicator, type IpAddress, type PassiveDnsRecord, type RetentionEvent, type RetentionEventType, type Search, type SiteSource, type SslCertificate, type Subdomain, type Tag, type ThreatIntelligence, type TriggersRoot, type TriggerTypesRoot, type UnclassifiedArtifact, type UnifiedGroupSource, type UserSource, type Vulnerability, type VulnerabilityComponent, type WhoisBaseRecord, type WhoisHistoryRecord, type WhoisRecord } from './security/'; +import { type Alert as I6c6ea9cf476c9a2686ab81fd2ae38bdf3364559b2c5107ca7a29ad7bcf95e5a8, type Article, type ArticleIndicator, type Artifact, type CaseEscaped, type CaseOperation, type CasesRoot, type DataSet, type DataSource, type DataSourceContainer, type EdiscoveryAddToReviewSetOperation, type EdiscoveryCase, type EdiscoveryCaseSettings, type EdiscoveryCustodian, type EdiscoveryEstimateOperation, type EdiscoveryExportOperation, type EdiscoveryHoldOperation, type EdiscoveryIndexOperation, type EdiscoveryNoncustodialDataSource, type EdiscoveryPurgeDataOperation, type EdiscoveryReviewSet, type EdiscoveryReviewSetQuery, type EdiscoveryReviewTag, type EdiscoverySearch, type EdiscoveryTagOperation, type Host, type HostComponent, type HostCookie, type Hostname, type HostPair, type HostPort, type HostReputation, type HostSslCertificate, type HostTracker, type Incident, type Indicator, type IntelligenceProfile, type IntelligenceProfileIndicator, type IpAddress, type PassiveDnsRecord, type RetentionEvent, type RetentionEventType, type Search, type SiteSource, type SslCertificate, type Subdomain, type Tag, type ThreatIntelligence, type TriggersRoot, type TriggerTypesRoot, type UnclassifiedArtifact, type UnifiedGroupSource, type UserSource, type Vulnerability, type VulnerabilityComponent, type WhoisBaseRecord, type WhoisHistoryRecord, type WhoisRecord } from './security/'; import { deserializeIntoAlert as I6505bc1c6fce3ff5954d022e7fc93d3127679a577fa33bf9d60b79a6ac991f2c } from './security/alert'; import { deserializeIntoArticle } from './security/article'; import { deserializeIntoArticleIndicator } from './security/articleIndicator'; @@ -558,6 +558,7 @@ import { deserializeIntoHostComponent } from './security/hostComponent'; import { deserializeIntoHostCookie } from './security/hostCookie'; import { deserializeIntoHostname } from './security/hostname'; import { deserializeIntoHostPair } from './security/hostPair'; +import { deserializeIntoHostPort } from './security/hostPort'; import { deserializeIntoHostReputation } from './security/hostReputation'; import { deserializeIntoHostSslCertificate } from './security/hostSslCertificate'; import { deserializeIntoHostTracker } from './security/hostTracker'; @@ -902,7 +903,7 @@ export function createEntityFromDiscriminatorValue(parseNode: ParseNode | undefi case "#microsoft.graph.agreementFileVersion": return deserializeIntoAgreementFileVersion; case "#microsoft.graph.alert": - return I6505bc1c6fce3ff5954d022e7fc93d3127679a577fa33bf9d60b79a6ac991f2c; + return I31715a026b1ced0f6a88616d35905e458c4d7672e4ac2cfaebeef17eefa762ea; case "#microsoft.graph.allowedValue": return deserializeIntoAllowedValue; case "#microsoft.graph.androidCompliancePolicy": @@ -1872,7 +1873,7 @@ export function createEntityFromDiscriminatorValue(parseNode: ParseNode | undefi case "#microsoft.graph.security": return deserializeIntoSecurity; case "#microsoft.graph.security.alert": - return I6505bc1c6fce3ff5954d022e7fc93d3127679a577fa33bf9d60b79a6ac991f2c; + return I31715a026b1ced0f6a88616d35905e458c4d7672e4ac2cfaebeef17eefa762ea; case "#microsoft.graph.security.article": return deserializeIntoArticle; case "#microsoft.graph.security.articleIndicator": @@ -1931,6 +1932,8 @@ export function createEntityFromDiscriminatorValue(parseNode: ParseNode | undefi return deserializeIntoHostname; case "#microsoft.graph.security.hostPair": return deserializeIntoHostPair; + case "#microsoft.graph.security.hostPort": + return deserializeIntoHostPort; case "#microsoft.graph.security.hostReputation": return deserializeIntoHostReputation; case "#microsoft.graph.security.hostSslCertificate": diff --git a/src/models/externalConnectors/externalConnection.ts b/src/models/externalConnectors/externalConnection.ts index 7f588cad27f..bd7262f303d 100644 --- a/src/models/externalConnectors/externalConnection.ts +++ b/src/models/externalConnectors/externalConnection.ts @@ -21,6 +21,7 @@ export function deserializeIntoExternalConnection(externalConnection: ExternalCo ...deserializeIntoEntity(externalConnection), "activitySettings": n => { externalConnection.activitySettings = n.getObjectValue(createActivitySettingsFromDiscriminatorValue); }, "configuration": n => { externalConnection.configuration = n.getObjectValue(createConfigurationFromDiscriminatorValue); }, + "connectorId": n => { externalConnection.connectorId = n.getStringValue(); }, "description": n => { externalConnection.description = n.getStringValue(); }, "groups": n => { externalConnection.groups = n.getCollectionOfObjectValues(createExternalGroupFromDiscriminatorValue); }, "items": n => { externalConnection.items = n.getCollectionOfObjectValues(createExternalItemFromDiscriminatorValue); }, @@ -40,6 +41,10 @@ export interface ExternalConnection extends Entity, Parsable { * Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional. */ configuration?: Configuration; + /** + * The Teams app ID. Optional. + */ + connectorId?: string; /** * Description of the connection displayed in the Microsoft 365 admin center. Optional. */ @@ -77,6 +82,7 @@ export function serializeExternalConnection(writer: SerializationWriter, externa serializeEntity(writer, externalConnection) writer.writeObjectValue("activitySettings", externalConnection.activitySettings, ); writer.writeObjectValue("configuration", externalConnection.configuration, ); + writer.writeStringValue("connectorId", externalConnection.connectorId); writer.writeStringValue("description", externalConnection.description); writer.writeCollectionOfObjectValues("groups", externalConnection.groups, ); writer.writeCollectionOfObjectValues("items", externalConnection.items, ); diff --git a/src/models/riskyServicePrincipal.ts b/src/models/riskyServicePrincipal.ts index c69b8963738..d0827247373 100644 --- a/src/models/riskyServicePrincipal.ts +++ b/src/models/riskyServicePrincipal.ts @@ -2,10 +2,11 @@ // eslint-disable // Generated by Microsoft Kiota import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type RiskyServicePrincipalHistoryItem } from './index'; import { RiskDetail } from './riskDetail'; import { RiskLevel } from './riskLevel'; import { RiskState } from './riskState'; -import { createRiskyServicePrincipalHistoryItemFromDiscriminatorValue, deserializeIntoRiskyServicePrincipalHistoryItem, serializeRiskyServicePrincipalHistoryItem, type RiskyServicePrincipalHistoryItem } from './riskyServicePrincipalHistoryItem'; +import { createRiskyServicePrincipalHistoryItemFromDiscriminatorValue, deserializeIntoRiskyServicePrincipalHistoryItem, serializeRiskyServicePrincipalHistoryItem } from './riskyServicePrincipalHistoryItem'; import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; export function createRiskyServicePrincipalFromDiscriminatorValue(parseNode: ParseNode | undefined) { diff --git a/src/models/riskyUser.ts b/src/models/riskyUser.ts index 12ceea83413..1cee2b2a11c 100644 --- a/src/models/riskyUser.ts +++ b/src/models/riskyUser.ts @@ -2,10 +2,11 @@ // eslint-disable // Generated by Microsoft Kiota import { deserializeIntoEntity, serializeEntity, type Entity } from './entity'; +import { type RiskyUserHistoryItem } from './index'; import { RiskDetail } from './riskDetail'; import { RiskLevel } from './riskLevel'; import { RiskState } from './riskState'; -import { createRiskyUserHistoryItemFromDiscriminatorValue, deserializeIntoRiskyUserHistoryItem, serializeRiskyUserHistoryItem, type RiskyUserHistoryItem } from './riskyUserHistoryItem'; +import { createRiskyUserHistoryItemFromDiscriminatorValue, deserializeIntoRiskyUserHistoryItem, serializeRiskyUserHistoryItem } from './riskyUserHistoryItem'; import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; export function createRiskyUserFromDiscriminatorValue(parseNode: ParseNode | undefined) { diff --git a/src/models/security/detectionSource.ts b/src/models/security/detectionSource.ts index 1977b07f40b..1b166b17138 100644 --- a/src/models/security/detectionSource.ts +++ b/src/models/security/detectionSource.ts @@ -18,6 +18,17 @@ export enum DetectionSource { AppGovernanceDetection = "appGovernanceDetection", UnknownFutureValue = "unknownFutureValue", MicrosoftDefenderForCloud = "microsoftDefenderForCloud", + MicrosoftDefenderForIoT = "microsoftDefenderForIoT", + MicrosoftDefenderForServers = "microsoftDefenderForServers", + MicrosoftDefenderForStorage = "microsoftDefenderForStorage", + MicrosoftDefenderForDNS = "microsoftDefenderForDNS", + MicrosoftDefenderForDatabases = "microsoftDefenderForDatabases", + MicrosoftDefenderForContainers = "microsoftDefenderForContainers", + MicrosoftDefenderForNetwork = "microsoftDefenderForNetwork", + MicrosoftDefenderForAppService = "microsoftDefenderForAppService", + MicrosoftDefenderForKeyVault = "microsoftDefenderForKeyVault", + MicrosoftDefenderForResourceManager = "microsoftDefenderForResourceManager", + MicrosoftDefenderForApiManagement = "microsoftDefenderForApiManagement", NrtAlerts = "nrtAlerts", ScheduledAlerts = "scheduledAlerts", MicrosoftDefenderThreatIntelligenceAnalytics = "microsoftDefenderThreatIntelligenceAnalytics", diff --git a/src/models/security/host.ts b/src/models/security/host.ts index 8ea261acbcc..0a18bcb0d18 100644 --- a/src/models/security/host.ts +++ b/src/models/security/host.ts @@ -6,6 +6,7 @@ import { createHostComponentFromDiscriminatorValue, serializeHostComponent, type import { createHostCookieFromDiscriminatorValue, serializeHostCookie, type HostCookie } from './hostCookie'; import { deserializeIntoHostname } from './hostname'; import { createHostPairFromDiscriminatorValue, serializeHostPair, type HostPair } from './hostPair'; +import { createHostPortFromDiscriminatorValue, serializeHostPort, type HostPort } from './hostPort'; import { createHostReputationFromDiscriminatorValue, serializeHostReputation, type HostReputation } from './hostReputation'; import { createHostSslCertificateFromDiscriminatorValue, serializeHostSslCertificate, type HostSslCertificate } from './hostSslCertificate'; import { createHostTrackerFromDiscriminatorValue, serializeHostTracker, type HostTracker } from './hostTracker'; @@ -44,6 +45,7 @@ export function deserializeIntoHost(host: Host | undefined = {} as Host) : Recor "parentHostPairs": n => { host.parentHostPairs = n.getCollectionOfObjectValues(createHostPairFromDiscriminatorValue); }, "passiveDns": n => { host.passiveDns = n.getCollectionOfObjectValues(createPassiveDnsRecordFromDiscriminatorValue); }, "passiveDnsReverse": n => { host.passiveDnsReverse = n.getCollectionOfObjectValues(createPassiveDnsRecordFromDiscriminatorValue); }, + "ports": n => { host.ports = n.getCollectionOfObjectValues(createHostPortFromDiscriminatorValue); }, "reputation": n => { host.reputation = n.getObjectValue(createHostReputationFromDiscriminatorValue); }, "sslCertificates": n => { host.sslCertificates = n.getCollectionOfObjectValues(createHostSslCertificateFromDiscriminatorValue); }, "subdomains": n => { host.subdomains = n.getCollectionOfObjectValues(createSubdomainFromDiscriminatorValue); }, @@ -88,6 +90,10 @@ export interface Host extends Artifact, Parsable { * Reverse passive DNS retrieval about this host. */ passiveDnsReverse?: PassiveDnsRecord[]; + /** + * The hostPorts associated with a host. + */ + ports?: HostPort[]; /** * Represents a calculated reputation of this host. */ @@ -120,6 +126,7 @@ export function serializeHost(writer: SerializationWriter, host: Host | undefine writer.writeCollectionOfObjectValues("parentHostPairs", host.parentHostPairs, ); writer.writeCollectionOfObjectValues("passiveDns", host.passiveDns, ); writer.writeCollectionOfObjectValues("passiveDnsReverse", host.passiveDnsReverse, ); + writer.writeCollectionOfObjectValues("ports", host.ports, ); writer.writeObjectValue("reputation", host.reputation, ); writer.writeCollectionOfObjectValues("sslCertificates", host.sslCertificates, ); writer.writeCollectionOfObjectValues("subdomains", host.subdomains, ); diff --git a/src/models/security/hostPort.ts b/src/models/security/hostPort.ts new file mode 100644 index 00000000000..1b3ecce234c --- /dev/null +++ b/src/models/security/hostPort.ts @@ -0,0 +1,94 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoEntity, serializeEntity, type Entity } from '../entity'; +import { createHostFromDiscriminatorValue, serializeHost, type Host } from './host'; +import { createHostPortBannerFromDiscriminatorValue, serializeHostPortBanner, type HostPortBanner } from './hostPortBanner'; +import { createHostPortComponentFromDiscriminatorValue, serializeHostPortComponent, type HostPortComponent } from './hostPortComponent'; +import { HostPortProtocol } from './hostPortProtocol'; +import { HostPortStatus } from './hostPortStatus'; +import { createSslCertificateFromDiscriminatorValue, serializeSslCertificate, type SslCertificate } from './sslCertificate'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createHostPortFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoHostPort; +} +export function deserializeIntoHostPort(hostPort: HostPort | undefined = {} as HostPort) : Record void> { + return { + ...deserializeIntoEntity(hostPort), + "banners": n => { hostPort.banners = n.getCollectionOfObjectValues(createHostPortBannerFromDiscriminatorValue); }, + "firstSeenDateTime": n => { hostPort.firstSeenDateTime = n.getDateValue(); }, + "host": n => { hostPort.host = n.getObjectValue(createHostFromDiscriminatorValue); }, + "lastScanDateTime": n => { hostPort.lastScanDateTime = n.getDateValue(); }, + "lastSeenDateTime": n => { hostPort.lastSeenDateTime = n.getDateValue(); }, + "mostRecentSslCertificate": n => { hostPort.mostRecentSslCertificate = n.getObjectValue(createSslCertificateFromDiscriminatorValue); }, + "port": n => { hostPort.port = n.getNumberValue(); }, + "protocol": n => { hostPort.protocol = n.getEnumValue(HostPortProtocol); }, + "services": n => { hostPort.services = n.getCollectionOfObjectValues(createHostPortComponentFromDiscriminatorValue); }, + "status": n => { hostPort.status = n.getEnumValue(HostPortStatus); }, + "timesObserved": n => { hostPort.timesObserved = n.getNumberValue(); }, + } +} +export interface HostPort extends Entity, Parsable { + /** + * The hostPortBanners retrieved from scanning the port. + */ + banners?: HostPortBanner[]; + /** + * The first date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + firstSeenDateTime?: Date; + /** + * The host property + */ + host?: Host; + /** + * The last date and time when Microsoft Defender Threat Intelligence scanned the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + lastScanDateTime?: Date; + /** + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + lastSeenDateTime?: Date; + /** + * The most recent sslCertificate used to communicate on the port. + */ + mostRecentSslCertificate?: SslCertificate; + /** + * The numerical identifier of the port which is standardized across the internet. + */ + port?: number; + /** + * The general protocol used to scan the port. The possible values are: tcp, udp, unknownFutureValue. + */ + protocol?: HostPortProtocol; + /** + * The hostPortComponents retrieved from scanning the port. + */ + services?: HostPortComponent[]; + /** + * The status of the port. The possible values are: open, filtered, closed, unknownFutureValue. + */ + status?: HostPortStatus; + /** + * The total amount of times that Microsoft Defender Threat Intelligence has observed the hostPort in all its scans. + */ + timesObserved?: number; +} +export function serializeHostPort(writer: SerializationWriter, hostPort: HostPort | undefined = {} as HostPort) : void { + serializeEntity(writer, hostPort) + writer.writeCollectionOfObjectValues("banners", hostPort.banners, ); + writer.writeDateValue("firstSeenDateTime", hostPort.firstSeenDateTime); + writer.writeObjectValue("host", hostPort.host, ); + writer.writeDateValue("lastScanDateTime", hostPort.lastScanDateTime); + writer.writeDateValue("lastSeenDateTime", hostPort.lastSeenDateTime); + writer.writeObjectValue("mostRecentSslCertificate", hostPort.mostRecentSslCertificate, ); + writer.writeNumberValue("port", hostPort.port); + writer.writeEnumValue("protocol", hostPort.protocol); + writer.writeCollectionOfObjectValues("services", hostPort.services, ); + writer.writeEnumValue("status", hostPort.status); + writer.writeNumberValue("timesObserved", hostPort.timesObserved); +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/hostPortBanner.ts b/src/models/security/hostPortBanner.ts new file mode 100644 index 00000000000..9277a590a16 --- /dev/null +++ b/src/models/security/hostPortBanner.ts @@ -0,0 +1,60 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createHostPortBannerFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoHostPortBanner; +} +export function deserializeIntoHostPortBanner(hostPortBanner: HostPortBanner | undefined = {} as HostPortBanner) : Record void> { + return { + "banner": n => { hostPortBanner.banner = n.getStringValue(); }, + "firstSeenDateTime": n => { hostPortBanner.firstSeenDateTime = n.getDateValue(); }, + "lastSeenDateTime": n => { hostPortBanner.lastSeenDateTime = n.getDateValue(); }, + "@odata.type": n => { hostPortBanner.odataType = n.getStringValue(); }, + "scanProtocol": n => { hostPortBanner.scanProtocol = n.getStringValue(); }, + "timesObserved": n => { hostPortBanner.timesObserved = n.getNumberValue(); }, + } +} +export interface HostPortBanner extends AdditionalDataHolder, Parsable { + /** + * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + */ + additionalData?: Record; + /** + * The text response received from a web component when scanning a hostPort. + */ + banner?: string; + /** + * The first date and time when Microsoft Defender Threat Intelligence observed the hostPortBanner. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + firstSeenDateTime?: Date; + /** + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPortBanner. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + lastSeenDateTime?: Date; + /** + * The OdataType property + */ + odataType?: string; + /** + * The specific protocol used to scan the hostPort. + */ + scanProtocol?: string; + /** + * The total amount of times that Microsoft Defender Threat Intelligence has observed the hostPortBanner in all its scans. + */ + timesObserved?: number; +} +export function serializeHostPortBanner(writer: SerializationWriter, hostPortBanner: HostPortBanner | undefined = {} as HostPortBanner) : void { + writer.writeStringValue("banner", hostPortBanner.banner); + writer.writeDateValue("firstSeenDateTime", hostPortBanner.firstSeenDateTime); + writer.writeDateValue("lastSeenDateTime", hostPortBanner.lastSeenDateTime); + writer.writeStringValue("@odata.type", hostPortBanner.odataType); + writer.writeStringValue("scanProtocol", hostPortBanner.scanProtocol); + writer.writeNumberValue("timesObserved", hostPortBanner.timesObserved); + writer.writeAdditionalData(hostPortBanner.additionalData); +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/hostPortCollectionResponse.ts b/src/models/security/hostPortCollectionResponse.ts new file mode 100644 index 00000000000..89eeadefcff --- /dev/null +++ b/src/models/security/hostPortCollectionResponse.ts @@ -0,0 +1,29 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, type BaseCollectionPaginationCountResponse } from '../baseCollectionPaginationCountResponse'; +import { createHostPortFromDiscriminatorValue, serializeHostPort, type HostPort } from './hostPort'; +import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createHostPortCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoHostPortCollectionResponse; +} +export function deserializeIntoHostPortCollectionResponse(hostPortCollectionResponse: HostPortCollectionResponse | undefined = {} as HostPortCollectionResponse) : Record void> { + return { + ...deserializeIntoBaseCollectionPaginationCountResponse(hostPortCollectionResponse), + "value": n => { hostPortCollectionResponse.value = n.getCollectionOfObjectValues(createHostPortFromDiscriminatorValue); }, + } +} +export interface HostPortCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { + /** + * The value property + */ + value?: HostPort[]; +} +export function serializeHostPortCollectionResponse(writer: SerializationWriter, hostPortCollectionResponse: HostPortCollectionResponse | undefined = {} as HostPortCollectionResponse) : void { + serializeBaseCollectionPaginationCountResponse(writer, hostPortCollectionResponse) + writer.writeCollectionOfObjectValues("value", hostPortCollectionResponse.value, ); +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/hostPortComponent.ts b/src/models/security/hostPortComponent.ts new file mode 100644 index 00000000000..261927fd713 --- /dev/null +++ b/src/models/security/hostPortComponent.ts @@ -0,0 +1,55 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createHostComponentFromDiscriminatorValue, serializeHostComponent, type HostComponent } from './hostComponent'; +import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; + +export function createHostPortComponentFromDiscriminatorValue(parseNode: ParseNode | undefined) { + if(!parseNode) throw new Error("parseNode cannot be undefined"); + return deserializeIntoHostPortComponent; +} +export function deserializeIntoHostPortComponent(hostPortComponent: HostPortComponent | undefined = {} as HostPortComponent) : Record void> { + return { + "component": n => { hostPortComponent.component = n.getObjectValue(createHostComponentFromDiscriminatorValue); }, + "firstSeenDateTime": n => { hostPortComponent.firstSeenDateTime = n.getDateValue(); }, + "isRecent": n => { hostPortComponent.isRecent = n.getBooleanValue(); }, + "lastSeenDateTime": n => { hostPortComponent.lastSeenDateTime = n.getDateValue(); }, + "@odata.type": n => { hostPortComponent.odataType = n.getStringValue(); }, + } +} +export interface HostPortComponent extends AdditionalDataHolder, Parsable { + /** + * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + */ + additionalData?: Record; + /** + * The component property + */ + component?: HostComponent; + /** + * The first date and time when Microsoft Defender Threat Intelligence observed the hostPortComponent. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + firstSeenDateTime?: Date; + /** + * Indicates whether this hostPortComponent is recent, which is determined by whether the hostPortComponent was observed either at the same time or after the latest hostPortBanner in the scan history, or within two days of the latest scan of the hostPort when there are no hostPortBanners in the scan history. + */ + isRecent?: boolean; + /** + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPortComponent. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + */ + lastSeenDateTime?: Date; + /** + * The OdataType property + */ + odataType?: string; +} +export function serializeHostPortComponent(writer: SerializationWriter, hostPortComponent: HostPortComponent | undefined = {} as HostPortComponent) : void { + writer.writeObjectValue("component", hostPortComponent.component, ); + writer.writeDateValue("firstSeenDateTime", hostPortComponent.firstSeenDateTime); + writer.writeBooleanValue("isRecent", hostPortComponent.isRecent); + writer.writeDateValue("lastSeenDateTime", hostPortComponent.lastSeenDateTime); + writer.writeStringValue("@odata.type", hostPortComponent.odataType); + writer.writeAdditionalData(hostPortComponent.additionalData); +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/hostPortProtocol.ts b/src/models/security/hostPortProtocol.ts new file mode 100644 index 00000000000..24d79123ee1 --- /dev/null +++ b/src/models/security/hostPortProtocol.ts @@ -0,0 +1,7 @@ +export enum HostPortProtocol { + Tcp = "tcp", + Udp = "udp", + UnknownFutureValue = "unknownFutureValue", +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/hostPortStatus.ts b/src/models/security/hostPortStatus.ts new file mode 100644 index 00000000000..5533bbc52a8 --- /dev/null +++ b/src/models/security/hostPortStatus.ts @@ -0,0 +1,8 @@ +export enum HostPortStatus { + Open = "open", + Filtered = "filtered", + Closed = "closed", + UnknownFutureValue = "unknownFutureValue", +} +// tslint:enable +// eslint-enable diff --git a/src/models/security/index.ts b/src/models/security/index.ts index 9f52bb3a0f7..cd29151c811 100644 --- a/src/models/security/index.ts +++ b/src/models/security/index.ts @@ -26,6 +26,8 @@ export * from './exportFileStructure' export * from './exportOptions' export * from './fileHashAlgorithm' export * from './googleCloudLocationType' +export * from './hostPortProtocol' +export * from './hostPortStatus' export * from './hostReputationClassification' export * from './hostReputationRuleSeverity' export * from './incidentStatus' @@ -111,6 +113,10 @@ export * from './hostCookieCollectionResponse' export * from './hostname' export * from './hostPair' export * from './hostPairCollectionResponse' +export * from './hostPort' +export * from './hostPortBanner' +export * from './hostPortCollectionResponse' +export * from './hostPortComponent' export * from './hostReputation' export * from './hostReputationRule' export * from './hostSslCertificate' diff --git a/src/models/security/threatIntelligence.ts b/src/models/security/threatIntelligence.ts index a39f4d76f15..0d99efba5b0 100644 --- a/src/models/security/threatIntelligence.ts +++ b/src/models/security/threatIntelligence.ts @@ -8,6 +8,7 @@ import { createHostFromDiscriminatorValue, serializeHost, type Host } from './ho import { createHostComponentFromDiscriminatorValue, serializeHostComponent, type HostComponent } from './hostComponent'; import { createHostCookieFromDiscriminatorValue, serializeHostCookie, type HostCookie } from './hostCookie'; import { createHostPairFromDiscriminatorValue, serializeHostPair, type HostPair } from './hostPair'; +import { createHostPortFromDiscriminatorValue, serializeHostPort, type HostPort } from './hostPort'; import { createHostSslCertificateFromDiscriminatorValue, serializeHostSslCertificate, type HostSslCertificate } from './hostSslCertificate'; import { createHostTrackerFromDiscriminatorValue, serializeHostTracker, type HostTracker } from './hostTracker'; import { createIntelligenceProfileFromDiscriminatorValue, serializeIntelligenceProfile, type IntelligenceProfile } from './intelligenceProfile'; @@ -32,6 +33,7 @@ export function deserializeIntoThreatIntelligence(threatIntelligence: ThreatInte "hostComponents": n => { threatIntelligence.hostComponents = n.getCollectionOfObjectValues(createHostComponentFromDiscriminatorValue); }, "hostCookies": n => { threatIntelligence.hostCookies = n.getCollectionOfObjectValues(createHostCookieFromDiscriminatorValue); }, "hostPairs": n => { threatIntelligence.hostPairs = n.getCollectionOfObjectValues(createHostPairFromDiscriminatorValue); }, + "hostPorts": n => { threatIntelligence.hostPorts = n.getCollectionOfObjectValues(createHostPortFromDiscriminatorValue); }, "hosts": n => { threatIntelligence.hosts = n.getCollectionOfObjectValues(createHostFromDiscriminatorValue); }, "hostSslCertificates": n => { threatIntelligence.hostSslCertificates = n.getCollectionOfObjectValues(createHostSslCertificateFromDiscriminatorValue); }, "hostTrackers": n => { threatIntelligence.hostTrackers = n.getCollectionOfObjectValues(createHostTrackerFromDiscriminatorValue); }, @@ -52,6 +54,7 @@ export function serializeThreatIntelligence(writer: SerializationWriter, threatI writer.writeCollectionOfObjectValues("hostComponents", threatIntelligence.hostComponents, ); writer.writeCollectionOfObjectValues("hostCookies", threatIntelligence.hostCookies, ); writer.writeCollectionOfObjectValues("hostPairs", threatIntelligence.hostPairs, ); + writer.writeCollectionOfObjectValues("hostPorts", threatIntelligence.hostPorts, ); writer.writeCollectionOfObjectValues("hosts", threatIntelligence.hosts, ); writer.writeCollectionOfObjectValues("hostSslCertificates", threatIntelligence.hostSslCertificates, ); writer.writeCollectionOfObjectValues("hostTrackers", threatIntelligence.hostTrackers, ); @@ -85,6 +88,10 @@ export interface ThreatIntelligence extends Entity, Parsable { * Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. */ hostPairs?: HostPair[]; + /** + * Retrieve details about hostPort objects.Note: List retrieval is not yet supported. + */ + hostPorts?: HostPort[]; /** * Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. */ diff --git a/src/organization/organizationRequestBuilder.ts b/src/organization/organizationRequestBuilder.ts index 3b5c957b2dc..4a22fb8eb04 100644 --- a/src/organization/organizationRequestBuilder.ts +++ b/src/organization/organizationRequestBuilder.ts @@ -126,10 +126,10 @@ export class OrganizationRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of OrganizationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: OrganizationRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -158,7 +158,7 @@ export class OrganizationRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createOrganizationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/security/threatIntelligence/hostPorts/count/countRequestBuilder.ts b/src/security/threatIntelligence/hostPorts/count/countRequestBuilder.ts new file mode 100644 index 00000000000..b5fb50bc78d --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/count/countRequestBuilder.ts @@ -0,0 +1,88 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CountRequestBuilderGetQueryParameters { + /** + * Filter items by property values + */ + filter?: string; + /** + * Search items by search phrases + */ + search?: string; +} +export interface CountRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CountRequestBuilderGetQueryParameters; +} +/** + * Provides operations to count the resources in the collection. + */ +export class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new CountRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/$count{?%24search,%24filter}"); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of Integer + */ + public get(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "number", errorMapping); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "text/plain;q=0.9"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CountRequestBuilder + */ + public withUrl(rawUrl: string) : CountRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CountRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hostPorts/count/index.ts b/src/security/threatIntelligence/hostPorts/count/index.ts new file mode 100644 index 00000000000..6f4dcefa948 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/count/index.ts @@ -0,0 +1 @@ +export * from './countRequestBuilder' diff --git a/src/security/threatIntelligence/hostPorts/hostPortsRequestBuilder.ts b/src/security/threatIntelligence/hostPorts/hostPortsRequestBuilder.ts new file mode 100644 index 00000000000..8b3b7dec3c5 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/hostPortsRequestBuilder.ts @@ -0,0 +1,180 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError'; +import { type HostPortCollectionResponse } from '../../../models/security/'; +import { createHostPortFromDiscriminatorValue, deserializeIntoHostPort, serializeHostPort, type HostPort } from '../../../models/security/hostPort'; +import { createHostPortCollectionResponseFromDiscriminatorValue } from '../../../models/security/hostPortCollectionResponse'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { HostPortItemRequestBuilder } from './item/hostPortItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface HostPortsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Expand related entities + */ + expand?: string[]; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Skip the first n items + */ + skip?: number; + /** + * Show only the first n items + */ + top?: number; +} +export interface HostPortsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: HostPortsRequestBuilderGetQueryParameters; +} +export interface HostPortsRequestBuilderPostRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + */ +export class HostPortsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + * @param hostPortId The unique identifier of hostPort + * @returns a HostPortItemRequestBuilder + */ + public byHostPortId(hostPortId: string) : HostPortItemRequestBuilder { + if(!hostPortId) throw new Error("hostPortId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["hostPort%2Did"] = hostPortId + return new HostPortItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new HostPortsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); + }; + /** + * Read the properties and relationships of a hostPort object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPortCollectionResponse + */ + public get(requestConfiguration?: HostPortsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Create new navigation property to hostPorts for security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPort + */ + public post(body: HostPort, requestConfiguration?: HostPortsRequestBuilderPostRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortFromDiscriminatorValue, errorMapping); + }; + /** + * Read the properties and relationships of a hostPort object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: HostPortsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Create new navigation property to hostPorts for security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPostRequestInformation(body: HostPort, requestConfiguration?: HostPortsRequestBuilderPostRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.POST; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHostPort); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a hostPortsRequestBuilder + */ + public withUrl(rawUrl: string) : HostPortsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new HostPortsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hostPorts/index.ts b/src/security/threatIntelligence/hostPorts/index.ts new file mode 100644 index 00000000000..d2099ec6970 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/index.ts @@ -0,0 +1 @@ +export * from './hostPortsRequestBuilder' diff --git a/src/security/threatIntelligence/hostPorts/item/host/hostRequestBuilder.ts b/src/security/threatIntelligence/hostPorts/item/host/hostRequestBuilder.ts new file mode 100644 index 00000000000..3aede020bb5 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/host/hostRequestBuilder.ts @@ -0,0 +1,90 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { type Host } from '../../../../../models/security/'; +import { createHostFromDiscriminatorValue } from '../../../../../models/security/host'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface HostRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface HostRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: HostRequestBuilderGetQueryParameters; +} +/** + * Provides operations to manage the host property of the microsoft.graph.security.hostPort entity. + */ +export class HostRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new HostRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/host{?%24select,%24expand}"); + }; + /** + * The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of Host + */ + public get(requestConfiguration?: HostRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostFromDiscriminatorValue, errorMapping); + }; + /** + * The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: HostRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a hostRequestBuilder + */ + public withUrl(rawUrl: string) : HostRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new HostRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hostPorts/item/host/index.ts b/src/security/threatIntelligence/hostPorts/item/host/index.ts new file mode 100644 index 00000000000..5b2c5bb2d58 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/host/index.ts @@ -0,0 +1 @@ +export * from './hostRequestBuilder' diff --git a/src/security/threatIntelligence/hostPorts/item/hostPortItemRequestBuilder.ts b/src/security/threatIntelligence/hostPorts/item/hostPortItemRequestBuilder.ts new file mode 100644 index 00000000000..ec1c2e0d494 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/hostPortItemRequestBuilder.ts @@ -0,0 +1,191 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../models/oDataErrors/oDataError'; +import { createHostPortFromDiscriminatorValue, deserializeIntoHostPort, serializeHostPort, type HostPort } from '../../../../models/security/hostPort'; +import { HostRequestBuilder } from './host/hostRequestBuilder'; +import { MostRecentSslCertificateRequestBuilder } from './mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface HostPortItemRequestBuilderDeleteRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +export interface HostPortItemRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface HostPortItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: HostPortItemRequestBuilderGetQueryParameters; +} +export interface HostPortItemRequestBuilderPatchRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; +} +/** + * Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + */ +export class HostPortItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the host property of the microsoft.graph.security.hostPort entity. + */ + public get host(): HostRequestBuilder { + return new HostRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. + */ + public get mostRecentSslCertificate(): MostRecentSslCertificateRequestBuilder { + return new MostRecentSslCertificateRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Instantiates a new HostPortItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}{?%24select,%24expand}"); + }; + /** + * Delete navigation property hostPorts for security + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + */ + public delete(requestConfiguration?: HostPortItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { + const requestInfo = this.toDeleteRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); + }; + /** + * Read the properties and relationships of a hostPort object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPort + * @see {@link https://learn.microsoft.com/graph/api/security-hostport-get?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: HostPortItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortFromDiscriminatorValue, errorMapping); + }; + /** + * Update the navigation property hostPorts in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPort + */ + public patch(body: HostPort, requestConfiguration?: HostPortItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { + const requestInfo = this.toPatchRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortFromDiscriminatorValue, errorMapping); + }; + /** + * Delete navigation property hostPorts for security + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toDeleteRequestInformation(requestConfiguration?: HostPortItemRequestBuilderDeleteRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.DELETE; + requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json"); + return requestInfo; + }; + /** + * Read the properties and relationships of a hostPort object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: HostPortItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Update the navigation property hostPorts in security + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toPatchRequestInformation(body: HostPort, requestConfiguration?: HostPortItemRequestBuilderPatchRequestConfiguration | undefined) : RequestInformation { + if(!body) throw new Error("body cannot be undefined"); + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.PATCH; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeHostPort); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a HostPortItemRequestBuilder + */ + public withUrl(rawUrl: string) : HostPortItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new HostPortItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hostPorts/item/index.ts b/src/security/threatIntelligence/hostPorts/item/index.ts new file mode 100644 index 00000000000..2145bba2bf1 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/index.ts @@ -0,0 +1 @@ +export * from './hostPortItemRequestBuilder' diff --git a/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/index.ts b/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/index.ts new file mode 100644 index 00000000000..1a25c39addf --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/index.ts @@ -0,0 +1 @@ +export * from './mostRecentSslCertificateRequestBuilder' diff --git a/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder.ts b/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder.ts new file mode 100644 index 00000000000..5a8d590f7f9 --- /dev/null +++ b/src/security/threatIntelligence/hostPorts/item/mostRecentSslCertificate/mostRecentSslCertificateRequestBuilder.ts @@ -0,0 +1,90 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { type SslCertificate } from '../../../../../models/security/'; +import { createSslCertificateFromDiscriminatorValue } from '../../../../../models/security/sslCertificate'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface MostRecentSslCertificateRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface MostRecentSslCertificateRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: MostRecentSslCertificateRequestBuilderGetQueryParameters; +} +/** + * Provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. + */ +export class MostRecentSslCertificateRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new MostRecentSslCertificateRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/mostRecentSslCertificate{?%24select,%24expand}"); + }; + /** + * The most recent sslCertificate used to communicate on the port. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of SslCertificate + */ + public get(requestConfiguration?: MostRecentSslCertificateRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createSslCertificateFromDiscriminatorValue, errorMapping); + }; + /** + * The most recent sslCertificate used to communicate on the port. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: MostRecentSslCertificateRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a mostRecentSslCertificateRequestBuilder + */ + public withUrl(rawUrl: string) : MostRecentSslCertificateRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new MostRecentSslCertificateRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hosts/item/hostItemRequestBuilder.ts b/src/security/threatIntelligence/hosts/item/hostItemRequestBuilder.ts index 366b69d6ab9..4ee898d09c7 100644 --- a/src/security/threatIntelligence/hosts/item/hostItemRequestBuilder.ts +++ b/src/security/threatIntelligence/hosts/item/hostItemRequestBuilder.ts @@ -11,6 +11,7 @@ import { HostPairsRequestBuilder } from './hostPairs/hostPairsRequestBuilder'; import { ParentHostPairsRequestBuilder } from './parentHostPairs/parentHostPairsRequestBuilder'; import { PassiveDnsRequestBuilder } from './passiveDns/passiveDnsRequestBuilder'; import { PassiveDnsReverseRequestBuilder } from './passiveDnsReverse/passiveDnsReverseRequestBuilder'; +import { PortsRequestBuilder } from './ports/portsRequestBuilder'; import { ReputationRequestBuilder } from './reputation/reputationRequestBuilder'; import { SslCertificatesRequestBuilder } from './sslCertificates/sslCertificatesRequestBuilder'; import { SubdomainsRequestBuilder } from './subdomains/subdomainsRequestBuilder'; @@ -108,6 +109,12 @@ export class HostItemRequestBuilder extends BaseRequestBuilder { public get passiveDnsReverse(): PassiveDnsReverseRequestBuilder { return new PassiveDnsReverseRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the ports property of the microsoft.graph.security.host entity. + */ + public get ports(): PortsRequestBuilder { + return new PortsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the reputation property of the microsoft.graph.security.host entity. */ diff --git a/src/security/threatIntelligence/hosts/item/ports/count/countRequestBuilder.ts b/src/security/threatIntelligence/hosts/item/ports/count/countRequestBuilder.ts new file mode 100644 index 00000000000..58bad430523 --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/count/countRequestBuilder.ts @@ -0,0 +1,88 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface CountRequestBuilderGetQueryParameters { + /** + * Filter items by property values + */ + filter?: string; + /** + * Search items by search phrases + */ + search?: string; +} +export interface CountRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: CountRequestBuilderGetQueryParameters; +} +/** + * Provides operations to count the resources in the collection. + */ +export class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new CountRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/$count{?%24search,%24filter}"); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of Integer + */ + public get(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendPrimitiveAsync(requestInfo, "number", errorMapping); + }; + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: CountRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "text/plain;q=0.9"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a CountRequestBuilder + */ + public withUrl(rawUrl: string) : CountRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new CountRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hosts/item/ports/count/index.ts b/src/security/threatIntelligence/hosts/item/ports/count/index.ts new file mode 100644 index 00000000000..6f4dcefa948 --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/count/index.ts @@ -0,0 +1 @@ +export * from './countRequestBuilder' diff --git a/src/security/threatIntelligence/hosts/item/ports/index.ts b/src/security/threatIntelligence/hosts/item/ports/index.ts new file mode 100644 index 00000000000..24a67ac3a76 --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/index.ts @@ -0,0 +1 @@ +export * from './portsRequestBuilder' diff --git a/src/security/threatIntelligence/hosts/item/ports/item/hostPortItemRequestBuilder.ts b/src/security/threatIntelligence/hosts/item/ports/item/hostPortItemRequestBuilder.ts new file mode 100644 index 00000000000..60205adab6a --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/item/hostPortItemRequestBuilder.ts @@ -0,0 +1,90 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; +import { type HostPort } from '../../../../../../models/security/'; +import { createHostPortFromDiscriminatorValue } from '../../../../../../models/security/hostPort'; +import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface HostPortItemRequestBuilderGetQueryParameters { + /** + * Expand related entities + */ + expand?: string[]; + /** + * Select properties to be returned + */ + select?: string[]; +} +export interface HostPortItemRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: HostPortItemRequestBuilderGetQueryParameters; +} +/** + * Provides operations to manage the ports property of the microsoft.graph.security.host entity. + */ +export class HostPortItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new HostPortItemRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/{hostPort%2Did}{?%24select,%24expand}"); + }; + /** + * The hostPorts associated with a host. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPort + */ + public get(requestConfiguration?: HostPortItemRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortFromDiscriminatorValue, errorMapping); + }; + /** + * The hostPorts associated with a host. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: HostPortItemRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a HostPortItemRequestBuilder + */ + public withUrl(rawUrl: string) : HostPortItemRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new HostPortItemRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/hosts/item/ports/item/index.ts b/src/security/threatIntelligence/hosts/item/ports/item/index.ts new file mode 100644 index 00000000000..2145bba2bf1 --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/item/index.ts @@ -0,0 +1 @@ +export * from './hostPortItemRequestBuilder' diff --git a/src/security/threatIntelligence/hosts/item/ports/portsRequestBuilder.ts b/src/security/threatIntelligence/hosts/item/ports/portsRequestBuilder.ts new file mode 100644 index 00000000000..517999937ee --- /dev/null +++ b/src/security/threatIntelligence/hosts/item/ports/portsRequestBuilder.ts @@ -0,0 +1,134 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { type ODataError } from '../../../../../models/oDataErrors/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../models/oDataErrors/oDataError'; +import { type HostPortCollectionResponse } from '../../../../../models/security/'; +import { createHostPortCollectionResponseFromDiscriminatorValue } from '../../../../../models/security/hostPortCollectionResponse'; +import { CountRequestBuilder } from './count/countRequestBuilder'; +import { HostPortItemRequestBuilder } from './item/hostPortItemRequestBuilder'; +import { BaseRequestBuilder, getPathParameters, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; + +export interface PortsRequestBuilderGetQueryParameters { + /** + * Include count of items + */ + count?: boolean; + /** + * Expand related entities + */ + expand?: string[]; + /** + * Filter items by property values + */ + filter?: string; + /** + * Order items by property values + */ + orderby?: string[]; + /** + * Search items by search phrases + */ + search?: string; + /** + * Select properties to be returned + */ + select?: string[]; + /** + * Skip the first n items + */ + skip?: number; + /** + * Show only the first n items + */ + top?: number; +} +export interface PortsRequestBuilderGetRequestConfiguration { + /** + * Request headers + */ + headers?: Record; + /** + * Request options + */ + options?: RequestOption[]; + /** + * Request query parameters + */ + queryParameters?: PortsRequestBuilderGetQueryParameters; +} +/** + * Provides operations to manage the ports property of the microsoft.graph.security.host entity. + */ +export class PortsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + */ + public get count(): CountRequestBuilder { + return new CountRequestBuilder(this.pathParameters, this.requestAdapter); + } + /** + * Provides operations to manage the ports property of the microsoft.graph.security.host entity. + * @param hostPortId The unique identifier of hostPort + * @returns a HostPortItemRequestBuilder + */ + public byHostPortId(hostPortId: string) : HostPortItemRequestBuilder { + if(!hostPortId) throw new Error("hostPortId cannot be undefined"); + const urlTplParams = getPathParameters(this.pathParameters); + urlTplParams["hostPort%2Did"] = hostPortId + return new HostPortItemRequestBuilder(urlTplParams, this.requestAdapter); + }; + /** + * Instantiates a new PortsRequestBuilder and sets the default values. + * @param pathParameters The raw url or the Url template parameters for the request. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public constructor(pathParameters: Record | string | undefined, requestAdapter: RequestAdapter) { + super(pathParameters, requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); + }; + /** + * Get the list of hostPort resources associated with a host. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of HostPortCollectionResponse + * @see {@link https://learn.microsoft.com/graph/api/security-host-list-ports?view=graph-rest-1.0|Find more info here} + */ + public get(requestConfiguration?: PortsRequestBuilderGetRequestConfiguration | undefined) : Promise { + const requestInfo = this.toGetRequestInformation( + requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createHostPortCollectionResponseFromDiscriminatorValue, errorMapping); + }; + /** + * Get the list of hostPort resources associated with a host. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a RequestInformation + */ + public toGetRequestInformation(requestConfiguration?: PortsRequestBuilderGetRequestConfiguration | undefined) : RequestInformation { + const requestInfo = new RequestInformation(); + if (requestConfiguration) { + requestInfo.addRequestHeaders(requestConfiguration.headers); + requestInfo.setQueryStringParametersFromRawObject(requestConfiguration.queryParameters); + requestInfo.addRequestOptions(requestConfiguration.options); + } + requestInfo.urlTemplate = this.urlTemplate; + requestInfo.pathParameters = this.pathParameters; + requestInfo.httpMethod = HttpMethod.GET; + requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1"); + return requestInfo; + }; + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @returns a portsRequestBuilder + */ + public withUrl(rawUrl: string) : PortsRequestBuilder { + if(!rawUrl) throw new Error("rawUrl cannot be undefined"); + return new PortsRequestBuilder(rawUrl, this.requestAdapter); + }; +} +// tslint:enable +// eslint-enable diff --git a/src/security/threatIntelligence/threatIntelligenceRequestBuilder.ts b/src/security/threatIntelligence/threatIntelligenceRequestBuilder.ts index 7ddcba4e381..19e2d34b9ad 100644 --- a/src/security/threatIntelligence/threatIntelligenceRequestBuilder.ts +++ b/src/security/threatIntelligence/threatIntelligenceRequestBuilder.ts @@ -9,6 +9,7 @@ import { ArticlesRequestBuilder } from './articles/articlesRequestBuilder'; import { HostComponentsRequestBuilder } from './hostComponents/hostComponentsRequestBuilder'; import { HostCookiesRequestBuilder } from './hostCookies/hostCookiesRequestBuilder'; import { HostPairsRequestBuilder } from './hostPairs/hostPairsRequestBuilder'; +import { HostPortsRequestBuilder } from './hostPorts/hostPortsRequestBuilder'; import { HostsRequestBuilder } from './hosts/hostsRequestBuilder'; import { HostSslCertificatesRequestBuilder } from './hostSslCertificates/hostSslCertificatesRequestBuilder'; import { HostTrackersRequestBuilder } from './hostTrackers/hostTrackersRequestBuilder'; @@ -100,6 +101,12 @@ export class ThreatIntelligenceRequestBuilder extends BaseRequestBuilder { public get hostPairs(): HostPairsRequestBuilder { return new HostPairsRequestBuilder(this.pathParameters, this.requestAdapter); } + /** + * Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + */ + public get hostPorts(): HostPortsRequestBuilder { + return new HostPortsRequestBuilder(this.pathParameters, this.requestAdapter); + } /** * Provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. */ diff --git a/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts index 2341e313bf5..f8678fa6cf7 100644 --- a/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts index 74e120bdc04..e3ba3c29450 100644 --- a/src/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ b/src/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts @@ -1,36 +1,3 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { type ContentType } from '../../../../../../../models/'; -import { createContentTypeFromDiscriminatorValue } from '../../../../../../../models/contentType'; -import { type ODataError } from '../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../models/oDataErrors/oDataError'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -export interface BaseRequestBuilderEscapedbaseRequestBuilderGetRequestConfiguration { - /** - * Request headers - */ - headers?: Record; - /** - * Request options - */ - options?: RequestOption[]; - /** - * Request query parameters - */ - queryParameters?: BaseRequestBuilderEscapedbaseRequestBuilderGetQueryParameters; -} /** * Provides operations to manage the base property of the microsoft.graph.contentType entity. */ @@ -86,5 +53,3 @@ export class BaseRequestBuilderEscaped extends BaseRequestBuilder { return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); }; } -// tslint:enable -// eslint-enable diff --git a/src/sites/item/lists/item/listItemRequestBuilder.ts b/src/sites/item/lists/item/listItemRequestBuilder.ts index 066f3d7e518..10606d1323b 100644 --- a/src/sites/item/lists/item/listItemRequestBuilder.ts +++ b/src/sites/item/lists/item/listItemRequestBuilder.ts @@ -133,10 +133,10 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of List - * @see {@link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: ListItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -182,7 +182,7 @@ export class ListItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Get a list of rich long-running operations associated with a list. This API is available in the following national cloud deployments. + * Returns the metadata for a list][]. This API is available in the following [national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/teams/item/channels/item/members/membersRequestBuilder.ts b/src/teams/item/channels/item/members/membersRequestBuilder.ts index 9273f236f7b..c52bdce6a79 100644 --- a/src/teams/item/channels/item/members/membersRequestBuilder.ts +++ b/src/teams/item/channels/item/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/teams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/teams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index 09a27fa3809..4e2a681d816 100644 --- a/src/teams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/teams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/teams/item/primaryChannel/members/membersRequestBuilder.ts b/src/teams/item/primaryChannel/members/membersRequestBuilder.ts index bfd5e7298a6..f973114688b 100644 --- a/src/teams/item/primaryChannel/members/membersRequestBuilder.ts +++ b/src/teams/item/primaryChannel/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/teams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/teams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index cb7cf11af58..b2105650918 100644 --- a/src/teams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/teams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/teamwork/deletedTeams/item/channels/item/members/membersRequestBuilder.ts b/src/teamwork/deletedTeams/item/channels/item/members/membersRequestBuilder.ts index 85bb3571c41..27ecc8c5821 100644 --- a/src/teamwork/deletedTeams/item/channels/item/members/membersRequestBuilder.ts +++ b/src/teamwork/deletedTeams/item/channels/item/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index 0f25fb02321..83864bba76e 100644 --- a/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts b/src/users/item/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts index 73a918170f9..077aa1551c2 100644 --- a/src/users/item/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts +++ b/src/users/item/activities/item/historyItems/item/activityHistoryItemItemRequestBuilder.ts @@ -99,11 +99,11 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createActivityHistoryItemFromDiscriminatorValue, errorMapping); }; /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ActivityHistoryItem - * @see {@link https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/projectrome-put-historyitem?view=graph-rest-1.0|Find more info here} */ public patch(body: ActivityHistoryItem, requestConfiguration?: ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -151,7 +151,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + * Create a new or replace an existing history item for an existing user activity. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/chats/item/messages/item/replies/repliesRequestBuilder.ts b/src/users/item/chats/item/messages/item/replies/repliesRequestBuilder.ts index 805817fbb32..39944dafbbc 100644 --- a/src/users/item/chats/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/users/item/chats/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/chats/item/messages/messagesRequestBuilder.ts b/src/users/item/chats/item/messages/messagesRequestBuilder.ts index 9948bb3845c..3e5b6356b08 100644 --- a/src/users/item/chats/item/messages/messagesRequestBuilder.ts +++ b/src/users/item/chats/item/messages/messagesRequestBuilder.ts @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + * 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. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/events/eventsRequestBuilder.ts b/src/users/item/events/eventsRequestBuilder.ts index 2c5784fb7c1..e320386783d 100644 --- a/src/users/item/events/eventsRequestBuilder.ts +++ b/src/users/item/events/eventsRequestBuilder.ts @@ -117,11 +117,11 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createEventCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Event - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-post-singlevalueextendedproperties?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0|Find more info here} */ public post(body: Event, requestConfiguration?: EventsRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -152,7 +152,7 @@ export class EventsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + * Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/joinedTeams/item/channels/item/members/membersRequestBuilder.ts b/src/users/item/joinedTeams/item/channels/item/members/membersRequestBuilder.ts index d280bc1456e..672451ed067 100644 --- a/src/users/item/joinedTeams/item/channels/item/members/membersRequestBuilder.ts +++ b/src/users/item/joinedTeams/item/channels/item/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts b/src/users/item/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts index 676dec1d7f3..b2522d9085a 100644 --- a/src/users/item/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts +++ b/src/users/item/joinedTeams/item/channels/item/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts b/src/users/item/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts index 73a7ac7f10c..066e6bf396c 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/members/membersRequestBuilder.ts @@ -121,11 +121,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ConversationMember - * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: MembersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + * Add a conversationMember to a channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts b/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts index 3492ff4387a..945e4ec87f9 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/repliesRequestBuilder.ts @@ -121,11 +121,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ChatMessage - * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + * Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/mailFolders/item/mailFolderItemRequestBuilder.ts b/src/users/item/mailFolders/item/mailFolderItemRequestBuilder.ts index 30b8632fecf..4a9646081fb 100644 --- a/src/users/item/mailFolders/item/mailFolderItemRequestBuilder.ts +++ b/src/users/item/mailFolders/item/mailFolderItemRequestBuilder.ts @@ -133,11 +133,11 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMailFolderFromDiscriminatorValue, errorMapping); }; /** - * Update the writable properties of a mailSearchFolder object. This API is available in the following national cloud deployments. + * Update the properties of mailfolder object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MailFolder - * @see {@link https://learn.microsoft.com/graph/api/mailsearchfolder-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MailFolder, requestConfiguration?: MailFolderItemRequestBuilderPatchRequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -185,7 +185,7 @@ export class MailFolderItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the writable properties of a mailSearchFolder object. This API is available in the following national cloud deployments. + * Update the properties of mailfolder object. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/messages/item/messageItemRequestBuilder.ts b/src/users/item/messages/item/messageItemRequestBuilder.ts index e1f41ab2c03..15e27e45cbd 100644 --- a/src/users/item/messages/item/messageItemRequestBuilder.ts +++ b/src/users/item/messages/item/messageItemRequestBuilder.ts @@ -151,9 +151,9 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}{?includeHiddenMessages*,%24select,%24expand}"); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: MessageItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -169,7 +169,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { * The messages in a mailbox or folder. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: MessageItemRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -199,7 +199,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageFromDiscriminatorValue, errorMapping); }; /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. This API is available in the following national cloud deployments. + * Delete eventMessage. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/users/item/messages/messagesRequestBuilder.ts b/src/users/item/messages/messagesRequestBuilder.ts index 062c033e0f8..8b81de8f233 100644 --- a/src/users/item/messages/messagesRequestBuilder.ts +++ b/src/users/item/messages/messagesRequestBuilder.ts @@ -125,11 +125,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * 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. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Message - * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: Message, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -160,7 +160,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * 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. This API is available in the following national cloud deployments. + * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation diff --git a/src/users/item/presence/presenceRequestBuilder.ts b/src/users/item/presence/presenceRequestBuilder.ts index ca82ad42897..2f7e655e266 100644 --- a/src/users/item/presence/presenceRequestBuilder.ts +++ b/src/users/item/presence/presenceRequestBuilder.ts @@ -112,10 +112,10 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Presence - * @see {@link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: PresenceRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -161,7 +161,7 @@ export class PresenceRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + * Get a user's presence information. This API is available in the following national cloud deployments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/users/usersRequestBuilder.ts b/src/users/usersRequestBuilder.ts index badf4fe10c4..f7771fee9f7 100644 --- a/src/users/usersRequestBuilder.ts +++ b/src/users/usersRequestBuilder.ts @@ -122,10 +122,10 @@ export class UsersRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users{?%24top,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of user objects. This API is available in the following national cloud deployments. + * List properties and relationships of the user objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of UserCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: UsersRequestBuilderGetRequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -138,11 +138,11 @@ export class UsersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUserCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of User - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0|Find more info here} */ public post(body: User, requestConfiguration?: UsersRequestBuilderPostRequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -155,7 +155,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUserFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of user objects. This API is available in the following national cloud deployments. + * List properties and relationships of the user objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -173,7 +173,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This API is available in the following national cloud deployments. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation