Built motion from commit (unavailable).|2.5.8
[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 _0x6e6c=['getIntervals','GetInterval','name','../client'];(function(_0xdcf304,_0x558028){var _0x3f0173=function(_0x2c720f){while(--_0x2c720f){_0xdcf304['push'](_0xdcf304['shift']());}};_0x3f0173(++_0x558028);}(_0x6e6c,0xc3));var _0xc6e6=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x6e6c[_0x2dafbe];return _0x58a45a;};'use strict';var client=require(_0xc6e6('0x0'));exports[_0xc6e6('0x1')]=function(){return function(){return client['Request'](_0xc6e6('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xc6e6('0x3')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0xc6e6('0x3'),'interval']}]},'log':_0xc6e6('0x1')});};};