// Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v2.11.4 // protoc v7.34.0 // source: kyc_gate.proto /* eslint-disable */ import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices"; import { Observable } from "rxjs"; export const protobufPackage = "kyc.v1"; export interface IsWithdrawalAllowedRequest { userId: string; } export interface IsWithdrawalAllowedResponse { allowed: boolean; reason: string; } export const KYC_V1_PACKAGE_NAME = "kyc.v1"; export interface KycGateServiceClient { isWithdrawalAllowed(request: IsWithdrawalAllowedRequest): Observable; } export interface KycGateServiceController { isWithdrawalAllowed( request: IsWithdrawalAllowedRequest, ): Promise | Observable | IsWithdrawalAllowedResponse; } export function KycGateServiceControllerMethods() { return function (constructor: Function) { const grpcMethods: string[] = ["isWithdrawalAllowed"]; for (const method of grpcMethods) { const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method); GrpcMethod("KycGateService", method)(constructor.prototype[method], method, descriptor); } const grpcStreamMethods: string[] = []; for (const method of grpcStreamMethods) { const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method); GrpcStreamMethod("KycGateService", method)(constructor.prototype[method], method, descriptor); } }; } export const KYC_GATE_SERVICE_NAME = "KycGateService";