Skip to content

Commit f5815e7

Browse files
committed
compliance new types & methods
1 parent b7a62e5 commit f5815e7

File tree

26 files changed

+426
-83
lines changed

26 files changed

+426
-83
lines changed

generator/import_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ def export_to_file(path, content):
2626
"--endpoint",
2727
dest="endpoint",
2828
help="Import metadata endpoint",
29-
default="sharepoint",
29+
default="graph",
3030
)
3131
parser.add_argument(
3232
"-p",
3333
"--path",
3434
dest="path",
35-
default="./metadata/SharePoint.xml",
35+
default="./metadata/Graph.xml",
3636
help="Import metadata endpoint",
3737
)
3838

generator/metadata/Graph.xml

Lines changed: 61 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22245,6 +22245,11 @@ within the time frame of their original request."/>
2224522245
<Member Name="or" Value="0"/>
2224622246
<Member Name="and" Value="1"/>
2224722247
</EnumType>
22248+
<EnumType Name="aiInteractionType">
22249+
<Member Name="userPrompt" Value="0"/>
22250+
<Member Name="aiResponse" Value="1"/>
22251+
<Member Name="unknownFutureValue" Value="2"/>
22252+
</EnumType>
2224822253
<EnumType Name="callRecordingStatus">
2224922254
<Member Name="success" Value="0"/>
2225022255
<Member Name="failure" Value="1"/>
@@ -26043,6 +26048,12 @@ within the time frame of their original request."/>
2604326048
</EntityType>
2604426049
<EntityType Name="copilotRoot">
2604526050
<NavigationProperty Name="admin" Type="graph.copilotAdmin" ContainsTarget="true"/>
26051+
<NavigationProperty Name="interactionHistory" Type="graph.aiInteractionHistory" ContainsTarget="true"/>
26052+
<NavigationProperty Name="users" Type="Collection(graph.aiUser)" ContainsTarget="true"/>
26053+
</EntityType>
26054+
<EntityType Name="aiInteractionHistory" BaseType="graph.entity"/>
26055+
<EntityType Name="aiUser" BaseType="graph.entity">
26056+
<NavigationProperty Name="interactionHistory" Type="graph.aiInteractionHistory" ContainsTarget="true"/>
2604626057
</EntityType>
2604726058
<ComplexType Name="apiAuthenticationConfigurationBase" Abstract="true"/>
2604826059
<ComplexType Name="assignmentOrder">
@@ -34673,6 +34684,36 @@ within the time frame of their original request."/>
3467334684
<ComplexType Name="aadUserNotificationRecipient" BaseType="graph.teamworkNotificationRecipient">
3467434685
<Property Name="userId" Type="Edm.String" Nullable="false"/>
3467534686
</ComplexType>
34687+
<ComplexType Name="aiInteractionAttachment">
34688+
<Property Name="attachmentId" Type="Edm.String"/>
34689+
<Property Name="content" Type="Edm.String"/>
34690+
<Property Name="contentType" Type="Edm.String"/>
34691+
<Property Name="contentUrl" Type="Edm.String"/>
34692+
<Property Name="name" Type="Edm.String"/>
34693+
</ComplexType>
34694+
<ComplexType Name="aiInteractionContext">
34695+
<Property Name="contextReference" Type="Edm.String"/>
34696+
<Property Name="contextType" Type="Edm.String"/>
34697+
<Property Name="displayName" Type="Edm.String"/>
34698+
</ComplexType>
34699+
<ComplexType Name="aiInteractionLink">
34700+
<Property Name="displayName" Type="Edm.String"/>
34701+
<Property Name="linkType" Type="Edm.String"/>
34702+
<Property Name="linkUrl" Type="Edm.String"/>
34703+
</ComplexType>
34704+
<ComplexType Name="aiInteractionMention">
34705+
<Property Name="mentioned" Type="graph.aiInteractionMentionedIdentitySet"/>
34706+
<Property Name="mentionId" Type="Edm.Int32"/>
34707+
<Property Name="mentionText" Type="Edm.String"/>
34708+
</ComplexType>
34709+
<ComplexType Name="aiInteractionMentionedIdentitySet" BaseType="graph.identitySet" OpenType="true">
34710+
<Property Name="conversation" Type="graph.teamworkConversationIdentity"/>
34711+
<Property Name="tag" Type="graph.teamworkTagIdentity"/>
34712+
</ComplexType>
34713+
<ComplexType Name="teamworkConversationIdentity" BaseType="graph.identity" OpenType="true">
34714+
<Property Name="conversationIdentityType" Type="graph.teamworkConversationIdentityType"/>
34715+
</ComplexType>
34716+
<ComplexType Name="teamworkTagIdentity" BaseType="graph.identity" OpenType="true"/>
3467634717
<ComplexType Name="eventMessageDetail" Abstract="true"/>
3467734718
<ComplexType Name="callEndedEventMessageDetail" BaseType="graph.eventMessageDetail">
3467834719
<Property Name="callDuration" Type="Edm.Duration"/>
@@ -34778,9 +34819,6 @@ within the time frame of their original request."/>
3477834819
<ComplexType Name="chatMessageMentionedIdentitySet" BaseType="graph.identitySet" OpenType="true">
3477934820
<Property Name="conversation" Type="graph.teamworkConversationIdentity"/>
3478034821
</ComplexType>
34781-
<ComplexType Name="teamworkConversationIdentity" BaseType="graph.identity" OpenType="true">
34782-
<Property Name="conversationIdentityType" Type="graph.teamworkConversationIdentityType"/>
34783-
</ComplexType>
3478434822
<ComplexType Name="chatMessagePolicyViolation">
3478534823
<Property Name="dlpAction" Type="graph.chatMessagePolicyViolationDlpActionTypes"/>
3478634824
<Property Name="justificationText" Type="Edm.String"/>
@@ -34938,13 +34976,28 @@ within the time frame of their original request."/>
3493834976
<Property Name="joinWebUrl" Type="Edm.String"/>
3493934977
<Property Name="organizer" Type="graph.teamworkUserIdentity"/>
3494034978
</ComplexType>
34941-
<ComplexType Name="teamworkTagIdentity" BaseType="graph.identity" OpenType="true"/>
3494234979
<EntityType Name="aadUserConversationMember" BaseType="graph.conversationMember">
3494334980
<Property Name="email" Type="Edm.String"/>
3494434981
<Property Name="tenantId" Type="Edm.String"/>
3494534982
<Property Name="userId" Type="Edm.String"/>
3494634983
<NavigationProperty Name="user" Type="graph.user"/>
3494734984
</EntityType>
34985+
<EntityType Name="aiInteraction" BaseType="graph.entity">
34986+
<Property Name="appClass" Type="Edm.String" Nullable="false"/>
34987+
<Property Name="attachments" Type="Collection(graph.aiInteractionAttachment)"/>
34988+
<Property Name="body" Type="graph.itemBody"/>
34989+
<Property Name="contexts" Type="Collection(graph.aiInteractionContext)"/>
34990+
<Property Name="conversationType" Type="Edm.String"/>
34991+
<Property Name="createdDateTime" Type="Edm.DateTimeOffset"/>
34992+
<Property Name="etag" Type="Edm.String"/>
34993+
<Property Name="from" Type="graph.identitySet" Nullable="false"/>
34994+
<Property Name="interactionType" Type="graph.aiInteractionType" Nullable="false"/>
34995+
<Property Name="links" Type="Collection(graph.aiInteractionLink)"/>
34996+
<Property Name="locale" Type="Edm.String" Nullable="false"/>
34997+
<Property Name="mentions" Type="Collection(graph.aiInteractionMention)"/>
34998+
<Property Name="requestId" Type="Edm.String" Nullable="false"/>
34999+
<Property Name="sessionId" Type="Edm.String" Nullable="false"/>
35000+
</EntityType>
3494835001
<EntityType Name="anonymousGuestConversationMember" BaseType="graph.conversationMember">
3494935002
<Property Name="anonymousGuestId" Type="Edm.String"/>
3495035003
</EntityType>
@@ -41305,6 +41358,10 @@ within the time frame of their original request."/>
4130541358
<Parameter Name="bindingParameter" Type="Collection(graph.deletedTeam)"/>
4130641359
<ReturnType Type="Collection(graph.chatMessage)"/>
4130741360
</Function>
41361+
<Function Name="getAllEnterpriseInteractions" IsBound="true" IsComposable="true">
41362+
<Parameter Name="bindingParameter" Type="graph.aiInteractionHistory"/>
41363+
<ReturnType Type="Collection(graph.aiInteraction)"/>
41364+
</Function>
4130841365
<Function Name="getAllRetainedMessages" IsBound="true" EntitySetPath="bindingParameter/messages">
4130941366
<Parameter Name="bindingParameter" Type="Collection(graph.channel)"/>
4131041367
<ReturnType Type="Collection(graph.chatMessage)"/>

0 commit comments

Comments
 (0)