UNPKG

@microsoft/msgraph-beta-sdk-communications

Version:
28 lines 2.67 kB
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the keepAlive method. */ export interface KeepAliveRequestBuilder extends BaseRequestBuilder<KeepAliveRequestBuilder> { /** * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. * @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 * @see {@link https://learn.microsoft.com/graph/api/call-keepalive?view=graph-rest-beta|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and ends. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that ended results in a 404 Not Found error. The resources related to the call should be cleaned up on the application side. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const KeepAliveRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/keepAlive"; /** * Metadata for all the requests in the request builder. */ export declare const KeepAliveRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map