Built motion from commit 994c64e1.|2.6.1
[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 _0x7035=['SwapAdditionalPhones','incrementPreviewCounters','Request','IncrementPreviewCounters','verifyAdditionalPhones','VerifyAdditionalPhones','swapAdditionalPhones'];(function(_0x301b1d,_0x3a7163){var _0x28595b=function(_0x4ce9e8){while(--_0x4ce9e8){_0x301b1d['push'](_0x301b1d['shift']());}};_0x28595b(++_0x3a7163);}(_0x7035,0xcf));var _0x5703=function(_0x54dc9a,_0x3a9a39){_0x54dc9a=_0x54dc9a-0x0;var _0xe6d34e=_0x7035[_0x54dc9a];return _0xe6d34e;};'use strict';var client=require('../client');var moment=require('moment');exports[_0x5703('0x0')]=function(_0x404ae4,_0x41e206,_0x7af3f0){return function(){return client['Request'](_0x5703('0x1'),{'body':_0x404ae4,'reason':_0x41e206,'entity':_0x7af3f0,'log':_0x5703('0x1')});};};exports[_0x5703('0x2')]=function(_0x52dd8a,_0x349d05,_0x4729ea){return function(){return client['Request'](_0x5703('0x3'),{'body':_0x52dd8a,'duration':_0x349d05,'waitTime':_0x4729ea,'log':'SwapAdditionalPhones'});};};exports[_0x5703('0x4')]=function(_0x5ba60d){return function(){return client[_0x5703('0x5')]('IncrementPreviewCounters',{'body':_0x5ba60d,'log':_0x5703('0x6')});};};