Built motion from commit ff78e754.|2.6.29
[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 _0x2c92=['VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','../client','verifyAdditionalPhones','Request'];(function(_0x2c0546,_0x316d34){var _0x391857=function(_0x3904a6){while(--_0x3904a6){_0x2c0546['push'](_0x2c0546['shift']());}};_0x391857(++_0x316d34);}(_0x2c92,0x135));var _0x22c9=function(_0x485abd,_0x32c7c1){_0x485abd=_0x485abd-0x0;var _0x3379f1=_0x2c92[_0x485abd];return _0x3379f1;};'use strict';var client=require(_0x22c9('0x0'));exports[_0x22c9('0x1')]=function(_0x245ca9,_0x5e4f51,_0x84ba3a){return client[_0x22c9('0x2')]('VerifyAdditionalPhones',{'body':_0x245ca9,'reason':_0x5e4f51,'entity':_0x84ba3a,'log':_0x22c9('0x3')});};exports[_0x22c9('0x4')]=function(_0x51f837,_0x34872b,_0xd0b006){return client[_0x22c9('0x2')]('SwapAdditionalPhones',{'body':_0x51f837,'duration':_0x34872b,'waitTime':_0xd0b006,'log':_0x22c9('0x5')});};exports[_0x22c9('0x6')]=function(_0x5abe91){return function(){return client[_0x22c9('0x2')](_0x22c9('0x7'),{'body':_0x5abe91,'log':'IncrementPreviewCounters'});};};