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 _0x3f8c=['Request','GetInterval','name','Interval'];(function(_0x159f91,_0xe8a30f){var _0x26bd65=function(_0x5680d1){while(--_0x5680d1){_0x159f91['push'](_0x159f91['shift']());}};_0x26bd65(++_0xe8a30f);}(_0x3f8c,0x104));var _0xc3f8=function(_0xd04d45,_0x4a22c1){_0xd04d45=_0xd04d45-0x0;var _0x943ce7=_0x3f8c[_0xd04d45];return _0x943ce7;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client[_0xc3f8('0x0')](_0xc3f8('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xc3f8('0x2')],'include':[{'model':_0xc3f8('0x3'),'as':'Intervals','attributes':['id','name','interval']}]},'log':'getIntervals'});};};