Built motion from commit b5413ace.|2.6.9
[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 _0x81c4=['../client','verifyAdditionalPhones','Request','VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','IncrementPreviewCounters'];(function(_0x3d7f0e,_0x104d69){var _0x3e45dd=function(_0x56770a){while(--_0x56770a){_0x3d7f0e['push'](_0x3d7f0e['shift']());}};_0x3e45dd(++_0x104d69);}(_0x81c4,0x142));var _0x481c=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0x81c4[_0x297fd3];return _0x2af381;};'use strict';var client=require(_0x481c('0x0'));var moment=require('moment');exports[_0x481c('0x1')]=function(_0x338546,_0x3c2e4c,_0x47a354){return function(){return client[_0x481c('0x2')](_0x481c('0x3'),{'body':_0x338546,'reason':_0x3c2e4c,'entity':_0x47a354,'log':_0x481c('0x3')});};};exports[_0x481c('0x4')]=function(_0x4ea377,_0x1f9229,_0x5dca33){return function(){return client[_0x481c('0x2')](_0x481c('0x5'),{'body':_0x4ea377,'duration':_0x1f9229,'waitTime':_0x5dca33,'log':'SwapAdditionalPhones'});};};exports['incrementPreviewCounters']=function(_0x45613f){return function(){return client[_0x481c('0x2')](_0x481c('0x6'),{'body':_0x45613f,'log':_0x481c('0x6')});};};