Built motion from commit 14588770.|2.5.38
[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 _0x2f7e=['Intervals','../client','getIntervals','Request','GetInterval','name','Interval'];(function(_0x14b758,_0x4ee22b){var _0x6841b4=function(_0x56f0ad){while(--_0x56f0ad){_0x14b758['push'](_0x14b758['shift']());}};_0x6841b4(++_0x4ee22b);}(_0x2f7e,0x104));var _0xe2f7=function(_0x1f8bcb,_0x955654){_0x1f8bcb=_0x1f8bcb-0x0;var _0x532b2c=_0x2f7e[_0x1f8bcb];return _0x532b2c;};'use strict';var client=require(_0xe2f7('0x0'));exports[_0xe2f7('0x1')]=function(){return function(){return client[_0xe2f7('0x2')](_0xe2f7('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xe2f7('0x4')],'include':[{'model':_0xe2f7('0x5'),'as':_0xe2f7('0x6'),'attributes':['id',_0xe2f7('0x4'),'interval']}]},'log':_0xe2f7('0x1')});};};