UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
105 lines 4.88 kB
import { type BookingAppointment, type BookingAppointmentCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CountRequestBuilder } from './count/index.js'; import { type BookingAppointmentItemRequestBuilder } from './item/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. */ export interface CalendarViewRequestBuilder extends BaseRequestBuilder<CalendarViewRequestBuilder> { /** * Provides operations to count the resources in the collection. */ get count(): CountRequestBuilder; /** * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. * @param bookingAppointmentId The unique identifier of bookingAppointment * @returns {BookingAppointmentItemRequestBuilder} */ byBookingAppointmentId(bookingAppointmentId: string): BookingAppointmentItemRequestBuilder; /** * The set of appointments of this business in a specified date range. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BookingAppointmentCollectionResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CalendarViewRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointmentCollectionResponse | undefined>; /** * Create new navigation property to calendarView for solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BookingAppointment>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ post(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>; /** * The set of appointments of this business in a specified date range. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CalendarViewRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Create new navigation property to calendarView for solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The set of appointments of this business in a specified date range. Read-only. Nullable. */ export interface CalendarViewRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 */ end?: string; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ start?: string; /** * Show only the first n items */ top?: number; } /** * Uri template for the request builder. */ export declare const CalendarViewRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CalendarViewRequestBuilderNavigationMetadata: Record<Exclude<keyof CalendarViewRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CalendarViewRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map