Built motion from commit ffdca78c.|2.6.24
[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 _0xd99d=['Interval','Intervals','interval','../client','Request','GetInterval','name'];(function(_0x3e41aa,_0x3b5f7e){var _0x28ab00=function(_0x2cb395){while(--_0x2cb395){_0x3e41aa['push'](_0x3e41aa['shift']());}};_0x28ab00(++_0x3b5f7e);}(_0xd99d,0xff));var _0xdd99=function(_0x31c3e6,_0x18ea01){_0x31c3e6=_0x31c3e6-0x0;var _0x3fbe5a=_0xd99d[_0x31c3e6];return _0x3fbe5a;};'use strict';var client=require(_0xdd99('0x0'));exports['getIntervals']=function(){return function(){return client[_0xdd99('0x1')](_0xdd99('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xdd99('0x3')],'include':[{'model':_0xdd99('0x4'),'as':_0xdd99('0x5'),'attributes':['id',_0xdd99('0x3'),_0xdd99('0x6')]}]},'log':'getIntervals'});};};