90a32870f122e4626c097caa3484affe4c1b10a8
[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 _0xe788=['../client','getIntervals','Request','GetInterval','Interval','name','interval'];(function(_0x34bc6c,_0x10d089){var _0x168820=function(_0xb058d9){while(--_0xb058d9){_0x34bc6c['push'](_0x34bc6c['shift']());}};_0x168820(++_0x10d089);}(_0xe788,0x70));var _0x8e78=function(_0x20dfb0,_0x4418d4){_0x20dfb0=_0x20dfb0-0x0;var _0xf6592e=_0xe788[_0x20dfb0];return _0xf6592e;};'use strict';var client=require(_0x8e78('0x0'));exports[_0x8e78('0x1')]=function(){return function(){return client[_0x8e78('0x2')](_0x8e78('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x8e78('0x4'),'as':'Intervals','attributes':['id',_0x8e78('0x5'),_0x8e78('0x6')]}]},'log':'getIntervals'});};};