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 _0xb8a0=['Interval','Request','GetInterval'];(function(_0x1ddedd,_0x485606){var _0xa3e1ac=function(_0x580444){while(--_0x580444){_0x1ddedd['push'](_0x1ddedd['shift']());}};_0xa3e1ac(++_0x485606);}(_0xb8a0,0x1d5));var _0x0b8a=function(_0xd68475,_0x175bc9){_0xd68475=_0xd68475-0x0;var _0xb151c0=_0xb8a0[_0xd68475];return _0xb151c0;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client[_0x0b8a('0x0')](_0x0b8a('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x0b8a('0x2'),'as':'Intervals','attributes':['id','name','interval']}]},'log':'getIntervals'});};};