1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x0473=['../client','getIntervals','Request','GetInterval','name','interval'];(function(_0x2f415e,_0x5d1981){var _0x5dd676=function(_0x5aece3){while(--_0x5aece3){_0x2f415e['push'](_0x2f415e['shift']());}};_0x5dd676(++_0x5d1981);}(_0x0473,0x66));var _0x3047=function(_0x15d35c,_0x5ad523){_0x15d35c=_0x15d35c-0x0;var _0x1913fa=_0x0473[_0x15d35c];return _0x1913fa;};'use strict';var client=require(_0x3047('0x0'));exports[_0x3047('0x1')]=function(){return function(){return client[_0x3047('0x2')](_0x3047('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x3047('0x4')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0x3047('0x4'),_0x3047('0x5')]}]},'log':_0x3047('0x1')});};};