f381597335d470460f991f2e41a03e0a4e8c9dfb
[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 _0xe0a4=['name','Interval','Intervals','interval','getIntervals','Request','GetInterval'];(function(_0x32e57a,_0x3d5c3d){var _0x493891=function(_0x502743){while(--_0x502743){_0x32e57a['push'](_0x32e57a['shift']());}};_0x493891(++_0x3d5c3d);}(_0xe0a4,0xcf));var _0x4e0a=function(_0x2ff497,_0x2c0151){_0x2ff497=_0x2ff497-0x0;var _0x355215=_0xe0a4[_0x2ff497];return _0x355215;};'use strict';var client=require('../client');exports[_0x4e0a('0x0')]=function(){return function(){return client[_0x4e0a('0x1')](_0x4e0a('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x4e0a('0x3')],'include':[{'model':_0x4e0a('0x4'),'as':_0x4e0a('0x5'),'attributes':['id','name',_0x4e0a('0x6')]}]},'log':'getIntervals'});};};