@microsoft/msgraph-beta-sdk-print
Version:
Print fluent API for Microsoft Graph
28 lines • 1.64 kB
TypeScript
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to call the restoreFactoryDefaults method.
*/
export interface RestoreFactoryDefaultsRequestBuilder extends BaseRequestBuilder<RestoreFactoryDefaultsRequestBuilder> {
/**
* Restore a printer's default settings to the values specified by the manufacturer.
* @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/printer-restorefactorydefaults?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Restore a printer's default settings to the values specified by the manufacturer.
* @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 RestoreFactoryDefaultsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/restoreFactoryDefaults";
/**
* Metadata for all the requests in the request builder.
*/
export declare const RestoreFactoryDefaultsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map