/**
 * Generated by the protoc-gen-ts.  DO NOT EDIT!
 * compiler version: 0.0.0
 * source: agency.proto
 * git: https://github.com/thesayyn/protoc-gen-ts */
import * as dependency_1 from "./blocks";
import * as pb_1 from "google-protobuf";
import * as grpc_1 from "@grpc/grpc-js";
export namespace market {
    export class LoginRequest extends pb_1.Message {
        #one_of_decls: number[][] = [];
        constructor(data?: any[] | {
            account?: string;
            password?: string;
            verify?: string;
        }) {
            super();
            pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
            if (!Array.isArray(data) && typeof data == "object") {
                if ("account" in data && data.account != undefined) {
                    this.account = data.account;
                }
                if ("password" in data && data.password != undefined) {
                    this.password = data.password;
                }
                if ("verify" in data && data.verify != undefined) {
                    this.verify = data.verify;
                }
            }
        }
        get account() {
            return pb_1.Message.getFieldWithDefault(this, 1, "") as string;
        }
        set account(value: string) {
            pb_1.Message.setField(this, 1, value);
        }
        get password() {
            return pb_1.Message.getFieldWithDefault(this, 2, "") as string;
        }
        set password(value: string) {
            pb_1.Message.setField(this, 2, value);
        }
        get verify() {
            return pb_1.Message.getFieldWithDefault(this, 3, "") as string;
        }
        set verify(value: string) {
            pb_1.Message.setField(this, 3, value);
        }
        static fromObject(data: {
            account?: string;
            password?: string;
            verify?: string;
        }): LoginRequest {
            const message = new LoginRequest({});
            if (data.account != null) {
                message.account = data.account;
            }
            if (data.password != null) {
                message.password = data.password;
            }
            if (data.verify != null) {
                message.verify = data.verify;
            }
            return message;
        }
        toObject() {
            const data: {
                account?: string;
                password?: string;
                verify?: string;
            } = {};
            if (this.account != null) {
                data.account = this.account;
            }
            if (this.password != null) {
                data.password = this.password;
            }
            if (this.verify != null) {
                data.verify = this.verify;
            }
            return data;
        }
        serialize(): Uint8Array;
        serialize(w: pb_1.BinaryWriter): void;
        serialize(w?: pb_1.BinaryWriter): Uint8Array | void {
            const writer = w || new pb_1.BinaryWriter();
            if (this.account.length)
                writer.writeString(1, this.account);
            if (this.password.length)
                writer.writeString(2, this.password);
            if (this.verify.length)
                writer.writeString(3, this.verify);
            if (!w)
                return writer.getResultBuffer();
        }
        static deserialize(bytes: Uint8Array | pb_1.BinaryReader): LoginRequest {
            const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new LoginRequest();
            while (reader.nextField()) {
                if (reader.isEndGroup())
                    break;
                switch (reader.getFieldNumber()) {
                    case 1:
                        message.account = reader.readString();
                        break;
                    case 2:
                        message.password = reader.readString();
                        break;
                    case 3:
                        message.verify = reader.readString();
                        break;
                    default: reader.skipField();
                }
            }
            return message;
        }
        serializeBinary(): Uint8Array {
            return this.serialize();
        }
        static deserializeBinary(bytes: Uint8Array): LoginRequest {
            return LoginRequest.deserialize(bytes);
        }
    }
    export class MarketAgenctyItem extends pb_1.Message {
        #one_of_decls: number[][] = [];
        constructor(data?: any[] | {
            name?: string;
            avatar?: string;
            commission_rate?: number;
            account?: string;
            phone?: string;
            password?: string;
            org_name?: string;
            org_photo?: string;
            id_name?: string;
            id_before?: string;
            id_after?: string;
            remark?: string;
            identity?: string;
        }) {
            super();
            pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
            if (!Array.isArray(data) && typeof data == "object") {
                if ("name" in data && data.name != undefined) {
                    this.name = data.name;
                }
                if ("avatar" in data && data.avatar != undefined) {
                    this.avatar = data.avatar;
                }
                if ("commission_rate" in data && data.commission_rate != undefined) {
                    this.commission_rate = data.commission_rate;
                }
                if ("account" in data && data.account != undefined) {
                    this.account = data.account;
                }
                if ("phone" in data && data.phone != undefined) {
                    this.phone = data.phone;
                }
                if ("password" in data && data.password != undefined) {
                    this.password = data.password;
                }
                if ("org_name" in data && data.org_name != undefined) {
                    this.org_name = data.org_name;
                }
                if ("org_photo" in data && data.org_photo != undefined) {
                    this.org_photo = data.org_photo;
                }
                if ("id_name" in data && data.id_name != undefined) {
                    this.id_name = data.id_name;
                }
                if ("id_before" in data && data.id_before != undefined) {
                    this.id_before = data.id_before;
                }
                if ("id_after" in data && data.id_after != undefined) {
                    this.id_after = data.id_after;
                }
                if ("remark" in data && data.remark != undefined) {
                    this.remark = data.remark;
                }
                if ("identity" in data && data.identity != undefined) {
                    this.identity = data.identity;
                }
            }
        }
        get name() {
            return pb_1.Message.getFieldWithDefault(this, 1, "") as string;
        }
        set name(value: string) {
            pb_1.Message.setField(this, 1, value);
        }
        get avatar() {
            return pb_1.Message.getFieldWithDefault(this, 2, "") as string;
        }
        set avatar(value: string) {
            pb_1.Message.setField(this, 2, value);
        }
        get commission_rate() {
            return pb_1.Message.getFieldWithDefault(this, 3, 0) as number;
        }
        set commission_rate(value: number) {
            pb_1.Message.setField(this, 3, value);
        }
        get account() {
            return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
        }
        set account(value: string) {
            pb_1.Message.setField(this, 4, value);
        }
        get phone() {
            return pb_1.Message.getFieldWithDefault(this, 5, "") as string;
        }
        set phone(value: string) {
            pb_1.Message.setField(this, 5, value);
        }
        get password() {
            return pb_1.Message.getFieldWithDefault(this, 6, "") as string;
        }
        set password(value: string) {
            pb_1.Message.setField(this, 6, value);
        }
        get org_name() {
            return pb_1.Message.getFieldWithDefault(this, 7, "") as string;
        }
        set org_name(value: string) {
            pb_1.Message.setField(this, 7, value);
        }
        get org_photo() {
            return pb_1.Message.getFieldWithDefault(this, 8, "") as string;
        }
        set org_photo(value: string) {
            pb_1.Message.setField(this, 8, value);
        }
        get id_name() {
            return pb_1.Message.getFieldWithDefault(this, 9, "") as string;
        }
        set id_name(value: string) {
            pb_1.Message.setField(this, 9, value);
        }
        get id_before() {
            return pb_1.Message.getFieldWithDefault(this, 10, "") as string;
        }
        set id_before(value: string) {
            pb_1.Message.setField(this, 10, value);
        }
        get id_after() {
            return pb_1.Message.getFieldWithDefault(this, 11, "") as string;
        }
        set id_after(value: string) {
            pb_1.Message.setField(this, 11, value);
        }
        get remark() {
            return pb_1.Message.getFieldWithDefault(this, 12, "") as string;
        }
        set remark(value: string) {
            pb_1.Message.setField(this, 12, value);
        }
        get identity() {
            return pb_1.Message.getFieldWithDefault(this, 13, "") as string;
        }
        set identity(value: string) {
            pb_1.Message.setField(this, 13, value);
        }
        static fromObject(data: {
            name?: string;
            avatar?: string;
            commission_rate?: number;
            account?: string;
            phone?: string;
            password?: string;
            org_name?: string;
            org_photo?: string;
            id_name?: string;
            id_before?: string;
            id_after?: string;
            remark?: string;
            identity?: string;
        }): MarketAgenctyItem {
            const message = new MarketAgenctyItem({});
            if (data.name != null) {
                message.name = data.name;
            }
            if (data.avatar != null) {
                message.avatar = data.avatar;
            }
            if (data.commission_rate != null) {
                message.commission_rate = data.commission_rate;
            }
            if (data.account != null) {
                message.account = data.account;
            }
            if (data.phone != null) {
                message.phone = data.phone;
            }
            if (data.password != null) {
                message.password = data.password;
            }
            if (data.org_name != null) {
                message.org_name = data.org_name;
            }
            if (data.org_photo != null) {
                message.org_photo = data.org_photo;
            }
            if (data.id_name != null) {
                message.id_name = data.id_name;
            }
            if (data.id_before != null) {
                message.id_before = data.id_before;
            }
            if (data.id_after != null) {
                message.id_after = data.id_after;
            }
            if (data.remark != null) {
                message.remark = data.remark;
            }
            if (data.identity != null) {
                message.identity = data.identity;
            }
            return message;
        }
        toObject() {
            const data: {
                name?: string;
                avatar?: string;
                commission_rate?: number;
                account?: string;
                phone?: string;
                password?: string;
                org_name?: string;
                org_photo?: string;
                id_name?: string;
                id_before?: string;
                id_after?: string;
                remark?: string;
                identity?: string;
            } = {};
            if (this.name != null) {
                data.name = this.name;
            }
            if (this.avatar != null) {
                data.avatar = this.avatar;
            }
            if (this.commission_rate != null) {
                data.commission_rate = this.commission_rate;
            }
            if (this.account != null) {
                data.account = this.account;
            }
            if (this.phone != null) {
                data.phone = this.phone;
            }
            if (this.password != null) {
                data.password = this.password;
            }
            if (this.org_name != null) {
                data.org_name = this.org_name;
            }
            if (this.org_photo != null) {
                data.org_photo = this.org_photo;
            }
            if (this.id_name != null) {
                data.id_name = this.id_name;
            }
            if (this.id_before != null) {
                data.id_before = this.id_before;
            }
            if (this.id_after != null) {
                data.id_after = this.id_after;
            }
            if (this.remark != null) {
                data.remark = this.remark;
            }
            if (this.identity != null) {
                data.identity = this.identity;
            }
            return data;
        }
        serialize(): Uint8Array;
        serialize(w: pb_1.BinaryWriter): void;
        serialize(w?: pb_1.BinaryWriter): Uint8Array | void {
            const writer = w || new pb_1.BinaryWriter();
            if (this.name.length)
                writer.writeString(1, this.name);
            if (this.avatar.length)
                writer.writeString(2, this.avatar);
            if (this.commission_rate != 0)
                writer.writeInt32(3, this.commission_rate);
            if (this.account.length)
                writer.writeString(4, this.account);
            if (this.phone.length)
                writer.writeString(5, this.phone);
            if (this.password.length)
                writer.writeString(6, this.password);
            if (this.org_name.length)
                writer.writeString(7, this.org_name);
            if (this.org_photo.length)
                writer.writeString(8, this.org_photo);
            if (this.id_name.length)
                writer.writeString(9, this.id_name);
            if (this.id_before.length)
                writer.writeString(10, this.id_before);
            if (this.id_after.length)
                writer.writeString(11, this.id_after);
            if (this.remark.length)
                writer.writeString(12, this.remark);
            if (this.identity.length)
                writer.writeString(13, this.identity);
            if (!w)
                return writer.getResultBuffer();
        }
        static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MarketAgenctyItem {
            const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new MarketAgenctyItem();
            while (reader.nextField()) {
                if (reader.isEndGroup())
                    break;
                switch (reader.getFieldNumber()) {
                    case 1:
                        message.name = reader.readString();
                        break;
                    case 2:
                        message.avatar = reader.readString();
                        break;
                    case 3:
                        message.commission_rate = reader.readInt32();
                        break;
                    case 4:
                        message.account = reader.readString();
                        break;
                    case 5:
                        message.phone = reader.readString();
                        break;
                    case 6:
                        message.password = reader.readString();
                        break;
                    case 7:
                        message.org_name = reader.readString();
                        break;
                    case 8:
                        message.org_photo = reader.readString();
                        break;
                    case 9:
                        message.id_name = reader.readString();
                        break;
                    case 10:
                        message.id_before = reader.readString();
                        break;
                    case 11:
                        message.id_after = reader.readString();
                        break;
                    case 12:
                        message.remark = reader.readString();
                        break;
                    case 13:
                        message.identity = reader.readString();
                        break;
                    default: reader.skipField();
                }
            }
            return message;
        }
        serializeBinary(): Uint8Array {
            return this.serialize();
        }
        static deserializeBinary(bytes: Uint8Array): MarketAgenctyItem {
            return MarketAgenctyItem.deserialize(bytes);
        }
    }
    export class SetPasswordRequest extends pb_1.Message {
        #one_of_decls: number[][] = [];
        constructor(data?: any[] | {
            old_password?: string;
            new_password?: string;
        }) {
            super();
            pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
            if (!Array.isArray(data) && typeof data == "object") {
                if ("old_password" in data && data.old_password != undefined) {
                    this.old_password = data.old_password;
                }
                if ("new_password" in data && data.new_password != undefined) {
                    this.new_password = data.new_password;
                }
            }
        }
        get old_password() {
            return pb_1.Message.getFieldWithDefault(this, 3, "") as string;
        }
        set old_password(value: string) {
            pb_1.Message.setField(this, 3, value);
        }
        get new_password() {
            return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
        }
        set new_password(value: string) {
            pb_1.Message.setField(this, 4, value);
        }
        static fromObject(data: {
            old_password?: string;
            new_password?: string;
        }): SetPasswordRequest {
            const message = new SetPasswordRequest({});
            if (data.old_password != null) {
                message.old_password = data.old_password;
            }
            if (data.new_password != null) {
                message.new_password = data.new_password;
            }
            return message;
        }
        toObject() {
            const data: {
                old_password?: string;
                new_password?: string;
            } = {};
            if (this.old_password != null) {
                data.old_password = this.old_password;
            }
            if (this.new_password != null) {
                data.new_password = this.new_password;
            }
            return data;
        }
        serialize(): Uint8Array;
        serialize(w: pb_1.BinaryWriter): void;
        serialize(w?: pb_1.BinaryWriter): Uint8Array | void {
            const writer = w || new pb_1.BinaryWriter();
            if (this.old_password.length)
                writer.writeString(3, this.old_password);
            if (this.new_password.length)
                writer.writeString(4, this.new_password);
            if (!w)
                return writer.getResultBuffer();
        }
        static deserialize(bytes: Uint8Array | pb_1.BinaryReader): SetPasswordRequest {
            const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new SetPasswordRequest();
            while (reader.nextField()) {
                if (reader.isEndGroup())
                    break;
                switch (reader.getFieldNumber()) {
                    case 3:
                        message.old_password = reader.readString();
                        break;
                    case 4:
                        message.new_password = reader.readString();
                        break;
                    default: reader.skipField();
                }
            }
            return message;
        }
        serializeBinary(): Uint8Array {
            return this.serialize();
        }
        static deserializeBinary(bytes: Uint8Array): SetPasswordRequest {
            return SetPasswordRequest.deserialize(bytes);
        }
    }
    interface GrpcUnaryServiceInterface<P, R> {
        (message: P, metadata: grpc_1.Metadata, options: grpc_1.CallOptions, callback: grpc_1.requestCallback<R>): grpc_1.ClientUnaryCall;
        (message: P, metadata: grpc_1.Metadata, callback: grpc_1.requestCallback<R>): grpc_1.ClientUnaryCall;
        (message: P, options: grpc_1.CallOptions, callback: grpc_1.requestCallback<R>): grpc_1.ClientUnaryCall;
        (message: P, callback: grpc_1.requestCallback<R>): grpc_1.ClientUnaryCall;
    }
    interface GrpcStreamServiceInterface<P, R> {
        (message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): grpc_1.ClientReadableStream<R>;
        (message: P, options?: grpc_1.CallOptions): grpc_1.ClientReadableStream<R>;
    }
    interface GrpWritableServiceInterface<P, R> {
        (metadata: grpc_1.Metadata, options: grpc_1.CallOptions, callback: grpc_1.requestCallback<R>): grpc_1.ClientWritableStream<P>;
        (metadata: grpc_1.Metadata, callback: grpc_1.requestCallback<R>): grpc_1.ClientWritableStream<P>;
        (options: grpc_1.CallOptions, callback: grpc_1.requestCallback<R>): grpc_1.ClientWritableStream<P>;
        (callback: grpc_1.requestCallback<R>): grpc_1.ClientWritableStream<P>;
    }
    interface GrpcChunkServiceInterface<P, R> {
        (metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): grpc_1.ClientDuplexStream<P, R>;
        (options?: grpc_1.CallOptions): grpc_1.ClientDuplexStream<P, R>;
    }
    interface GrpcPromiseServiceInterface<P, R> {
        (message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
        (message: P, options?: grpc_1.CallOptions): Promise<R>;
    }
    export abstract class UnimplementedAgencyService {
        static definition = {
            Login: {
                path: "/market.Agency/Login",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: LoginRequest) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => LoginRequest.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.LoginReply) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.LoginReply.deserialize(new Uint8Array(bytes))
            },
            Create: {
                path: "/market.Agency/Create",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: MarketAgenctyItem) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => MarketAgenctyItem.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.StatusReply) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.StatusReply.deserialize(new Uint8Array(bytes))
            },
            Get: {
                path: "/market.Agency/Get",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: dependency_1.market.IdentRequest) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => dependency_1.market.IdentRequest.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: MarketAgenctyItem) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => MarketAgenctyItem.deserialize(new Uint8Array(bytes))
            },
            Fetch: {
                path: "/market.Agency/Fetch",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: dependency_1.market.FetchRequest) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => dependency_1.market.FetchRequest.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.FetchRequest) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.FetchRequest.deserialize(new Uint8Array(bytes))
            },
            Update: {
                path: "/market.Agency/Update",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: MarketAgenctyItem) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => MarketAgenctyItem.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.StatusReply) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.StatusReply.deserialize(new Uint8Array(bytes))
            },
            Delete: {
                path: "/market.Agency/Delete",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: dependency_1.market.IdentRequest) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => dependency_1.market.IdentRequest.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.StatusReply) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.StatusReply.deserialize(new Uint8Array(bytes))
            },
            SetPassword: {
                path: "/market.Agency/SetPassword",
                requestStream: false,
                responseStream: false,
                requestSerialize: (message: SetPasswordRequest) => Buffer.from(message.serialize()),
                requestDeserialize: (bytes: Buffer) => SetPasswordRequest.deserialize(new Uint8Array(bytes)),
                responseSerialize: (message: dependency_1.market.StatusReply) => Buffer.from(message.serialize()),
                responseDeserialize: (bytes: Buffer) => dependency_1.market.StatusReply.deserialize(new Uint8Array(bytes))
            }
        };
        [method: string]: grpc_1.UntypedHandleCall;
        abstract Login(call: grpc_1.ServerUnaryCall<LoginRequest, dependency_1.market.LoginReply>, callback: grpc_1.sendUnaryData<dependency_1.market.LoginReply>): void;
        abstract Create(call: grpc_1.ServerUnaryCall<MarketAgenctyItem, dependency_1.market.StatusReply>, callback: grpc_1.sendUnaryData<dependency_1.market.StatusReply>): void;
        abstract Get(call: grpc_1.ServerUnaryCall<dependency_1.market.IdentRequest, MarketAgenctyItem>, callback: grpc_1.sendUnaryData<MarketAgenctyItem>): void;
        abstract Fetch(call: grpc_1.ServerUnaryCall<dependency_1.market.FetchRequest, dependency_1.market.FetchRequest>, callback: grpc_1.sendUnaryData<dependency_1.market.FetchRequest>): void;
        abstract Update(call: grpc_1.ServerUnaryCall<MarketAgenctyItem, dependency_1.market.StatusReply>, callback: grpc_1.sendUnaryData<dependency_1.market.StatusReply>): void;
        abstract Delete(call: grpc_1.ServerUnaryCall<dependency_1.market.IdentRequest, dependency_1.market.StatusReply>, callback: grpc_1.sendUnaryData<dependency_1.market.StatusReply>): void;
        abstract SetPassword(call: grpc_1.ServerUnaryCall<SetPasswordRequest, dependency_1.market.StatusReply>, callback: grpc_1.sendUnaryData<dependency_1.market.StatusReply>): void;
    }
    export class AgencyClient extends grpc_1.makeGenericClientConstructor(UnimplementedAgencyService.definition, "Agency", {}) {
        constructor(address: string, credentials: grpc_1.ChannelCredentials, options?: Partial<grpc_1.ChannelOptions>) {
            super(address, credentials, options);
        }
        Login: GrpcUnaryServiceInterface<LoginRequest, dependency_1.market.LoginReply> = (message: LoginRequest, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.LoginReply>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.LoginReply>, callback?: grpc_1.requestCallback<dependency_1.market.LoginReply>): grpc_1.ClientUnaryCall => {
            return super.Login(message, metadata, options, callback);
        };
        Create: GrpcUnaryServiceInterface<MarketAgenctyItem, dependency_1.market.StatusReply> = (message: MarketAgenctyItem, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, callback?: grpc_1.requestCallback<dependency_1.market.StatusReply>): grpc_1.ClientUnaryCall => {
            return super.Create(message, metadata, options, callback);
        };
        Get: GrpcUnaryServiceInterface<dependency_1.market.IdentRequest, MarketAgenctyItem> = (message: dependency_1.market.IdentRequest, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<MarketAgenctyItem>, options?: grpc_1.CallOptions | grpc_1.requestCallback<MarketAgenctyItem>, callback?: grpc_1.requestCallback<MarketAgenctyItem>): grpc_1.ClientUnaryCall => {
            return super.Get(message, metadata, options, callback);
        };
        Fetch: GrpcUnaryServiceInterface<dependency_1.market.FetchRequest, dependency_1.market.FetchRequest> = (message: dependency_1.market.FetchRequest, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.FetchRequest>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.FetchRequest>, callback?: grpc_1.requestCallback<dependency_1.market.FetchRequest>): grpc_1.ClientUnaryCall => {
            return super.Fetch(message, metadata, options, callback);
        };
        Update: GrpcUnaryServiceInterface<MarketAgenctyItem, dependency_1.market.StatusReply> = (message: MarketAgenctyItem, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, callback?: grpc_1.requestCallback<dependency_1.market.StatusReply>): grpc_1.ClientUnaryCall => {
            return super.Update(message, metadata, options, callback);
        };
        Delete: GrpcUnaryServiceInterface<dependency_1.market.IdentRequest, dependency_1.market.StatusReply> = (message: dependency_1.market.IdentRequest, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, callback?: grpc_1.requestCallback<dependency_1.market.StatusReply>): grpc_1.ClientUnaryCall => {
            return super.Delete(message, metadata, options, callback);
        };
        SetPassword: GrpcUnaryServiceInterface<SetPasswordRequest, dependency_1.market.StatusReply> = (message: SetPasswordRequest, metadata: grpc_1.Metadata | grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, options?: grpc_1.CallOptions | grpc_1.requestCallback<dependency_1.market.StatusReply>, callback?: grpc_1.requestCallback<dependency_1.market.StatusReply>): grpc_1.ClientUnaryCall => {
            return super.SetPassword(message, metadata, options, callback);
        };
    }
}
