@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
97 lines • 4.48 kB
TypeScript
import { type BookingCustomQuestion, type BookingCustomQuestionCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type BookingCustomQuestionItemRequestBuilder } 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 customQuestions property of the microsoft.graph.bookingBusiness entity.
*/
export interface CustomQuestionsRequestBuilder extends BaseRequestBuilder<CustomQuestionsRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity.
* @param bookingCustomQuestionId The unique identifier of bookingCustomQuestion
* @returns {BookingCustomQuestionItemRequestBuilder}
*/
byBookingCustomQuestionId(bookingCustomQuestionId: string): BookingCustomQuestionItemRequestBuilder;
/**
* All custom questions of this business.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<BookingCustomQuestionCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomQuestionCollectionResponse | undefined>;
/**
* Create new navigation property to customQuestions for solutions
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<BookingCustomQuestion>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
post(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomQuestion | undefined>;
/**
* All custom questions of this business.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to customQuestions 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: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* All custom questions of this business.
*/
export interface CustomQuestionsRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* 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;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const CustomQuestionsRequestBuilderNavigationMetadata: Record<Exclude<keyof CustomQuestionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const CustomQuestionsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map