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 _0xcac1=['name','Interval','Intervals','../client','Request','GetInterval'];(function(_0x4d34d6,_0x5174d2){var _0x107e5e=function(_0x3b9c82){while(--_0x3b9c82){_0x4d34d6['push'](_0x4d34d6['shift']());}};_0x107e5e(++_0x5174d2);}(_0xcac1,0xb1));var _0x1cac=function(_0x49cdd0,_0x2508f9){_0x49cdd0=_0x49cdd0-0x0;var _0x13daaa=_0xcac1[_0x49cdd0];return _0x13daaa;};'use strict';var client=require(_0x1cac('0x0'));exports['getIntervals']=function(){return function(){return client[_0x1cac('0x1')](_0x1cac('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x1cac('0x3')],'include':[{'model':_0x1cac('0x4'),'as':_0x1cac('0x5'),'attributes':['id',_0x1cac('0x3'),'interval']}]},'log':'getIntervals'});};};