UNPKG

@microsoft/msgraph-beta-sdk-print

Version:
44 lines 2.4 kB
import { type Printer } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the printer property of the microsoft.graph.printerShare entity. */ export interface PrinterRequestBuilder extends BaseRequestBuilder<PrinterRequestBuilder> { /** * The printer that this printer share is related to. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Printer>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 */ get(requestConfiguration?: RequestConfiguration<PrinterRequestBuilderGetQueryParameters> | undefined): Promise<Printer | undefined>; /** * The printer that this printer share is related to. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation 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<PrinterRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * The printer that this printer share is related to. */ export interface PrinterRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PrinterRequestBuilderUriTemplate = "{+baseurl}/print/printerShares/{printerShare%2Did}/printer{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const PrinterRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map