|
@@ -1,6 +1,7 @@
|
|
using Hotline.Application.CallCenter;
|
|
using Hotline.Application.CallCenter;
|
|
using Hotline.CallCenter.BlackLists;
|
|
using Hotline.CallCenter.BlackLists;
|
|
using Hotline.CallCenter.Calls;
|
|
using Hotline.CallCenter.Calls;
|
|
|
|
+using Hotline.CallCenter.Tels;
|
|
using Hotline.Share.Dtos.CallCenter;
|
|
using Hotline.Share.Dtos.CallCenter;
|
|
using Hotline.Share.Dtos.TrCallCenter;
|
|
using Hotline.Share.Dtos.TrCallCenter;
|
|
using Hotline.Share.Enums.CallCenter;
|
|
using Hotline.Share.Enums.CallCenter;
|
|
@@ -87,10 +88,8 @@ namespace Hotline.Api.Controllers
|
|
{
|
|
{
|
|
return new
|
|
return new
|
|
{
|
|
{
|
|
- OnState = EnumExts.GetDescriptions<EOnState>(),
|
|
|
|
- CallDirection = EnumExts.GetDescriptions<ECallDirection>(),
|
|
|
|
- EndBy = EnumExts.GetDescriptions<EEndBy>(),
|
|
|
|
- PhoneTypes = EnumExts.GetDescriptions<EPhoneTypes>()
|
|
|
|
|
|
+ Direction = EnumExts.GetDescriptions<ECallDirection>(),
|
|
|
|
+ EndBy = EnumExts.GetDescriptions<EHangupBy>(),
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
@@ -101,5 +100,10 @@ namespace Hotline.Api.Controllers
|
|
[HttpPost("relate-call-to-order")]
|
|
[HttpPost("relate-call-to-order")]
|
|
public Task RelateCallToOrder([FromBody] LinkCallRecordDto dto) =>
|
|
public Task RelateCallToOrder([FromBody] LinkCallRecordDto dto) =>
|
|
_callApplication.RelateCallToOrderAsync(dto, HttpContext.RequestAborted);
|
|
_callApplication.RelateCallToOrderAsync(dto, HttpContext.RequestAborted);
|
|
|
|
+
|
|
|
|
+ public Task<IReadOnlyList<TelOperation>> QueryTelOperationsFixed([FromQuery] QueryTelOperationsFixedDto dto)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|