Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / services / ami / rpc / cmHopperAdditionalPhone.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 _0x93e6=['SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','Request','VerifyAdditionalPhones'];(function(_0x5a1f86,_0x56296e){var _0x575939=function(_0x21d5a6){while(--_0x21d5a6){_0x5a1f86['push'](_0x5a1f86['shift']());}};_0x575939(++_0x56296e);}(_0x93e6,0x67));var _0x693e=function(_0xc0acde,_0x4df117){_0xc0acde=_0xc0acde-0x0;var _0x2d9a9d=_0x93e6[_0xc0acde];return _0x2d9a9d;};'use strict';var client=require('../client');exports['verifyAdditionalPhones']=function(_0x5883db,_0x52db90,_0x5b20f3){return client[_0x693e('0x0')](_0x693e('0x1'),{'body':_0x5883db,'reason':_0x52db90,'entity':_0x5b20f3,'log':_0x693e('0x1')});};exports['swapAdditionalPhones']=function(_0xe21ccf,_0x2a9b1a,_0x3bd35a){return client['Request']('SwapAdditionalPhones',{'body':_0xe21ccf,'duration':_0x2a9b1a,'waitTime':_0x3bd35a,'log':_0x693e('0x2')});};exports[_0x693e('0x3')]=function(_0x495151){return function(){return client['Request'](_0x693e('0x4'),{'body':_0x495151,'log':_0x693e('0x4')});};};