@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
90 lines • 5.4 kB
TypeScript
import { type AttendeeBase, type LocationConstraint, type MeetingTimeSuggestionsResult, type TimeConstraint } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Duration, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {FindMeetingTimesPostRequestBody}
*/
export declare function createFindMeetingTimesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
export declare function deserializeIntoFindMeetingTimesPostRequestBody(findMeetingTimesPostRequestBody?: Partial<FindMeetingTimesPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
export interface FindMeetingTimesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
*/
additionalData?: Record<string, unknown>;
/**
* The attendees property
*/
attendees?: AttendeeBase[] | null;
/**
* Stores model information.
*/
backingStoreEnabled?: boolean | null;
/**
* The isOrganizerOptional property
*/
isOrganizerOptional?: boolean | null;
/**
* The locationConstraint property
*/
locationConstraint?: LocationConstraint | null;
/**
* The maxCandidates property
*/
maxCandidates?: number | null;
/**
* The meetingDuration property
*/
meetingDuration?: Duration | null;
/**
* The minimumAttendeePercentage property
*/
minimumAttendeePercentage?: number | null;
/**
* The returnSuggestionReasons property
*/
returnSuggestionReasons?: boolean | null;
/**
* The timeConstraint property
*/
timeConstraint?: TimeConstraint | null;
}
/**
* Provides operations to call the findMeetingTimes method.
*/
export interface FindMeetingTimesRequestBuilder extends BaseRequestBuilder<FindMeetingTimesRequestBuilder> {
/**
* Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property.Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MeetingTimeSuggestionsResult>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/user-findmeetingtimes?view=graph-rest-beta|Find more info here}
*/
post(body: FindMeetingTimesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MeetingTimeSuggestionsResult | undefined>;
/**
* Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property.Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: FindMeetingTimesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeFindMeetingTimesPostRequestBody(writer: SerializationWriter, findMeetingTimesPostRequestBody?: Partial<FindMeetingTimesPostRequestBody> | undefined | null): void;
/**
* Uri template for the request builder.
*/
export declare const FindMeetingTimesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/findMeetingTimes";
/**
* Metadata for all the requests in the request builder.
*/
export declare const FindMeetingTimesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map