Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
24 changes: 24 additions & 0 deletions src/Teams/Teams.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ require:
``` yaml
directive:
# Remove invalid paths.
# Wrapper migration: directive 1 is bridged from the COMPLETE original legacy
# regex set (v1.0: 337; beta: 9), not from renamed compatible operation IDs.
# Teams_directiveMigrationMap.json records every surviving exact operation.
# Compatible IDs now align with the original complete selector sets; tests retain
# kind-guarded final action/function source lineage. No removals are claimed.
# Teams_cmdletConfigurations.cs preserves joinedTeams list and unrelated roots;
# user.joinedTeam_GetCount matches the original regex and is suppressed.
- remove-path-by-operation: ^(team_GetGroup|user\.joinedTeam.*|user_(Get|Update|Delete|Create)JoinedTeam|.*_UpdateInstalledApp)$
# Remove cmdlets
# Wrapper migration: directives 2-4 suppress only the selected verb and exact
# message/reply/direct-hosted-content subjects. Reply hosted contents and group
# navigations are not additional matches. TeamsDirectiveMigrationTests pins neighbors.
- where:
verb: Remove
subject: ^(Chat|TeamChannel|TeamPrimaryChannel)Message$
Expand All @@ -32,10 +42,24 @@ directive:
verb: Remove|Update
subject: ^(Chat|TeamChannel|TeamPrimaryChannel)MessageHostedContent$
remove: true
# Wrapper migration: directive 5 suppresses the TeamDefinition node (beta only),
# not its descendants: the original [A-Z]* suffix does not mean an arbitrary subtree.
- where:
subject: (.*)TeamworkTeamTemplateDefinitionTeamDefinition([A-Z]*)$
remove: true
# Rename AllChannel due to https://github.com/Azure/autorest.powershell/issues/1002.
# Wrapper migration: directives 6-9 have exact compatible operation evidence in
# the adjacent ledger. Curated fallbacks cover beta; existing v1.0 derived names
# remain authoritative. Ordinary channels and non-GET message operations keep names.
# Directive 9 includes the distinct getAllMessages() URL as well as list/item GET.
# The function has a different request/response contract and is not a compatible
# natural-ID variant. Its explicit noun is AllUserChatMessageAcrossChat, from
# the source description "all messages from all chats"; ordinary List/Get remains.
# Frozen v1 derived suppression still omits that function; no module rule prunes it.
# This baseline limitation is not a faithful three-route/default or raw parity pass.
# No OnlineMeetingTranscript/Recording subjects occur in either Teams spec.
# Keep all shared AutoRest directives active. Profile-local readmes and
# src/readme.graph.md are ignored; parameter/schema aliases/transforms are deferred.
- where:
verb: Get
subject: ^(TeamMessage|TeamworkDeletedTeamMessage)$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The displayName property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName { get; set; }
#nullable restore
#else
public string DisplayName { get; set; }
#endif
/// <summary>The reactionId property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ReactionId { get; set; }
#nullable restore
#else
public string ReactionId { get; set; }
#endif
/// <summary>The reactionType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down Expand Up @@ -47,6 +63,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>
{
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
Expand All @@ -57,6 +75,8 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
Expand Down
Loading
Loading