// @generated by protobuf-ts 2.9.6 // @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(api.CreatePartnerAppRequest) returns (api.CreatePartnerAppResult); */ create(input: CreatePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update(api.UpdatePartnerAppRequest) returns (api.UpdatePartnerAppResult); */ update(input: UpdatePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete(api.DeletePartnerAppRequest) returns (api.DeletePartnerAppResult); */ delete(input: DeletePartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get(api.GetPartnerAppRequest) returns (api.GetPartnerAppResult); */ get(input: GetPartnerAppRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List(api.ListPartnerAppsRequest) returns (api.ListPartnerAppsResult); */ list(input: ListPartnerAppsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeletePartnerAppInDB(api.DeletePartnerAppInDBRequest) returns (api.DeletePartnerAppInDBResult); */ deletePartnerAppInDB(input: DeletePartnerAppInDBRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Renew(api.RenewPartnerAppRequest) returns (api.RenewPartnerAppResult); */ 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(api.CreatePartnerAppRequest) returns (api.CreatePartnerAppResult); */ 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(api.UpdatePartnerAppRequest) returns (api.UpdatePartnerAppResult); */ 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(api.DeletePartnerAppRequest) returns (api.DeletePartnerAppResult); */ 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(api.GetPartnerAppRequest) returns (api.GetPartnerAppResult); */ 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(api.ListPartnerAppsRequest) returns (api.ListPartnerAppsResult); */ 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(api.DeletePartnerAppInDBRequest) returns (api.DeletePartnerAppInDBResult); */ 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(api.RenewPartnerAppRequest) returns (api.RenewPartnerAppResult); */ renew(input: RenewPartnerAppRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }