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 _0xe8fb=['../client','GetInterval','name','Interval','Intervals','interval'];(function(_0x2f8cb4,_0x2958d5){var _0x16dd55=function(_0x12405b){while(--_0x12405b){_0x2f8cb4['push'](_0x2f8cb4['shift']());}};_0x16dd55(++_0x2958d5);}(_0xe8fb,0x180));var _0xbe8f=function(_0x169efd,_0x85d705){_0x169efd=_0x169efd-0x0;var _0x430361=_0xe8fb[_0x169efd];return _0x430361;};'use strict';var client=require(_0xbe8f('0x0'));exports['getIntervals']=function(){return function(){return client['Request'](_0xbe8f('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xbe8f('0x2')],'include':[{'model':_0xbe8f('0x3'),'as':_0xbe8f('0x4'),'attributes':['id',_0xbe8f('0x2'),_0xbe8f('0x5')]}]},'log':'getIntervals'});};};