// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "partnerApp.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { PartnerAppService } from "./partnerApp"; import type { RenewPartnerAppResult } from "./partnerApp"; import type { RenewPartnerAppRequest } from "./partnerApp"; import type { DeletePartnerAppInDBResult } from "./partnerApp"; import type { DeletePartnerAppInDBRequest } from "./partnerApp"; import type { ListPartnerAppsResult } from "./partnerApp"; import type { ListPartnerAppsRequest } from "./partnerApp"; import type { GetPartnerAppResult } from "./partnerApp"; import type { GetPartnerAppRequest } from "./partnerApp"; import type { DeletePartnerAppResult } from "./partnerApp"; import type { DeletePartnerAppRequest } from "./partnerApp"; import type { UpdatePartnerAppResult } from "./partnerApp"; import type { UpdatePartnerAppRequest } from "./partnerApp"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreatePartnerAppResult } from "./partnerApp"; import type { CreatePartnerAppRequest } from "./partnerApp"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.PartnerAppService */ export interface IPartnerAppServiceClient { /** * @generated from protobuf rpc: Create */ create(input: CreatePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdatePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeletePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get */ get(input: GetPartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListPartnerAppsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeletePartnerAppInDB */ deletePartnerAppInDB(input: DeletePartnerAppInDBRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Renew */ renew(input: RenewPartnerAppRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.PartnerAppService */ export class PartnerAppServiceClient implements IPartnerAppServiceClient, ServiceInfo { typeName = PartnerAppService.typeName; methods = PartnerAppService.methods; options = PartnerAppService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Create */ create(input: CreatePartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Update */ update(input: UpdatePartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Delete */ delete(input: DeletePartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Get */ get(input: GetPartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: List */ list(input: ListPartnerAppsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeletePartnerAppInDB */ deletePartnerAppInDB(input: DeletePartnerAppInDBRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Renew */ renew(input: RenewPartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }