@microsoft/msgraph-beta-sdk-print
Version:
Print fluent API for Microsoft Graph
96 lines • 4.4 kB
TypeScript
import { type Print } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ConnectorsRequestBuilder } from './connectors/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type PrintersRequestBuilder } from './printers/index.js';
import { type PrinterSharesRequestBuilder } from './printerShares/index.js';
import { type ServicesRequestBuilder } from './services/index.js';
import { type SharesRequestBuilder } from './shares/index.js';
import { type TaskDefinitionsRequestBuilder } from './taskDefinitions/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the print singleton.
*/
export interface PrintRequestBuilder extends BaseRequestBuilder<PrintRequestBuilder> {
/**
* Provides operations to manage the connectors property of the microsoft.graph.print entity.
*/
get connectors(): ConnectorsRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.print entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the printers property of the microsoft.graph.print entity.
*/
get printers(): PrintersRequestBuilder;
/**
* Provides operations to manage the printerShares property of the microsoft.graph.print entity.
*/
get printerShares(): PrinterSharesRequestBuilder;
/**
* Provides operations to manage the services property of the microsoft.graph.print entity.
*/
get services(): ServicesRequestBuilder;
/**
* Provides operations to manage the shares property of the microsoft.graph.print entity.
*/
get shares(): SharesRequestBuilder;
/**
* Provides operations to manage the taskDefinitions property of the microsoft.graph.print entity.
*/
get taskDefinitions(): TaskDefinitionsRequestBuilder;
/**
* Get print
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Print>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PrintRequestBuilderGetQueryParameters> | undefined): Promise<Print | undefined>;
/**
* Update print
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Print>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Print, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Print | undefined>;
/**
* Get print
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update print
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Print, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get print
*/
export interface PrintRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PrintRequestBuilderUriTemplate = "{+baseurl}/print{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PrintRequestBuilderNavigationMetadata: Record<Exclude<keyof PrintRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PrintRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map