4dd49afe1a1c2d3ddec9b8074cd7d0366690e36e
[motion2.git] / server / services / ami / rpc / voiceAgentReport.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 _0x9c9c=['../client','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0x3f8269,_0x3193da){var _0x12a7d7=function(_0x448c85){while(--_0x448c85){_0x3f8269['push'](_0x3f8269['shift']());}};_0x12a7d7(++_0x3193da);}(_0x9c9c,0x104));var _0xc9c9=function(_0x4d3b1b,_0x1b1049){_0x4d3b1b=_0x4d3b1b-0x0;var _0x521593=_0x9c9c[_0x4d3b1b];return _0x521593;};'use strict';var client=require(_0xc9c9('0x0'));exports['create']=function(_0x41ba50){return client[_0xc9c9('0x1')]('CreateVoiceAgentReport',{'body':_0x41ba50,'log':_0xc9c9('0x2')});};exports['update']=function(_0x678651,_0xc7a2fb,_0x1b6841){return client[_0xc9c9('0x1')](_0xc9c9('0x3'),{'body':_0x678651,'options':{'where':{'uniqueid':_0xc7a2fb,'interface':_0x1b6841,'agentcomplete':!![]}},'log':_0xc9c9('0x3')});};