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 _0x0db9=['name','Interval','getIntervals','../client'];(function(_0x3243e7,_0x216859){var _0xa5b442=function(_0x8dfd1e){while(--_0x8dfd1e){_0x3243e7['push'](_0x3243e7['shift']());}};_0xa5b442(++_0x216859);}(_0x0db9,0xa3));var _0x90db=function(_0x1778e1,_0x3e1727){_0x1778e1=_0x1778e1-0x0;var _0x2bc4c6=_0x0db9[_0x1778e1];return _0x2bc4c6;};'use strict';var client=require(_0x90db('0x0'));exports['getIntervals']=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x90db('0x1')],'include':[{'model':_0x90db('0x2'),'as':'Intervals','attributes':['id',_0x90db('0x1'),'interval']}]},'log':_0x90db('0x3')});};};