d221f72c423d591278ca071309b8a204817b2dc9
[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 _0x6f9f=['SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','verifyAdditionalPhones','Request','VerifyAdditionalPhones'];(function(_0x9ff33a,_0x337edb){var _0x5d6bda=function(_0x523361){while(--_0x523361){_0x9ff33a['push'](_0x9ff33a['shift']());}};_0x5d6bda(++_0x337edb);}(_0x6f9f,0x117));var _0xf6f9=function(_0x48bf71,_0x2a795f){_0x48bf71=_0x48bf71-0x0;var _0x342efc=_0x6f9f[_0x48bf71];return _0x342efc;};'use strict';var client=require('../client');exports[_0xf6f9('0x0')]=function(_0x47f6d3,_0x4d4a2c,_0x361924){return client[_0xf6f9('0x1')](_0xf6f9('0x2'),{'body':_0x47f6d3,'reason':_0x4d4a2c,'entity':_0x361924,'log':_0xf6f9('0x2')});};exports['swapAdditionalPhones']=function(_0x306553,_0x1d48fd,_0x465a43){return client['Request'](_0xf6f9('0x3'),{'body':_0x306553,'duration':_0x1d48fd,'waitTime':_0x465a43,'log':_0xf6f9('0x3')});};exports[_0xf6f9('0x4')]=function(_0x3954f5){return function(){return client[_0xf6f9('0x1')](_0xf6f9('0x5'),{'body':_0x3954f5,'log':_0xf6f9('0x5')});};};