Built motion from commit (unavailable).|2.5.31
[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 _0xee4f=['name','Interval','getIntervals','../client','GetInterval'];(function(_0x4709c0,_0x3396c7){var _0x13348b=function(_0x426235){while(--_0x426235){_0x4709c0['push'](_0x4709c0['shift']());}};_0x13348b(++_0x3396c7);}(_0xee4f,0xad));var _0xfee4=function(_0x11b0ef,_0x44230b){_0x11b0ef=_0x11b0ef-0x0;var _0x5118e1=_0xee4f[_0x11b0ef];return _0x5118e1;};'use strict';var client=require(_0xfee4('0x0'));exports['getIntervals']=function(){return function(){return client['Request'](_0xfee4('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xfee4('0x2')],'include':[{'model':_0xfee4('0x3'),'as':'Intervals','attributes':['id',_0xfee4('0x2'),'interval']}]},'log':_0xfee4('0x4')});};};