UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
119 lines 6.26 kB
import { type BookingBusiness } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AppointmentsRequestBuilder } from './appointments/index.js'; import { type CalendarViewRequestBuilder } from './calendarView/index.js'; import { type CustomersRequestBuilder } from './customers/index.js'; import { type CustomQuestionsRequestBuilder } from './customQuestions/index.js'; import { type GetStaffAvailabilityRequestBuilder } from './getStaffAvailability/index.js'; import { type PublishRequestBuilder } from './publish/index.js'; import { type ServicesRequestBuilder } from './services/index.js'; import { type StaffMembersRequestBuilder } from './staffMembers/index.js'; import { type UnpublishRequestBuilder } from './unpublish/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. */ export interface BookingBusinessItemRequestBuilder extends BaseRequestBuilder<BookingBusinessItemRequestBuilder> { /** * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. */ get appointments(): AppointmentsRequestBuilder; /** * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. */ get calendarView(): CalendarViewRequestBuilder; /** * Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. */ get customers(): CustomersRequestBuilder; /** * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. */ get customQuestions(): CustomQuestionsRequestBuilder; /** * Provides operations to call the getStaffAvailability method. */ get getStaffAvailability(): GetStaffAvailabilityRequestBuilder; /** * Provides operations to call the publish method. */ get publish(): PublishRequestBuilder; /** * Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. */ get services(): ServicesRequestBuilder; /** * Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. */ get staffMembers(): StaffMembersRequestBuilder; /** * Provides operations to call the unpublish method. */ get unpublish(): UnpublishRequestBuilder; /** * Delete a bookingBusiness object. * @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/bookingbusiness-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BookingBusiness>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<BookingBusinessItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingBusiness | undefined>; /** * Update the navigation property bookingBusinesses in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BookingBusiness>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingBusiness | undefined>; /** * Delete a bookingBusiness object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A collection of businesses in Microsoft Bookings. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingBusinessItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property bookingBusinesses in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A collection of businesses in Microsoft Bookings. Read-only. Nullable. */ export interface BookingBusinessItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const BookingBusinessItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const BookingBusinessItemRequestBuilderNavigationMetadata: Record<Exclude<keyof BookingBusinessItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const BookingBusinessItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map