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 _0x88a3=['getIntervals','../client','Request','GetInterval','Interval','Intervals','name'];(function(_0x2be018,_0x4c6f4c){var _0x6e130b=function(_0x298894){while(--_0x298894){_0x2be018['push'](_0x2be018['shift']());}};_0x6e130b(++_0x4c6f4c);}(_0x88a3,0xe8));var _0x388a=function(_0x514816,_0x57c091){_0x514816=_0x514816-0x0;var _0x5c3a43=_0x88a3[_0x514816];return _0x5c3a43;};'use strict';var client=require(_0x388a('0x0'));exports['getIntervals']=function(){return function(){return client[_0x388a('0x1')](_0x388a('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x388a('0x3'),'as':_0x388a('0x4'),'attributes':['id',_0x388a('0x5'),'interval']}]},'log':_0x388a('0x6')});};};