@microsoft/msgraph-beta-sdk-places
Version:
Places fluent API for Microsoft Graph
85 lines • 4.41 kB
TypeScript
import { type BuildingMap } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type FootprintsRequestBuilder } from './footprints/index.js';
import { type LevelsRequestBuilder } from './levels/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the map property of the microsoft.graph.building entity.
*/
export interface MapRequestBuilder extends BaseRequestBuilder<MapRequestBuilder> {
/**
* Provides operations to manage the footprints property of the microsoft.graph.buildingMap entity.
*/
get footprints(): FootprintsRequestBuilder;
/**
* Provides operations to manage the levels property of the microsoft.graph.buildingMap entity.
*/
get levels(): LevelsRequestBuilder;
/**
* Delete the map of a specific building.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/buildingmap-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get the map of a building in IMDF format.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<BuildingMap>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/buildingmap-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<MapRequestBuilderGetQueryParameters> | undefined): Promise<BuildingMap | undefined>;
/**
* Update the navigation property map in places
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<BuildingMap>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: BuildingMap, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BuildingMap | undefined>;
/**
* Delete the map of a specific building.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get the map of a building in IMDF format.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MapRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property map in places
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: BuildingMap, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get the map of a building in IMDF format.
*/
export interface MapRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const MapRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.building/map{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const MapRequestBuilderNavigationMetadata: Record<Exclude<keyof MapRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const MapRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map