UNPKG

@microsoft/msgraph-beta-sdk-places

Version:
75 lines 3.7 kB
import { type RoomList } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CheckInsRequestBuilder } from './checkIns/index.js'; import { type RoomsRequestBuilder } from './rooms/index.js'; import { type RoomsWithPlaceIdRequestBuilder } from './roomsWithPlaceId/index.js'; import { type WorkspacesRequestBuilder } from './workspaces/index.js'; import { type WorkspacesWithPlaceIdRequestBuilder } from './workspacesWithPlaceId/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Casts the previous resource to roomList. */ export interface GraphRoomListRequestBuilder extends BaseRequestBuilder<GraphRoomListRequestBuilder> { /** * Provides operations to manage the checkIns property of the microsoft.graph.place entity. */ get checkIns(): CheckInsRequestBuilder; /** * Provides operations to manage the rooms property of the microsoft.graph.roomList entity. */ get rooms(): RoomsRequestBuilder; /** * Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. */ get workspaces(): WorkspacesRequestBuilder; /** * Get the item of type microsoft.graph.place as microsoft.graph.roomList * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<RoomList>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): Promise<RoomList | undefined>; /** * Provides operations to manage the rooms property of the microsoft.graph.roomList entity. * @param placeId Alternate key of room * @returns {RoomsWithPlaceIdRequestBuilder} */ roomsWithPlaceId(placeId: string | undefined): RoomsWithPlaceIdRequestBuilder; /** * Get the item of type microsoft.graph.place as microsoft.graph.roomList * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Provides operations to manage the workspaces property of the microsoft.graph.roomList entity. * @param placeId Alternate key of workspace * @returns {WorkspacesWithPlaceIdRequestBuilder} */ workspacesWithPlaceId(placeId: string | undefined): WorkspacesWithPlaceIdRequestBuilder; } /** * Get the item of type microsoft.graph.place as microsoft.graph.roomList */ export interface GraphRoomListRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const GraphRoomListRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphRoomListRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const GraphRoomListRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map