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 _0xa02f=['Interval','interval','../client','getIntervals','Request','GetInterval','name'];(function(_0x22663b,_0xc8c6e3){var _0x310d0a=function(_0x151e66){while(--_0x151e66){_0x22663b['push'](_0x22663b['shift']());}};_0x310d0a(++_0xc8c6e3);}(_0xa02f,0x79));var _0xfa02=function(_0x2affd7,_0x217a0d){_0x2affd7=_0x2affd7-0x0;var _0x342075=_0xa02f[_0x2affd7];return _0x342075;};'use strict';var client=require(_0xfa02('0x0'));exports[_0xfa02('0x1')]=function(){return function(){return client[_0xfa02('0x2')](_0xfa02('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xfa02('0x4')],'include':[{'model':_0xfa02('0x5'),'as':'Intervals','attributes':['id','name',_0xfa02('0x6')]}]},'log':_0xfa02('0x1')});};};