@microsoft/msgraph-beta-sdk-print
Version:
Print fluent API for Microsoft Graph
32 lines • 2.14 kB
TypeScript
import { type PrinterCapabilities } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to call the getCapabilities method.
*/
export interface GetCapabilitiesRequestBuilder extends BaseRequestBuilder<GetCapabilitiesRequestBuilder> {
/**
* Get a list of capabilities for the printer.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PrinterCapabilities>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31
* @see {@link https://learn.microsoft.com/graph/api/printer-getcapabilities?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrinterCapabilities | undefined>;
/**
* Get a list of capabilities for the printer.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const GetCapabilitiesRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/getCapabilities()";
/**
* Metadata for all the requests in the request builder.
*/
export declare const GetCapabilitiesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map