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 _0xb9be=['GetInterval','name','Interval','Intervals','interval','../client','getIntervals','Request'];(function(_0x226cca,_0xc7facd){var _0x2e0be8=function(_0x57e38c){while(--_0x57e38c){_0x226cca['push'](_0x226cca['shift']());}};_0x2e0be8(++_0xc7facd);}(_0xb9be,0xc5));var _0xeb9b=function(_0xbc4560,_0x4020b8){_0xbc4560=_0xbc4560-0x0;var _0x298cfb=_0xb9be[_0xbc4560];return _0x298cfb;};'use strict';var client=require(_0xeb9b('0x0'));exports[_0xeb9b('0x1')]=function(){return function(){return client[_0xeb9b('0x2')](_0xeb9b('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xeb9b('0x4')],'include':[{'model':_0xeb9b('0x5'),'as':_0xeb9b('0x6'),'attributes':['id',_0xeb9b('0x4'),_0xeb9b('0x7')]}]},'log':'getIntervals'});};};