Built motion from commit 00bf23f6.|2.6.16
[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 _0xf257=['Intervals','interval','getIntervals','name'];(function(_0x4027fb,_0x20e4ea){var _0x15e88d=function(_0x24b73f){while(--_0x24b73f){_0x4027fb['push'](_0x4027fb['shift']());}};_0x15e88d(++_0x20e4ea);}(_0xf257,0xd2));var _0x7f25=function(_0x36b611,_0x1e42e7){_0x36b611=_0x36b611-0x0;var _0x2d6dd8=_0xf257[_0x36b611];return _0x2d6dd8;};'use strict';var client=require('../client');exports[_0x7f25('0x0')]=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x7f25('0x1')],'include':[{'model':'Interval','as':_0x7f25('0x2'),'attributes':['id','name',_0x7f25('0x3')]}]},'log':'getIntervals'});};};