Built motion from commit 953226e6.|2.6.32
[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 _0xcb9c=['verifyAdditionalPhones','Request','VerifyAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','../client'];(function(_0x1bbdce,_0x4f0859){var _0x471822=function(_0x13efac){while(--_0x13efac){_0x1bbdce['push'](_0x1bbdce['shift']());}};_0x471822(++_0x4f0859);}(_0xcb9c,0x110));var _0xccb9=function(_0x4e81e,_0x15ada2){_0x4e81e=_0x4e81e-0x0;var _0x30d82d=_0xcb9c[_0x4e81e];return _0x30d82d;};'use strict';var client=require(_0xccb9('0x0'));exports[_0xccb9('0x1')]=function(_0x1c6257,_0x11b2fa,_0x1647b1){return client[_0xccb9('0x2')](_0xccb9('0x3'),{'body':_0x1c6257,'reason':_0x11b2fa,'entity':_0x1647b1,'log':_0xccb9('0x3')});};exports['swapAdditionalPhones']=function(_0x125125,_0x409f42,_0x25107c){return client['Request'](_0xccb9('0x4'),{'body':_0x125125,'duration':_0x409f42,'waitTime':_0x25107c,'log':_0xccb9('0x4')});};exports[_0xccb9('0x5')]=function(_0x54e899){return function(){return client[_0xccb9('0x2')](_0xccb9('0x6'),{'body':_0x54e899,'log':_0xccb9('0x6')});};};