@microsoft/msgraph-sdk-teams
Version:
Teams fluent API for Microsoft Graph
165 lines • 7.94 kB
TypeScript
import { type Team } from '@microsoft/msgraph-sdk/models/index.js';
import { type AllChannelsRequestBuilder } from './allChannels/index.js';
import { type ArchiveRequestBuilder } from './archive/index.js';
import { type ChannelsRequestBuilder } from './channels/index.js';
import { type CloneRequestBuilder } from './clone/index.js';
import { type CompleteMigrationRequestBuilder } from './completeMigration/index.js';
import { type GroupRequestBuilder } from './group/index.js';
import { type IncomingChannelsRequestBuilder } from './incomingChannels/index.js';
import { type InstalledAppsRequestBuilder } from './installedApps/index.js';
import { type MembersRequestBuilder } from './members/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type PermissionGrantsRequestBuilder } from './permissionGrants/index.js';
import { type PhotoRequestBuilder } from './photo/index.js';
import { type PrimaryChannelRequestBuilder } from './primaryChannel/index.js';
import { type ScheduleRequestBuilder } from './schedule/index.js';
import { type SendActivityNotificationRequestBuilder } from './sendActivityNotification/index.js';
import { type TagsRequestBuilder } from './tags/index.js';
import { type TemplateRequestBuilder } from './template/index.js';
import { type UnarchiveRequestBuilder } from './unarchive/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the collection of team entities.
*/
export interface TeamItemRequestBuilder extends BaseRequestBuilder<TeamItemRequestBuilder> {
/**
* Provides operations to manage the allChannels property of the microsoft.graph.team entity.
*/
get allChannels(): AllChannelsRequestBuilder;
/**
* Provides operations to call the archive method.
*/
get archive(): ArchiveRequestBuilder;
/**
* Provides operations to manage the channels property of the microsoft.graph.team entity.
*/
get channels(): ChannelsRequestBuilder;
/**
* Provides operations to call the clone method.
*/
get clone(): CloneRequestBuilder;
/**
* Provides operations to call the completeMigration method.
*/
get completeMigration(): CompleteMigrationRequestBuilder;
/**
* Provides operations to manage the group property of the microsoft.graph.team entity.
*/
get group(): GroupRequestBuilder;
/**
* Provides operations to manage the incomingChannels property of the microsoft.graph.team entity.
*/
get incomingChannels(): IncomingChannelsRequestBuilder;
/**
* Provides operations to manage the installedApps property of the microsoft.graph.team entity.
*/
get installedApps(): InstalledAppsRequestBuilder;
/**
* Provides operations to manage the members property of the microsoft.graph.team entity.
*/
get members(): MembersRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.team entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the permissionGrants property of the microsoft.graph.team entity.
*/
get permissionGrants(): PermissionGrantsRequestBuilder;
/**
* Provides operations to manage the photo property of the microsoft.graph.team entity.
*/
get photo(): PhotoRequestBuilder;
/**
* Provides operations to manage the primaryChannel property of the microsoft.graph.team entity.
*/
get primaryChannel(): PrimaryChannelRequestBuilder;
/**
* Provides operations to manage the schedule property of the microsoft.graph.team entity.
*/
get schedule(): ScheduleRequestBuilder;
/**
* Provides operations to call the sendActivityNotification method.
*/
get sendActivityNotification(): SendActivityNotificationRequestBuilder;
/**
* Provides operations to manage the tags property of the microsoft.graph.team entity.
*/
get tags(): TagsRequestBuilder;
/**
* Provides operations to manage the template property of the microsoft.graph.team entity.
*/
get template(): TemplateRequestBuilder;
/**
* Provides operations to call the unarchive method.
*/
get unarchive(): UnarchiveRequestBuilder;
/**
* Delete entity from teams
* @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>;
/**
* Retrieve the properties and relationships of the specified team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Team>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/team-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<TeamItemRequestBuilderGetQueryParameters> | undefined): Promise<Team | undefined>;
/**
* Update the properties of the specified team.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Team>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/team-update?view=graph-rest-1.0|Find more info here}
*/
patch(body: Team, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Team | undefined>;
/**
* Delete entity from teams
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Retrieve the properties and relationships of the specified team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of the specified team.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Team, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Retrieve the properties and relationships of the specified team.
*/
export interface TeamItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TeamItemRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const TeamItemRequestBuilderNavigationMetadata: Record<Exclude<keyof TeamItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const TeamItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map