import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi"; import { Configuration } from "../../datadog-api-client-common/configuration"; import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http"; import { RUMOperationCreateRequest } from "../models/RUMOperationCreateRequest"; import { RUMOperationResponse } from "../models/RUMOperationResponse"; import { RUMOperationsListResponse } from "../models/RUMOperationsListResponse"; import { RUMOperationStrongLinkCreateRequest } from "../models/RUMOperationStrongLinkCreateRequest"; import { RUMOperationStrongLinkResponse } from "../models/RUMOperationStrongLinkResponse"; import { RUMOperationStrongLinksListResponse } from "../models/RUMOperationStrongLinksListResponse"; import { RUMOperationStrongLinkUpdateRequest } from "../models/RUMOperationStrongLinkUpdateRequest"; import { RUMOperationUpdateRequest } from "../models/RUMOperationUpdateRequest"; export declare class RUMOperationsApiRequestFactory extends BaseAPIRequestFactory { createRUMOperation(body: RUMOperationCreateRequest, _options?: Configuration): Promise; createRUMOperationStrongLink(body: RUMOperationStrongLinkCreateRequest, _options?: Configuration): Promise; deleteRUMOperation(rumOperationId: string, _options?: Configuration): Promise; deleteRUMOperationStrongLink(rumOperationId: string, featureId: string, _options?: Configuration): Promise; getRUMOperation(rumOperationId: string, _options?: Configuration): Promise; getRUMOperationByName(name: string, _options?: Configuration): Promise; listRUMOperations(query?: string, pageOffset?: number, pageLimit?: number, creator?: string, team?: string, featureId?: string, applicationId?: string, _options?: Configuration): Promise; listRUMOperationStrongLinks(operationId?: string, featureId?: string, pageOffset?: number, pageLimit?: number, _options?: Configuration): Promise; updateRUMOperation(rumOperationId: string, body: RUMOperationUpdateRequest, _options?: Configuration): Promise; updateRUMOperationStrongLink(rumOperationId: string, featureId: string, body: RUMOperationStrongLinkUpdateRequest, _options?: Configuration): Promise; } export declare class RUMOperationsApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createRUMOperation * @throws ApiException if the response code was not in [200, 299] */ createRUMOperation(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createRUMOperationStrongLink * @throws ApiException if the response code was not in [200, 299] */ createRUMOperationStrongLink(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteRUMOperation * @throws ApiException if the response code was not in [200, 299] */ deleteRUMOperation(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteRUMOperationStrongLink * @throws ApiException if the response code was not in [200, 299] */ deleteRUMOperationStrongLink(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getRUMOperation * @throws ApiException if the response code was not in [200, 299] */ getRUMOperation(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getRUMOperationByName * @throws ApiException if the response code was not in [200, 299] */ getRUMOperationByName(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listRUMOperations * @throws ApiException if the response code was not in [200, 299] */ listRUMOperations(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listRUMOperationStrongLinks * @throws ApiException if the response code was not in [200, 299] */ listRUMOperationStrongLinks(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateRUMOperation * @throws ApiException if the response code was not in [200, 299] */ updateRUMOperation(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateRUMOperationStrongLink * @throws ApiException if the response code was not in [200, 299] */ updateRUMOperationStrongLink(response: ResponseContext): Promise; } export interface RUMOperationsApiCreateRUMOperationRequest { /** * @type RUMOperationCreateRequest */ body: RUMOperationCreateRequest; } export interface RUMOperationsApiCreateRUMOperationStrongLinkRequest { /** * @type RUMOperationStrongLinkCreateRequest */ body: RUMOperationStrongLinkCreateRequest; } export interface RUMOperationsApiDeleteRUMOperationRequest { /** * The unique identifier of the RUM operation to delete. * @type string */ rumOperationId: string; } export interface RUMOperationsApiDeleteRUMOperationStrongLinkRequest { /** * The unique identifier of the RUM operation. * @type string */ rumOperationId: string; /** * The unique identifier of the feature. * @type string */ featureId: string; } export interface RUMOperationsApiGetRUMOperationRequest { /** * The unique identifier of the RUM operation. * @type string */ rumOperationId: string; } export interface RUMOperationsApiGetRUMOperationByNameRequest { /** * The unique name of the RUM operation. * @type string */ name: string; } export interface RUMOperationsApiListRUMOperationsRequest { /** * A search query to filter operations by name. * @type string */ query?: string; /** * Offset for pagination. * @type number */ pageOffset?: number; /** * Number of items per page. Maximum of 100. * @type number */ pageLimit?: number; /** * Filter operations by the email of their creator. * @type string */ creator?: string; /** * Filter operations by team. Accepts a comma-separated list of teams. * @type string */ team?: string; /** * Filter operations by feature ID. Accepts a comma-separated list of feature IDs. * @type string */ featureId?: string; /** * Filter operations by RUM application ID. * @type string */ applicationId?: string; } export interface RUMOperationsApiListRUMOperationStrongLinksRequest { /** * Filter strong links by RUM operation ID. * @type string */ operationId?: string; /** * Filter strong links by feature ID. * @type string */ featureId?: string; /** * Offset for pagination. * @type number */ pageOffset?: number; /** * Number of items per page. Maximum of 200. * @type number */ pageLimit?: number; } export interface RUMOperationsApiUpdateRUMOperationRequest { /** * The unique identifier of the RUM operation to update. * @type string */ rumOperationId: string; /** * @type RUMOperationUpdateRequest */ body: RUMOperationUpdateRequest; } export interface RUMOperationsApiUpdateRUMOperationStrongLinkRequest { /** * The unique identifier of the RUM operation. * @type string */ rumOperationId: string; /** * The unique identifier of the feature. * @type string */ featureId: string; /** * @type RUMOperationStrongLinkUpdateRequest */ body: RUMOperationStrongLinkUpdateRequest; } export declare class RUMOperationsApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: RUMOperationsApiRequestFactory, responseProcessor?: RUMOperationsApiResponseProcessor); /** * Create a new RUM operation, defining the journey used to detect it from RUM events. * @param param The request object */ createRUMOperation(param: RUMOperationsApiCreateRUMOperationRequest, options?: Configuration): Promise; /** * Create a strong link between a RUM operation and a feature, confirming that the feature * belongs to the operation. The operation can be identified by `operation_id` or `operation_name`; * if `operation_name` does not match an existing operation, a stub operation is created. * @param param The request object */ createRUMOperationStrongLink(param: RUMOperationsApiCreateRUMOperationStrongLinkRequest, options?: Configuration): Promise; /** * Delete a RUM operation. * @param param The request object */ deleteRUMOperation(param: RUMOperationsApiDeleteRUMOperationRequest, options?: Configuration): Promise; /** * Delete the strong link between a RUM operation and a feature. * @param param The request object */ deleteRUMOperationStrongLink(param: RUMOperationsApiDeleteRUMOperationStrongLinkRequest, options?: Configuration): Promise; /** * Retrieve a specific RUM operation by its unique identifier. * @param param The request object */ getRUMOperation(param: RUMOperationsApiGetRUMOperationRequest, options?: Configuration): Promise; /** * Retrieve a specific RUM operation by its unique name. * @param param The request object */ getRUMOperationByName(param: RUMOperationsApiGetRUMOperationByNameRequest, options?: Configuration): Promise; /** * Search RUM operations for your organization. Supports filtering by query, creator, team, feature, and application. * @param param The request object */ listRUMOperations(param?: RUMOperationsApiListRUMOperationsRequest, options?: Configuration): Promise; /** * List strong links between RUM operations and features. A strong link confirms that a feature * belongs to an operation. Provide `operation_id`, `feature_id`, or both to filter results; * at least one is required. * @param param The request object */ listRUMOperationStrongLinks(param?: RUMOperationsApiListRUMOperationStrongLinksRequest, options?: Configuration): Promise; /** * Update an existing RUM operation. Fields omitted from the request body keep their existing value, * with the exception of `journey_rum`, which is required and fully replaced on every update. * @param param The request object */ updateRUMOperation(param: RUMOperationsApiUpdateRUMOperationRequest, options?: Configuration): Promise; /** * Update the status of a strong link between a RUM operation and a feature. * @param param The request object */ updateRUMOperationStrongLink(param: RUMOperationsApiUpdateRUMOperationStrongLinkRequest, options?: Configuration): Promise; }