Built motion from commit fe909640.|2.6.8
[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 _0xdaeb=['swapAdditionalPhones','SwapAdditionalPhones','IncrementPreviewCounters','verifyAdditionalPhones','Request','VerifyAdditionalPhones'];(function(_0x1c8cc6,_0x411e5c){var _0x522936=function(_0x38d044){while(--_0x38d044){_0x1c8cc6['push'](_0x1c8cc6['shift']());}};_0x522936(++_0x411e5c);}(_0xdaeb,0x14d));var _0xbdae=function(_0x2f3c44,_0x5d9f9e){_0x2f3c44=_0x2f3c44-0x0;var _0x3eb75b=_0xdaeb[_0x2f3c44];return _0x3eb75b;};'use strict';var client=require('../client');var moment=require('moment');exports[_0xbdae('0x0')]=function(_0x29e064,_0x5d25c1,_0x34eebb){return function(){return client[_0xbdae('0x1')](_0xbdae('0x2'),{'body':_0x29e064,'reason':_0x5d25c1,'entity':_0x34eebb,'log':_0xbdae('0x2')});};};exports[_0xbdae('0x3')]=function(_0x267ad8,_0x2877ba,_0x5dc8b8){return function(){return client[_0xbdae('0x1')](_0xbdae('0x4'),{'body':_0x267ad8,'duration':_0x2877ba,'waitTime':_0x5dc8b8,'log':'SwapAdditionalPhones'});};};exports['incrementPreviewCounters']=function(_0x320072){return function(){return client[_0xbdae('0x1')](_0xbdae('0x5'),{'body':_0x320072,'log':_0xbdae('0x5')});};};