Skip to content

Commit

Permalink
chore: add type descriptors for calendar get schedule request
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaqif committed Jan 23, 2024
1 parent ac84f8b commit 58375a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/graph/calendars/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,21 @@ export interface ISchedule extends _Schedule { }
export const Schedule = graphInvokableFactory<ISchedule>(_Schedule);

export interface IGetScheduleRequest {
/**
* A collection of SMTP addresses of users, distribution lists, or resources to get availability information for.
*/
schedules: string[];
/**
* The date, time, and time zone that the period starts.
*/
startTime: IDateTimeTimeZone;
/**
* The date, time, and time zone that the period ends.
*/
endTime: IDateTimeTimeZone;
/**
* Represents the duration of a time slot in an availabilityView in the response.
* The default is 30 minutes, minimum is 5, maximum is 1440. Optional.
*/
availabilityViewInterval?: NullableOption<string>;
}

0 comments on commit 58375a7

Please sign in to comment.