@microsoft/msgraph-beta-sdk-groups
Version:
Groups fluent API for Microsoft Graph
138 lines • 7.01 kB
TypeScript
import { type Schedule } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type DayNotesRequestBuilder } from './dayNotes/index.js';
import { type OfferShiftRequestsRequestBuilder } from './offerShiftRequests/index.js';
import { type OpenShiftChangeRequestsRequestBuilder } from './openShiftChangeRequests/index.js';
import { type OpenShiftsRequestBuilder } from './openShifts/index.js';
import { type SchedulingGroupsRequestBuilder } from './schedulingGroups/index.js';
import { type ShareRequestBuilder } from './share/index.js';
import { type ShiftsRequestBuilder } from './shifts/index.js';
import { type ShiftsRoleDefinitionsRequestBuilder } from './shiftsRoleDefinitions/index.js';
import { type SwapShiftsChangeRequestsRequestBuilder } from './swapShiftsChangeRequests/index.js';
import { type TimeCardsRequestBuilder } from './timeCards/index.js';
import { type TimeOffReasonsRequestBuilder } from './timeOffReasons/index.js';
import { type TimeOffRequestsRequestBuilder } from './timeOffRequests/index.js';
import { type TimesOffRequestBuilder } from './timesOff/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the schedule property of the microsoft.graph.team entity.
*/
export interface ScheduleRequestBuilder extends BaseRequestBuilder<ScheduleRequestBuilder> {
/**
* Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
*/
get dayNotes(): DayNotesRequestBuilder;
/**
* Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.
*/
get offerShiftRequests(): OfferShiftRequestsRequestBuilder;
/**
* Provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity.
*/
get openShiftChangeRequests(): OpenShiftChangeRequestsRequestBuilder;
/**
* Provides operations to manage the openShifts property of the microsoft.graph.schedule entity.
*/
get openShifts(): OpenShiftsRequestBuilder;
/**
* Provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity.
*/
get schedulingGroups(): SchedulingGroupsRequestBuilder;
/**
* Provides operations to call the share method.
*/
get share(): ShareRequestBuilder;
/**
* Provides operations to manage the shifts property of the microsoft.graph.schedule entity.
*/
get shifts(): ShiftsRequestBuilder;
/**
* Provides operations to manage the shiftsRoleDefinitions property of the microsoft.graph.schedule entity.
*/
get shiftsRoleDefinitions(): ShiftsRoleDefinitionsRequestBuilder;
/**
* Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity.
*/
get swapShiftsChangeRequests(): SwapShiftsChangeRequestsRequestBuilder;
/**
* Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
*/
get timeCards(): TimeCardsRequestBuilder;
/**
* Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
*/
get timeOffReasons(): TimeOffReasonsRequestBuilder;
/**
* Provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity.
*/
get timeOffRequests(): TimeOffRequestsRequestBuilder;
/**
* Provides operations to manage the timesOff property of the microsoft.graph.schedule entity.
*/
get timesOff(): TimesOffRequestBuilder;
/**
* Delete navigation property schedule for groups
* @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
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The schedule of shifts for this team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Schedule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ScheduleRequestBuilderGetQueryParameters> | undefined): Promise<Schedule | undefined>;
/**
* Update the navigation property schedule in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Schedule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
put(body: Schedule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Schedule | undefined>;
/**
* Delete navigation property schedule for groups
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The schedule of shifts for this team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ScheduleRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property schedule in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPutRequestInformation(body: Schedule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The schedule of shifts for this team.
*/
export interface ScheduleRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ScheduleRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ScheduleRequestBuilderNavigationMetadata: Record<Exclude<keyof ScheduleRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ScheduleRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map