UNPKG

@microsoft/msgraph-beta-sdk-places

Version:
57 lines 4.18 kB
import { type Workspace } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CheckInsRequestBuilder } from './checkIns/index.js'; import { type ChildrenRequestBuilder } from './children/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Casts the previous resource to workspace. */ export interface GraphWorkspaceRequestBuilder extends BaseRequestBuilder<GraphWorkspaceRequestBuilder> { /** * Provides operations to manage the checkIns property of the microsoft.graph.place entity. */ get checkIns(): CheckInsRequestBuilder; /** * Provides operations to manage the children property of the microsoft.graph.place entity. */ get children(): ChildrenRequestBuilder; /** * Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. For details about how they compare, see Using the places API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Workspace>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/place-list?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<GraphWorkspaceRequestBuilderGetQueryParameters> | undefined): Promise<Workspace | undefined>; /** * Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. For details about how they compare, see Using the places API. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphWorkspaceRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:- List all buildings.- List all floors.- List all sections.- List all desks.- List all rooms.- List all workspaces.- List all room lists.- List rooms in a specific room list.- List workspaces in a specific room list. Compared with the findRooms and findRoomLists functions, this operation returns a richer payload for rooms and room lists. For details about how they compare, see Using the places API. */ export interface GraphWorkspaceRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const GraphWorkspaceRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.workspace{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const GraphWorkspaceRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphWorkspaceRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const GraphWorkspaceRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map