@microsoft/msgraph-sdk-teamwork
Version:
Teamwork fluent API for Microsoft Graph
87 lines • 4.69 kB
TypeScript
import { type Teamwork } from '@microsoft/msgraph-sdk/models/index.js';
import { type DeletedChatsRequestBuilder } from './deletedChats/index.js';
import { type DeletedTeamsRequestBuilder } from './deletedTeams/index.js';
import { type SendActivityNotificationToRecipientsRequestBuilder } from './sendActivityNotificationToRecipients/index.js';
import { type TeamsAppSettingsRequestBuilder } from './teamsAppSettings/index.js';
import { type WorkforceIntegrationsRequestBuilder } from './workforceIntegrations/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the teamwork singleton.
*/
export interface TeamworkRequestBuilder extends BaseRequestBuilder<TeamworkRequestBuilder> {
/**
* Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity.
*/
get deletedChats(): DeletedChatsRequestBuilder;
/**
* Provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity.
*/
get deletedTeams(): DeletedTeamsRequestBuilder;
/**
* Provides operations to call the sendActivityNotificationToRecipients method.
*/
get sendActivityNotificationToRecipients(): SendActivityNotificationToRecipientsRequestBuilder;
/**
* Provides operations to manage the teamsAppSettings property of the microsoft.graph.teamwork entity.
*/
get teamsAppSettings(): TeamsAppSettingsRequestBuilder;
/**
* Provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity.
*/
get workforceIntegrations(): WorkforceIntegrationsRequestBuilder;
/**
* Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Teamwork>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/teamwork-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<TeamworkRequestBuilderGetQueryParameters> | undefined): Promise<Teamwork | undefined>;
/**
* Update teamwork
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Teamwork>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Teamwork, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Teamwork | undefined>;
/**
* Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamworkRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update teamwork
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Teamwork, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.
*/
export interface TeamworkRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TeamworkRequestBuilderUriTemplate = "{+baseurl}/teamwork{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const TeamworkRequestBuilderNavigationMetadata: Record<Exclude<keyof TeamworkRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const TeamworkRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map