{"version":3,"file":"test_run_service.client.cjs","names":["_transport: RpcTransport","TestRunService"],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/test_run_service.proto\" (package \"tusk.drift.backend.v1\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { TestRunService } from \"./test_run_service\";\nimport type { GetGlobalSpansByIdsResponse } from \"./test_run_service\";\nimport type { GetGlobalSpansByIdsRequest } from \"./test_run_service\";\nimport type { GetAllGlobalSpanIdsResponse } from \"./test_run_service\";\nimport type { GetAllGlobalSpanIdsRequest } from \"./test_run_service\";\nimport type { GetPreAppStartSpansByIdsResponse } from \"./test_run_service\";\nimport type { GetPreAppStartSpansByIdsRequest } from \"./test_run_service\";\nimport type { GetAllPreAppStartSpanIdsResponse } from \"./test_run_service\";\nimport type { GetAllPreAppStartSpanIdsRequest } from \"./test_run_service\";\nimport type { GetTraceTestsByIdsResponse } from \"./test_run_service\";\nimport type { GetTraceTestsByIdsRequest } from \"./test_run_service\";\nimport type { GetAllTraceTestIdsResponse } from \"./test_run_service\";\nimport type { GetAllTraceTestIdsRequest } from \"./test_run_service\";\nimport type { GetValidationTraceTestsResponse } from \"./test_run_service\";\nimport type { GetValidationTraceTestsRequest } from \"./test_run_service\";\nimport type { UpdateDriftRunCIStatusResponse } from \"./test_run_service\";\nimport type { UpdateDriftRunCIStatusRequest } from \"./test_run_service\";\nimport type { UploadTraceTestResultsResponse } from \"./test_run_service\";\nimport type { UploadTraceTestResultsRequest } from \"./test_run_service\";\nimport type { GetTraceTestResponse } from \"./test_run_service\";\nimport type { GetTraceTestRequest } from \"./test_run_service\";\nimport type { GetAllTraceTestsResponse } from \"./test_run_service\";\nimport type { GetAllTraceTestsRequest } from \"./test_run_service\";\nimport type { GetDriftRunTraceTestsResponse } from \"./test_run_service\";\nimport type { GetDriftRunTraceTestsRequest } from \"./test_run_service\";\nimport type { CreateDriftRunResponse } from \"./test_run_service\";\nimport type { CreateDriftRunRequest } from \"./test_run_service\";\nimport type { GetPreAppStartSpansResponse } from \"./test_run_service\";\nimport type { GetPreAppStartSpansRequest } from \"./test_run_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetGlobalSpansResponse } from \"./test_run_service\";\nimport type { GetGlobalSpansRequest } from \"./test_run_service\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service tusk.drift.backend.v1.TestRunService\n */\nexport interface ITestRunServiceClient {\n    /**\n     * Get global spans - spans that can be used across all tests\n     * e.g. outbound span to a jwks endpoint that may not be present in all traces\n     * we're replaying\n     *\n     * @generated from protobuf rpc: GetGlobalSpans\n     */\n    getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;\n    /**\n     * Get pre-app start spans - used to mock pre-app start spans\n     *\n     * @generated from protobuf rpc: GetPreAppStartSpans\n     */\n    getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;\n    /**\n     * Create drift run in BE, also upserts commit and PR info\n     *\n     * @generated from protobuf rpc: CreateDriftRun\n     */\n    createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;\n    /**\n     * Get all trace tests for a drift run\n     *\n     * @generated from protobuf rpc: GetDriftRunTraceTests\n     */\n    getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;\n    /**\n     * Get all trace tests in test suite\n     *\n     * @generated from protobuf rpc: GetAllTraceTests\n     */\n    getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;\n    /**\n     * Get a single trace test\n     *\n     * @generated from protobuf rpc: GetTraceTest\n     */\n    getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;\n    /**\n     * Upload trace test results to BE\n     *\n     * @generated from protobuf rpc: UploadTraceTestResults\n     */\n    uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;\n    /**\n     * Allows CLI to indicate to backend that it's done running trace tests\n     * This can also allow CLI to send a heartbeat to indicate it's still running\n     *\n     * @generated from protobuf rpc: UpdateDriftRunCIStatus\n     */\n    updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;\n    // We were initially thinking we'd need GetDriftRunTestResults or\n    // GetDriftRunTestStatus Since CI may wait for trace test results to be\n    // uploaded and classified before exiting However, for now CI will just exit\n    // with success if the tests were able to be run\n\n    // Suite validation RPCs - used for validating traces on main branch\n\n    /**\n     * Get all traces for validation (both DRAFT and IN_SUITE)\n     *\n     * @generated from protobuf rpc: GetValidationTraceTests\n     */\n    getValidationTraceTests(input: GetValidationTraceTestsRequest, options?: RpcOptions): UnaryCall<GetValidationTraceTestsRequest, GetValidationTraceTestsResponse>;\n    // Cache-friendly APIs for efficient trace syncing\n\n    /**\n     * Get all trace test IDs for a service (lightweight, no pagination needed)\n     *\n     * @generated from protobuf rpc: GetAllTraceTestIds\n     */\n    getAllTraceTestIds(input: GetAllTraceTestIdsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestIdsRequest, GetAllTraceTestIdsResponse>;\n    /**\n     * Get trace tests by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetTraceTestsByIds\n     */\n    getTraceTestsByIds(input: GetTraceTestsByIdsRequest, options?: RpcOptions): UnaryCall<GetTraceTestsByIdsRequest, GetTraceTestsByIdsResponse>;\n    /**\n     * Get all pre-app-start span IDs for a service (lightweight, for cache diffing)\n     *\n     * @generated from protobuf rpc: GetAllPreAppStartSpanIds\n     */\n    getAllPreAppStartSpanIds(input: GetAllPreAppStartSpanIdsRequest, options?: RpcOptions): UnaryCall<GetAllPreAppStartSpanIdsRequest, GetAllPreAppStartSpanIdsResponse>;\n    /**\n     * Get pre-app-start spans by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetPreAppStartSpansByIds\n     */\n    getPreAppStartSpansByIds(input: GetPreAppStartSpansByIdsRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansByIdsRequest, GetPreAppStartSpansByIdsResponse>;\n    /**\n     * Get all global span IDs for a service (lightweight, for cache diffing)\n     *\n     * @generated from protobuf rpc: GetAllGlobalSpanIds\n     */\n    getAllGlobalSpanIds(input: GetAllGlobalSpanIdsRequest, options?: RpcOptions): UnaryCall<GetAllGlobalSpanIdsRequest, GetAllGlobalSpanIdsResponse>;\n    /**\n     * Get global spans by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetGlobalSpansByIds\n     */\n    getGlobalSpansByIds(input: GetGlobalSpansByIdsRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansByIdsRequest, GetGlobalSpansByIdsResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.TestRunService\n */\nexport class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {\n    typeName = TestRunService.typeName;\n    methods = TestRunService.methods;\n    options = TestRunService.options;\n    constructor(private readonly _transport: RpcTransport) {\n    }\n    /**\n     * Get global spans - spans that can be used across all tests\n     * e.g. outbound span to a jwks endpoint that may not be present in all traces\n     * we're replaying\n     *\n     * @generated from protobuf rpc: GetGlobalSpans\n     */\n    getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse> {\n        const method = this.methods[0], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetGlobalSpansRequest, GetGlobalSpansResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get pre-app start spans - used to mock pre-app start spans\n     *\n     * @generated from protobuf rpc: GetPreAppStartSpans\n     */\n    getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse> {\n        const method = this.methods[1], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Create drift run in BE, also upserts commit and PR info\n     *\n     * @generated from protobuf rpc: CreateDriftRun\n     */\n    createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse> {\n        const method = this.methods[2], opt = this._transport.mergeOptions(options);\n        return stackIntercept<CreateDriftRunRequest, CreateDriftRunResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get all trace tests for a drift run\n     *\n     * @generated from protobuf rpc: GetDriftRunTraceTests\n     */\n    getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse> {\n        const method = this.methods[3], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get all trace tests in test suite\n     *\n     * @generated from protobuf rpc: GetAllTraceTests\n     */\n    getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse> {\n        const method = this.methods[4], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetAllTraceTestsRequest, GetAllTraceTestsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get a single trace test\n     *\n     * @generated from protobuf rpc: GetTraceTest\n     */\n    getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse> {\n        const method = this.methods[5], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetTraceTestRequest, GetTraceTestResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Upload trace test results to BE\n     *\n     * @generated from protobuf rpc: UploadTraceTestResults\n     */\n    uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse> {\n        const method = this.methods[6], opt = this._transport.mergeOptions(options);\n        return stackIntercept<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Allows CLI to indicate to backend that it's done running trace tests\n     * This can also allow CLI to send a heartbeat to indicate it's still running\n     *\n     * @generated from protobuf rpc: UpdateDriftRunCIStatus\n     */\n    updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse> {\n        const method = this.methods[7], opt = this._transport.mergeOptions(options);\n        return stackIntercept<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    // We were initially thinking we'd need GetDriftRunTestResults or\n    // GetDriftRunTestStatus Since CI may wait for trace test results to be\n    // uploaded and classified before exiting However, for now CI will just exit\n    // with success if the tests were able to be run\n\n    // Suite validation RPCs - used for validating traces on main branch\n\n    /**\n     * Get all traces for validation (both DRAFT and IN_SUITE)\n     *\n     * @generated from protobuf rpc: GetValidationTraceTests\n     */\n    getValidationTraceTests(input: GetValidationTraceTestsRequest, options?: RpcOptions): UnaryCall<GetValidationTraceTestsRequest, GetValidationTraceTestsResponse> {\n        const method = this.methods[8], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetValidationTraceTestsRequest, GetValidationTraceTestsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    // Cache-friendly APIs for efficient trace syncing\n\n    /**\n     * Get all trace test IDs for a service (lightweight, no pagination needed)\n     *\n     * @generated from protobuf rpc: GetAllTraceTestIds\n     */\n    getAllTraceTestIds(input: GetAllTraceTestIdsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestIdsRequest, GetAllTraceTestIdsResponse> {\n        const method = this.methods[9], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetAllTraceTestIdsRequest, GetAllTraceTestIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get trace tests by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetTraceTestsByIds\n     */\n    getTraceTestsByIds(input: GetTraceTestsByIdsRequest, options?: RpcOptions): UnaryCall<GetTraceTestsByIdsRequest, GetTraceTestsByIdsResponse> {\n        const method = this.methods[10], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetTraceTestsByIdsRequest, GetTraceTestsByIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get all pre-app-start span IDs for a service (lightweight, for cache diffing)\n     *\n     * @generated from protobuf rpc: GetAllPreAppStartSpanIds\n     */\n    getAllPreAppStartSpanIds(input: GetAllPreAppStartSpanIdsRequest, options?: RpcOptions): UnaryCall<GetAllPreAppStartSpanIdsRequest, GetAllPreAppStartSpanIdsResponse> {\n        const method = this.methods[11], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetAllPreAppStartSpanIdsRequest, GetAllPreAppStartSpanIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get pre-app-start spans by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetPreAppStartSpansByIds\n     */\n    getPreAppStartSpansByIds(input: GetPreAppStartSpansByIdsRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansByIdsRequest, GetPreAppStartSpansByIdsResponse> {\n        const method = this.methods[12], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetPreAppStartSpansByIdsRequest, GetPreAppStartSpansByIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get all global span IDs for a service (lightweight, for cache diffing)\n     *\n     * @generated from protobuf rpc: GetAllGlobalSpanIds\n     */\n    getAllGlobalSpanIds(input: GetAllGlobalSpanIdsRequest, options?: RpcOptions): UnaryCall<GetAllGlobalSpanIdsRequest, GetAllGlobalSpanIdsResponse> {\n        const method = this.methods[13], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetAllGlobalSpanIdsRequest, GetAllGlobalSpanIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get global spans by their IDs (batch fetch)\n     *\n     * @generated from protobuf rpc: GetGlobalSpansByIds\n     */\n    getGlobalSpansByIds(input: GetGlobalSpansByIdsRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansByIdsRequest, GetGlobalSpansByIdsResponse> {\n        const method = this.methods[14], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetGlobalSpansByIdsRequest, GetGlobalSpansByIdsResponse>(\"unary\", this._transport, method, opt, input);\n    }\n}\n"],"mappings":";;;;;;;;;;;;;;AAqJA,IAAa,uBAAb,MAAgF;CAI5E,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAWC,wCAAe;OAC1B,UAAUA,wCAAe;OACzB,UAAUA,wCAAe;;;;;;;;;CAUzB,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,oBAAoB,OAAmC,SAA0F;EAC7I,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOhI,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,W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