From 4d40bb5c6c882caa1f58a2ed5baec7689ed802d8 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 19 Dec 2023 10:32:33 +0000 Subject: [PATCH] Update generated files with build 130660 --- src/chats/item/members/item/index.ts | 6 +- src/communications/calls/item/answer/index.ts | 8 +- src/communications/calls/item/index.ts | 7 + src/communications/calls/item/reject/index.ts | 7 +- .../calls/item/sendDtmfTones/index.ts | 87 + .../item/attendanceReports/index.ts | 4 +- .../item/attendanceReports/item/index.ts | 4 +- src/deviceAppManagement/index.ts | 4 +- .../managedAppPolicies/index.ts | 6 +- .../managedAppPolicies/item/index.ts | 6 +- .../item/targetApps/index.ts | 2 +- .../managedAppRegistrations/index.ts | 6 +- .../appliedPolicies/item/targetApps/index.ts | 2 +- .../managedAppRegistrations/item/index.ts | 6 +- .../intendedPolicies/item/targetApps/index.ts | 2 +- .../managedAppStatuses/index.ts | 6 +- .../item/assignments/item/index.ts | 6 +- .../mobileAppConfigurations/item/index.ts | 6 +- src/deviceAppManagement/mobileApps/index.ts | 12 +- .../mobileApps/item/index.ts | 12 +- .../item/targetApps/index.ts | 8 +- .../deviceCompliancePolicies/index.ts | 12 +- .../deviceCompliancePolicies/item/index.ts | 12 +- .../deviceConfigurations/index.ts | 12 +- .../deviceConfigurations/item/index.ts | 18 +- .../deviceEnrollmentConfigurations/index.ts | 6 +- .../item/index.ts | 18 +- src/deviceManagement/index.ts | 2 +- src/deviceManagement/roleDefinitions/index.ts | 12 +- .../roleDefinitions/item/index.ts | 6 +- .../item/assignSensitivityLabel/index.ts | 7 +- src/drives/item/items/item/index.ts | 6 +- .../item/items/item/retentionLabel/index.ts | 6 +- .../workbook/tables/item/columns/index.ts | 2 +- .../item/charts/item/series/index.ts | 2 +- .../item/tables/item/columns/index.ts | 2 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendar/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../item/threads/item/posts/index.ts | 6 +- .../item/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../team/channels/item/members/item/index.ts | 6 +- .../item/team/channels/item/messages/index.ts | 6 +- .../team/primaryChannel/members/item/index.ts | 6 +- .../team/primaryChannel/messages/index.ts | 6 +- src/groups/item/threads/item/posts/index.ts | 6 +- .../item/updateAllowedCombinations/index.ts | 8 +- .../namedLocations/item/index.ts | 18 +- .../customWorkflowExtensions/item/index.ts | 18 +- .../customWorkflowExtensions/item/index.ts | 18 +- .../termsOfUse/agreements/item/index.ts | 6 +- src/kiota-lock.json | 2 +- src/models/callRecords/index.ts | 64 +- src/models/externalConnectors/index.ts | 59 +- src/models/identityGovernance/index.ts | 12 +- src/models/index.ts | 4471 +++++------------ src/models/security/index.ts | 482 +- src/models/termStore/index.ts | 25 +- src/organization/index.ts | 6 +- src/organization/item/index.ts | 6 +- .../item/updateAllowedCombinations/index.ts | 8 +- .../index.ts | 8 +- .../microsoftGraphSecurityExport/index.ts | 13 +- .../microsoftGraphSecurityExport/index.ts | 13 +- .../microsoftGraphSecurityPurgeData/index.ts | 13 +- src/sites/index.ts | 6 +- .../events/item/sessions/index.ts | 4 +- .../sessions/item/attendanceReports/index.ts | 4 +- .../item/attendanceReports/item/index.ts | 4 +- .../events/item/sessions/item/index.ts | 4 +- src/solutions/virtualEvents/webinars/index.ts | 5 +- .../webinars/item/registrations/index.ts | 5 +- .../webinars/item/registrations/item/index.ts | 5 +- .../webinars/item/sessions/index.ts | 4 +- .../sessions/item/attendanceReports/index.ts | 4 +- .../item/attendanceReports/item/index.ts | 4 +- .../webinars/item/sessions/item/index.ts | 4 +- .../item/channels/item/members/item/index.ts | 6 +- .../item/channels/item/messages/index.ts | 6 +- .../item/primaryChannel/members/item/index.ts | 6 +- .../item/primaryChannel/messages/index.ts | 6 +- .../item/channels/item/members/item/index.ts | 6 +- .../item/channels/item/messages/index.ts | 6 +- src/users/index.ts | 6 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendar/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../item/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../calendarView/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../item/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- .../item/chats/item/members/item/index.ts | 6 +- src/users/item/events/index.ts | 6 +- .../item/events/item/attachments/index.ts | 6 +- .../item/instances/item/attachments/index.ts | 6 +- src/users/item/getMailTips/index.ts | 8 +- src/users/item/index.ts | 18 +- .../item/channels/item/members/item/index.ts | 6 +- .../item/channels/item/messages/index.ts | 6 +- .../item/primaryChannel/members/item/index.ts | 6 +- .../item/primaryChannel/messages/index.ts | 6 +- .../mailFolders/item/childFolders/index.ts | 6 +- .../item/messages/item/attachments/index.ts | 6 +- src/users/item/mailFolders/item/index.ts | 6 +- .../item/messages/item/attachments/index.ts | 6 +- src/users/item/messages/index.ts | 6 +- .../item/messages/item/attachments/index.ts | 6 +- src/users/item/messages/item/index.ts | 6 +- .../item/attendanceReports/index.ts | 4 +- .../item/attendanceReports/item/index.ts | 4 +- 121 files changed, 1747 insertions(+), 4220 deletions(-) create mode 100644 src/communications/calls/item/sendDtmfTones/index.ts diff --git a/src/chats/item/members/item/index.ts b/src/chats/item/members/item/index.ts index 08ef52c1f85..e54c2d9c714 100644 --- a/src/chats/item/members/item/index.ts +++ b/src/chats/item/members/item/index.ts @@ -43,10 +43,10 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -86,7 +86,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder void> { return { - "acceptedModalities": n => { answerPostRequestBody.acceptedModalities = n.getCollectionOfEnumValues(ModalityObject); }, + "acceptedModalities": n => { answerPostRequestBody.acceptedModalities = n.getCollectionOfEnumValues(AnswerPostRequestBody_acceptedModalitiesObject); }, "callbackUri": n => { answerPostRequestBody.callbackUri = n.getStringValue(); }, "callOptions": n => { answerPostRequestBody.callOptions = n.getObjectValue(createIncomingCallOptionsFromDiscriminatorValue); }, "mediaConfig": n => { answerPostRequestBody.mediaConfig = n.getObjectValue(createMediaConfigFromDiscriminatorValue); }, @@ -45,7 +45,7 @@ export function deserializeIntoAnswerPostRequestBody(answerPostRequestBody: Answ } export function serializeAnswerPostRequestBody(writer: SerializationWriter, answerPostRequestBody: AnswerPostRequestBody | undefined = {} as AnswerPostRequestBody) : void { if(answerPostRequestBody.acceptedModalities) - writer.writeEnumValue("acceptedModalities", ...answerPostRequestBody.acceptedModalities); + writer.writeEnumValue("acceptedModalities", ...answerPostRequestBody.acceptedModalities); writer.writeStringValue("callbackUri", answerPostRequestBody.callbackUri); writer.writeObjectValue("callOptions", answerPostRequestBody.callOptions, serializeIncomingCallOptions); writer.writeObjectValue("mediaConfig", answerPostRequestBody.mediaConfig, serializeMediaConfig); diff --git a/src/communications/calls/item/index.ts b/src/communications/calls/item/index.ts index a3501a92b65..5d366b63a27 100644 --- a/src/communications/calls/item/index.ts +++ b/src/communications/calls/item/index.ts @@ -17,6 +17,7 @@ import { PlayPromptRequestBuilder } from './playPrompt/'; import { RecordResponseRequestBuilder } from './recordResponse/'; import { RedirectRequestBuilder } from './redirect/'; import { RejectRequestBuilder } from './reject/'; +import { SendDtmfTonesRequestBuilder } from './sendDtmfTones/'; import { SubscribeToToneRequestBuilder } from './subscribeToTone/'; import { TransferRequestBuilder } from './transfer/'; import { UnmuteRequestBuilder } from './unmute/'; @@ -121,6 +122,12 @@ export class CallItemRequestBuilder extends BaseRequestBuilder void> { return { "callbackUri": n => { rejectPostRequestBody.callbackUri = n.getStringValue(); }, - "reason": n => { rejectPostRequestBody.reason = n.getEnumValue(RejectReasonObject); }, + "reason": n => { rejectPostRequestBody.reason = n.getEnumValue(RejectPostRequestBody_reasonObject); }, } } export interface RejectPostRequestBody extends AdditionalDataHolder, Parsable { @@ -26,11 +25,11 @@ export interface RejectPostRequestBody extends AdditionalDataHolder, Parsable { /** * The reason property */ - reason?: RejectReason; + reason?: RejectPostRequestBody_reason; } export function serializeRejectPostRequestBody(writer: SerializationWriter, rejectPostRequestBody: RejectPostRequestBody | undefined = {} as RejectPostRequestBody) : void { writer.writeStringValue("callbackUri", rejectPostRequestBody.callbackUri); - writer.writeEnumValue("reason", rejectPostRequestBody.reason); + writer.writeEnumValue("reason", rejectPostRequestBody.reason); writer.writeAdditionalData(rejectPostRequestBody.additionalData); } /** diff --git a/src/communications/calls/item/sendDtmfTones/index.ts b/src/communications/calls/item/sendDtmfTones/index.ts new file mode 100644 index 00000000000..87138e9c7c3 --- /dev/null +++ b/src/communications/calls/item/sendDtmfTones/index.ts @@ -0,0 +1,87 @@ +// tslint:disable +// eslint-disable +// Generated by Microsoft Kiota +import { createSendDtmfTonesOperationFromDiscriminatorValue, deserializeIntoSendDtmfTonesOperation, serializeSendDtmfTonesOperation, Tone, ToneObject, type SendDtmfTonesOperation } from '../../../../models/'; +import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError, type ODataError } from '../../../../models/oDataErrors/'; +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 function createSendDtmfTonesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined) { + return deserializeIntoSendDtmfTonesPostRequestBody; +} +export function deserializeIntoSendDtmfTonesPostRequestBody(sendDtmfTonesPostRequestBody: SendDtmfTonesPostRequestBody | undefined = {} as SendDtmfTonesPostRequestBody) : Record void> { + return { + "clientContext": n => { sendDtmfTonesPostRequestBody.clientContext = n.getStringValue(); }, + "delayBetweenTonesMs": n => { sendDtmfTonesPostRequestBody.delayBetweenTonesMs = n.getNumberValue(); }, + "tones": n => { sendDtmfTonesPostRequestBody.tones = n.getCollectionOfEnumValues(ToneObject); }, + } +} +export interface SendDtmfTonesPostRequestBody 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 clientContext property + */ + clientContext?: string; + /** + * The delayBetweenTonesMs property + */ + delayBetweenTonesMs?: number; + /** + * The tones property + */ + tones?: Tone[]; +} +export function serializeSendDtmfTonesPostRequestBody(writer: SerializationWriter, sendDtmfTonesPostRequestBody: SendDtmfTonesPostRequestBody | undefined = {} as SendDtmfTonesPostRequestBody) : void { + writer.writeStringValue("clientContext", sendDtmfTonesPostRequestBody.clientContext); + writer.writeNumberValue("delayBetweenTonesMs", sendDtmfTonesPostRequestBody.delayBetweenTonesMs); + if(sendDtmfTonesPostRequestBody.tones) + writer.writeEnumValue("tones", ...sendDtmfTonesPostRequestBody.tones); + writer.writeAdditionalData(sendDtmfTonesPostRequestBody.additionalData); +} +/** + * Provides operations to call the sendDtmfTones method. + */ +export class SendDtmfTonesRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new SendDtmfTonesRequestBuilder 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}/communications/calls/{call%2Did}/sendDtmfTones", (x, y) => new SendDtmfTonesRequestBuilder(x, y)); + } + /** + * Invoke action sendDtmfTones + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @returns a Promise of SendDtmfTonesOperation + */ + public post(body: SendDtmfTonesPostRequestBody, requestConfiguration?: RequestConfiguration | undefined) : Promise { + const requestInfo = this.toPostRequestInformation( + body, requestConfiguration + ); + const errorMapping = { + "4XX": createODataErrorFromDiscriminatorValue, + "5XX": createODataErrorFromDiscriminatorValue, + } as Record>; + return this.requestAdapter.sendAsync(requestInfo, createSendDtmfTonesOperationFromDiscriminatorValue, errorMapping); + } + /** + * Invoke action sendDtmfTones + * @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: SendDtmfTonesPostRequestBody, 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, serializeSendDtmfTonesPostRequestBody); + return requestInfo; + } +} +// tslint:enable +// eslint-enable diff --git a/src/communications/onlineMeetings/item/attendanceReports/index.ts b/src/communications/onlineMeetings/item/attendanceReports/index.ts index 1318273de0a..214fe3b4fd8 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/index.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/index.ts @@ -71,7 +71,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder new AttendanceReportsRequestBuilder(x, y)); } /** - * Get attendanceReports from communications + * The attendance reports of an online meeting. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReportCollectionResponse */ @@ -102,7 +102,7 @@ export class AttendanceReportsRequestBuilder extends BaseRequestBuilder(requestInfo, createMeetingAttendanceReportFromDiscriminatorValue, errorMapping); } /** - * Get attendanceReports from communications + * The attendance reports of an online meeting. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/communications/onlineMeetings/item/attendanceReports/item/index.ts b/src/communications/onlineMeetings/item/attendanceReports/item/index.ts index cb6999c94d8..3d47a5a9f76 100644 --- a/src/communications/onlineMeetings/item/attendanceReports/item/index.ts +++ b/src/communications/onlineMeetings/item/attendanceReports/item/index.ts @@ -49,7 +49,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Get attendanceReports from communications + * The attendance reports of an online meeting. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MeetingAttendanceReport */ @@ -91,7 +91,7 @@ export class MeetingAttendanceReportItemRequestBuilder extends BaseRequestBuilde return requestInfo; } /** - * Get attendanceReports from communications + * The attendance reports of an online meeting. Read-only. * @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 29a03cb52d6..4395ff47b5b 100644 --- a/src/deviceAppManagement/index.ts +++ b/src/deviceAppManagement/index.ts @@ -136,7 +136,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -153,7 +153,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceAppManagement/managedAppPolicies/index.ts b/src/deviceAppManagement/managedAppPolicies/index.ts index 1a318f7ce59..b57dfa23f2d 100644 --- a/src/deviceAppManagement/managedAppPolicies/index.ts +++ b/src/deviceAppManagement/managedAppPolicies/index.ts @@ -71,10 +71,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder new ManagedAppPoliciesRequestBuilder(x, y)); } /** - * List properties and relationships of the managedAppPolicy 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-managedapppolicy-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( @@ -103,7 +103,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the managedAppPolicy 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 cee690e83be..f2af1533621 100644 --- a/src/deviceAppManagement/managedAppPolicies/item/index.ts +++ b/src/deviceAppManagement/managedAppPolicies/item/index.ts @@ -49,10 +49,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -92,7 +92,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppRegistrations/index.ts b/src/deviceAppManagement/managedAppRegistrations/index.ts index 00bc9a3f889..2c283da8a6e 100644 --- a/src/deviceAppManagement/managedAppRegistrations/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/index.ts @@ -78,10 +78,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder new ManagedAppRegistrationsRequestBuilder(x, y)); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration 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-managedappregistration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -111,7 +111,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration 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 ff9824ca057..aac6c4981fb 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.ts @@ -43,7 +43,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppRegistrations/item/index.ts b/src/deviceAppManagement/managedAppRegistrations/item/index.ts index 692359fec64..b245d03e4e9 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/index.ts @@ -63,10 +63,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 managedAppRegistration 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-managedappregistration-get?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 ManagedAppRegistrationItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the managedAppRegistration 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 5254d4042d1..45573ea50b7 100644 --- a/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts +++ b/src/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.ts @@ -43,7 +43,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPostRequestInformation( diff --git a/src/deviceAppManagement/managedAppStatuses/index.ts b/src/deviceAppManagement/managedAppStatuses/index.ts index 486fd76bce4..48cf33d8898 100644 --- a/src/deviceAppManagement/managedAppStatuses/index.ts +++ b/src/deviceAppManagement/managedAppStatuses/index.ts @@ -71,10 +71,10 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder new ManagedAppStatusesRequestBuilder(x, y)); } /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedAppStatusCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -103,7 +103,7 @@ export class ManagedAppStatusesRequestBuilder extends BaseRequestBuilder(requestInfo, createManagedAppStatusFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the managedAppStatus objects. + * List properties and relationships of the managedAppStatusRaw objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts b/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts index 142ba252ab3..9adb59d22f9 100644 --- a/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts +++ b/src/deviceAppManagement/managedEBooks/item/assignments/item/index.ts @@ -43,10 +43,10 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedEBookAssignment - * @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -87,7 +87,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileAppConfigurations/item/index.ts b/src/deviceAppManagement/mobileAppConfigurations/item/index.ts index a90f3eabea5..e03e9915a0a 100644 --- a/src/deviceAppManagement/mobileAppConfigurations/item/index.ts +++ b/src/deviceAppManagement/mobileAppConfigurations/item/index.ts @@ -85,10 +85,10 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of ManagedDeviceMobileAppConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -129,7 +129,7 @@ export class ManagedDeviceMobileAppConfigurationItemRequestBuilder extends BaseR return requestInfo; } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/deviceAppManagement/mobileApps/index.ts b/src/deviceAppManagement/mobileApps/index.ts index c80344df9ad..70fe5c06e15 100644 --- a/src/deviceAppManagement/mobileApps/index.ts +++ b/src/deviceAppManagement/mobileApps/index.ts @@ -183,10 +183,10 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder new MobileAppsRequestBuilder(x, y)); } /** - * List properties and relationships of the androidStoreApp objects. + * List properties and relationships of the iosStoreApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileAppCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -199,11 +199,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Create a new windowsMicrosoftEdgeApp object. + * Create a new windowsUniversalAppX 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-windowsmicrosoftedgeapp-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-create?view=graph-rest-1.0|Find more info here} */ public post(body: MobileApp, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -216,7 +216,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the androidStoreApp objects. + * List properties and relationships of the iosStoreApp objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -227,7 +227,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -192,11 +192,11 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping); } /** - * Update the properties of a macOSLobApp object. + * Update the properties of a windowsMicrosoftEdgeApp object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of MobileApp - * @see {@link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0|Find more info here} */ public patch(body: MobileApp, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -220,7 +220,7 @@ export class MobileAppItemRequestBuilder extends BaseRequestBuilder void> { return { - "appGroupType": n => { targetAppsPostRequestBody.appGroupType = n.getEnumValue(TargetedManagedAppGroupTypeObject); }, + "appGroupType": n => { targetAppsPostRequestBody.appGroupType = n.getEnumValue(TargetAppsPostRequestBody_appGroupTypeObject); }, "apps": n => { targetAppsPostRequestBody.apps = n.getCollectionOfObjectValues(createManagedMobileAppFromDiscriminatorValue); }, } } export function serializeTargetAppsPostRequestBody(writer: SerializationWriter, targetAppsPostRequestBody: TargetAppsPostRequestBody | undefined = {} as TargetAppsPostRequestBody) : void { - writer.writeEnumValue("appGroupType", targetAppsPostRequestBody.appGroupType); + writer.writeEnumValue("appGroupType", targetAppsPostRequestBody.appGroupType); writer.writeCollectionOfObjectValues("apps", targetAppsPostRequestBody.apps, serializeManagedMobileApp); writer.writeAdditionalData(targetAppsPostRequestBody.additionalData); } @@ -27,7 +27,7 @@ export interface TargetAppsPostRequestBody extends AdditionalDataHolder, Parsabl /** * The appGroupType property */ - appGroupType?: TargetedManagedAppGroupType; + appGroupType?: TargetAppsPostRequestBody_appGroupType; /** * The apps property */ diff --git a/src/deviceManagement/deviceCompliancePolicies/index.ts b/src/deviceManagement/deviceCompliancePolicies/index.ts index 0f17401e412..9df431c982b 100644 --- a/src/deviceManagement/deviceCompliancePolicies/index.ts +++ b/src/deviceManagement/deviceCompliancePolicies/index.ts @@ -71,10 +71,10 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder new DeviceCompliancePoliciesRequestBuilder(x, y)); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the deviceCompliancePolicy 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-devicecompliancepolicy-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -87,11 +87,11 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder(requestInfo, createDeviceCompliancePolicyCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Create a new windows81CompliancePolicy object. + * Create a new 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-windows81compliancepolicy-create?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-create?view=graph-rest-1.0|Find more info here} */ public post(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -104,7 +104,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the deviceCompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -115,7 +115,7 @@ export class DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -122,11 +122,11 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createDeviceCompliancePolicyFromDiscriminatorValue, errorMapping); } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a macOSCompliancePolicy 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-androidcompliancepolicy-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -150,7 +150,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Read properties and relationships of the windows81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -161,7 +161,7 @@ export class DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a macOSCompliancePolicy 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 c4e9ac9f9ba..333bbcca09f 100644 --- a/src/deviceManagement/deviceConfigurations/index.ts +++ b/src/deviceManagement/deviceConfigurations/index.ts @@ -71,10 +71,10 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder new DeviceConfigurationsRequestBuilder(x, y)); } /** - * List properties and relationships of the androidCustomConfiguration objects. + * List properties and relationships of the windows10TeamGeneralConfiguration 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-androidcustomconfiguration-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -87,11 +87,11 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder(requestInfo, createDeviceConfigurationCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Create a new windowsPhone81GeneralConfiguration 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-windowsphone81generalconfiguration-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( @@ -104,7 +104,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the androidCustomConfiguration objects. + * List properties and relationships of the windows10TeamGeneralConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -115,7 +115,7 @@ export class DeviceConfigurationsRequestBuilder extends BaseRequestBuilder new DeviceConfigurationItemRequestBuilder(x, y)); } /** - * Deletes a iosGeneralDeviceConfiguration. + * Deletes a windowsUpdateForBusinessConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -93,10 +93,10 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -118,11 +118,11 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -135,7 +135,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder(requestInfo, createDeviceConfigurationFromDiscriminatorValue, errorMapping); } /** - * Deletes a iosGeneralDeviceConfiguration. + * Deletes a windowsUpdateForBusinessConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -146,7 +146,7 @@ export class DeviceConfigurationItemRequestBuilder extends BaseRequestBuilder new DeviceEnrollmentConfigurationsRequestBuilder(x, y)); } /** - * List properties and relationships of the deviceEnrollmentConfiguration 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-deviceenrollmentconfiguration-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( @@ -104,7 +104,7 @@ export class DeviceEnrollmentConfigurationsRequestBuilder extends BaseRequestBui return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the deviceEnrollmentConfiguration objects. + * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. * @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 1e90e8db364..91954cd9277 100644 --- a/src/deviceManagement/deviceEnrollmentConfigurations/item/index.ts +++ b/src/deviceManagement/deviceEnrollmentConfigurations/item/index.ts @@ -49,9 +49,9 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest super(pathParameters, requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24select,%24expand}", (x, y) => new DeviceEnrollmentConfigurationItemRequestBuilder(x, y)); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -64,10 +64,10 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -80,11 +80,11 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); } /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentLimitConfiguration object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of DeviceEnrollmentConfiguration - * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0|Find more info here} */ public patch(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -97,7 +97,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return this.requestAdapter.sendAsync(requestInfo, createDeviceEnrollmentConfigurationFromDiscriminatorValue, errorMapping); } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -108,7 +108,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return requestInfo; } /** - * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -119,7 +119,7 @@ export class DeviceEnrollmentConfigurationItemRequestBuilder extends BaseRequest return requestInfo; } /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentLimitConfiguration 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 3c7fca9d392..953d7971a3e 100644 --- a/src/deviceManagement/index.ts +++ b/src/deviceManagement/index.ts @@ -472,7 +472,7 @@ export class DeviceManagementRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( diff --git a/src/deviceManagement/roleDefinitions/index.ts b/src/deviceManagement/roleDefinitions/index.ts index f5009a2c19c..f0803ce38d0 100644 --- a/src/deviceManagement/roleDefinitions/index.ts +++ b/src/deviceManagement/roleDefinitions/index.ts @@ -71,10 +71,10 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder new RoleDefinitionsRequestBuilder(x, y)); } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of RoleDefinitionCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -87,11 +87,11 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder(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( @@ -104,7 +104,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -115,7 +115,7 @@ export class RoleDefinitionsRequestBuilder extends BaseRequestBuilder(requestInfo, createRoleDefinitionFromDiscriminatorValue, errorMapping); } /** - * Update the properties of a roleDefinition object. + * Update the properties of a 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-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0|Find more info here} */ public patch(body: RoleDefinition, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -105,7 +105,7 @@ export class RoleDefinitionItemRequestBuilder extends BaseRequestBuilder void> { return { - "assignmentMethod": n => { assignSensitivityLabelPostRequestBody.assignmentMethod = n.getEnumValue(SensitivityLabelAssignmentMethodObject); }, + "assignmentMethod": n => { assignSensitivityLabelPostRequestBody.assignmentMethod = n.getEnumValue(AssignSensitivityLabelPostRequestBody_assignmentMethodObject); }, "justificationText": n => { assignSensitivityLabelPostRequestBody.justificationText = n.getStringValue(); }, "sensitivityLabelId": n => { assignSensitivityLabelPostRequestBody.sensitivityLabelId = n.getStringValue(); }, } } export function serializeAssignSensitivityLabelPostRequestBody(writer: SerializationWriter, assignSensitivityLabelPostRequestBody: AssignSensitivityLabelPostRequestBody | undefined = {} as AssignSensitivityLabelPostRequestBody) : void { - writer.writeEnumValue("assignmentMethod", assignSensitivityLabelPostRequestBody.assignmentMethod); + writer.writeEnumValue("assignmentMethod", assignSensitivityLabelPostRequestBody.assignmentMethod); writer.writeStringValue("justificationText", assignSensitivityLabelPostRequestBody.justificationText); writer.writeStringValue("sensitivityLabelId", assignSensitivityLabelPostRequestBody.sensitivityLabelId); writer.writeAdditionalData(assignSensitivityLabelPostRequestBody.additionalData); diff --git a/src/drives/item/items/item/index.ts b/src/drives/item/items/item/index.ts index c7d44b5ef4d..e08376246ec 100644 --- a/src/drives/item/items/item/index.ts +++ b/src/drives/item/items/item/index.ts @@ -279,11 +279,11 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -327,7 +327,7 @@ export class DriveItemItemRequestBuilder extends BaseRequestBuilder(requestInfo, createItemRetentionLabelFromDiscriminatorValue, errorMapping); } /** - * 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. + * 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. * @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-setretentionlabel?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0|Find more info here} */ public patch(body: ItemRetentionLabel, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -97,7 +97,7 @@ export class RetentionLabelRequestBuilder extends BaseRequestBuilder | 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 0902c38a1bc..b1c723e92e9 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 @@ -75,7 +75,7 @@ export class SeriesRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( 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 64a73f8af81..8e0dc3bba3c 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 @@ -82,7 +82,7 @@ export class ColumnsRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( diff --git a/src/groups/item/calendar/calendarView/item/attachments/index.ts b/src/groups/item/calendar/calendarView/item/attachments/index.ts index 104a1b9b0f4..c2691b9d013 100644 --- a/src/groups/item/calendar/calendarView/item/attachments/index.ts +++ b/src/groups/item/calendar/calendarView/item/attachments/index.ts @@ -90,11 +90,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new PostsRequestBuilder(x, y)); } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of PostCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -83,7 +83,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createPostCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/groups/item/events/item/attachments/index.ts b/src/groups/item/events/item/attachments/index.ts index 0343a2f72ba..7bc33c88f09 100644 --- a/src/groups/item/events/item/attachments/index.ts +++ b/src/groups/item/events/item/attachments/index.ts @@ -90,11 +90,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder(requestInfo, createAttachmentCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of Attachment - * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/event-post-attachments?view=graph-rest-1.0|Find more info here} */ public post(body: Attachment, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -118,7 +118,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder new ConversationMemberItemRequestBuilder(x, y)); } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -76,7 +76,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @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/index.ts b/src/groups/item/team/channels/item/messages/index.ts index 1c9650aad01..a83d8bc50bb 100644 --- a/src/groups/item/team/channels/item/messages/index.ts +++ b/src/groups/item/team/channels/item/messages/index.ts @@ -94,11 +94,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the 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/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -122,7 +122,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder new ConversationMemberItemRequestBuilder(x, y)); } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -76,7 +76,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder(requestInfo, createConversationMemberFromDiscriminatorValue, errorMapping); } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @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/index.ts b/src/groups/item/team/primaryChannel/messages/index.ts index 35e563737c0..abe9d9f8bf9 100644 --- a/src/groups/item/team/primaryChannel/messages/index.ts +++ b/src/groups/item/team/primaryChannel/messages/index.ts @@ -94,11 +94,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the 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/chatmessage-post?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here} */ public post(body: ChatMessage, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPostRequestInformation( @@ -122,7 +122,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new PostsRequestBuilder(x, y)); } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of PostCollectionResponse - * @see {@link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -83,7 +83,7 @@ export class PostsRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createPostCollectionResponseFromDiscriminatorValue, errorMapping); } /** - * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. + * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ diff --git a/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/index.ts b/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/index.ts index fdbce9fd083..52b407c3142 100644 --- a/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/index.ts +++ b/src/identity/conditionalAccess/authenticationStrength/policies/item/updateAllowedCombinations/index.ts @@ -1,7 +1,7 @@ // tslint:disable // eslint-disable // Generated by Microsoft Kiota -import { AuthenticationMethodModes, AuthenticationMethodModesObject, createUpdateAllowedCombinationsResultFromDiscriminatorValue, deserializeIntoUpdateAllowedCombinationsResult, serializeUpdateAllowedCombinationsResult, type UpdateAllowedCombinationsResult } from '../../../../../../models/'; +import { createUpdateAllowedCombinationsResultFromDiscriminatorValue, deserializeIntoUpdateAllowedCombinationsResult, serializeUpdateAllowedCombinationsResult, type UpdateAllowedCombinationsResult } from '../../../../../../models/'; import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError, type ODataError } from '../../../../../../models/oDataErrors/'; import { BaseRequestBuilder, HttpMethod, RequestInformation, type AdditionalDataHolder, type Parsable, type ParsableFactory, type ParseNode, type RequestAdapter, type RequestConfiguration, type RequestOption, type SerializationWriter } from '@microsoft/kiota-abstractions'; @@ -10,12 +10,12 @@ export function createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorV } export function deserializeIntoUpdateAllowedCombinationsPostRequestBody(updateAllowedCombinationsPostRequestBody: UpdateAllowedCombinationsPostRequestBody | undefined = {} as UpdateAllowedCombinationsPostRequestBody) : Record void> { return { - "allowedCombinations": n => { updateAllowedCombinationsPostRequestBody.allowedCombinations = n.getCollectionOfEnumValues(AuthenticationMethodModesObject); }, + "allowedCombinations": n => { updateAllowedCombinationsPostRequestBody.allowedCombinations = n.getCollectionOfEnumValues(UpdateAllowedCombinationsPostRequestBody_allowedCombinationsObject); }, } } export function serializeUpdateAllowedCombinationsPostRequestBody(writer: SerializationWriter, updateAllowedCombinationsPostRequestBody: UpdateAllowedCombinationsPostRequestBody | undefined = {} as UpdateAllowedCombinationsPostRequestBody) : void { if(updateAllowedCombinationsPostRequestBody.allowedCombinations) - writer.writeEnumValue("allowedCombinations", ...updateAllowedCombinationsPostRequestBody.allowedCombinations); + writer.writeEnumValue("allowedCombinations", ...updateAllowedCombinationsPostRequestBody.allowedCombinations); writer.writeAdditionalData(updateAllowedCombinationsPostRequestBody.additionalData); } export interface UpdateAllowedCombinationsPostRequestBody extends AdditionalDataHolder, Parsable { @@ -26,7 +26,7 @@ export interface UpdateAllowedCombinationsPostRequestBody extends AdditionalData /** * The allowedCombinations property */ - allowedCombinations?: AuthenticationMethodModes[]; + allowedCombinations?: UpdateAllowedCombinationsPostRequestBody_allowedCombinations[]; } /** * Provides operations to call the updateAllowedCombinations method. diff --git a/src/identity/conditionalAccess/namedLocations/item/index.ts b/src/identity/conditionalAccess/namedLocations/item/index.ts index 5229eb0f1bf..03e0fd59e7d 100644 --- a/src/identity/conditionalAccess/namedLocations/item/index.ts +++ b/src/identity/conditionalAccess/namedLocations/item/index.ts @@ -28,9 +28,9 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder new NamedLocationItemRequestBuilder(x, y)); } /** - * Delete a namedLocation object. + * Delete an ipNamedLocation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -43,10 +43,10 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -59,11 +59,11 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a Promise of NamedLocation - * @see {@link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0|Find more info here} */ public patch(body: NamedLocation, requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toPatchRequestInformation( @@ -76,7 +76,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder(requestInfo, createNamedLocationFromDiscriminatorValue, errorMapping); } /** - * Delete a namedLocation object. + * Delete an ipNamedLocation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -87,7 +87,7 @@ export class NamedLocationItemRequestBuilder extends BaseRequestBuilder new CustomCalloutExtensionItemRequestBuilder(x, y)); } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -43,10 +43,10 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @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-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -59,11 +59,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( @@ -76,7 +76,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -87,7 +87,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -98,7 +98,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 dd8daf462cd..375235a95c2 100644 --- a/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts +++ b/src/identityGovernance/entitlementManagement/resourceRequests/item/catalog/customWorkflowExtensions/item/index.ts @@ -28,9 +28,9 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder super(pathParameters, requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/resourceRequests/{accessPackageResourceRequest%2Did}/catalog/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}", (x, y) => new CustomCalloutExtensionItemRequestBuilder(x, y)); } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0|Find more info here} */ public delete(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toDeleteRequestInformation( @@ -43,10 +43,10 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping); } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @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-get?view=graph-rest-1.0|Find more info here} + * @see {@link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0|Find more info here} */ public get(requestConfiguration?: RequestConfiguration | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -59,11 +59,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( @@ -76,7 +76,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return this.requestAdapter.sendAsync(requestInfo, createCustomCalloutExtensionFromDiscriminatorValue, errorMapping); } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -87,7 +87,7 @@ export class CustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder return requestInfo; } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns a RequestInformation */ @@ -98,7 +98,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 83e9d1e49e5..14cba94f559 100644 --- a/src/identityGovernance/termsOfUse/agreements/item/index.ts +++ b/src/identityGovernance/termsOfUse/agreements/item/index.ts @@ -64,10 +64,10 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise { const requestInfo = this.toGetRequestInformation( @@ -108,7 +108,7 @@ export class AgreementItemRequestBuilder extends BaseRequestBuilder void> { return { - "audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(AudioCodecObject); }, + "audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(MediaStream_audioCodecObject); }, "averageAudioDegradation": n => { mediaStream.averageAudioDegradation = n.getNumberValue(); }, "averageAudioNetworkJitter": n => { mediaStream.averageAudioNetworkJitter = n.getDurationValue(); }, "averageBandwidthEstimate": n => { mediaStream.averageBandwidthEstimate = n.getNumberValue(); }, @@ -307,7 +306,7 @@ export function deserializeIntoMediaStream(mediaStream: MediaStream | undefined "startDateTime": n => { mediaStream.startDateTime = n.getDateValue(); }, "streamDirection": n => { mediaStream.streamDirection = n.getEnumValue(MediaStreamDirectionObject); }, "streamId": n => { mediaStream.streamId = n.getStringValue(); }, - "videoCodec": n => { mediaStream.videoCodec = n.getEnumValue(VideoCodecObject); }, + "videoCodec": n => { mediaStream.videoCodec = n.getEnumValue(MediaStream_videoCodecObject); }, "wasMediaBypassed": n => { mediaStream.wasMediaBypassed = n.getBooleanValue(); }, } } @@ -355,7 +354,7 @@ export function deserializeIntoParticipantEndpoint(participantEndpoint: Particip } export function deserializeIntoPstnCallLogRow(pstnCallLogRow: PstnCallLogRow | undefined = {} as PstnCallLogRow) : Record void> { return { - "callDurationSource": n => { pstnCallLogRow.callDurationSource = n.getEnumValue(PstnCallDurationSourceObject); }, + "callDurationSource": n => { pstnCallLogRow.callDurationSource = n.getEnumValue(PstnCallLogRow_callDurationSourceObject); }, "calleeNumber": n => { pstnCallLogRow.calleeNumber = n.getStringValue(); }, "callerNumber": n => { pstnCallLogRow.callerNumber = n.getStringValue(); }, "callId": n => { pstnCallLogRow.callId = n.getStringValue(); }, @@ -724,7 +723,7 @@ export interface MediaStream extends AdditionalDataHolder, Parsable { /** * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. */ - audioCodec?: AudioCodec; + audioCodec?: MediaStream_audioCodec; /** * Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. */ @@ -840,7 +839,7 @@ export interface MediaStream extends AdditionalDataHolder, Parsable { /** * Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue. */ - videoCodec?: VideoCodec; + videoCodec?: MediaStream_videoCodec; /** * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. */ @@ -991,7 +990,6 @@ export interface ParticipantEndpoint extends Endpoint, Parsable { name?: string; } export type ProductFamily = (typeof ProductFamilyObject)[keyof typeof ProductFamilyObject]; -export type PstnCallDurationSource = (typeof PstnCallDurationSourceObject)[keyof typeof PstnCallDurationSourceObject]; export interface PstnCallLogRow extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -1000,7 +998,7 @@ export interface PstnCallLogRow extends AdditionalDataHolder, Parsable { /** * The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator can provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft. */ - callDurationSource?: PstnCallDurationSource; + callDurationSource?: PstnCallLogRow_callDurationSource; /** * Number dialed in E.164 format. */ @@ -1227,7 +1225,7 @@ export function serializeMedia(writer: SerializationWriter, media: Media | undef writer.writeAdditionalData(media.additionalData); } export function serializeMediaStream(writer: SerializationWriter, mediaStream: MediaStream | undefined = {} as MediaStream) : void { - writer.writeEnumValue("audioCodec", mediaStream.audioCodec); + writer.writeEnumValue("audioCodec", mediaStream.audioCodec); writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation); writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter); writer.writeNumberValue("averageBandwidthEstimate", mediaStream.averageBandwidthEstimate); @@ -1256,7 +1254,7 @@ export function serializeMediaStream(writer: SerializationWriter, mediaStream: M writer.writeDateValue("startDateTime", mediaStream.startDateTime); writer.writeEnumValue("streamDirection", mediaStream.streamDirection); writer.writeStringValue("streamId", mediaStream.streamId); - writer.writeEnumValue("videoCodec", mediaStream.videoCodec); + writer.writeEnumValue("videoCodec", mediaStream.videoCodec); writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed); writer.writeAdditionalData(mediaStream.additionalData); } @@ -1300,7 +1298,7 @@ export function serializeParticipantEndpoint(writer: SerializationWriter, partic writer.writeStringValue("name", participantEndpoint.name); } export function serializePstnCallLogRow(writer: SerializationWriter, pstnCallLogRow: PstnCallLogRow | undefined = {} as PstnCallLogRow) : void { - writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource); + writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource); writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber); writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber); writer.writeStringValue("callId", pstnCallLogRow.callId); @@ -1494,34 +1492,8 @@ export interface UserFeedback extends AdditionalDataHolder, Parsable { tokens?: FeedbackTokenSet; } export type UserFeedbackRating = (typeof UserFeedbackRatingObject)[keyof typeof UserFeedbackRatingObject]; -export type VideoCodec = (typeof VideoCodecObject)[keyof typeof VideoCodecObject]; export type WifiBand = (typeof WifiBandObject)[keyof typeof WifiBandObject]; export type WifiRadioType = (typeof WifiRadioTypeObject)[keyof typeof WifiRadioTypeObject]; -export const AudioCodecObject = { - Unknown: "unknown", - Invalid: "invalid", - Cn: "cn", - Pcma: "pcma", - Pcmu: "pcmu", - AmrWide: "amrWide", - G722: "g722", - G7221: "g7221", - G7221c: "g7221c", - G729: "g729", - MultiChannelAudio: "multiChannelAudio", - Muchv2: "muchv2", - Opus: "opus", - Satin: "satin", - SatinFullband: "satinFullband", - RtAudio8: "rtAudio8", - RtAudio16: "rtAudio16", - Silk: "silk", - SilkNarrow: "silkNarrow", - SilkWide: "silkWide", - Siren: "siren", - XmsRta: "xmsRta", - UnknownFutureValue: "unknownFutureValue", -} as const; export const CallTypeObject = { Unknown: "unknown", GroupCall: "groupCall", @@ -1581,10 +1553,6 @@ export const ProductFamilyObject = { UnknownFutureValue: "unknownFutureValue", AzureCommunicationServices: "azureCommunicationServices", } as const; -export const PstnCallDurationSourceObject = { - Microsoft: "microsoft", - Operator: "operator", -} as const; export const ServiceRoleObject = { Unknown: "unknown", CustomBot: "customBot", @@ -1618,20 +1586,6 @@ export const UserFeedbackRatingObject = { Excellent: "excellent", UnknownFutureValue: "unknownFutureValue", } as const; -export const VideoCodecObject = { - Unknown: "unknown", - Invalid: "invalid", - Av1: "av1", - H263: "h263", - H264: "h264", - H264s: "h264s", - H264uc: "h264uc", - H265: "h265", - Rtvc1: "rtvc1", - RtVideo: "rtVideo", - Xrtvc1: "xrtvc1", - UnknownFutureValue: "unknownFutureValue", -} as const; export const WifiBandObject = { Unknown: "unknown", Frequency24GHz: "frequency24GHz", diff --git a/src/models/externalConnectors/index.ts b/src/models/externalConnectors/index.ts index 5ac7b81b474..749723026e6 100644 --- a/src/models/externalConnectors/index.ts +++ b/src/models/externalConnectors/index.ts @@ -64,7 +64,7 @@ export interface ConnectionOperation extends Entity, Parsable { /** * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. */ - status?: ConnectionOperationStatus; + status?: ConnectionOperation_status; } export interface ConnectionOperationCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable { /** @@ -72,8 +72,6 @@ export interface ConnectionOperationCollectionResponse extends BaseCollectionPag */ value?: ConnectionOperation[]; } -export type ConnectionOperationStatus = (typeof ConnectionOperationStatusObject)[keyof typeof ConnectionOperationStatusObject]; -export type ConnectionState = (typeof ConnectionStateObject)[keyof typeof ConnectionStateObject]; export function createAclFromDiscriminatorValue(parseNode: ParseNode | undefined) { return deserializeIntoAcl; } @@ -201,7 +199,7 @@ export function deserializeIntoConnectionOperation(connectionOperation: Connecti return { ...deserializeIntoEntity(connectionOperation), "error": n => { connectionOperation.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, - "status": n => { connectionOperation.status = n.getEnumValue(ConnectionOperationStatusObject); }, + "status": n => { connectionOperation.status = n.getEnumValue(ConnectionOperation_statusObject); }, } } export function deserializeIntoConnectionOperationCollectionResponse(connectionOperationCollectionResponse: ConnectionOperationCollectionResponse | undefined = {} as ConnectionOperationCollectionResponse) : Record void> { @@ -258,7 +256,7 @@ export function deserializeIntoExternalConnection(externalConnection: ExternalCo "operations": n => { externalConnection.operations = n.getCollectionOfObjectValues(createConnectionOperationFromDiscriminatorValue); }, "schema": n => { externalConnection.schema = n.getObjectValue(createSchemaFromDiscriminatorValue); }, "searchSettings": n => { externalConnection.searchSettings = n.getObjectValue(createSearchSettingsFromDiscriminatorValue); }, - "state": n => { externalConnection.state = n.getEnumValue(ConnectionStateObject); }, + "state": n => { externalConnection.state = n.getEnumValue(ExternalConnection_stateObject); }, } } export function deserializeIntoExternalConnectionCollectionResponse(externalConnectionCollectionResponse: ExternalConnectionCollectionResponse | undefined = {} as ExternalConnectionCollectionResponse) : Record void> { @@ -306,7 +304,7 @@ export function deserializeIntoExternalItemContent(externalItemContent: External export function deserializeIntoIdentity(identity: Identity | undefined = {} as Identity) : Record void> { return { ...deserializeIntoEntity(identity), - "type": n => { identity.type = n.getEnumValue(IdentityTypeObject); }, + "type": n => { identity.type = n.getEnumValue(Identity_typeObject); }, } } export function deserializeIntoIdentityCollectionResponse(identityCollectionResponse: IdentityCollectionResponse | undefined = {} as IdentityCollectionResponse) : Record void> { @@ -334,7 +332,7 @@ export function deserializeIntoProperty(property: Property | undefined = {} as P "isRefinable": n => { property.isRefinable = n.getBooleanValue(); }, "isRetrievable": n => { property.isRetrievable = n.getBooleanValue(); }, "isSearchable": n => { property.isSearchable = n.getBooleanValue(); }, - "labels": n => { property.labels = n.getCollectionOfEnumValues