@microsoft/msgraph-beta-sdk-organization
Version:
Organization fluent API for Microsoft Graph
69 lines • 3.69 kB
TypeScript
import { type PartnerInformation } 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 partnerInformation property of the microsoft.graph.organization entity.
*/
export interface PartnerInformationRequestBuilder extends BaseRequestBuilder<PartnerInformationRequestBuilder> {
/**
* Delete navigation property partnerInformation for organization
* @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
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get partnerInformation from organization
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PartnerInformation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PartnerInformationRequestBuilderGetQueryParameters> | undefined): Promise<PartnerInformation | undefined>;
/**
* Update the navigation property partnerInformation in organization
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PartnerInformation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: PartnerInformation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PartnerInformation | undefined>;
/**
* Delete navigation property partnerInformation for organization
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get partnerInformation from organization
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PartnerInformationRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property partnerInformation in organization
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PartnerInformation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get partnerInformation from organization
*/
export interface PartnerInformationRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PartnerInformationRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/partnerInformation{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const PartnerInformationRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map