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 _0x23ea=['Request','GetInterval','name','Interval','interval','getIntervals'];(function(_0x281c8b,_0x2e5b86){var _0x50da65=function(_0x4179eb){while(--_0x4179eb){_0x281c8b['push'](_0x281c8b['shift']());}};_0x50da65(++_0x2e5b86);}(_0x23ea,0x119));var _0xa23e=function(_0x1b8f52,_0x111226){_0x1b8f52=_0x1b8f52-0x0;var _0x17c536=_0x23ea[_0x1b8f52];return _0x17c536;};'use strict';var client=require('../client');exports[_0xa23e('0x0')]=function(){return function(){return client[_0xa23e('0x1')](_0xa23e('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xa23e('0x3')],'include':[{'model':_0xa23e('0x4'),'as':'Intervals','attributes':['id',_0xa23e('0x3'),_0xa23e('0x5')]}]},'log':_0xa23e('0x0')});};};