// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "adaptiveCard.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { AdaptiveCardService } from "./adaptiveCard"; import type { DeleteAdaptiveCardResult } from "./adaptiveCard"; import type { DeleteAdaptiveCardRequest } from "./adaptiveCard"; import type { UpdateAdaptiveCardResult } from "./adaptiveCard"; import type { UpdateAdaptiveCardRequest } from "./adaptiveCard"; import type { CreateAdaptiveCardResult } from "./adaptiveCard"; import type { CreateAdaptiveCardRequest } from "./adaptiveCard"; import type { ListAdaptiveCardResult } from "./adaptiveCard"; import type { ListAdaptiveCardRequest } from "./adaptiveCard"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetAdaptiveCardResult } from "./adaptiveCard"; import type { GetAdaptiveCardRequest } from "./adaptiveCard"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.AdaptiveCardService */ export interface IAdaptiveCardServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetAdaptiveCardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListAdaptiveCardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Create */ create(input: CreateAdaptiveCardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateAdaptiveCardRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteAdaptiveCardRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.AdaptiveCardService */ export class AdaptiveCardServiceClient implements IAdaptiveCardServiceClient, ServiceInfo { typeName = AdaptiveCardService.typeName; methods = AdaptiveCardService.methods; options = AdaptiveCardService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetAdaptiveCardRequest, 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: List */ list(input: ListAdaptiveCardRequest, 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: Create */ create(input: CreateAdaptiveCardRequest, 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: Update */ update(input: UpdateAdaptiveCardRequest, 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: Delete */ delete(input: DeleteAdaptiveCardRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }