// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "tiny-url.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { TinyURLService } from "./tiny-url"; import type { DeleteAllTinyURLsResponse } from "./tiny-url"; import type { DeleteAllTinyURLsRequest } from "./tiny-url"; import type { PartnerAppGetTinyURLResponse } from "./tiny-url"; import type { PartnerAppGetTinyURLRequest } from "./tiny-url"; import type { ProjectGetTinyURLResponse } from "./tiny-url"; import type { ProjectGetTinyURLRequest } from "./tiny-url"; import type { OrganisationGetTinyURLResponse } from "./tiny-url"; import type { OrganisationGetTinyURLRequest } from "./tiny-url"; import type { PartnerAppDeleteTinyURLResponse } from "./tiny-url"; import type { PartnerAppDeleteTinyURLRequest } from "./tiny-url"; import type { ProjectDeleteTinyURLResponse } from "./tiny-url"; import type { ProjectDeleteTinyURLRequest } from "./tiny-url"; import type { OrganisationDeleteTinyURLResponse } from "./tiny-url"; import type { OrganisationDeleteTinyURLRequest } from "./tiny-url"; import type { PartnerAppListTinyURLsResponse } from "./tiny-url"; import type { PartnerAppListTinyURLsRequest } from "./tiny-url"; import type { ProjectListTinyURLsResponse } from "./tiny-url"; import type { ProjectListTinyURLsRequest } from "./tiny-url"; import type { OrganisationListTinyURLsResponse } from "./tiny-url"; import type { OrganisationListTinyURLsRequest } from "./tiny-url"; import type { PartnerAppUploadPayloadResponse } from "./tiny-url"; import type { PartnerAppUploadPayloadRequest } from "./tiny-url"; import type { ProjectUploadPayloadResponse } from "./tiny-url"; import type { ProjectUploadPayloadRequest } from "./tiny-url"; import type { OrganisationUploadPayloadResponse } from "./tiny-url"; import type { OrganisationUploadPayloadRequest } from "./tiny-url"; import type { PartnerAppUploadFileResponse } from "./tiny-url"; import type { PartnerAppUploadFileRequest } from "./tiny-url"; import type { ProjectUploadFileResponse } from "./tiny-url"; import type { ProjectUploadFileRequest } from "./tiny-url"; import type { OrganisationUploadFileResponse } from "./tiny-url"; import type { OrganisationUploadFileRequest } from "./tiny-url"; import type { PartnerAppShortenURLResponse } from "./tiny-url"; import type { PartnerAppShortenURLRequest } from "./tiny-url"; import type { ProjectShortenURLResponse } from "./tiny-url"; import type { ProjectShortenURLRequest } from "./tiny-url"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { OrganisationShortenURLResponse } from "./tiny-url"; import type { OrganisationShortenURLRequest } from "./tiny-url"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; // ============ SERVICE DESCRIPTION ============ /** * @generated from protobuf service api.TinyURLService */ export interface ITinyURLServiceClient { /** * @generated from protobuf rpc: OrganisationShortenURL */ organisationShortenURL(input: OrganisationShortenURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectShortenURL */ projectShortenURL(input: ProjectShortenURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppShortenURL */ partnerAppShortenURL(input: PartnerAppShortenURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: OrganisationUploadFile */ organisationUploadFile(input: OrganisationUploadFileRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectUploadFile */ projectUploadFile(input: ProjectUploadFileRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppUploadFile */ partnerAppUploadFile(input: PartnerAppUploadFileRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: OrganisationUploadPayload */ organisationUploadPayload(input: OrganisationUploadPayloadRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectUploadPayload */ projectUploadPayload(input: ProjectUploadPayloadRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppUploadPayload */ partnerAppUploadPayload(input: PartnerAppUploadPayloadRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: OrganisationListTinyURLs */ organisationListTinyURLs(input: OrganisationListTinyURLsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectListTinyURLs */ projectListTinyURLs(input: ProjectListTinyURLsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppListTinyURLs */ partnerAppListTinyURLs(input: PartnerAppListTinyURLsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: OrganisationDeleteTinyURL */ organisationDeleteTinyURL(input: OrganisationDeleteTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectDeleteTinyURL */ projectDeleteTinyURL(input: ProjectDeleteTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppDeleteTinyURL */ partnerAppDeleteTinyURL(input: PartnerAppDeleteTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: OrganisationGetTinyURL */ organisationGetTinyURL(input: OrganisationGetTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ProjectGetTinyURL */ projectGetTinyURL(input: ProjectGetTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PartnerAppGetTinyURL */ partnerAppGetTinyURL(input: PartnerAppGetTinyURLRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteAll */ deleteAll(input: DeleteAllTinyURLsRequest, options?: RpcOptions): UnaryCall; } // ============ SERVICE DESCRIPTION ============ /** * @generated from protobuf service api.TinyURLService */ export class TinyURLServiceClient implements ITinyURLServiceClient, ServiceInfo { typeName = TinyURLService.typeName; methods = TinyURLService.methods; options = TinyURLService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: OrganisationShortenURL */ organisationShortenURL(input: OrganisationShortenURLRequest, 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: ProjectShortenURL */ projectShortenURL(input: ProjectShortenURLRequest, 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: PartnerAppShortenURL */ partnerAppShortenURL(input: PartnerAppShortenURLRequest, 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: OrganisationUploadFile */ organisationUploadFile(input: OrganisationUploadFileRequest, 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: ProjectUploadFile */ projectUploadFile(input: ProjectUploadFileRequest, 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: PartnerAppUploadFile */ partnerAppUploadFile(input: PartnerAppUploadFileRequest, 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: OrganisationUploadPayload */ organisationUploadPayload(input: OrganisationUploadPayloadRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ProjectUploadPayload */ projectUploadPayload(input: ProjectUploadPayloadRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: PartnerAppUploadPayload */ partnerAppUploadPayload(input: PartnerAppUploadPayloadRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: OrganisationListTinyURLs */ organisationListTinyURLs(input: OrganisationListTinyURLsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ProjectListTinyURLs */ projectListTinyURLs(input: ProjectListTinyURLsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: PartnerAppListTinyURLs */ partnerAppListTinyURLs(input: PartnerAppListTinyURLsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: OrganisationDeleteTinyURL */ organisationDeleteTinyURL(input: OrganisationDeleteTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ProjectDeleteTinyURL */ projectDeleteTinyURL(input: ProjectDeleteTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: PartnerAppDeleteTinyURL */ partnerAppDeleteTinyURL(input: PartnerAppDeleteTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: OrganisationGetTinyURL */ organisationGetTinyURL(input: OrganisationGetTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ProjectGetTinyURL */ projectGetTinyURL(input: ProjectGetTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[16], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: PartnerAppGetTinyURL */ partnerAppGetTinyURL(input: PartnerAppGetTinyURLRequest, options?: RpcOptions): UnaryCall { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteAll */ deleteAll(input: DeleteAllTinyURLsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[18], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }