{"version":3,"file":"communication.client.cjs","names":["_transport: RpcTransport","MockService"],"sources":["../../generated/ts/core/communication.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"core/communication.proto\" (package \"tusk.drift.core.v1\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { MockService } from \"./communication\";\nimport type { SendInboundSpanForReplayResponse } from \"./communication\";\nimport type { SendInboundSpanForReplayRequest } from \"./communication\";\nimport type { GetMockResponse } from \"./communication\";\nimport type { GetMockRequest } from \"./communication\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ConnectResponse } from \"./communication\";\nimport type { ConnectRequest } from \"./communication\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * Generic protocol between CLI and SDK - completely instrumentation-agnostic\n *\n * @generated from protobuf service tusk.drift.core.v1.MockService\n */\nexport interface IMockServiceClient {\n    /**\n     * @generated from protobuf rpc: Connect\n     */\n    connect(input: ConnectRequest, options?: RpcOptions): UnaryCall<ConnectRequest, ConnectResponse>;\n    /**\n     * @generated from protobuf rpc: GetMock\n     */\n    getMock(input: GetMockRequest, options?: RpcOptions): UnaryCall<GetMockRequest, GetMockResponse>;\n    /**\n     * @generated from protobuf rpc: SendInboundSpanForReplay\n     */\n    sendInboundSpanForReplay(input: SendInboundSpanForReplayRequest, options?: RpcOptions): UnaryCall<SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse>;\n}\n/**\n * Generic protocol between CLI and SDK - completely instrumentation-agnostic\n *\n * @generated from protobuf service tusk.drift.core.v1.MockService\n */\nexport class MockServiceClient implements IMockServiceClient, ServiceInfo {\n    typeName = MockService.typeName;\n    methods = MockService.methods;\n    options = MockService.options;\n    constructor(private readonly _transport: RpcTransport) {\n    }\n    /**\n     * @generated from protobuf rpc: Connect\n     */\n    connect(input: ConnectRequest, options?: RpcOptions): UnaryCall<ConnectRequest, ConnectResponse> {\n        const method = this.methods[0], opt = this._transport.mergeOptions(options);\n        return stackIntercept<ConnectRequest, ConnectResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * @generated from protobuf rpc: GetMock\n     */\n    getMock(input: GetMockRequest, options?: RpcOptions): UnaryCall<GetMockRequest, GetMockResponse> {\n        const method = this.methods[1], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetMockRequest, GetMockResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * @generated from protobuf rpc: SendInboundSpanForReplay\n     */\n    sendInboundSpanForReplay(input: SendInboundSpanForReplayRequest, options?: RpcOptions): UnaryCall<SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse> {\n        const method = this.methods[2], opt = this._transport.mergeOptions(options);\n        return stackIntercept<SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse>(\"unary\", this._transport, method, opt, input);\n    }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAuCA,IAAa,oBAAb,MAA0E;CAItE,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAWC,kCAAY;OACvB,UAAUA,kCAAY;OACtB,UAAUA,kCAAY;;;;;CAMtB,QAAQ,OAAuB,SAAkE;EAC7F,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAuD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKxG,QAAQ,OAAuB,SAAkE;EAC7F,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAuD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKxG,yBAAyB,OAAwC,SAAoG;EACjK,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAyF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}