Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / services / routing / rpc / interval.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbbf3=['interval','../client','Request','GetInterval','name','Interval'];(function(_0x48026b,_0x1f0efd){var _0x5867e4=function(_0x3fda71){while(--_0x3fda71){_0x48026b['push'](_0x48026b['shift']());}};_0x5867e4(++_0x1f0efd);}(_0xbbf3,0x16f));var _0x3bbf=function(_0x285132,_0x12c3ce){_0x285132=_0x285132-0x0;var _0x58875c=_0xbbf3[_0x285132];return _0x58875c;};'use strict';var client=require(_0x3bbf('0x0'));exports['getIntervals']=function(){return function(){return client[_0x3bbf('0x1')](_0x3bbf('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x3bbf('0x3')],'include':[{'model':_0x3bbf('0x4'),'as':'Intervals','attributes':['id','name',_0x3bbf('0x5')]}]},'log':'getIntervals'});};};