@microsoft/msgraph-beta-sdk-compliance
Version:
Compliance fluent API for Microsoft Graph
142 lines • 10.8 kB
TypeScript
import { type CaseEscaped } from '@microsoft/msgraph-beta-sdk/models/ediscovery/index.js';
import { type CustodiansRequestBuilder } from './custodians/index.js';
import { type LegalHoldsRequestBuilder } from './legalHolds/index.js';
import { type MicrosoftGraphEdiscoveryCloseRequestBuilder } from './microsoftGraphEdiscoveryClose/index.js';
import { type MicrosoftGraphEdiscoveryReopenRequestBuilder } from './microsoftGraphEdiscoveryReopen/index.js';
import { type NoncustodialDataSourcesRequestBuilder } from './noncustodialDataSources/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type ReviewSetsRequestBuilder } from './reviewSets/index.js';
import { type SettingsRequestBuilder } from './settings/index.js';
import { type SourceCollectionsRequestBuilder } from './sourceCollections/index.js';
import { type TagsRequestBuilder } from './tags/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the cases property of the microsoft.graph.ediscovery.ediscoveryroot entity.
*/
export interface CaseItemRequestBuilder extends BaseRequestBuilder<CaseItemRequestBuilder> {
/**
* Provides operations to manage the custodians property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get custodians(): CustodiansRequestBuilder;
/**
* Provides operations to manage the legalHolds property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get legalHolds(): LegalHoldsRequestBuilder;
/**
* Provides operations to call the close method.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get microsoftGraphEdiscoveryClose(): MicrosoftGraphEdiscoveryCloseRequestBuilder;
/**
* Provides operations to call the reopen method.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get microsoftGraphEdiscoveryReopen(): MicrosoftGraphEdiscoveryReopenRequestBuilder;
/**
* Provides operations to manage the noncustodialDataSources property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get noncustodialDataSources(): NoncustodialDataSourcesRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the reviewSets property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get reviewSets(): ReviewSetsRequestBuilder;
/**
* Provides operations to manage the settings property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get settings(): SettingsRequestBuilder;
/**
* Provides operations to manage the sourceCollections property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get sourceCollections(): SourceCollectionsRequestBuilder;
/**
* Provides operations to manage the tags property of the microsoft.graph.ediscovery.case entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get tags(): TagsRequestBuilder;
/**
* Delete a case object.
* @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
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
* @see {@link https://learn.microsoft.com/graph/api/ediscovery-case-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Retrieve the properties and relationships of a case object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CaseEscaped>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
* @see {@link https://learn.microsoft.com/graph/api/ediscovery-case-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CaseItemRequestBuilderGetQueryParameters> | undefined): Promise<CaseEscaped | undefined>;
/**
* Update the properties of a case object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CaseEscaped>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
* @see {@link https://learn.microsoft.com/graph/api/ediscovery-case-update?view=graph-rest-beta|Find more info here}
*/
patch(body: CaseEscaped, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CaseEscaped | undefined>;
/**
* Delete a case object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Retrieve the properties and relationships of a case object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CaseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of a case object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toPatchRequestInformation(body: CaseEscaped, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Retrieve the properties and relationships of a case object.
*/
export interface CaseItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CaseItemRequestBuilderUriTemplate = "{+baseurl}/compliance/ediscovery/cases/{case%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const CaseItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CaseItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const CaseItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map