@microsoft/msgraph-sdk-sites
Version:
Sites fluent API for Microsoft Graph
175 lines • 8.98 kB
TypeScript
import { type Site } from '@microsoft/msgraph-sdk/models/index.js';
import { type AnalyticsRequestBuilder } from './analytics/index.js';
import { type ColumnsRequestBuilder } from './columns/index.js';
import { type ContentTypesRequestBuilder } from './contentTypes/index.js';
import { type CreatedByUserRequestBuilder } from './createdByUser/index.js';
import { type DriveRequestBuilder } from './drive/index.js';
import { type DrivesRequestBuilder } from './drives/index.js';
import { type ExternalColumnsRequestBuilder } from './externalColumns/index.js';
import { type GetActivitiesByIntervalRequestBuilder } from './getActivitiesByInterval/index.js';
import { type GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder } from './getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.js';
import { type GetApplicableContentTypesForListWithListIdRequestBuilder } from './getApplicableContentTypesForListWithListId/index.js';
import { type GetByPathWithPathRequestBuilder } from './getByPathWithPath/index.js';
import { type ItemsRequestBuilder } from './items/index.js';
import { type LastModifiedByUserRequestBuilder } from './lastModifiedByUser/index.js';
import { type ListsRequestBuilder } from './lists/index.js';
import { type OnenoteRequestBuilder } from './onenote/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type PagesRequestBuilder } from './pages/index.js';
import { type PermissionsRequestBuilder } from './permissions/index.js';
import { type SitesRequestBuilder } from './sites/index.js';
import { type TermStoreRequestBuilder } from './termStore/index.js';
import { type TermStoresRequestBuilder } from './termStores/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the collection of site entities.
*/
export interface SiteItemRequestBuilder extends BaseRequestBuilder<SiteItemRequestBuilder> {
/**
* Provides operations to manage the analytics property of the microsoft.graph.site entity.
*/
get analytics(): AnalyticsRequestBuilder;
/**
* Provides operations to manage the columns property of the microsoft.graph.site entity.
*/
get columns(): ColumnsRequestBuilder;
/**
* Provides operations to manage the contentTypes property of the microsoft.graph.site entity.
*/
get contentTypes(): ContentTypesRequestBuilder;
/**
* Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.
*/
get createdByUser(): CreatedByUserRequestBuilder;
/**
* Provides operations to manage the drive property of the microsoft.graph.site entity.
*/
get drive(): DriveRequestBuilder;
/**
* Provides operations to manage the drives property of the microsoft.graph.site entity.
*/
get drives(): DrivesRequestBuilder;
/**
* Provides operations to manage the externalColumns property of the microsoft.graph.site entity.
*/
get externalColumns(): ExternalColumnsRequestBuilder;
/**
* Provides operations to call the getActivitiesByInterval method.
*/
get getActivitiesByInterval(): GetActivitiesByIntervalRequestBuilder;
/**
* Provides operations to manage the items property of the microsoft.graph.site entity.
*/
get items(): ItemsRequestBuilder;
/**
* Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.
*/
get lastModifiedByUser(): LastModifiedByUserRequestBuilder;
/**
* Provides operations to manage the lists property of the microsoft.graph.site entity.
*/
get lists(): ListsRequestBuilder;
/**
* Provides operations to manage the onenote property of the microsoft.graph.site entity.
*/
get onenote(): OnenoteRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.site entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the pages property of the microsoft.graph.site entity.
*/
get pages(): PagesRequestBuilder;
/**
* Provides operations to manage the permissions property of the microsoft.graph.site entity.
*/
get permissions(): PermissionsRequestBuilder;
/**
* Provides operations to manage the sites property of the microsoft.graph.site entity.
*/
get sites(): SitesRequestBuilder;
/**
* Provides operations to manage the termStore property of the microsoft.graph.site entity.
*/
get termStore(): TermStoreRequestBuilder;
/**
* Provides operations to manage the termStores property of the microsoft.graph.site entity.
*/
get termStores(): TermStoresRequestBuilder;
/**
* Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Site>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/site-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<SiteItemRequestBuilderGetQueryParameters> | undefined): Promise<Site | undefined>;
/**
* Provides operations to call the getActivitiesByInterval method.
* @param endDateTime Usage: endDateTime='{endDateTime}'
* @param interval Usage: interval='{interval}'
* @param startDateTime Usage: startDateTime='{startDateTime}'
* @returns {GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder}
*/
getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(endDateTime: string | undefined, interval: string | undefined, startDateTime: string | undefined): GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder;
/**
* Provides operations to call the getApplicableContentTypesForList method.
* @param listId Usage: listId='{listId}'
* @returns {GetApplicableContentTypesForListWithListIdRequestBuilder}
*/
getApplicableContentTypesForListWithListId(listId: string | undefined): GetApplicableContentTypesForListWithListIdRequestBuilder;
/**
* Provides operations to call the getByPath method.
* @param path Usage: path='{path}'
* @returns {GetByPathWithPathRequestBuilder}
*/
getByPathWithPath(path: string | undefined): GetByPathWithPathRequestBuilder;
/**
* Update entity in sites
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Site>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Site, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Site | undefined>;
/**
* Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SiteItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update entity in sites
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Site, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.
*/
export interface SiteItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SiteItemRequestBuilderUriTemplate = "{+baseurl}/sites/{site%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const SiteItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SiteItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const SiteItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map