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 _0x3264=['Request','GetInterval','name','getIntervals'];(function(_0x3ff5f1,_0x3548fa){var _0x3265b9=function(_0x4d0b82){while(--_0x4d0b82){_0x3ff5f1['push'](_0x3ff5f1['shift']());}};_0x3265b9(++_0x3548fa);}(_0x3264,0x7f));var _0x4326=function(_0x51020b,_0x38c2c7){_0x51020b=_0x51020b-0x0;var _0x371e47=_0x3264[_0x51020b];return _0x371e47;};'use strict';var client=require('../client');exports[_0x4326('0x0')]=function(){return function(){return client[_0x4326('0x1')](_0x4326('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x4326('0x3')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0x4326('0x3'),'interval']}]},'log':'getIntervals'});};};