Built motion from commit (unavailable).|2.5.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 _0x6b45=['IncrementPreviewCounters','../client','moment','Request','VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters'];(function(_0xa3c93c,_0x561863){var _0x4d522a=function(_0x3626ae){while(--_0x3626ae){_0xa3c93c['push'](_0xa3c93c['shift']());}};_0x4d522a(++_0x561863);}(_0x6b45,0xf9));var _0x56b4=function(_0x36ed48,_0x1ee0d4){_0x36ed48=_0x36ed48-0x0;var _0x51c63a=_0x6b45[_0x36ed48];return _0x51c63a;};'use strict';var client=require(_0x56b4('0x0'));var moment=require(_0x56b4('0x1'));exports['verifyAdditionalPhones']=function(_0x3904da,_0x2e77bd,_0x110aee){return function(){return client[_0x56b4('0x2')](_0x56b4('0x3'),{'body':_0x3904da,'reason':_0x2e77bd,'entity':_0x110aee,'log':_0x56b4('0x3')});};};exports[_0x56b4('0x4')]=function(_0x5de2b2,_0x46e673,_0x518404){return function(){return client[_0x56b4('0x2')]('SwapAdditionalPhones',{'body':_0x5de2b2,'duration':_0x46e673,'waitTime':_0x518404,'log':_0x56b4('0x5')});};};exports[_0x56b4('0x6')]=function(_0x1be2d6){return function(){return client[_0x56b4('0x2')]('IncrementPreviewCounters',{'body':_0x1be2d6,'log':_0x56b4('0x7')});};};