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 _0x2b65=['GetInterval','name','Interval','Intervals','../client','getIntervals','Request'];(function(_0x136290,_0x3e6b8f){var _0x290e92=function(_0x4095d6){while(--_0x4095d6){_0x136290['push'](_0x136290['shift']());}};_0x290e92(++_0x3e6b8f);}(_0x2b65,0x131));var _0x52b6=function(_0x226494,_0xc4b645){_0x226494=_0x226494-0x0;var _0x27b950=_0x2b65[_0x226494];return _0x27b950;};'use strict';var client=require(_0x52b6('0x0'));exports[_0x52b6('0x1')]=function(){return function(){return client[_0x52b6('0x2')](_0x52b6('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x52b6('0x4')],'include':[{'model':_0x52b6('0x5'),'as':_0x52b6('0x6'),'attributes':['id',_0x52b6('0x4'),'interval']}]},'log':_0x52b6('0x1')});};};