Built motion from commit fe909640.|2.6.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 _0xb684=['name','interval','../client','getIntervals','Request','GetInterval','Interval','Intervals'];(function(_0x26bfa7,_0x22ffa0){var _0x2fc529=function(_0x2b0d1d){while(--_0x2b0d1d){_0x26bfa7['push'](_0x26bfa7['shift']());}};_0x2fc529(++_0x22ffa0);}(_0xb684,0xfa));var _0x4b68=function(_0x1a674c,_0x1497a8){_0x1a674c=_0x1a674c-0x0;var _0xcbfa11=_0xb684[_0x1a674c];return _0xcbfa11;};'use strict';var client=require(_0x4b68('0x0'));exports[_0x4b68('0x1')]=function(){return function(){return client[_0x4b68('0x2')](_0x4b68('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x4b68('0x4'),'as':_0x4b68('0x5'),'attributes':['id',_0x4b68('0x6'),_0x4b68('0x7')]}]},'log':_0x4b68('0x1')});};};