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 _0x2b15=['createHistory','Request','CreateReportAgentPreview'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x2b15,0x96));var _0x52b1=function(_0x1528fa,_0x3aef36){_0x1528fa=_0x1528fa-0x0;var _0x5063e7=_0x2b15[_0x1528fa];return _0x5063e7;};'use strict';var client=require('../client');exports[_0x52b1('0x0')]=function(_0x1586fc){return function(){_0x1586fc['campaign']=_0x1586fc['queue'];return client[_0x52b1('0x1')](_0x52b1('0x2'),{'body':_0x1586fc,'log':_0x52b1('0x2')});};};