@microsoft/msgraph-beta-sdk-groups
Version:
Groups fluent API for Microsoft Graph
138 lines • 6.92 kB
TypeScript
import { type Channel } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AllMembersRequestBuilder } from './allMembers/index.js';
import { type ArchiveRequestBuilder } from './archive/index.js';
import { type CompleteMigrationRequestBuilder } from './completeMigration/index.js';
import { type DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder } from './doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js';
import { type FilesFolderRequestBuilder } from './filesFolder/index.js';
import { type MembersRequestBuilder } from './members/index.js';
import { type MessagesRequestBuilder } from './messages/index.js';
import { type PlannerRequestBuilder } from './planner/index.js';
import { type ProvisionEmailRequestBuilder } from './provisionEmail/index.js';
import { type RemoveEmailRequestBuilder } from './removeEmail/index.js';
import { type SharedWithTeamsRequestBuilder } from './sharedWithTeams/index.js';
import { type TabsRequestBuilder } from './tabs/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 primaryChannel property of the microsoft.graph.team entity.
*/
export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<PrimaryChannelRequestBuilder> {
/**
* Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
*/
get allMembers(): AllMembersRequestBuilder;
/**
* Provides operations to call the archive method.
*/
get archive(): ArchiveRequestBuilder;
/**
* Provides operations to call the completeMigration method.
*/
get completeMigration(): CompleteMigrationRequestBuilder;
/**
* Provides operations to call the doesUserHaveAccess method.
*/
get doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName(): DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder;
/**
* Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.
*/
get filesFolder(): FilesFolderRequestBuilder;
/**
* Provides operations to manage the members property of the microsoft.graph.channel entity.
*/
get members(): MembersRequestBuilder;
/**
* Provides operations to manage the messages property of the microsoft.graph.channel entity.
*/
get messages(): MessagesRequestBuilder;
/**
* Provides operations to manage the planner property of the microsoft.graph.channel entity.
*/
get planner(): PlannerRequestBuilder;
/**
* Provides operations to call the provisionEmail method.
*/
get provisionEmail(): ProvisionEmailRequestBuilder;
/**
* Provides operations to call the removeEmail method.
*/
get removeEmail(): RemoveEmailRequestBuilder;
/**
* Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity.
*/
get sharedWithTeams(): SharedWithTeamsRequestBuilder;
/**
* Provides operations to manage the tabs property of the microsoft.graph.channel entity.
*/
get tabs(): TabsRequestBuilder;
/**
* Provides operations to call the unarchive method.
*/
get unarchive(): UnarchiveRequestBuilder;
/**
* Delete navigation property primaryChannel 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 general channel for the team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Channel>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PrimaryChannelRequestBuilderGetQueryParameters> | undefined): Promise<Channel | undefined>;
/**
* Update the navigation property primaryChannel in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Channel>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Channel | undefined>;
/**
* Delete navigation property primaryChannel 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 general channel for the team.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrimaryChannelRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property primaryChannel in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The general channel for the team.
*/
export interface PrimaryChannelRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PrimaryChannelRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/primaryChannel{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PrimaryChannelRequestBuilderNavigationMetadata: Record<Exclude<keyof PrimaryChannelRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PrimaryChannelRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map