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 _0x1b0e=['Request','GetInterval','name','Interval','interval','../client','getIntervals'];(function(_0x1370a4,_0x7e6dd1){var _0xa57c3=function(_0x3d9c96){while(--_0x3d9c96){_0x1370a4['push'](_0x1370a4['shift']());}};_0xa57c3(++_0x7e6dd1);}(_0x1b0e,0x132));var _0xe1b0=function(_0x53946b,_0x2a648b){_0x53946b=_0x53946b-0x0;var _0x27d8c8=_0x1b0e[_0x53946b];return _0x27d8c8;};'use strict';var client=require(_0xe1b0('0x0'));exports[_0xe1b0('0x1')]=function(){return function(){return client[_0xe1b0('0x2')](_0xe1b0('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xe1b0('0x4')],'include':[{'model':_0xe1b0('0x5'),'as':'Intervals','attributes':['id','name',_0xe1b0('0x6')]}]},'log':_0xe1b0('0x1')});};};