diff --git a/config/ModulesMapping.jsonc b/config/ModulesMapping.jsonc index 760d1a25ee3..bb5a1cf5e50 100644 --- a/config/ModulesMapping.jsonc +++ b/config/ModulesMapping.jsonc @@ -3,7 +3,7 @@ "Bookings": "^bookingBusinesses\\.|^bookingCurrencies\\.", "Calendar": "^places\\.|^users.calendar$|^users.calendarGroup$|^users.event$|^groups.calendar$|^groups.event$", "ChangeNotifications": "^subscriptions\\.", - "CloudCommunications": "^users.onlineMeeting$|^users.presence$", + "CloudCommunications": "^users.onlineMeeting$|^users.presence$|^communications\\.", "Compliance": "^compliance\\.", "CrossDeviceExperiences": "^users.userActivity$|^users.device$", "Devices.CloudPrint": "^print\\.", @@ -31,7 +31,6 @@ "Users.Actions": "^users.Actions$", "Users.Functions": "^users.Functions$" - // "CloudCommunications": "^communications\\.", // Needs multi-namespace support. // "Devices.CorporateManagement": "^deviceManagement\\.", - Max Limit // "WorkBooks": "^workbooks\\.",// Max limit. } diff --git a/src/CloudCommunications/CloudCommunications/Microsoft.Graph.CloudCommunications.psd1 b/src/CloudCommunications/CloudCommunications/Microsoft.Graph.CloudCommunications.psd1 index c2281478493..696c590cfb5 100644 --- a/src/CloudCommunications/CloudCommunications/Microsoft.Graph.CloudCommunications.psd1 +++ b/src/CloudCommunications/CloudCommunications/Microsoft.Graph.CloudCommunications.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 8/25/2020 +# Generated on: 11/10/2020 # @{ @@ -12,13 +12,13 @@ RootModule = './Microsoft.Graph.CloudCommunications.psm1' # Version number of this module. -ModuleVersion = '0.9.2' +ModuleVersion = '1.1.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' # ID used to uniquely identify this module -GUID = '3f37801d-ab8d-4135-9786-24be9d93ea3b' +GUID = 'd3e44efb-f76e-4d64-bebb-a092e89b6154' # Author of this module Author = 'Microsoft Corporation' @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.9.1'; }) +RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = './bin/Microsoft.Graph.CloudCommunications.private.dll' @@ -69,9 +69,52 @@ FormatsToProcess = './Microsoft.Graph.CloudCommunications.format.ps1xml' # NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Get-MgUserOnlineMeeting', 'Get-MgUserPresence', - 'New-MgUserOnlineMeeting', 'Remove-MgUserOnlineMeeting', - 'Remove-MgUserPresence', 'Update-MgUserOnlineMeeting', +FunctionsToExport = 'Get-MgCommunicationCall', + 'Get-MgCommunicationCallAudioRoutingGroup', + 'Get-MgCommunicationCallOperation', + 'Get-MgCommunicationCallParticipant', + 'Get-MgCommunicationCallRecord', + 'Get-MgCommunicationCallRecordSession', + 'Get-MgCommunicationOnlineMeeting', 'Get-MgCommunicationPresence', + 'Get-MgUserOnlineMeeting', 'Get-MgUserPresence', + 'Invoke-MgAnswerCommunicationCall', + 'Invoke-MgCreateOrGetCommunicationOnlineMeeting', + 'Invoke-MgInviteCommunicationCallParticipant', + 'Invoke-MgKeepCommunicationCallAlive', + 'Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality', + 'Invoke-MgMuteAllCommunicationCallParticipant', + 'Invoke-MgMuteCommunicationCall', + 'Invoke-MgMuteCommunicationCallParticipant', + 'Invoke-MgPlayCommunicationCallPrompt', + 'Invoke-MgRecordCommunicationCall', + 'Invoke-MgRecordCommunicationCallResponse', + 'Invoke-MgRedirectCommunicationCall', + 'Invoke-MgRejectCommunicationCall', + 'Invoke-MgSubscribeCommunicationCallToTone', + 'Invoke-MgUnmuteCommunicationCall', 'Move-MgCommunicationCall', + 'New-MgCommunicationCall', + 'New-MgCommunicationCallAudioRoutingGroup', + 'New-MgCommunicationCallOperation', + 'New-MgCommunicationCallParticipant', + 'New-MgCommunicationCallRecordSession', + 'New-MgCommunicationOnlineMeeting', 'New-MgCommunicationPresence', + 'New-MgUserOnlineMeeting', 'Remove-MgCommunicationCall', + 'Remove-MgCommunicationCallAudioRoutingGroup', + 'Remove-MgCommunicationCallOperation', + 'Remove-MgCommunicationCallParticipant', + 'Remove-MgCommunicationCallRecordSession', + 'Remove-MgCommunicationOnlineMeeting', + 'Remove-MgCommunicationPresence', 'Remove-MgUserOnlineMeeting', + 'Remove-MgUserPresence', + 'Rename-MgCommunicationCallScreenSharingRole', + 'Stop-MgCommunicationCallMediaProcessing', + 'Update-MgCommunicationCallAudioRoutingGroup', + 'Update-MgCommunicationCallOperation', + 'Update-MgCommunicationCallParticipant', + 'Update-MgCommunicationCallRecordingStatus', + 'Update-MgCommunicationCallRecordSession', + 'Update-MgCommunicationOnlineMeeting', + 'Update-MgCommunicationPresence', 'Update-MgUserOnlineMeeting', 'Update-MgUserPresence' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. @@ -110,7 +153,7 @@ PrivateData = @{ ProjectUri = 'https://github.com/microsoftgraph/msgraph-sdk-powershell' # A URL to an icon representing this module. - IconUri = 'https://raw.githubusercontent.com/microsoftgraph/g-raph/master/g-raph.png' + IconUri = 'https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/po/release1.1.0/documentation/images/graph_color256.png' # ReleaseNotes of this module ReleaseNotes = 'See https://aka.ms/GraphPowerShell-Release.' diff --git a/src/CloudCommunications/CloudCommunications/readme.md b/src/CloudCommunications/CloudCommunications/readme.md index b58adcf2e64..f01fb14338b 100644 --- a/src/CloudCommunications/CloudCommunications/readme.md +++ b/src/CloudCommunications/CloudCommunications/readme.md @@ -32,6 +32,31 @@ title: $(service-name) subject-prefix: '' ``` + +### Directives + +> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md + +``` yaml +directive: +# Remove invalid paths. + - remove-path-by-operation: ^communications(.cloudCommunications_.*CloudCommunications|_(List|Create|Update|Delete)CallRecords|.callRecords.sessions_.*Segments|(_List|_Update)Calls)$ +# Rename cmdlets + - where: + verb: Invoke + subject: ^Mute(CommunicationCallParticipant)$ + variant: ^Mute1$|^MuteExpanded1$|^MuteViaIdentity1$|^MuteViaIdentityExpanded1$ + set: + subject: MuteAll$1 + - where: + verb: New + subject: ^(CommunicationOnlineMeeting)$ + variant: ^Create$|^CreateExpanded$|^Create2$|^CreateExpanded2$ + set: + verb: Invoke + subject: CreateOrGet$1 +``` + ### Versioning ``` yaml