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 _0xa866=['interval','../client','getIntervals','Request','GetInterval','name','Intervals'];(function(_0x598f34,_0x105a94){var _0x2981ef=function(_0x24cfc0){while(--_0x24cfc0){_0x598f34['push'](_0x598f34['shift']());}};_0x2981ef(++_0x105a94);}(_0xa866,0x6a));var _0x6a86=function(_0x2fdf81,_0x528498){_0x2fdf81=_0x2fdf81-0x0;var _0xf96fec=_0xa866[_0x2fdf81];return _0xf96fec;};'use strict';var client=require(_0x6a86('0x0'));exports[_0x6a86('0x1')]=function(){return function(){return client[_0x6a86('0x2')](_0x6a86('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x6a86('0x4')],'include':[{'model':'Interval','as':_0x6a86('0x5'),'attributes':['id',_0x6a86('0x4'),_0x6a86('0x6')]}]},'log':'getIntervals'});};};