1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6599=['Interval','getIntervals','Request','GetInterval','name'];(function(_0x447455,_0x206d8c){var _0x305cf3=function(_0x3738a2){while(--_0x3738a2){_0x447455['push'](_0x447455['shift']());}};_0x305cf3(++_0x206d8c);}(_0x6599,0xb0));var _0x9659=function(_0x115621,_0x341cde){_0x115621=_0x115621-0x0;var _0x5ef5ce=_0x6599[_0x115621];return _0x5ef5ce;};'use strict';var client=require('../client');exports[_0x9659('0x0')]=function(){return function(){return client[_0x9659('0x1')](_0x9659('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x9659('0x3')],'include':[{'model':_0x9659('0x4'),'as':'Intervals','attributes':['id',_0x9659('0x3'),'interval']}]},'log':_0x9659('0x0')});};};