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 _0x4af8=['getIntervals','name','Interval','Intervals'];(function(_0x529485,_0x1ba535){var _0x3aeaa9=function(_0x40bbb7){while(--_0x40bbb7){_0x529485['push'](_0x529485['shift']());}};_0x3aeaa9(++_0x1ba535);}(_0x4af8,0x1ad));var _0x84af=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x4af8[_0x46aff0];return _0x9d78cf;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x84af('0x0')],'include':[{'model':_0x84af('0x1'),'as':_0x84af('0x2'),'attributes':['id',_0x84af('0x0'),'interval']}]},'log':_0x84af('0x3')});};};