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 _0x1873=['Request','GetInterval','Interval','interval','getIntervals','../client'];(function(_0x155ac7,_0x5421b5){var _0x1aefa1=function(_0x5a82f5){while(--_0x5a82f5){_0x155ac7['push'](_0x155ac7['shift']());}};_0x1aefa1(++_0x5421b5);}(_0x1873,0x1a3));var _0x3187=function(_0x2287d1,_0x1c25f8){_0x2287d1=_0x2287d1-0x0;var _0x24087f=_0x1873[_0x2287d1];return _0x24087f;};'use strict';var client=require(_0x3187('0x0'));exports['getIntervals']=function(){return function(){return client[_0x3187('0x1')](_0x3187('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x3187('0x3'),'as':'Intervals','attributes':['id','name',_0x3187('0x4')]}]},'log':_0x3187('0x5')});};};