kreta/Kreta.Client/Jira/Interface/IJiraClient.cs
2024-03-13 00:33:46 +01:00

24 lines
1.1 KiB
C#

using System.Collections.Generic;
using Kreta.Client.Jira.Model.Request;
using Kreta.Client.Jira.Model.Response;
namespace Kreta.Client.Jira.Interface
{
public interface IJiraClient
{
bool IsFileUploadEnabled { get; set; }
void CreateBasicAuthenticator(string username, string password);
string GetServiceDeskId();
GetRequestModel GetBejelentes(string id);
GetRequestTypeModel GetRequestTypes(string serviceDeskId);
GetRequestModel CreateBejelentes(TicketRequest ticketRequest);
TemporaryAttachmentsModel UploadAttachments(List<File> fileList, string serviceDeskId);
void AddAttachmentsToIssue(AddAttachments addAttachmentsModel, string isssueId);
string CreateCommentToBejelentes(string id, CommentRequest commentRequest);
GetRequestsModel GetBejelentesek(string requestType, string serviceDeskId, string requestStatus, string first, string limit);
GetRequestsComentsModel GetBejelentesCommentek(string id);
void ChangeAdminEmail(string intemzenyAzonosito, string newAddress);
void SubscribeToBejegyzes(string id);
}
}