@microsoft/msgraph-beta-sdk-compliance
Version:
Compliance fluent API for Microsoft Graph
109 lines • 6.49 kB
TypeScript
import { type CaseOperation, type CaseOperationCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/ediscovery/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type CaseOperationItemRequestBuilder } from './item/index.js';
import { type MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder } from './microsoftGraphEdiscoveryCaseExportOperation/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the operations property of the microsoft.graph.ediscovery.case entity.
*/
export interface OperationsRequestBuilder extends BaseRequestBuilder<OperationsRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
* @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 count(): CountRequestBuilder;
/**
* Casts the previous resource to caseExportOperation.
* @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 microsoftGraphEdiscoveryCaseExportOperation(): MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.ediscovery.case entity.
* @param caseOperationId The unique identifier of caseOperation
* @returns {CaseOperationItemRequestBuilder}
* @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
*/
byCaseOperationId(caseOperationId: string): CaseOperationItemRequestBuilder;
/**
* Returns a list of case operation objects for this case. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CaseOperationCollectionResponse>}
* @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
*/
get(requestConfiguration?: RequestConfiguration<OperationsRequestBuilderGetQueryParameters> | undefined): Promise<CaseOperationCollectionResponse | undefined>;
/**
* Create new navigation property to operations for compliance
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CaseOperation>}
* @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
*/
post(body: CaseOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CaseOperation | undefined>;
/**
* Returns a list of case operation objects for this case. Nullable.
* @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<OperationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to operations for compliance
* @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
*/
toPostRequestInformation(body: CaseOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Returns a list of case operation objects for this case. Nullable.
*/
export interface OperationsRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const OperationsRequestBuilderUriTemplate = "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const OperationsRequestBuilderNavigationMetadata: Record<Exclude<keyof OperationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const OperationsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map