import "../struct-DWOuk3SS.js"; import "../duration-DbFzyNwE.js"; import "../timestamp-D0q8Zt_J.js"; import "../json_schema-dDDndex9.js"; import "../span-6B3QQKY8.js"; import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllGlobalSpanIdsRequest, GetAllGlobalSpanIdsResponse, GetAllPreAppStartSpanIdsRequest, GetAllPreAppStartSpanIdsResponse, GetAllTraceTestIdsRequest, GetAllTraceTestIdsResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansByIdsRequest, GetGlobalSpansByIdsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansByIdsRequest, GetPreAppStartSpansByIdsResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestsByIdsRequest, GetTraceTestsByIdsResponse, GetValidationTraceTestsRequest, GetValidationTraceTestsResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-cAd5MiOG.js"; import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc"; import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc"; import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime"; //#region generated/ts/backend/test_run_service.client.d.ts /** * @generated from protobuf service tusk.drift.backend.v1.TestRunService */ interface ITestRunServiceClient { /** * Get global spans - spans that can be used across all tests * e.g. outbound span to a jwks endpoint that may not be present in all traces * we're replaying * * @generated from protobuf rpc: GetGlobalSpans */ getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall; /** * Get pre-app start spans - used to mock pre-app start spans * * @generated from protobuf rpc: GetPreAppStartSpans */ getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall; /** * Create drift run in BE, also upserts commit and PR info * * @generated from protobuf rpc: CreateDriftRun */ createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall; /** * Get all trace tests for a drift run * * @generated from protobuf rpc: GetDriftRunTraceTests */ getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get all trace tests in test suite * * @generated from protobuf rpc: GetAllTraceTests */ getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get a single trace test * * @generated from protobuf rpc: GetTraceTest */ getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall; /** * Upload trace test results to BE * * @generated from protobuf rpc: UploadTraceTestResults */ uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall; /** * Allows CLI to indicate to backend that it's done running trace tests * This can also allow CLI to send a heartbeat to indicate it's still running * * @generated from protobuf rpc: UpdateDriftRunCIStatus */ updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall; /** * Get all traces for validation (both DRAFT and IN_SUITE) * * @generated from protobuf rpc: GetValidationTraceTests */ getValidationTraceTests(input: GetValidationTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get all trace test IDs for a service (lightweight, no pagination needed) * * @generated from protobuf rpc: GetAllTraceTestIds */ getAllTraceTestIds(input: GetAllTraceTestIdsRequest, options?: RpcOptions): UnaryCall; /** * Get trace tests by their IDs (batch fetch) * * @generated from protobuf rpc: GetTraceTestsByIds */ getTraceTestsByIds(input: GetTraceTestsByIdsRequest, options?: RpcOptions): UnaryCall; /** * Get all pre-app-start span IDs for a service (lightweight, for cache diffing) * * @generated from protobuf rpc: GetAllPreAppStartSpanIds */ getAllPreAppStartSpanIds(input: GetAllPreAppStartSpanIdsRequest, options?: RpcOptions): UnaryCall; /** * Get pre-app-start spans by their IDs (batch fetch) * * @generated from protobuf rpc: GetPreAppStartSpansByIds */ getPreAppStartSpansByIds(input: GetPreAppStartSpansByIdsRequest, options?: RpcOptions): UnaryCall; /** * Get all global span IDs for a service (lightweight, for cache diffing) * * @generated from protobuf rpc: GetAllGlobalSpanIds */ getAllGlobalSpanIds(input: GetAllGlobalSpanIdsRequest, options?: RpcOptions): UnaryCall; /** * Get global spans by their IDs (batch fetch) * * @generated from protobuf rpc: GetGlobalSpansByIds */ getGlobalSpansByIds(input: GetGlobalSpansByIdsRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service tusk.drift.backend.v1.TestRunService */ declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo { private readonly _transport; typeName: string; methods: _protobuf_ts_runtime_rpc1.MethodInfo[]; options: { [extensionName: string]: _protobuf_ts_runtime1.JsonValue; }; constructor(_transport: RpcTransport); /** * Get global spans - spans that can be used across all tests * e.g. outbound span to a jwks endpoint that may not be present in all traces * we're replaying * * @generated from protobuf rpc: GetGlobalSpans */ getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall; /** * Get pre-app start spans - used to mock pre-app start spans * * @generated from protobuf rpc: GetPreAppStartSpans */ getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall; /** * Create drift run in BE, also upserts commit and PR info * * @generated from protobuf rpc: CreateDriftRun */ createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall; /** * Get all trace tests for a drift run * * @generated from protobuf rpc: GetDriftRunTraceTests */ getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get all trace tests in test suite * * @generated from protobuf rpc: GetAllTraceTests */ getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get a single trace test * * @generated from protobuf rpc: GetTraceTest */ getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall; /** * Upload trace test results to BE * * @generated from protobuf rpc: UploadTraceTestResults */ uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall; /** * Allows CLI to indicate to backend that it's done running trace tests * This can also allow CLI to send a heartbeat to indicate it's still running * * @generated from protobuf rpc: UpdateDriftRunCIStatus */ updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall; /** * Get all traces for validation (both DRAFT and IN_SUITE) * * @generated from protobuf rpc: GetValidationTraceTests */ getValidationTraceTests(input: GetValidationTraceTestsRequest, options?: RpcOptions): UnaryCall; /** * Get all trace test IDs for a service (lightweight, no pagination needed) * * @generated from protobuf rpc: GetAllTraceTestIds */ getAllTraceTestIds(input: GetAllTraceTestIdsRequest, options?: RpcOptions): UnaryCall; /** * Get trace tests by their IDs (batch fetch) * * @generated from protobuf rpc: GetTraceTestsByIds */ getTraceTestsByIds(input: GetTraceTestsByIdsRequest, options?: RpcOptions): UnaryCall; /** * Get all pre-app-start span IDs for a service (lightweight, for cache diffing) * * @generated from protobuf rpc: GetAllPreAppStartSpanIds */ getAllPreAppStartSpanIds(input: GetAllPreAppStartSpanIdsRequest, options?: RpcOptions): UnaryCall; /** * Get pre-app-start spans by their IDs (batch fetch) * * @generated from protobuf rpc: GetPreAppStartSpansByIds */ getPreAppStartSpansByIds(input: GetPreAppStartSpansByIdsRequest, options?: RpcOptions): UnaryCall; /** * Get all global span IDs for a service (lightweight, for cache diffing) * * @generated from protobuf rpc: GetAllGlobalSpanIds */ getAllGlobalSpanIds(input: GetAllGlobalSpanIdsRequest, options?: RpcOptions): UnaryCall; /** * Get global spans by their IDs (batch fetch) * * @generated from protobuf rpc: GetGlobalSpansByIds */ getGlobalSpansByIds(input: GetGlobalSpansByIdsRequest, options?: RpcOptions): UnaryCall; } //#endregion export { ITestRunServiceClient, TestRunServiceClient }; //# sourceMappingURL=test_run_service.client.d.ts.map