Built motion from commit 775e2a94.|2.6.3
[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 _0x361e=['../client','getIntervals','Request','name','Interval','Intervals','interval'];(function(_0x2f090f,_0x387a23){var _0x4edb0a=function(_0x40c390){while(--_0x40c390){_0x2f090f['push'](_0x2f090f['shift']());}};_0x4edb0a(++_0x387a23);}(_0x361e,0x13b));var _0xe361=function(_0x5c7841,_0x39b9b3){_0x5c7841=_0x5c7841-0x0;var _0x7e5475=_0x361e[_0x5c7841];return _0x7e5475;};'use strict';var client=require(_0xe361('0x0'));exports[_0xe361('0x1')]=function(){return function(){return client[_0xe361('0x2')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xe361('0x3')],'include':[{'model':_0xe361('0x4'),'as':_0xe361('0x5'),'attributes':['id',_0xe361('0x3'),_0xe361('0x6')]}]},'log':_0xe361('0x1')});};};