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 _0x3127=['Request','GetInterval','name','Interval','Intervals','../client'];(function(_0x28ac58,_0x4614cb){var _0x1da86a=function(_0x24d6ae){while(--_0x24d6ae){_0x28ac58['push'](_0x28ac58['shift']());}};_0x1da86a(++_0x4614cb);}(_0x3127,0x1e5));var _0x7312=function(_0x5293a1,_0x351c64){_0x5293a1=_0x5293a1-0x0;var _0x5085aa=_0x3127[_0x5293a1];return _0x5085aa;};'use strict';var client=require(_0x7312('0x0'));exports['getIntervals']=function(){return function(){return client[_0x7312('0x1')](_0x7312('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x7312('0x3')],'include':[{'model':_0x7312('0x4'),'as':_0x7312('0x5'),'attributes':['id',_0x7312('0x3'),'interval']}]},'log':'getIntervals'});};};