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