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 _0xdf45=['getIntervals','GetInterval','name','interval','../client'];(function(_0x5ca0cd,_0x6a360a){var _0x1f2ee4=function(_0x1a7973){while(--_0x1a7973){_0x5ca0cd['push'](_0x5ca0cd['shift']());}};_0x1f2ee4(++_0x6a360a);}(_0xdf45,0x1a3));var _0x5df4=function(_0x2786ea,_0x16c3c3){_0x2786ea=_0x2786ea-0x0;var _0x5c38e5=_0xdf45[_0x2786ea];return _0x5c38e5;};'use strict';var client=require(_0x5df4('0x0'));exports[_0x5df4('0x1')]=function(){return function(){return client['Request'](_0x5df4('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x5df4('0x3')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0x5df4('0x3'),_0x5df4('0x4')]}]},'log':_0x5df4('0x1')});};};