Skip to content

Commit ce11b31

Browse files
committed
Search API new types and methods
1 parent 6005d49 commit ce11b31

27 files changed

+541
-150
lines changed

generator/import_metadata.py

+2-2
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="graph",
29+
default="sharepoint",
3030
)
3131
parser.add_argument(
3232
"-p",
3333
"--path",
3434
dest="path",
35-
default="./metadata/Graph.xml",
35+
default="./metadata/SharePoint.xml",
3636
help="Import metadata endpoint",
3737
)
3838

generator/metadata/Graph.xml

+50-1
Original file line numberDiff line numberDiff line change
@@ -16180,6 +16180,18 @@
1618016180
</Record>
1618116181
</Annotation>
1618216182
</Annotations>
16183+
<Annotations Target="microsoft.graph.authentication/platformCredentialMethods">
16184+
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
16185+
<Record>
16186+
<PropertyValue Property="Insertable" Bool="false"/>
16187+
</Record>
16188+
</Annotation>
16189+
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
16190+
<Record>
16191+
<PropertyValue Property="Updatable" Bool="false"/>
16192+
</Record>
16193+
</Annotation>
16194+
</Annotations>
1618316195
<Annotations Target="microsoft.graph.authentication/softwareOathMethods">
1618416196
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
1618516197
<Record>
@@ -22090,6 +22102,15 @@ within the time frame of their original request."/>
2209022102
<Member Name="weak" Value="1"/>
2209122103
<Member Name="unknown" Value="2"/>
2209222104
</EnumType>
22105+
<EnumType Name="authenticationMethodPlatform">
22106+
<Member Name="unknown" Value="0"/>
22107+
<Member Name="windows" Value="1"/>
22108+
<Member Name="macOS" Value="2"/>
22109+
<Member Name="iOS" Value="3"/>
22110+
<Member Name="android" Value="4"/>
22111+
<Member Name="linux" Value="5"/>
22112+
<Member Name="unknownFutureValue" Value="6"/>
22113+
</EnumType>
2209322114
<EnumType Name="authenticationMethodSignInState">
2209422115
<Member Name="notSupported" Value="0"/>
2209522116
<Member Name="notAllowedByPolicy" Value="1"/>
@@ -23641,6 +23662,7 @@ within the time frame of their original request."/>
2364123662
<NavigationProperty Name="operations" Type="Collection(graph.longRunningOperation)" ContainsTarget="true"/>
2364223663
<NavigationProperty Name="passwordMethods" Type="Collection(graph.passwordAuthenticationMethod)" ContainsTarget="true"/>
2364323664
<NavigationProperty Name="phoneMethods" Type="Collection(graph.phoneAuthenticationMethod)" ContainsTarget="true"/>
23665+
<NavigationProperty Name="platformCredentialMethods" Type="Collection(graph.platformCredentialAuthenticationMethod)" ContainsTarget="true"/>
2364423666
<NavigationProperty Name="softwareOathMethods" Type="Collection(graph.softwareOathAuthenticationMethod)" ContainsTarget="true"/>
2364523667
<NavigationProperty Name="temporaryAccessPassMethods" Type="Collection(graph.temporaryAccessPassAuthenticationMethod)" ContainsTarget="true"/>
2364623668
<NavigationProperty Name="windowsHelloForBusinessMethods" Type="Collection(graph.windowsHelloForBusinessAuthenticationMethod)" ContainsTarget="true"/>
@@ -25975,6 +25997,19 @@ within the time frame of their original request."/>
2597525997
<Property Name="displayName" Type="Edm.String"/>
2597625998
<Property Name="userFlowAttributeType" Type="graph.identityUserFlowAttributeType" Nullable="false"/>
2597725999
</EntityType>
26000+
<ComplexType Name="onAttributeCollectionStartHandler" Abstract="true"/>
26001+
<ComplexType Name="onAttributeCollectionStartCustomExtensionHandler" BaseType="graph.onAttributeCollectionStartHandler">
26002+
<Property Name="configuration" Type="graph.customExtensionOverwriteConfiguration"/>
26003+
<NavigationProperty Name="customExtension" Type="graph.onAttributeCollectionStartCustomExtension"/>
26004+
</ComplexType>
26005+
<EntityType Name="customAuthenticationExtension" BaseType="graph.customCalloutExtension" Abstract="true"/>
26006+
<EntityType Name="onAttributeCollectionStartCustomExtension" BaseType="graph.customAuthenticationExtension"/>
26007+
<ComplexType Name="onAttributeCollectionSubmitHandler" Abstract="true"/>
26008+
<ComplexType Name="onAttributeCollectionSubmitCustomExtensionHandler" BaseType="graph.onAttributeCollectionSubmitHandler">
26009+
<Property Name="configuration" Type="graph.customExtensionOverwriteConfiguration"/>
26010+
<NavigationProperty Name="customExtension" Type="graph.onAttributeCollectionSubmitCustomExtension"/>
26011+
</ComplexType>
26012+
<EntityType Name="onAttributeCollectionSubmitCustomExtension" BaseType="graph.customAuthenticationExtension"/>
2597826013
<ComplexType Name="onAuthenticationMethodLoadStartHandler" Abstract="true"/>
2597926014
<ComplexType Name="onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp" BaseType="graph.onAuthenticationMethodLoadStartHandler">
2598026015
<NavigationProperty Name="identityProviders" Type="Collection(graph.identityProviderBase)"/>
@@ -25991,7 +26026,6 @@ within the time frame of their original request."/>
2599126026
<Property Name="configuration" Type="graph.customExtensionOverwriteConfiguration"/>
2599226027
<NavigationProperty Name="customExtension" Type="graph.onTokenIssuanceStartCustomExtension"/>
2599326028
</ComplexType>
25994-
<EntityType Name="customAuthenticationExtension" BaseType="graph.customCalloutExtension" Abstract="true"/>
2599526029
<EntityType Name="onTokenIssuanceStartCustomExtension" BaseType="graph.customAuthenticationExtension">
2599626030
<Property Name="claimsForTokenConfiguration" Type="Collection(graph.onTokenIssuanceStartReturnClaim)"/>
2599726031
</EntityType>
@@ -26074,6 +26108,8 @@ within the time frame of their original request."/>
2607426108
</EntityType>
2607526109
<EntityType Name="externalUsersSelfServiceSignUpEventsFlow" BaseType="graph.authenticationEventsFlow">
2607626110
<Property Name="onAttributeCollection" Type="graph.onAttributeCollectionHandler"/>
26111+
<Property Name="onAttributeCollectionStart" Type="graph.onAttributeCollectionStartHandler"/>
26112+
<Property Name="onAttributeCollectionSubmit" Type="graph.onAttributeCollectionSubmitHandler"/>
2607726113
<Property Name="onAuthenticationMethodLoadStart" Type="graph.onAuthenticationMethodLoadStartHandler"/>
2607826114
<Property Name="onInteractiveAuthFlowStart" Type="graph.onInteractiveAuthFlowStartHandler"/>
2607926115
<Property Name="onUserCreateStart" Type="graph.onUserCreateStartHandler"/>
@@ -26093,6 +26129,12 @@ within the time frame of their original request."/>
2609326129
<EntityType Name="onAttributeCollectionListener" BaseType="graph.authenticationEventListener">
2609426130
<Property Name="handler" Type="graph.onAttributeCollectionHandler"/>
2609526131
</EntityType>
26132+
<EntityType Name="onAttributeCollectionStartListener" BaseType="graph.authenticationEventListener">
26133+
<Property Name="handler" Type="graph.onAttributeCollectionStartHandler"/>
26134+
</EntityType>
26135+
<EntityType Name="onAttributeCollectionSubmitListener" BaseType="graph.authenticationEventListener">
26136+
<Property Name="handler" Type="graph.onAttributeCollectionSubmitHandler"/>
26137+
</EntityType>
2609626138
<EntityType Name="onAuthenticationMethodLoadStartListener" BaseType="graph.authenticationEventListener">
2609726139
<Property Name="handler" Type="graph.onAuthenticationMethodLoadStartHandler"/>
2609826140
</EntityType>
@@ -34361,6 +34403,13 @@ within the time frame of their original request."/>
3436134403
<Property Name="phoneType" Type="graph.authenticationPhoneType"/>
3436234404
<Property Name="smsSignInState" Type="graph.authenticationMethodSignInState"/>
3436334405
</EntityType>
34406+
<EntityType Name="platformCredentialAuthenticationMethod" BaseType="graph.authenticationMethod">
34407+
<Property Name="createdDateTime" Type="Edm.DateTimeOffset"/>
34408+
<Property Name="displayName" Type="Edm.String"/>
34409+
<Property Name="keyStrength" Type="graph.authenticationMethodKeyStrength"/>
34410+
<Property Name="platform" Type="graph.authenticationMethodPlatform"/>
34411+
<NavigationProperty Name="device" Type="graph.device"/>
34412+
</EntityType>
3436434413
<EntityType Name="softwareOathAuthenticationMethod" BaseType="graph.authenticationMethod">
3436534414
<Property Name="secretKey" Type="Edm.String"/>
3436634415
</EntityType>

0 commit comments

Comments
 (0)