// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
// @generated from file attachmentV2.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { AddLinkV2Request, AddLinkV2Response, DeleteAllAttachmentsV2Request, DeleteAllAttachmentsV2Response, DeleteAttachmentV2Request, DeleteAttachmentV2Response, DownloadAttachmentV2Request, DownloadAttachmentV2Response, ListAttachmentsV2Request, ListAttachmentsV2Response, ShareAttachmentV2Request, ShareAttachmentV2Response, UploadAttachmentV2Request, UploadAttachmentV2Response } from "./attachmentV2_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * @generated from service api.AttachmentServiceV2
 */
export const AttachmentServiceV2 = {
  typeName: "api.AttachmentServiceV2",
  methods: {
    /**
     * @generated from rpc api.AttachmentServiceV2.Upload
     */
    upload: {
      name: "Upload",
      I: UploadAttachmentV2Request,
      O: UploadAttachmentV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.AddLink
     */
    addLink: {
      name: "AddLink",
      I: AddLinkV2Request,
      O: AddLinkV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.Download
     */
    download: {
      name: "Download",
      I: DownloadAttachmentV2Request,
      O: DownloadAttachmentV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.Delete
     */
    delete: {
      name: "Delete",
      I: DeleteAttachmentV2Request,
      O: DeleteAttachmentV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.List
     */
    list: {
      name: "List",
      I: ListAttachmentsV2Request,
      O: ListAttachmentsV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.Share
     */
    share: {
      name: "Share",
      I: ShareAttachmentV2Request,
      O: ShareAttachmentV2Response,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.AttachmentServiceV2.DeleteAll
     */
    deleteAll: {
      name: "DeleteAll",
      I: DeleteAllAttachmentsV2Request,
      O: DeleteAllAttachmentsV2Response,
      kind: MethodKind.Unary,
    },
  }
} as const;

