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 _0x3467=['Intervals','../client','getIntervals','Request','GetInterval','name','Interval'];(function(_0x4410f8,_0x5b4ce2){var _0x2d16cd=function(_0x47fc70){while(--_0x47fc70){_0x4410f8['push'](_0x4410f8['shift']());}};_0x2d16cd(++_0x5b4ce2);}(_0x3467,0x17b));var _0x7346=function(_0x37dc6c,_0x5bc1de){_0x37dc6c=_0x37dc6c-0x0;var _0x47f2ea=_0x3467[_0x37dc6c];return _0x47f2ea;};'use strict';var client=require(_0x7346('0x0'));exports[_0x7346('0x1')]=function(){return function(){return client[_0x7346('0x2')](_0x7346('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x7346('0x4')],'include':[{'model':_0x7346('0x5'),'as':_0x7346('0x6'),'attributes':['id','name','interval']}]},'log':_0x7346('0x1')});};};