Built motion from commit 3e059bc2.|2.5.32
[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 _0x3f5f=['Interval','name','getIntervals','Request','GetInterval'];(function(_0x329406,_0x34ff27){var _0x42176f=function(_0x313034){while(--_0x313034){_0x329406['push'](_0x329406['shift']());}};_0x42176f(++_0x34ff27);}(_0x3f5f,0x1f1));var _0xf3f5=function(_0xa013a4,_0x2ff249){_0xa013a4=_0xa013a4-0x0;var _0x27f4a2=_0x3f5f[_0xa013a4];return _0x27f4a2;};'use strict';var client=require('../client');exports[_0xf3f5('0x0')]=function(){return function(){return client[_0xf3f5('0x1')](_0xf3f5('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0xf3f5('0x3'),'as':'Intervals','attributes':['id',_0xf3f5('0x4'),'interval']}]},'log':'getIntervals'});};};