{"version":3,"file":"client_service.client.cjs","names":["_transport: RpcTransport","ClientService"],"sources":["../../generated/ts/backend/client_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/client_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 { ClientService } from \"./client_service\";\nimport type { GetObservableServiceInfoResponse } from \"./client_service\";\nimport type { GetObservableServiceInfoRequest } from \"./client_service\";\nimport type { CreateApiKeyResponse } from \"./client_service\";\nimport type { CreateApiKeyRequest } from \"./client_service\";\nimport type { VerifyRepoAccessResponse } from \"./client_service\";\nimport type { VerifyRepoAccessRequest } from \"./client_service\";\nimport type { CreateObservableServiceResponse } from \"./client_service\";\nimport type { CreateObservableServiceRequest } from \"./client_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetAuthInfoResponse } from \"./client_service\";\nimport type { GetAuthInfoRequest } from \"./client_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.ClientService\n */\nexport interface IClientServiceClient {\n    /**\n     * @generated from protobuf rpc: GetAuthInfo\n     */\n    getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;\n    /**\n     * @generated from protobuf rpc: CreateObservableService\n     */\n    createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;\n    /**\n     * @generated from protobuf rpc: VerifyRepoAccess\n     */\n    verifyRepoAccess(input: VerifyRepoAccessRequest, options?: RpcOptions): UnaryCall<VerifyRepoAccessRequest, VerifyRepoAccessResponse>;\n    /**\n     * @generated from protobuf rpc: CreateApiKey\n     */\n    createApiKey(input: CreateApiKeyRequest, options?: RpcOptions): UnaryCall<CreateApiKeyRequest, CreateApiKeyResponse>;\n    /**\n     * Get observable service info including default branch\n     *\n     * @generated from protobuf rpc: GetObservableServiceInfo\n     */\n    getObservableServiceInfo(input: GetObservableServiceInfoRequest, options?: RpcOptions): UnaryCall<GetObservableServiceInfoRequest, GetObservableServiceInfoResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.ClientService\n */\nexport class ClientServiceClient implements IClientServiceClient, ServiceInfo {\n    typeName = ClientService.typeName;\n    methods = ClientService.methods;\n    options = ClientService.options;\n    constructor(private readonly _transport: RpcTransport) {\n    }\n    /**\n     * @generated from protobuf rpc: GetAuthInfo\n     */\n    getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse> {\n        const method = this.methods[0], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetAuthInfoRequest, GetAuthInfoResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * @generated from protobuf rpc: CreateObservableService\n     */\n    createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse> {\n        const method = this.methods[1], opt = this._transport.mergeOptions(options);\n        return stackIntercept<CreateObservableServiceRequest, CreateObservableServiceResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * @generated from protobuf rpc: VerifyRepoAccess\n     */\n    verifyRepoAccess(input: VerifyRepoAccessRequest, options?: RpcOptions): UnaryCall<VerifyRepoAccessRequest, VerifyRepoAccessResponse> {\n        const method = this.methods[2], opt = this._transport.mergeOptions(options);\n        return stackIntercept<VerifyRepoAccessRequest, VerifyRepoAccessResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * @generated from protobuf rpc: CreateApiKey\n     */\n    createApiKey(input: CreateApiKeyRequest, options?: RpcOptions): UnaryCall<CreateApiKeyRequest, CreateApiKeyResponse> {\n        const method = this.methods[3], opt = this._transport.mergeOptions(options);\n        return stackIntercept<CreateApiKeyRequest, CreateApiKeyResponse>(\"unary\", this._transport, method, opt, input);\n    }\n    /**\n     * Get observable service info including default branch\n     *\n     * @generated from protobuf rpc: GetObservableServiceInfo\n     */\n    getObservableServiceInfo(input: GetObservableServiceInfoRequest, options?: RpcOptions): UnaryCall<GetObservableServiceInfoRequest, GetObservableServiceInfoResponse> {\n        const method = this.methods[4], opt = this._transport.mergeOptions(options);\n        return stackIntercept<GetObservableServiceInfoRequest, GetObservableServiceInfoResponse>(\"unary\", this._transport, method, opt, input);\n    }\n}\n"],"mappings":";;;;;;;;;AAiDA,IAAa,sBAAb,MAA8E;CAI1E,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAWC,qCAAc;OACzB,UAAUA,qCAAc;OACxB,UAAUA,qCAAc;;;;;CAMxB,YAAY,OAA2B,SAA0E;EAC7G,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKhH,wBAAwB,OAAuC,SAAkG;EAC7J,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAuF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKxI,iBAAiB,OAAgC,SAAoF;EACjI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAyE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAK1H,aAAa,OAA4B,SAA4E;EACjH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAiE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOlH,yBAAyB,OAAwC,SAAoG;EACjK,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAyF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}