UNPKG

@microsoft/msgraph-sdk-teamwork

Version:
71 lines 3.96 kB
import { type TeamsAppSettings } from '@microsoft/msgraph-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the teamsAppSettings property of the microsoft.graph.teamwork entity. */ export interface TeamsAppSettingsRequestBuilder extends BaseRequestBuilder<TeamsAppSettingsRequestBuilder> { /** * Delete navigation property teamsAppSettings for teamwork * @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>; /** * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TeamsAppSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/teamsappsettings-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<TeamsAppSettingsRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAppSettings | undefined>; /** * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TeamsAppSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/teamsappsettings-update?view=graph-rest-1.0|Find more info here} */ patch(body: TeamsAppSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsAppSettings | undefined>; /** * Delete navigation property teamsAppSettings for teamwork * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsAppSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the tenant-wide teamsAppSettings for all Teams apps in the tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: TeamsAppSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get the tenant-wide teamsAppSettings for all Teams apps in the tenant. */ export interface TeamsAppSettingsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const TeamsAppSettingsRequestBuilderUriTemplate = "{+baseurl}/teamwork/teamsAppSettings{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const TeamsAppSettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map