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 _0x56af=['name','interval','../client','getIntervals','Interval','Intervals'];(function(_0x5f37df,_0x50a2e2){var _0x3046df=function(_0x4c84fa){while(--_0x4c84fa){_0x5f37df['push'](_0x5f37df['shift']());}};_0x3046df(++_0x50a2e2);}(_0x56af,0x15e));var _0xf56a=function(_0x134557,_0x19ea33){_0x134557=_0x134557-0x0;var _0x1ab4eb=_0x56af[_0x134557];return _0x1ab4eb;};'use strict';var client=require(_0xf56a('0x0'));exports[_0xf56a('0x1')]=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0xf56a('0x2'),'as':_0xf56a('0x3'),'attributes':['id',_0xf56a('0x4'),_0xf56a('0x5')]}]},'log':'getIntervals'});};};