diff --git a/src/applications/item/restore/index.ts b/src/applications/item/restore/index.ts index af9e75f24dd..7cbbcf6ed33 100644 --- a/src/applications/item/restore/index.ts +++ b/src/applications/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/applications/{application%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/chats/item/messages/item/replies/index.ts b/src/chats/item/messages/item/replies/index.ts index 66d369c8024..a3d5646366d 100644 --- a/src/chats/item/messages/item/replies/index.ts +++ b/src/chats/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/contacts/item/restore/index.ts b/src/contacts/item/restore/index.ts index d806005e3bd..bf560fba997 100644 --- a/src/contacts/item/restore/index.ts +++ b/src/contacts/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/contracts/item/restore/index.ts b/src/contracts/item/restore/index.ts index 146448d830b..bb0b99c2f60 100644 --- a/src/contracts/item/restore/index.ts +++ b/src/contracts/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/index.ts b/src/deviceAppManagement/index.ts index f25290fe1ad..236e000afb2 100644 --- a/src/deviceAppManagement/index.ts +++ b/src/deviceAppManagement/index.ts @@ -137,7 +137,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-apps-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -154,7 +154,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-unlock-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceAppManagement, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceAppManagement/managedAppPolicies/index.ts b/src/deviceAppManagement/managedAppPolicies/index.ts index 6e28bb420eb..5be26c9fd57 100644 --- a/src/deviceAppManagement/managedAppPolicies/index.ts +++ b/src/deviceAppManagement/managedAppPolicies/index.ts @@ -74,10 +74,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 managedAppConfiguration objects. + * List properties and relationships of the targetedManagedAppProtection 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-managedappconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -106,7 +106,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the managedAppConfiguration objects. + * List properties and relationships of the targetedManagedAppProtection objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppPolicies/item/index.ts b/src/deviceAppManagement/managedAppPolicies/item/index.ts index 18835efbf70..9dbac92d564 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/index.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/index.ts @@ -50,10 +50,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the windowsInformationProtection 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-windowsinformationprotection-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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -93,7 +93,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the windowsInformationProtection 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/index.ts b/src/deviceAppManagement/managedAppPolicies/item/targetApps/index.ts index 5160ca45ee7..17dd527cae6 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/targetApps/index.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/targetApps/index.ts @@ -45,7 +45,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppRegistrations/index.ts b/src/deviceAppManagement/managedAppRegistrations/index.ts index 17347294909..b4ea7945ced 100644 --- a/src/deviceAppManagement/managedAppRegistrations/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/index.ts @@ -81,10 +81,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistrationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -114,7 +114,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the androidManagedAppRegistration objects. + * List properties and relationships of the managedAppRegistration 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/index.ts b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.ts index d8e67ed78e4..cbadfe09e8e 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.ts @@ -45,7 +45,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppRegistrations/item/index.ts b/src/deviceAppManagement/managedAppRegistrations/item/index.ts index 635bc4d9853..7175d6c9024 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/index.ts @@ -64,10 +64,10 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppRegistration - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -107,7 +107,7 @@ export class ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts index b1bbf45148c..d72338eb6fa 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts @@ -45,7 +45,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppStatuses/item/index.ts b/src/deviceAppManagement/managedAppStatuses/item/index.ts index f637ec0ad40..03f14c2d60a 100644 --- a/src/deviceAppManagement/managedAppStatuses/item/index.ts +++ b/src/deviceAppManagement/managedAppStatuses/item/index.ts @@ -43,10 +43,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw 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-managedappstatus-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -86,7 +86,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the managedAppStatus object. + * Read properties and relationships of the managedAppStatusRaw object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/index.ts b/src/deviceAppManagement/managedEBooks/index.ts index 6757cae3aea..2d44625b9bc 100644 --- a/src/deviceAppManagement/managedEBooks/index.ts +++ b/src/deviceAppManagement/managedEBooks/index.ts @@ -74,10 +74,10 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -107,7 +107,7 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosVppEBook objects. + * List properties and relationships of the managedEBook 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/index.ts b/src/deviceAppManagement/managedEBooks/item/assignments/index.ts index 0e3ff5baad3..a41db5c929c 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/index.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/index.ts @@ -74,10 +74,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -90,11 +90,11 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new iosVppEBookAssignment object. + * Create a new 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-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0|Find more info here} */ public post(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -107,7 +107,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 */ @@ -118,7 +118,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new iosVppEBookAssignment object. + * Create a new 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/assignments/item/index.ts b/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts index 9874a5f8155..470ef2466cf 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts @@ -29,9 +29,9 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}"); }; /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -60,11 +60,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -77,7 +77,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -99,7 +99,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/index.ts b/src/deviceAppManagement/managedEBooks/item/index.ts index 0568af09170..bb74a322f2a 100644 --- a/src/deviceAppManagement/managedEBooks/item/index.ts +++ b/src/deviceAppManagement/managedEBooks/item/index.ts @@ -79,10 +79,10 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook 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-iosvppebook-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -123,7 +123,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileAppConfigurations/index.ts b/src/deviceAppManagement/mobileAppConfigurations/index.ts index fc4f0125be9..f580669fab5 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/index.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/index.ts @@ -74,10 +74,10 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfigurationCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -107,7 +107,7 @@ export class MobileAppConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createManagedDeviceMobileAppConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/index.ts b/src/deviceAppManagement/mobileAppConfigurations/item/index.ts index 686a7159c24..3a0b806904f 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/index.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/index.ts @@ -86,10 +86,10 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration 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-iosmobileappconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -130,7 +130,7 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return requestInfo; }; /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileApps/index.ts b/src/deviceAppManagement/mobileApps/index.ts index bc33ff0d944..fe904642425 100644 --- a/src/deviceAppManagement/mobileApps/index.ts +++ b/src/deviceAppManagement/mobileApps/index.ts @@ -202,11 +202,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new webApp object. + * Create a new managedAndroidStoreApp 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-webapp-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-create?view=graph-rest-1.0|Find more info here} */ public post(body: MobileApp, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -230,7 +230,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new webApp object. + * Create a new managedAndroidStoreApp 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/item/index.ts b/src/deviceAppManagement/mobileApps/item/index.ts index ad8aa0507ac..61e5d46cd5b 100644 --- a/src/deviceAppManagement/mobileApps/item/index.ts +++ b/src/deviceAppManagement/mobileApps/item/index.ts @@ -162,9 +162,9 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}"); }; /** - * Deletes a windowsMicrosoftEdgeApp. + * Deletes a iosVppApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -177,10 +177,10 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosStoreApp object. + * Read properties and relationships of the mobileLobApp 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-iosstoreapp-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -210,7 +210,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); }; /** - * Deletes a windowsMicrosoftEdgeApp. + * Deletes a iosVppApp. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -221,7 +221,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the iosStoreApp object. + * Read properties and relationships of the mobileLobApp object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceManagement/deviceCompliancePolicies/index.ts b/src/deviceManagement/deviceCompliancePolicies/index.ts index 18a8e8ba747..723220fe9e8 100644 --- a/src/deviceManagement/deviceCompliancePolicies/index.ts +++ b/src/deviceManagement/deviceCompliancePolicies/index.ts @@ -74,10 +74,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 windows81CompliancePolicy objects. + * List properties and relationships of the windows10MobileCompliancePolicy 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-windows81compliancepolicy-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -90,11 +90,11 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new iosCompliancePolicy 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-ioscompliancepolicy-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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -107,7 +107,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the windows10MobileCompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -118,7 +118,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new iosCompliancePolicy 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/index.ts b/src/deviceManagement/deviceCompliancePolicies/item/index.ts index c55013697af..56eb8f2e860 100644 --- a/src/deviceManagement/deviceCompliancePolicies/item/index.ts +++ b/src/deviceManagement/deviceCompliancePolicies/item/index.ts @@ -92,9 +92,9 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}"); }; /** - * Deletes a iosCompliancePolicy. + * Deletes a windows10MobileCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -107,10 +107,10 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the windows10MobileCompliancePolicy object. + * Read properties and relationships of the macOSCompliancePolicy object. * @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-windows10mobilecompliancepolicy-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -123,11 +123,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a macOSCompliancePolicy object. + * Update the properties of a windowsPhone81CompliancePolicy 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-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -140,7 +140,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); }; /** - * Deletes a iosCompliancePolicy. + * Deletes a windows10MobileCompliancePolicy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -151,7 +151,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Read properties and relationships of the windows10MobileCompliancePolicy object. + * Read properties and relationships of the macOSCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -162,7 +162,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of a macOSCompliancePolicy object. + * Update the properties of a windowsPhone81CompliancePolicy 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/index.ts b/src/deviceManagement/deviceConfigurations/index.ts index 6e12e3cca9d..56596443341 100644 --- a/src/deviceManagement/deviceConfigurations/index.ts +++ b/src/deviceManagement/deviceConfigurations/index.ts @@ -74,10 +74,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 windows10CustomConfiguration objects. + * List properties and relationships of the windowsPhone81GeneralConfiguration 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-windows10customconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -90,11 +90,11 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new windows10EnterpriseModernAppManagementConfiguration object. + * Create a new androidWorkProfileGeneralDeviceConfiguration 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-windows10enterprisemodernappmanagementconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -107,7 +107,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the windows10CustomConfiguration objects. + * List properties and relationships of the windowsPhone81GeneralConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -118,7 +118,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new windows10EnterpriseModernAppManagementConfiguration object. + * Create a new androidWorkProfileGeneralDeviceConfiguration 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/index.ts b/src/deviceManagement/deviceConfigurations/item/index.ts index 949c5c80c33..363b8c4cb7b 100644 --- a/src/deviceManagement/deviceConfigurations/item/index.ts +++ b/src/deviceManagement/deviceConfigurations/item/index.ts @@ -79,9 +79,9 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a androidCustomConfiguration. + * Deletes a windowsDefenderAdvancedThreatProtectionConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -94,10 +94,10 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Read properties and relationships of the iosGeneralDeviceConfiguration object. + * Read properties and relationships of the iosCertificateProfile 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-iosgeneraldeviceconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -119,11 +119,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(this.pathParameters, this.requestAdapter, secretReferenceValueId); }; /** - * Update the properties of a iosCustomConfiguration object. + * Update the properties of a sharedPCConfiguration 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-ioscustomconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-sharedpcconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -136,7 +136,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a androidCustomConfiguration. + * Deletes a windowsDefenderAdvancedThreatProtectionConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -147,7 +147,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Read properties and relationships of the iosGeneralDeviceConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -158,7 +158,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a iosCustomConfiguration object. + * Update the properties of a sharedPCConfiguration 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/index.ts b/src/deviceManagement/deviceEnrollmentConfigurations/index.ts index dea68b378fb..1e0f0c802d5 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/index.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/index.ts @@ -74,10 +74,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 deviceEnrollmentPlatformRestrictionsConfiguration objects. + * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -90,11 +90,11 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -107,7 +107,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -118,7 +118,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return requestInfo; }; /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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/index.ts b/src/deviceManagement/deviceEnrollmentConfigurations/item/index.ts index 9c917754767..f7abaaf9317 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/index.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/index.ts @@ -50,9 +50,9 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24select,%24expand}"); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @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-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -81,11 +81,11 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -98,7 +98,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); }; /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -120,7 +120,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return requestInfo; }; /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration 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/index.ts b/src/deviceManagement/index.ts index 08b0b776e98..df948bb9a43 100644 --- a/src/deviceManagement/index.ts +++ b/src/deviceManagement/index.ts @@ -440,7 +440,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-rbac-devicemanagement-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-policyset-devicemanagement-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/deviceManagement/roleDefinitions/index.ts b/src/deviceManagement/roleDefinitions/index.ts index e06bfaac780..ddaa6b57252 100644 --- a/src/deviceManagement/roleDefinitions/index.ts +++ b/src/deviceManagement/roleDefinitions/index.ts @@ -90,11 +90,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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,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/devices/item/restore/index.ts b/src/devices/item/restore/index.ts index 019f83b0b9e..6495fb679be 100644 --- a/src/devices/item/restore/index.ts +++ b/src/devices/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/devices/{device%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/directory/deletedItems/item/restore/index.ts b/src/directory/deletedItems/item/restore/index.ts index a06a0666930..b1953daa399 100644 --- a/src/directory/deletedItems/item/restore/index.ts +++ b/src/directory/deletedItems/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/directoryObjects/item/restore/index.ts b/src/directoryObjects/item/restore/index.ts index 33427dfe2d3..f0c7ca39ba8 100644 --- a/src/directoryObjects/item/restore/index.ts +++ b/src/directoryObjects/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/directoryObjects/{directoryObject%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/directoryRoleTemplates/item/restore/index.ts b/src/directoryRoleTemplates/item/restore/index.ts index 6e98cfa11e1..f32a9ea47e2 100644 --- a/src/directoryRoleTemplates/item/restore/index.ts +++ b/src/directoryRoleTemplates/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/directoryRoles/item/restore/index.ts b/src/directoryRoles/item/restore/index.ts index 1dbbf62925b..ffc0e388df7 100644 --- a/src/directoryRoles/item/restore/index.ts +++ b/src/directoryRoles/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/retentionLabel/index.ts b/src/drives/item/items/item/retentionLabel/index.ts index f185956ca47..80fc755a5b0 100644 --- a/src/drives/item/items/item/retentionLabel/index.ts +++ b/src/drives/item/items/item/retentionLabel/index.ts @@ -59,11 +59,11 @@ export class RetentionLabelRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createItemRetentionLabelFromDiscriminatorValue, errorMapping); }; /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ItemRetentionLabel - * @see {@link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0|Find more info here} */ public patch(body: ItemRetentionLabel, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -98,7 +98,7 @@ export class RetentionLabelRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @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/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts b/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts deleted file mode 100644 index 7ea7af25843..00000000000 --- a/src/drives/item/items/item/workbook/functions/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,98 +0,0 @@ -// tslint:disable -// eslint-disable -// Generated by Microsoft Kiota -import { createJsonFromDiscriminatorValue, serializeJson, type Json } from '../../../../../../../models/json'; -import { type ODataError } from '../../../../../../../models/oDataErrors/'; -import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../../../../../models/oDataErrors/oDataError'; -import { createWorkbookFunctionResultFromDiscriminatorValue, deserializeIntoWorkbookFunctionResult, serializeWorkbookFunctionResult, type WorkbookFunctionResult } from '../../../../../../../models/workbookFunctionResult'; -import { BaseRequestBuilder, HttpMethod, RequestInformation, type AdditionalDataHolder, type Parsable, type ParsableFactory, type ParseNode, type RequestAdapter, type RequestConfiguration, type RequestOption, type SerializationWriter } from '@microsoft/kiota-abstractions'; - -export interface BasePostRequestBody 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 minLength property - */ - minLength?: Json; - /** - * The number property - */ - number?: Json; - /** - * The radix property - */ - radix?: Json; -} -export function createBasePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined) { - if(!parseNode) throw new Error("parseNode cannot be undefined"); - return deserializeIntoBasePostRequestBody; -} -export function deserializeIntoBasePostRequestBody(basePostRequestBody: BasePostRequestBody | undefined = {} as BasePostRequestBody) : Record void> { - return { - "minLength": n => { basePostRequestBody.minLength = n.getObjectValue(createJsonFromDiscriminatorValue); }, - "number": n => { basePostRequestBody.number = n.getObjectValue(createJsonFromDiscriminatorValue); }, - "radix": n => { basePostRequestBody.radix = n.getObjectValue(createJsonFromDiscriminatorValue); }, - } -} -export function serializeBasePostRequestBody(writer: SerializationWriter, basePostRequestBody: BasePostRequestBody | undefined = {} as BasePostRequestBody) : void { - writer.writeObjectValue("minLength", basePostRequestBody.minLength, serializeJson); - writer.writeObjectValue("number", basePostRequestBody.number, serializeJson); - writer.writeObjectValue("radix", basePostRequestBody.radix, serializeJson); - writer.writeAdditionalData(basePostRequestBody.additionalData); -} -/** - * Provides operations to call the base method. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/functions/base"); - }; - /** - * Invoke action base - * @param body The request body - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of WorkbookFunctionResult - */ - public post(body: BasePostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toPostRequestInformation( - body, requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createWorkbookFunctionResultFromDiscriminatorValue, errorMapping); - }; - /** - * Invoke action base - * @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: BasePostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - if(!body) throw new Error("body cannot be undefined"); - const requestInfo = new RequestInformation(HttpMethod.POST, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBasePostRequestBody); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -// tslint:enable -// eslint-enable diff --git a/src/drives/item/items/item/workbook/names/index.ts b/src/drives/item/items/item/workbook/names/index.ts index 1403b69c36b..3fb222c34de 100644 --- a/src/drives/item/items/item/workbook/names/index.ts +++ b/src/drives/item/items/item/workbook/names/index.ts @@ -91,7 +91,7 @@ export class NamesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of nameditem objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookNamedItemCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/nameditem-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/names/item/range/index.ts b/src/drives/item/items/item/workbook/names/item/range/index.ts index 0fcc30c79c5..857b55ffa07 100644 --- a/src/drives/item/items/item/workbook/names/item/range/index.ts +++ b/src/drives/item/items/item/workbook/names/item/range/index.ts @@ -20,10 +20,10 @@ export class RangeRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()"); }; /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookRange - * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -36,7 +36,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookRangeFromDiscriminatorValue, errorMapping); }; /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @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/tables/add/index.ts b/src/drives/item/items/item/workbook/tables/add/index.ts index 9a00b1d08e4..e0903a8eaff 100644 --- a/src/drives/item/items/item/workbook/tables/add/index.ts +++ b/src/drives/item/items/item/workbook/tables/add/index.ts @@ -48,11 +48,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add"); }; /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -65,7 +65,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @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/drives/item/items/item/workbook/tables/index.ts b/src/drives/item/items/item/workbook/tables/index.ts index 330bd52db6f..db39dc096b6 100644 --- a/src/drives/item/items/item/workbook/tables/index.ts +++ b/src/drives/item/items/item/workbook/tables/index.ts @@ -85,7 +85,7 @@ export class TablesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of table objects. * @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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/tables/item/columns/index.ts b/src/drives/item/items/item/workbook/tables/item/columns/index.ts index 9201d8f2b9f..2299c0909e9 100644 --- a/src/drives/item/items/item/workbook/tables/item/columns/index.ts +++ b/src/drives/item/items/item/workbook/tables/item/columns/index.ts @@ -85,7 +85,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablecolumn objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableColumnCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/index.ts b/src/drives/item/items/item/workbook/worksheets/index.ts index f4cd524d649..ecc59bc10b6 100644 --- a/src/drives/item/items/item/workbook/worksheets/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/index.ts @@ -84,7 +84,7 @@ export class WorksheetsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of worksheet objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookWorksheetCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/index.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/index.ts index e8671325c20..725644bba5b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/index.ts @@ -86,7 +86,7 @@ export class ChartsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of chart objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookChartCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chart-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/index.ts b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/index.ts index c9013e42566..800b391c91b 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/charts/item/series/index.ts @@ -78,7 +78,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder { * Retrieve a list of chartseries objects. * @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/chartseries-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/index.ts b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/index.ts index 016494c3fbe..165c0da240a 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/names/item/range/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/names/item/range/index.ts @@ -20,10 +20,10 @@ export class RangeRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()"); }; /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookRange - * @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -36,7 +36,7 @@ export class RangeRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookRangeFromDiscriminatorValue, errorMapping); }; /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @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/tables/add/index.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/add/index.ts index 59ec2f67c08..d70e2b9ca63 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/add/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/add/index.ts @@ -48,11 +48,11 @@ export class AddRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add"); }; /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTable - * @see {@link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0|Find more info here} */ public post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -65,7 +65,7 @@ export class AddRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createWorkbookTableFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @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/drives/item/items/item/workbook/worksheets/item/tables/item/columns/index.ts b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/index.ts index 3c204c72084..97888fc4044 100644 --- a/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/index.ts +++ b/src/drives/item/items/item/workbook/worksheets/item/tables/item/columns/index.ts @@ -85,7 +85,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder { * Retrieve a list of tablecolumn objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of WorkbookTableColumnCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | 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 deleted file mode 100644 index 819389d1e67..00000000000 --- a/src/drives/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// tslint:enable -// eslint-enable diff --git a/src/groupSettingTemplates/item/restore/index.ts b/src/groupSettingTemplates/item/restore/index.ts index 675974c2875..3da220cfc4e 100644 --- a/src/groupSettingTemplates/item/restore/index.ts +++ b/src/groupSettingTemplates/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groupSettingTemplates/{groupSettingTemplate%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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/index.ts b/src/groups/item/conversations/item/index.ts index e216247cedf..c213969e7bb 100644 --- a/src/groups/item/conversations/item/index.ts +++ b/src/groups/item/conversations/item/index.ts @@ -48,10 +48,10 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @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/group-get-conversation?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -75,7 +75,7 @@ export class ConversationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @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/item/inReplyTo/reply/index.ts b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/index.ts index 027afc9c95f..fa9c085e358 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/index.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/inReplyTo/reply/index.ts @@ -42,10 +42,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply"); }; /** - * 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -58,7 +58,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/threads/item/posts/item/reply/index.ts b/src/groups/item/conversations/item/threads/item/posts/item/reply/index.ts index 44d81ba4984..c55118f6803 100644 --- a/src/groups/item/conversations/item/threads/item/posts/item/reply/index.ts +++ b/src/groups/item/conversations/item/threads/item/posts/item/reply/index.ts @@ -42,10 +42,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply"); }; /** - * 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -58,7 +58,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/restore/index.ts b/src/groups/item/restore/index.ts index 8a974ff3be3..feddc487d60 100644 --- a/src/groups/item/restore/index.ts +++ b/src/groups/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @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 deleted file mode 100644 index 69912123780..00000000000 --- a/src/groups/item/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// 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 deleted file mode 100644 index a1330c9e006..00000000000 --- a/src/groups/item/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// tslint:enable -// eslint-enable diff --git a/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 361ee003a1c..8d16f282e18 100644 --- a/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/groups/item/team/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/groups/item/team/channels/item/members/index.ts b/src/groups/item/team/channels/item/members/index.ts index 07884fb4890..8acdbbc5bbc 100644 --- a/src/groups/item/team/channels/item/members/index.ts +++ b/src/groups/item/team/channels/item/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/members/item/index.ts b/src/groups/item/team/channels/item/members/item/index.ts index 20754b1cc85..d1a655f9019 100644 --- a/src/groups/item/team/channels/item/members/item/index.ts +++ b/src/groups/item/team/channels/item/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/groups/item/team/channels/item/messages/item/replies/index.ts index e4ef562e5e4..a02c67acd19 100644 --- a/src/groups/item/team/channels/item/messages/item/replies/index.ts +++ b/src/groups/item/team/channels/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 44377573bc6..5da26f6ab91 100644 --- a/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/groups/item/team/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/groups/item/team/primaryChannel/members/index.ts b/src/groups/item/team/primaryChannel/members/index.ts index 840f1d3c90f..76375007e03 100644 --- a/src/groups/item/team/primaryChannel/members/index.ts +++ b/src/groups/item/team/primaryChannel/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/item/index.ts b/src/groups/item/team/primaryChannel/members/item/index.ts index 56d837590bc..4933e6be789 100644 --- a/src/groups/item/team/primaryChannel/members/item/index.ts +++ b/src/groups/item/team/primaryChannel/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/groups/item/team/primaryChannel/messages/item/replies/index.ts index 20dff3400d6..8108a53d9e0 100644 --- a/src/groups/item/team/primaryChannel/messages/item/replies/index.ts +++ b/src/groups/item/team/primaryChannel/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/index.ts b/src/groups/item/threads/item/index.ts index 058bc25cbe2..16760012d3a 100644 --- a/src/groups/item/threads/item/index.ts +++ b/src/groups/item/threads/item/index.ts @@ -41,7 +41,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { /** * Delete conversationThread. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -54,10 +54,10 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Get a thread object. + * 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. * @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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -98,7 +98,7 @@ export class ConversationThreadItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Get a thread object. + * 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. * @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/item/inReplyTo/reply/index.ts b/src/groups/item/threads/item/posts/item/inReplyTo/reply/index.ts index 90f79b7caec..755bea84eba 100644 --- a/src/groups/item/threads/item/posts/item/inReplyTo/reply/index.ts +++ b/src/groups/item/threads/item/posts/item/inReplyTo/reply/index.ts @@ -42,10 +42,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply"); }; /** - * 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -58,7 +58,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/posts/item/reply/index.ts b/src/groups/item/threads/item/posts/item/reply/index.ts index 366a1fbf8d7..2786d1ff8b8 100644 --- a/src/groups/item/threads/item/posts/item/reply/index.ts +++ b/src/groups/item/threads/item/posts/item/reply/index.ts @@ -42,10 +42,10 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply"); }; /** - * 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here} */ public post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -58,7 +58,7 @@ export class ReplyRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, 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. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/index.ts b/src/identity/conditionalAccess/namedLocations/item/index.ts index 5318e90ebce..d0aff38c056 100644 --- a/src/identity/conditionalAccess/namedLocations/item/index.ts +++ b/src/identity/conditionalAccess/namedLocations/item/index.ts @@ -44,10 +44,10 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of a namedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -88,7 +88,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of a namedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/index.ts b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/index.ts index 56264022d87..7a814ac2af6 100644 --- a/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/index.ts +++ b/src/identityGovernance/entitlementManagement/catalogs/item/customWorkflowExtensions/item/index.ts @@ -60,11 +60,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -99,7 +99,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension 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/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts index b656228cd51..4a5139b8cf7 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts @@ -60,11 +60,11 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of CustomCalloutExtension - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0|Find more info here} */ public patch(body: CustomCalloutExtension, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -99,7 +99,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; }; /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension 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/identityGovernance/termsOfUse/agreements/item/index.ts b/src/identityGovernance/termsOfUse/agreements/item/index.ts index a9d7ca75d8a..eaf9cd6232f 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/index.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/index.ts @@ -65,10 +65,10 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); }; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @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-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -109,7 +109,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @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 12e0de1af52..86ab85677b4 100644 --- a/src/kiota-lock.json +++ b/src/kiota-lock.json @@ -1,6 +1,6 @@ { - "descriptionHash": "6DA35D9AA714EDF973538BF50655E022B6E70EF14FADCAC442DBACA93805F256BE1A51AADD1370D41EAE6B31585988CD2EA7B576565F796613288F79B96785A3", - "descriptionLocation": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/openapi.yaml", + "descriptionHash": "2AE191309E6F039F7F78B8E1B78F7A4A7198834C0DFBFD25DC4CE8D4785B5CB823040D19B3597CB637268BB38B155BB79118F6BBA3E62B203BDC3669C478C072", + "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.9.0", "clientClassName": "GraphBaseServiceClient", @@ -31,7 +31,5 @@ "/me", "/me/**" ], - "disabledValidationRules": [ - "all" - ] + "disabledValidationRules": [] } \ No newline at end of file diff --git a/src/models/connectedOrganization.ts b/src/models/connectedOrganization.ts index e909d2a02cb..9f71c08acaf 100644 --- a/src/models/connectedOrganization.ts +++ b/src/models/connectedOrganization.ts @@ -25,7 +25,7 @@ export interface ConnectedOrganization extends Entity, Parsable { */ externalSponsors?: DirectoryObject[]; /** - * The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource, externalDomainFederation or crossCloudAzureActiveDirectoryTenant. Nullable. + * The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource, externalDomainFederation, or socialIdentitySource. Nullable. */ identitySources?: IdentitySource[]; /** diff --git a/src/models/unifiedRoleAssignment.ts b/src/models/unifiedRoleAssignment.ts index 1e6892121af..633d5935b2c 100644 --- a/src/models/unifiedRoleAssignment.ts +++ b/src/models/unifiedRoleAssignment.ts @@ -43,7 +43,7 @@ export interface UnifiedRoleAssignment extends Entity, Parsable { */ appScope?: AppScope; /** - * Identifier of the app-specific scope when the assignment scope is app-specific. Either this property or directoryScopeId is required. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Supports $filter (eq, in). + * Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'. */ appScopeId?: string; /** @@ -55,7 +55,7 @@ export interface UnifiedRoleAssignment extends Entity, Parsable { */ directoryScope?: DirectoryObject; /** - * Identifier of the directory object representing the scope of the assignment. Either this property or appScopeId is required. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Supports $filter (eq, in). + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications, unlike app scopes that are defined and understood by a resource application only. Supports $filter (eq, in). */ directoryScopeId?: string; /** @@ -63,15 +63,15 @@ export interface UnifiedRoleAssignment extends Entity, Parsable { */ principal?: DirectoryObject; /** - * Identifier of the principal to which the assignment is granted. Supports $filter (eq, in). + * Identifier of the principal to which the assignment is granted. Supported principals are users, role-assignable groups, and service principals. Supports $filter (eq, in). */ principalId?: string; /** - * The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. + * The roleDefinition the assignment is for. Supports $expand. */ roleDefinition?: UnifiedRoleDefinition; /** - * Identifier of the role definition the assignment is for. Read only. Supports $filter (eq, in). + * Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq, in). */ roleDefinitionId?: string; } diff --git a/src/organization/item/index.ts b/src/organization/item/index.ts index ee3ce676d11..5a5fb33b247 100644 --- a/src/organization/item/index.ts +++ b/src/organization/item/index.ts @@ -122,11 +122,11 @@ export class OrganizationItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createOrganizationFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a organization object. + * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Organization - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0|Find more info here} */ public patch(body: Organization, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -161,7 +161,7 @@ export class OrganizationItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a organization object. + * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. * @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/organization/item/restore/index.ts b/src/organization/item/restore/index.ts index a44765a4d57..46cfdf80cbb 100644 --- a/src/organization/item/restore/index.ts +++ b/src/organization/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/organization/{organization%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/permissionGrants/item/restore/index.ts b/src/permissionGrants/item/restore/index.ts index 9c64519fe35..94a12545cc5 100644 --- a/src/permissionGrants/item/restore/index.ts +++ b/src/permissionGrants/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/permissionGrants/{resourceSpecificPermissionGrant%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/roleManagement/directory/roleAssignments/index.ts b/src/roleManagement/directory/roleAssignments/index.ts index 01e6fa358fc..73db5f8a3c9 100644 --- a/src/roleManagement/directory/roleAssignments/index.ts +++ b/src/roleManagement/directory/roleAssignments/index.ts @@ -74,7 +74,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of UnifiedRoleAssignmentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0|Find more info here} @@ -107,7 +107,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUnifiedRoleAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/roleManagement/directory/roleAssignments/item/roleDefinition/index.ts b/src/roleManagement/directory/roleAssignments/item/roleDefinition/index.ts index 4f6613cc401..1773eac0266 100644 --- a/src/roleManagement/directory/roleAssignments/item/roleDefinition/index.ts +++ b/src/roleManagement/directory/roleAssignments/item/roleDefinition/index.ts @@ -30,7 +30,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignments/{unifiedRoleAssignment%2Did}/roleDefinition{?%24select,%24expand}"); }; /** - * The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. + * The roleDefinition the assignment is for. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of UnifiedRoleDefinition */ @@ -45,7 +45,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUnifiedRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. + * The roleDefinition the assignment is for. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/roleManagement/entitlementManagement/roleAssignments/index.ts b/src/roleManagement/entitlementManagement/roleAssignments/index.ts index b303658d781..4256fb3a979 100644 --- a/src/roleManagement/entitlementManagement/roleAssignments/index.ts +++ b/src/roleManagement/entitlementManagement/roleAssignments/index.ts @@ -74,7 +74,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of UnifiedRoleAssignmentCollectionResponse * @see {@link https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0|Find more info here} @@ -107,7 +107,7 @@ export class RoleAssignmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUnifiedRoleAssignmentFromDiscriminatorValue, errorMapping); }; /** - * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra Entitlement Management) + * Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/roleManagement/entitlementManagement/roleAssignments/item/roleDefinition/index.ts b/src/roleManagement/entitlementManagement/roleAssignments/item/roleDefinition/index.ts index cfc91f1d214..12de2261d08 100644 --- a/src/roleManagement/entitlementManagement/roleAssignments/item/roleDefinition/index.ts +++ b/src/roleManagement/entitlementManagement/roleAssignments/item/roleDefinition/index.ts @@ -30,7 +30,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignments/{unifiedRoleAssignment%2Did}/roleDefinition{?%24select,%24expand}"); }; /** - * The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. + * The roleDefinition the assignment is for. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of UnifiedRoleDefinition */ @@ -45,7 +45,7 @@ export class RoleDefinitionRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUnifiedRoleDefinitionFromDiscriminatorValue, errorMapping); }; /** - * The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. + * The roleDefinition the assignment is for. Supports $expand. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/servicePrincipals/item/restore/index.ts b/src/servicePrincipals/item/restore/index.ts index bca0e21b149..ff874328c56 100644 --- a/src/servicePrincipals/item/restore/index.ts +++ b/src/servicePrincipals/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts deleted file mode 100644 index e29745aafed..00000000000 --- a/src/shares/item/list/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/shares/{sharedDriveItem%2Did}/list/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// tslint:enable -// eslint-enable diff --git a/src/sites/index.ts b/src/sites/index.ts index 9f5f3b995a1..a3995e7bd81 100644 --- a/src/sites/index.ts +++ b/src/sites/index.ts @@ -101,10 +101,10 @@ export class SitesRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of SiteCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -117,7 +117,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createSiteCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts b/src/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts deleted file mode 100644 index 98cbe7de568..00000000000 --- a/src/sites/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/sites/{site%2Did}/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// 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 deleted file mode 100644 index 329180fcee7..00000000000 --- a/src/sites/item/lists/item/contentTypes/item/base/baseRequestBuilderEscaped.ts +++ /dev/null @@ -1,73 +0,0 @@ -// 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 RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; - -export interface BaseRequestBuilderGetQueryParameters { - /** - * Expand related entities - */ - expand?: string[]; - /** - * Select properties to be returned - */ - select?: string[]; -} -/** - * Provides operations to manage the base property of the microsoft.graph.contentType entity. - */ -export class BaseRequestBuilderEscaped extends BaseRequestBuilder { - /** - * Instantiates a new BaseRequestBuilder 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}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/base{?%24select,%24expand}"); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a Promise of ContentType - */ - public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { - const requestInfo = this.toGetRequestInformation( - requestConfiguration - ); - const errorMapping = { - "4XX": createODataErrorFromDiscriminatorValue, - "5XX": createODataErrorFromDiscriminatorValue, - } as Record>; - return this.requestAdapter.sendAsync(requestInfo, createContentTypeFromDiscriminatorValue, errorMapping); - }; - /** - * Parent contentType from which this content type is derived. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @returns a RequestInformation - */ - public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { - const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration); - requestInfo.headers.tryAdd("Accept", "application/json"); - 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 baseRequestBuilderEscaped - */ - public withUrl(rawUrl: string) : BaseRequestBuilderEscaped { - if(!rawUrl) throw new Error("rawUrl cannot be undefined"); - return new BaseRequestBuilderEscaped(rawUrl, this.requestAdapter); - }; -} -const baseRequestBuilderGetQueryParametersMapper: Record = { - "expand": "%24expand", - "select": "%24select", -}; -// tslint:enable -// eslint-enable diff --git a/src/teams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/teams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 47101d48293..43450cab3b9 100644 --- a/src/teams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/teams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/teams/item/channels/item/members/index.ts b/src/teams/item/channels/item/members/index.ts index 1db89d201fe..e5333a656bd 100644 --- a/src/teams/item/channels/item/members/index.ts +++ b/src/teams/item/channels/item/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/members/item/index.ts b/src/teams/item/channels/item/members/item/index.ts index b299d9d71fe..c4b3ee8f9ea 100644 --- a/src/teams/item/channels/item/members/item/index.ts +++ b/src/teams/item/channels/item/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/teams/item/channels/item/messages/item/replies/index.ts index 04370f5a776..d64e4dbf256 100644 --- a/src/teams/item/channels/item/messages/item/replies/index.ts +++ b/src/teams/item/channels/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/teams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 64591359264..be717a3d8c2 100644 --- a/src/teams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/teams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/teams/item/primaryChannel/members/index.ts b/src/teams/item/primaryChannel/members/index.ts index 531a0c4da0d..a6c537abcc3 100644 --- a/src/teams/item/primaryChannel/members/index.ts +++ b/src/teams/item/primaryChannel/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/item/index.ts b/src/teams/item/primaryChannel/members/item/index.ts index e1cad66cf21..b491bfaa493 100644 --- a/src/teams/item/primaryChannel/members/item/index.ts +++ b/src/teams/item/primaryChannel/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/teams/item/primaryChannel/messages/item/replies/index.ts index bf1461f60c0..402887ce4ea 100644 --- a/src/teams/item/primaryChannel/messages/item/replies/index.ts +++ b/src/teams/item/primaryChannel/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 9ee6dc0bd79..2cfd81cb8eb 100644 --- a/src/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/teamwork/deletedTeams/item/channels/item/members/index.ts b/src/teamwork/deletedTeams/item/channels/item/members/index.ts index e5e9baf0cf8..03ed36e8c51 100644 --- a/src/teamwork/deletedTeams/item/channels/item/members/index.ts +++ b/src/teamwork/deletedTeams/item/channels/item/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/item/index.ts b/src/teamwork/deletedTeams/item/channels/item/members/item/index.ts index 4477b72ba5a..cc09b712469 100644 --- a/src/teamwork/deletedTeams/item/channels/item/members/item/index.ts +++ b/src/teamwork/deletedTeams/item/channels/item/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.ts index 6aa87841d9d..625dd577245 100644 --- a/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.ts +++ b/src/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/index.ts b/src/users/index.ts index b52fa5bc43b..d760f8403be 100644 --- a/src/users/index.ts +++ b/src/users/index.ts @@ -98,10 +98,10 @@ export class UsersRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users{?%24top,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * List properties and relationships of the user objects. + * Retrieve a list of 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/intune-mam-user-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -131,7 +131,7 @@ export class UsersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createUserFromDiscriminatorValue, errorMapping); }; /** - * List properties and relationships of the user objects. + * Retrieve a list of user objects. * @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/index.ts b/src/users/item/activities/item/historyItems/item/index.ts index 8bea8feeaaa..9d6638d57e3 100644 --- a/src/users/item/activities/item/historyItems/item/index.ts +++ b/src/users/item/activities/item/historyItems/item/index.ts @@ -65,11 +65,11 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createActivityHistoryItemFromDiscriminatorValue, errorMapping); }; /** - * Create a new or replace an existing history item for an existing user activity. + * Delete 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-put-historyitem?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0|Find more info here} */ public patch(body: ActivityHistoryItem, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -104,7 +104,7 @@ export class ActivityHistoryItemItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new or replace an existing history item for an existing user activity. + * Delete 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/index.ts b/src/users/item/chats/item/messages/item/replies/index.ts index eb91e8da03e..89d9935d476 100644 --- a/src/users/item/chats/item/messages/item/replies/index.ts +++ b/src/users/item/chats/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/index.ts b/src/users/item/events/index.ts index 6a999551319..f055c7a9d62 100644 --- a/src/users/item/events/index.ts +++ b/src/users/item/events/index.ts @@ -93,11 +93,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. + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @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/multivaluelegacyextendedproperty-post-multivalueextendedproperties?view=graph-rest-1.0|Find more info here} */ public post(body: Event, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -121,7 +121,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. + * Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. * @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/index.ts b/src/users/item/index.ts index 6bcb795448f..57b9c76f64b 100644 --- a/src/users/item/index.ts +++ b/src/users/item/index.ts @@ -523,7 +523,7 @@ export class UserItemRequestBuilder extends BaseRequestBuilder { /** * Deletes a user. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -550,7 +550,7 @@ export class UserItemRequestBuilder extends BaseRequestBuilder { * Read properties and relationships of the user object. * @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-onboarding-user-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -567,7 +567,7 @@ export class UserItemRequestBuilder 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 User - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0|Find more info here} */ public patch(body: User, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/users/item/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/users/item/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 926119f1f5b..49cbb4e5390 100644 --- a/src/users/item/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/users/item/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/users/item/joinedTeams/item/channels/item/members/index.ts b/src/users/item/joinedTeams/item/channels/item/members/index.ts index 85f3d42a658..f6b8bdc2201 100644 --- a/src/users/item/joinedTeams/item/channels/item/members/index.ts +++ b/src/users/item/joinedTeams/item/channels/item/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/item/index.ts b/src/users/item/joinedTeams/item/channels/item/members/item/index.ts index bb000fa6d65..21c84b680f5 100644 --- a/src/users/item/joinedTeams/item/channels/item/members/item/index.ts +++ b/src/users/item/joinedTeams/item/channels/item/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/users/item/joinedTeams/item/channels/item/messages/item/replies/index.ts index d547b3f74fc..587a1455a72 100644 --- a/src/users/item/joinedTeams/item/channels/item/messages/item/replies/index.ts +++ b/src/users/item/joinedTeams/item/channels/item/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts b/src/users/item/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts index 97fdcfb3f8d..2363be8f7d6 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.ts @@ -76,7 +76,7 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser */ public toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation { const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); - requestInfo.configure(requestConfiguration, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper); + requestInfo.configure(requestConfiguration); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; }; @@ -90,7 +90,5 @@ export class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser return new DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, this.requestAdapter); }; } -const doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParametersMapper: Record = { -}; // tslint:enable // eslint-enable diff --git a/src/users/item/joinedTeams/item/primaryChannel/members/index.ts b/src/users/item/joinedTeams/item/primaryChannel/members/index.ts index 9cfc0ea5729..9d248b94a80 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/members/index.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/members/index.ts @@ -97,11 +97,11 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/conversationmember-add?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here} */ public post(body: ConversationMember, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class MembersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Add a conversationMember to a channel. + * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/item/index.ts b/src/users/item/joinedTeams/item/primaryChannel/members/item/index.ts index 71bd8cbc577..cbb717927d5 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/members/item/index.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/members/item/index.ts @@ -29,9 +29,9 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}"); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -77,7 +77,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); }; /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @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/index.ts b/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.ts index 05c83134e5f..17fc2d357b7 100644 --- a/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.ts +++ b/src/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.ts @@ -97,11 +97,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/channel-post-messagereply?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @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/childFolders/index.ts b/src/users/item/mailFolders/item/childFolders/index.ts index 130f1b58455..c01fc97f862 100644 --- a/src/users/item/mailFolders/item/childFolders/index.ts +++ b/src/users/item/mailFolders/item/childFolders/index.ts @@ -97,11 +97,11 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMailFolderCollectionResponseFromDiscriminatorValue, errorMapping); }; /** - * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + * Create a new mailSearchFolder in the specified user's mailbox. * @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/mailfolder-post-childfolders?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0|Find more info here} */ public post(body: MailFolder, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -125,7 +125,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + * Create a new mailSearchFolder in the specified user's mailbox. * @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/childFolders/item/messages/item/attachments/index.ts b/src/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.ts index 696c821d99e..7c746c0db7b 100644 --- a/src/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.ts +++ b/src/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.ts @@ -69,10 +69,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -102,7 +102,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @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/messages/item/attachments/index.ts b/src/users/item/mailFolders/item/messages/item/attachments/index.ts index a326dc39d17..04642f015e2 100644 --- a/src/users/item/mailFolders/item/messages/item/attachments/index.ts +++ b/src/users/item/mailFolders/item/messages/item/attachments/index.ts @@ -69,10 +69,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -102,7 +102,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @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/attachments/index.ts b/src/users/item/messages/item/attachments/index.ts index 5711bfeb0cd..991665d7aa8 100644 --- a/src/users/item/messages/item/attachments/index.ts +++ b/src/users/item/messages/item/attachments/index.ts @@ -69,10 +69,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}"); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of AttachmentCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -102,7 +102,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createAttachmentFromDiscriminatorValue, errorMapping); }; /** - * Retrieve a list of attachment objects attached to a message. + * Retrieve a list of attachment objects. * @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/index.ts b/src/users/item/messages/item/index.ts index c7a44076c20..ef3d14b2626 100644 --- a/src/users/item/messages/item/index.ts +++ b/src/users/item/messages/item/index.ts @@ -117,9 +117,9 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}{?includeHiddenMessages*,%24select,%24expand}"); }; /** - * Delete eventMessage. + * Delete a message in the specified user's mailbox, or delete a relationship of the message. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -135,7 +135,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/opentypeextension-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -148,11 +148,11 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageFromDiscriminatorValue, errorMapping); }; /** - * Update the properties of a message object. + * Update the properties of an eventMessage object. * @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/message-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0|Find more info here} */ public patch(body: Message, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -165,7 +165,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createMessageFromDiscriminatorValue, errorMapping); }; /** - * Delete eventMessage. + * Delete a message in the specified user's mailbox, or delete a relationship of the message. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -187,7 +187,7 @@ export class MessageItemRequestBuilder extends BaseRequestBuilder { return requestInfo; }; /** - * Update the properties of a message object. + * Update the properties of an eventMessage 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/users/item/presence/index.ts b/src/users/item/presence/index.ts index 28ec6aca545..2daee989921 100644 --- a/src/users/item/presence/index.ts +++ b/src/users/item/presence/index.ts @@ -78,10 +78,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. + * Get a user's presence information. * @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?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -121,7 +121,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. + * Get a user's presence information. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/users/item/restore/index.ts b/src/users/item/restore/index.ts index 31005972d61..9d559c001e1 100644 --- a/src/users/item/restore/index.ts +++ b/src/users/item/restore/index.ts @@ -20,7 +20,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { super(pathParameters, requestAdapter, "{+baseurl}/users/{user%2Did}/restore"); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DirectoryObject * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here} @@ -36,7 +36,7 @@ export class RestoreRequestBuilder extends BaseRequestBuilder { return this.requestAdapter.sendAsync(requestInfo, createDirectoryObjectFromDiscriminatorValue, errorMapping); }; /** - * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */