UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
126 lines 5.75 kB
import { type Admin } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AppsAndServicesRequestBuilder } from './appsAndServices/index.js'; import { type DynamicsRequestBuilder } from './dynamics/index.js'; import { type EdgeRequestBuilder } from './edge/index.js'; import { type EntraRequestBuilder } from './entra/index.js'; import { type ExchangeRequestBuilder } from './exchange/index.js'; import { type FormsRequestBuilder } from './forms/index.js'; import { type Microsoft365AppsRequestBuilder } from './microsoft365Apps/index.js'; import { type PeopleRequestBuilder } from './people/index.js'; import { type ReportSettingsRequestBuilder } from './reportSettings/index.js'; import { type ServiceAnnouncementRequestBuilder } from './serviceAnnouncement/index.js'; import { type SharepointRequestBuilder } from './sharepoint/index.js'; import { type TodoRequestBuilder } from './todo/index.js'; import { type WindowsRequestBuilder } from './windows/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the admin singleton. */ export interface AdminRequestBuilder extends BaseRequestBuilder<AdminRequestBuilder> { /** * Provides operations to manage the appsAndServices property of the microsoft.graph.admin entity. */ get appsAndServices(): AppsAndServicesRequestBuilder; /** * Provides operations to manage the dynamics property of the microsoft.graph.admin entity. */ get dynamics(): DynamicsRequestBuilder; /** * Provides operations to manage the edge property of the microsoft.graph.admin entity. */ get edge(): EdgeRequestBuilder; /** * Provides operations to manage the entra property of the microsoft.graph.admin entity. */ get entra(): EntraRequestBuilder; /** * Provides operations to manage the exchange property of the microsoft.graph.admin entity. */ get exchange(): ExchangeRequestBuilder; /** * Provides operations to manage the forms property of the microsoft.graph.admin entity. */ get forms(): FormsRequestBuilder; /** * Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity. */ get microsoft365Apps(): Microsoft365AppsRequestBuilder; /** * Provides operations to manage the people property of the microsoft.graph.admin entity. */ get people(): PeopleRequestBuilder; /** * Provides operations to manage the reportSettings property of the microsoft.graph.admin entity. */ get reportSettings(): ReportSettingsRequestBuilder; /** * Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity. */ get serviceAnnouncement(): ServiceAnnouncementRequestBuilder; /** * Provides operations to manage the sharepoint property of the microsoft.graph.admin entity. */ get sharepoint(): SharepointRequestBuilder; /** * Provides operations to manage the todo property of the microsoft.graph.admin entity. */ get todo(): TodoRequestBuilder; /** * Provides operations to manage the windows property of the microsoft.graph.admin entity. */ get windows(): WindowsRequestBuilder; /** * Get admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Admin>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<AdminRequestBuilderGetQueryParameters> | undefined): Promise<Admin | undefined>; /** * Update admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Admin>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Admin, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Admin | undefined>; /** * Get admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AdminRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Admin, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get admin */ export interface AdminRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AdminRequestBuilderUriTemplate = "{+baseurl}/admin{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AdminRequestBuilderNavigationMetadata: Record<Exclude<keyof AdminRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AdminRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map