58033b51dd1885dd6ac6007fd1f62d6e9cc3c746
[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 _0xebac=['Intervals','interval','../client','Request','GetInterval','name','Interval'];(function(_0xdad237,_0x361a1d){var _0x15c575=function(_0x8db2f6){while(--_0x8db2f6){_0xdad237['push'](_0xdad237['shift']());}};_0x15c575(++_0x361a1d);}(_0xebac,0xf7));var _0xceba=function(_0x2f7023,_0x1aa399){_0x2f7023=_0x2f7023-0x0;var _0x2f5e4e=_0xebac[_0x2f7023];return _0x2f5e4e;};'use strict';var client=require(_0xceba('0x0'));exports['getIntervals']=function(){return function(){return client[_0xceba('0x1')](_0xceba('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xceba('0x3')],'include':[{'model':_0xceba('0x4'),'as':_0xceba('0x5'),'attributes':['id',_0xceba('0x3'),_0xceba('0x6')]}]},'log':'getIntervals'});};};