Commit af0daa8
authored
Auto-generate (almost) all graph beta endpoints (#305)
This big huge massive PR does two things:
a) updates the packages\graph-tools\src\allow-list.ts to include almost
all endpoints
b) adds auto-generated endpoints based on the latest beta schema
For a), the allow-list was initially the following - super small to
illustrate what the generated code looks like:
```
// the smallest API surface of the whole graph
export const allowList = [/^\/privacy(.*)$/];
```
Now it's changed to this to include almost everything:
```
// include anything but the /identityGovernance endpoints, as they pose MAX_PATH challenges
export const allowList = [/^(?!\/identityGovernance).*$/];
```
A separate PR will add special-treatment to identityGovernance so that
we can support those also.
For b) I picked the most recent openapi.yaml from
https://github.com/microsoftgraph/msgraph-metadata/blob/master/openapi/beta/openapi.yaml
and used that as input to auto-generate the endpoints. I'm not checking
in that file though, as it's so big it doesn't really belong in git.1 parent a9669af commit af0daa8
File tree
7,072 files changed
+1377053
-24768
lines changed- packages/graph-endpoints-beta/src
- accessReviews
- instances
- administrativeUnits
- admin
- configurationManagement
- configurationMonitors
- edge
- internetExplorerMode
- siteLists
- entra
- exchange
- mailboxes
- folders
- childFolders
- messageTraces
- recipients
- microsoft365Apps
- people
- serviceAnnouncement
- healthOverviews
- messages
- attachments
- teams
- userConfigurations
- user
- windows
- updates
- catalog
- deploymentAudiences
- applicableContent
- deployments
- audience
- applicableContent
- products
- knownIssues
- revisions
- updatePolicies
- audience
- applicableContent
- complianceChanges
- agreements
- files
- file
- localizations
- appCatalogs
- teamsApps
- appDefinitions
- colorIcon
- outlineIcon
- applicationTemplates
- applications
- synchronization
- jobs
- schema
- directories
- templates
- schema
- directories
- approvalWorkflowProviders
- businessFlowsWithRequestsAwaitingMyDecision
- businessFlows
- app
- calls
- contentSharingSessions
- participants
- onlineMeetings
- attendanceReports
- meetingAttendanceReport
- recordings
- registration
- transcripts
- auditLogs
- signIns
- authenticationMethodDevices
- hardwareOathDevices
- assignTo
- authenticationMethodsPolicy
- bookingBusinesses
- appointments
- calendarView
- certificateAuthorities
- certificateBasedApplicationConfigurations
- chats
- installedApps
- members
- messages
- replies
- pinnedMessages
- tabs
- commands
- communications
- callRecords
- sessions
- calls
- contentSharingSessions
- participants
- onlineMeetingConversations
- messages
- replies
- onlineMeeting
- starter
- replies
- onlineMeetings
- attendanceReports
- meetingAttendanceReport
- recordings
- registration
- transcripts
- presences
- compliance
- ediscovery
- cases
- custodians
- siteSources
- unifiedGroupSources
- group
- legalHolds
- siteSources
- unifiedGroupSources
- group
- noncustodialDataSources
- reviewSets
- sourceCollections
- tags
- connections
- groups
- items
- activities
- contacts
- contracts
- copilot
- admin
- settings
- communications
- realtimeActivityFeed
- meetings
- settings
- people
- users
- onlineMeetings
- dataClassification
- exactMatchDataStores
- sessions
- sensitivityLabels
- sublabels
- deviceAppManagement
- androidManagedAppProtections
- defaultManagedAppProtections
- deviceAppManagementTasks
- iosLobAppProvisioningConfigurations
- iosManagedAppProtections
- managedAppPolicies
- managedAppRegistrations
- appliedPolicies
- intendedPolicies
- managedEBooks
- userStateSummary
- mdmWindowsInformationProtectionPolicies
- mobileAppConfigurations
- mobileApps
- policySets
- targetedManagedAppConfigurations
- settings
- vppTokens
- wdacSupplementalPolicies
- deviceStatuses
- windowsInformationProtectionDeviceRegistrations
- windowsInformationProtectionPolicies
- windowsManagedAppProtections
- deviceManagement
- advancedThreatProtectionOnboardingStateSummary
- androidDeviceOwnerEnrollmentProfiles
- androidForWorkEnrollmentProfiles
- androidForWorkSettings
- androidManagedStoreAccountEnterpriseSettings
- applePushNotificationCertificate
- appleUserInitiatedEnrollmentProfiles
- assignmentFilters
- categories
- certificateConnectorDetails
- chromeOSOnboardingSettings
- cloudCertificationAuthority
- comanagedDevices
- logCollectionRequests
- securityBaselineStates
- windowsProtectionState
- compliancePolicies
- scheduledActionsForRule
- settings
- configurationPolicies
- settings
- configurationPolicyTemplates
- settingTemplates
- dataSharingConsents
- depOnboardingSettings
- enrollmentProfiles
- importedAppleDeviceIdentities
- detectedApps
- deviceCompliancePolicies
- scheduledActionsForRule
- deviceCompliancePolicySettingStateSummaries
- deviceComplianceScripts
- deviceRunStates
- deviceConfigurations
- groupAssignments
- deviceCustomAttributeShellScripts
- deviceRunStates
- userRunStates
- deviceRunStates
- deviceEnrollmentConfigurations
- deviceHealthScripts
- deviceRunStates
- deviceManagementPartners
- deviceManagementScripts
- deviceRunStates
- userRunStates
- deviceRunStates
- deviceShellScripts
- deviceRunStates
- userRunStates
- deviceRunStates
- elevationRequests
- embeddedSIMActivationCodePools
- exchangeConnectors
- exchangeOnPremisesPolicies
- exchangeOnPremisesPolicy
- groupPolicyCategories
- groupPolicyConfigurations
- definitionValues
- presentationValues
- groupPolicyDefinitionFiles
- groupPolicyDefinitions
- nextVersionDefinition
- presentations
- previousVersionDefinition
- presentations
- presentations
- previousVersionDefinition
- nextVersionDefinition
- presentations
- presentations
- groupPolicyMigrationReports
- groupPolicyUploadedDefinitionFiles
- hardwareConfigurations
- importedDeviceIdentities
- importedWindowsAutopilotDeviceIdentities
- intents
- categories
- intuneBrandingProfiles
- macOSSoftwareUpdateAccountSummaries
- categorySummaries
- managedDevices
- logCollectionRequests
- securityBaselineStates
- windowsProtectionState
- microsoftTunnelServerLogCollectionResponses
- microsoftTunnelSites
- microsoftTunnelServers
- mobileAppTroubleshootingEvents
- appLogCollectionRequests
- monitoring
- notificationMessageTemplates
- operationApprovalRequests
- remoteAssistancePartners
- reports
- resourceAccessProfiles
- reusablePolicySettings
- referencingConfigurationPolicies
- settings
- roleAssignments
- roleDefinitions
- roleAssignments
- roleScopeTags
- templateSettings
- templates
- categories
- migratableTo
- categories
- tenantAttachRBAC
- termsAndConditions
- acceptanceStatuses
- groupAssignments
- userExperienceAnalyticsAppHealthOverview
- userExperienceAnalyticsBaselines
- userExperienceAnalyticsCategories
- userExperienceAnalyticsDeviceScopes
- userExperienceAnalyticsDeviceScope
- userExperienceAnalyticsWorkFromAnywhereMetrics
- virtualEndpoint
- bulkActions
- cloudApps
- cloudPCs
- deviceImages
- onPremisesConnections
- provisioningPolicies
- assignments
- assignedUsers
- reports
- userSettings
- windowsAutopilotDeploymentProfiles
- assignedDevices
- windowsAutopilotDeviceIdentities
- windowsAutopilotSettings
- windowsDriverUpdateProfiles
- windowsFeatureUpdateProfiles
- windowsMalwareInformation
- windowsQualityUpdatePolicies
- windowsQualityUpdateProfiles
- zebraFotaConnector
- zebraFotaDeployments
- devices
- commands
- directoryObjects
- directoryRoleTemplates
- directoryRoles
- directorySettingTemplates
- directory
- administrativeUnits
- authenticationMethodDevices
- hardwareOathDevices
- assignTo
- certificateAuthorities
- certificateBasedApplicationConfigurations
- customSecurityAttributeDefinitions
- deletedItems
- featureRolloutPolicies
- impactedResources
- publicKeyInfrastructure
- certificateBasedAuthConfigurations
- recommendations
- impactedResources
- templates
- deviceTemplates
- domains
- drives
- activities
- driveItem
- bundles
- createdByUser
- following
- items
- analytics
- itemActivityStats
- activities
- driveItem
- children
- createdByUser
- lastModifiedByUser
- permissions
- subscriptions
- versions
- workbook
- application
- comments
- replies
- task
- comment
- task
- task
- comment
- replies
- task
- functions
- names
- tables
- columns
- filter
- rows
- sort
- worksheets
- charts
- axes
- categoryAxis
- format
- line
- majorGridlines
- format
- line
- minorGridlines
- format
- line
- title
- format
- seriesAxis
- format
- line
- majorGridlines
- format
- line
- minorGridlines
- format
- line
- title
- format
- valueAxis
- format
- line
- majorGridlines
- format
- line
- minorGridlines
- format
- line
- title
- format
- dataLabels
- format
- fill
- format
- fill
- legend
- format
- fill
- series
- format
- fill
- line
- points
- format
- fill
- title
- format
- fill
- names
- pivotTables
- protection
- tables
- columns
- filter
- rows
- sort
- tasks
- comment
- replies
- task
- task
- lastModifiedByUser
- list
- columns
- contentTypes
- columns
- createdByUser
- items
- activities
- driveItem
- createdByUser
- documentSetVersions
- driveItem
- lastModifiedByUser
- permissions
- versions
- lastModifiedByUser
- permissions
- subscriptions
- root
- special
- education
- classes
- assignmentSettings
- assignments
- resources
- submissions
- resources
- submittedResources
- group
- modules
- me
- assignments
- resources
- submissions
- resources
- submittedResources
- user
- reports
- schools
- users
- assignments
- resources
- submissions
- resources
- submittedResources
- user
- employeeExperience
- communities
- group
- owners
- goals
- exportJobs
- learningProviders
- roles
- members
- user
- external
- authorizationSystems
- connections
- groups
- items
- activities
- industryData
- dataConnectors
- inboundFlows
- outboundProvisioningFlowSets
- runs
- activities
- filteringPolicies
- financials
- companies
- companyInformation
- customerPaymentJournals
- customerPayments
- customer
- picture
- customerPayments
- customer
- picture
- customers
- picture
- dimensions
- employees
- picture
- generalLedgerEntries
- items
- picture
- journalLines
- journals
- journalLines
- picture
- purchaseInvoiceLines
- item
- picture
- purchaseInvoices
- purchaseInvoiceLines
- item
- picture
- vendor
- picture
- salesCreditMemoLines
- item
- picture
- salesCreditMemos
- customer
- picture
- salesCreditMemoLines
- item
- picture
- salesInvoiceLines
- item
- picture
- salesInvoices
- customer
- picture
- salesInvoiceLines
- item
- picture
- salesOrderLines
- item
- picture
- salesOrders
- customer
- picture
- salesOrderLines
- item
- picture
- salesQuoteLines
- item
- picture
- salesQuotes
- customer
- picture
- salesQuoteLines
- item
- picture
- vendors
- picture
- governanceResources
- roleAssignmentRequests
- roleDefinition
- roleAssignments
- roleDefinition
- roleDefinitions
- roleSettings
- roleDefinition
- governanceRoleAssignmentRequests
- roleDefinition
- governanceRoleAssignments
- roleDefinition
- governanceRoleDefinitions
- governanceRoleSettings
- roleDefinition
- groupLifecyclePolicies
- groups
- calendar
- events
- attachments
- conversations
- threads
- posts
- attachments
- inReplyTo
- attachments
- events
- attachments
- groupLifecyclePolicies
- onenote
- notebooks
- sectionGroups
- sections
- pages
- sections
- pages
- pages
- resources
- sectionGroups
- sections
- pages
- sections
- pages
- planner
- plans
- buckets
- tasks
- tasks
- sites
- analytics
- itemActivityStats
- activities
- driveItem
- columns
- contentModels
- contentTypes
- columns
- createdByUser
- informationProtection
- bitlocker
- dataLossPreventionPolicies
- policy
- labels
- sensitivityLabels
- sublabels
- threatAssessmentRequests
- lastModifiedByUser
- lists
- columns
- contentTypes
- columns
- createdByUser
- items
- activities
- driveItem
- createdByUser
- documentSetVersions
- driveItem
- lastModifiedByUser
- permissions
- versions
- lastModifiedByUser
- permissions
- subscriptions
- onenote
- notebooks
- sectionGroups
- sections
- pages
- sections
- pages
- pages
- resources
- sectionGroups
- sections
- pages
- sections
- pages
- pageTemplates
- canvasLayout
- horizontalSections
- columns
- webparts
- verticalSection
- webparts
- createdByUser
- lastModifiedByUser
- webParts
- pages
- createdByUser
- lastModifiedByUser
- permissions
- recycleBin
- createdByUser
- items
- createdByUser
- lastModifiedByUser
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
7,072 files changed
+1377053
-24768
lines changedLines changed: 122 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Lines changed: 138 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
0 commit comments