UNPKG

@microsoft/msgraph-beta-sdk-communications

Version:
103 lines 6.01 kB
import { type MeetingRegistrationQuestion, type MeetingRegistrationQuestionCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CountRequestBuilder } from './count/index.js'; import { type MeetingRegistrationQuestionItemRequestBuilder } 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.meetingRegistration entity. */ export interface CustomQuestionsRequestBuilder extends BaseRequestBuilder<CustomQuestionsRequestBuilder> { /** * Provides operations to count the resources in the collection. * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ get count(): CountRequestBuilder; /** * Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. * @param meetingRegistrationQuestionId The unique identifier of meetingRegistrationQuestion * @returns {MeetingRegistrationQuestionItemRequestBuilder} * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ byMeetingRegistrationQuestionId(meetingRegistrationQuestionId: string): MeetingRegistrationQuestionItemRequestBuilder; /** * Custom registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<MeetingRegistrationQuestionCollectionResponse>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ get(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): Promise<MeetingRegistrationQuestionCollectionResponse | undefined>; /** * Create new navigation property to customQuestions for communications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<MeetingRegistrationQuestion>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ post(body: MeetingRegistrationQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MeetingRegistrationQuestion | undefined>; /** * Custom registration questions. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Create new navigation property to customQuestions for communications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The meetingRegistrationBase Entity is deprecated and will stop returning data on Dec 12th, 2024. Please use the new webinar APIs. as of 2024-04/meetingRegistrationDeprecation on 2024-04-01 and will be removed 2024-12-12 */ toPostRequestInformation(body: MeetingRegistrationQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Custom registration questions. */ 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}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/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