Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
be27aa3
Prepare Calendar shared directive migration for v3
ramsessanchez Oct 22, 2026
5b6fa56
Merge remote-tracking branch 'origin/powershell-v3' into ramsessanche…
ramsessanchez Oct 22, 2026
0568be8
Record integrated Calendar migration prerequisites
ramsessanchez Oct 22, 2026
d96acab
Reconcile Calendar collision suppressions across profiles
ramsessanchez Oct 22, 2026
f182d9f
Regenerate Calendar v1.0 client and cmdlets
ramsessanchez Oct 22, 2026
98bd697
Generate Calendar beta client and cmdlets
ramsessanchez Oct 22, 2026
7db0dd6
Preserve Calendar directives through legacy operation ID conversion
ramsessanchez Oct 22, 2026
c3d6220
Declare reviewed Calendar final-operation path translations
ramsessanchez Oct 22, 2026
4b2c76c
Regenerate Calendar v1.0 with complete legacy directive coverage
ramsessanchez Oct 22, 2026
9769451
Regenerate Calendar beta with complete legacy directive coverage
ramsessanchez Oct 22, 2026
9dfd01e
Merge current powershell-v3 aligned specifications for Calendar
ramsessanchez Oct 27, 2026
8af58b2
Refresh Calendar migration evidence for aligned operation IDs
ramsessanchez Oct 27, 2026
1827359
Regenerate Calendar v1.0 from current aligned specifications
ramsessanchez Oct 27, 2026
adc6abc
Regenerate Calendar beta from current aligned specifications
ramsessanchez Oct 27, 2026
aa0adc8
Merge powershell-v3 natural-ID operation variant framework for Calendar
ramsessanchez Oct 30, 2026
057f3a9
Update Calendar tests for separate generation profile context
ramsessanchez Oct 30, 2026
83df457
Revalidate full Calendar v1.0 generation after operation variant fram…
ramsessanchez Oct 30, 2026
0cb3da3
Revalidate full Calendar beta generation after operation variant fram…
ramsessanchez Oct 30, 2026
ff2981b
Merge current powershell-v3 Authentication packaging and transport fo…
ramsessanchez Nov 3, 2026
25033e9
Validate Calendar emitted service roots after Authentication sync
ramsessanchez Nov 3, 2026
8423142
Regenerate Calendar v1.0 for adapted Authentication and explicit serv…
ramsessanchez Nov 3, 2026
8f2c3d3
Regenerate Calendar beta for adapted Authentication and explicit serv…
ramsessanchez Nov 3, 2026
670eb65
Merge mandatory native Query parameter framework for Calendar revalid…
ramsessanchez Nov 5, 2026
f6e0663
Audit Calendar surviving mandatory date query contracts
ramsessanchez Nov 5, 2026
36dfd49
Regenerate Calendar v1.0 with mandatory native date range queries
ramsessanchez Nov 5, 2026
67db1ad
Regenerate Calendar beta with mandatory native date range queries
ramsessanchez Nov 5, 2026
813156b
Merge one-operation PATCH contract into Calendar for final validation
ramsessanchez Nov 6, 2026
892cd76
Validate Calendar one-operation PATCH contract after merged framework
ramsessanchez Nov 6, 2026
2346f61
Regenerate Calendar v1.0 for one-operation PATCH results
ramsessanchez Nov 6, 2026
8679ec2
Regenerate Calendar beta for one-operation PATCH results
ramsessanchez Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions src/Calendar/Calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,54 @@ require:
``` yaml
directive:
# Remove paths that are not valid.
# Wrapper migration: evaluate this selector against the actual legacy profile.
# All 136 v1.0 and 137 beta matches survive in the current compatible specs.
# Operation-ID alignment now makes the literal current selector cover that exact
# set; the adjacent ledger uses the existing inventory schema. Module tests retain
# independent complete legacy proof, including qualified final action/function
# paths. Exact entries cover both profiles without relying on v1.0-only derived
# data. No surviving legacy match is classified as absent.
# The ledger separately reconciles six existing derived collision suppressions
# across both profiles; their separate provenance does not broaden this selector.
- remove-path-by-operation: (user|group)_(Update|Delete)Calendar$|(user|group)..*_(Get|Create|Update|Delete)CalendarView$|(user|group).(calendar).calendarView.*$|user.calendar_(Get|Update|Delete)Event$|(user|group).(calendar).event.*$|(user|group)_.*CalendarView$|(user|group).calendarView.*$|user.calendarGroup_(Get|Update|Delete)Calendar$|user.calendarGroup.calendar.*$|(group|user).event_(Create|Update|Create)Calendar$|(user|group).event.calendar.*$|placeAsRoomList.room_(Get|Update|Delete)GraphBPrePlaceId$|placeAsRoomList.workspace_(Get|Update|Delete)GraphBPrePlaceId$
# Rename cmdlets.
# Wrapper migration: exact noun and Invoke verb fallbacks cover the default-user-
# calendar function in both profiles, using the shared ReplaceVerb prerequisite.
# v1.0 derived data retains precedence. Neither spec contains the event-calendar
# function counterpart; the ledger records that absence without fabricating a route.
- where:
verb: Invoke
subject: ^(CalendarUserEventCalendar|CalendarUserCalendar)$
set:
subject: $1AllowedCalendarSharingRoles
# Wrapper migration: the existing exact GET noun override implements this rename.
- where:
verb: Get
subject: ^(User)(Calendar)$
variant: ^Get$|^GetViaIdentity$
set:
subject: $1Default$2
# Wrapper migration: the existing exact collection override supplies Default for
# List/Create. Cancel is present but suppressed by directive 1; no rename revives it.
- where:
subject: ^(User)(CalendarEvent)$
variant: ^List$|^Create$|^CreateExpanded$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Cancel$|^CancelExpanded$|^CancelViaIdentity$|^CancelViaIdentityExpanded$
set:
subject: $1Default$2

# Remove duplicate cmdlet
# Wrapper migration: exact POST getSchedule routes for default and named user
# calendars are suppressed; HTTP method and legacy Get verb are not interchangeable.
- where:
verb: Get
subject: ^(UserCalendarSchedule)$
remove: true
#Remove cmdlet to avoid conflicts where alias has been set:[#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
# Wrapper migration: exact GET delta routes for default and named calendars are
# suppressed in both profiles. CalendarDirectiveMigrationTests pins the evidence,
# precedence and unaffected neighbors. Keep all original AutoRest directives active
# until retirement. Global/profile-local directives are not audited here; parameter
# aliases/transforms and schema/response changes remain deferred.
- where:
verb: Get
subject: ^UserCalendarEventDelta$
Expand Down
193 changes: 193 additions & 0 deletions src/Calendar/wrapper/Calendar_cmdletConfigurations.cs

Large diffs are not rendered by default.

1,666 changes: 1,666 additions & 0 deletions src/Calendar/wrapper/Calendar_directiveMigrationMap.json

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions src/Calendar/wrapper/beta/Client/ApiClient.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Calendar.Client.Groups;
using Microsoft.Graph.PowerShell.Calendar.Client.Places;
using Microsoft.Graph.PowerShell.Calendar.Client.Users;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Serialization.Form;
using Microsoft.Kiota.Serialization.Json;
using Microsoft.Kiota.Serialization.Multipart;
using Microsoft.Kiota.Serialization.Text;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System;
namespace Microsoft.Graph.PowerShell.Calendar.Client
{
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ApiClient : BaseRequestBuilder
{
/// <summary>The groups property</summary>
public global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.GroupsRequestBuilder Groups
{
get => new global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.GroupsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>The places property</summary>
public global::Microsoft.Graph.PowerShell.Calendar.Client.Places.PlacesRequestBuilder Places
{
get => new global::Microsoft.Graph.PowerShell.Calendar.Client.Places.PlacesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>The users property</summary>
public global::Microsoft.Graph.PowerShell.Calendar.Client.Users.UsersRequestBuilder Users
{
get => new global::Microsoft.Graph.PowerShell.Calendar.Client.Users.UsersRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Calendar.Client.ApiClient"/> and sets the default values.
/// </summary>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public ApiClient(IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}", new Dictionary<string, object>())
{
ApiClientBuilder.RegisterDefaultSerializer<JsonSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<TextSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<FormSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<MultipartSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<JsonParseNodeFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<TextParseNodeFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<FormParseNodeFactory>();
if (string.IsNullOrEmpty(RequestAdapter.BaseUrl))
{
RequestAdapter.BaseUrl = "https://graph.microsoft.com/beta";
}
PathParameters.TryAdd("baseurl", RequestAdapter.BaseUrl);
}
}
}
#pragma warning restore CS0618
28 changes: 28 additions & 0 deletions src/Calendar/wrapper/beta/Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!-- Generated by tools/Build-WrapperModule.ps1. Regenerate rather than edit by hand. -->
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- netstandard2.0 because this assembly has to load in both PowerShell editions. The
compatibility contract is declared by the module every wrapper references,
src/Authentication/Authentication/Microsoft.Graph.Authentication.psd1: PowerShellVersion
'5.1' and CompatiblePSEditions 'Core','Desktop'. A module manifest binds one
un-conditioned dll path, so a single framework has to satisfy both editions: net472
covers Desktop only, net6.0/net8.0/net10.0 cover Core only, netstandard2.0 covers both.
Microsoft.Kiota.Bundle 2.0.0 ships a netstandard2.0 asset, and the generated client
compiles against it. -->
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>Microsoft.Graph.Wrapper.Calendar.Client</AssemblyName>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Kiota.Bundle" Version="2.0.0" />
<!-- Pinned above the version Microsoft.Kiota.Bundle pulls in transitively (8.0.0), which
carries CVE-2024-30105 and CVE-2024-43485. Same version Authentication.Core pins. -->
<PackageReference Include="System.Text.Json" Version="10.0.3" />
</ItemGroup>

</Project>
48 changes: 48 additions & 0 deletions src/Calendar/wrapper/beta/Client/Groups/GroupsRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System;
namespace Microsoft.Graph.PowerShell.Calendar.Client.Groups
{
/// <summary>
/// Builds and executes requests for operations under \groups
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class GroupsRequestBuilder : BaseRequestBuilder
{
/// <summary>Gets an item from the Microsoft.Graph.PowerShell.Calendar.Client.groups.item collection</summary>
/// <param name="position">Unique identifier of the item</param>
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.GroupItemRequestBuilder"/></returns>
public global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.GroupItemRequestBuilder this[string position]
{
get
{
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("group%2Did", position);
return new global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.GroupItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
/// <summary>
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.GroupsRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="pathParameters">Path parameters for the request</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public GroupsRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups", pathParameters)
{
}
/// <summary>
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.GroupsRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups", rawUrl)
{
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Calendar.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
using System.IO;
using System;
namespace Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
#pragma warning disable CS1591
public partial class AllowedCalendarSharingRolesWithUserGetResponse : global::Microsoft.Graph.PowerShell.Calendar.Client.Models.BaseCollectionPaginationCountResponse, IParsable
#pragma warning restore CS1591
{
/// <summary>The value property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Calendar.Client.Models.CalendarRoleType?>? Value { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Calendar.Client.Models.CalendarRoleType?> Value { get; set; }
#endif
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse"/></returns>
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
public static new global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
return new global::Microsoft.Graph.PowerShell.Calendar.Client.Groups.Item.Calendar.AllowedCalendarSharingRolesWithUser.AllowedCalendarSharingRolesWithUserGetResponse();
}
/// <summary>
/// The deserialization information for the current model
/// </summary>
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>(base.GetFieldDeserializers())
{
{ "value", n => { Value = n.GetCollectionOfEnumValues<global::Microsoft.Graph.PowerShell.Calendar.Client.Models.CalendarRoleType>()?.AsList(); } },
};
}
/// <summary>
/// Serializes information the current object
/// </summary>
/// <param name="writer">Serialization writer to use to serialize this model</param>
public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
writer.WriteCollectionOfEnumValues<global::Microsoft.Graph.PowerShell.Calendar.Client.Models.CalendarRoleType>("value", Value);
}
}
}
#pragma warning restore CS0618
Loading
Loading