Built motion from commit 1fd437e9.|2.6.19
[motion2.git] / server / services / ami / rpc / faxMessage.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 _0xd528=['Request','UpdateFaxMessage','../client'];(function(_0x46473c,_0x2fe8d8){var _0x1f4ce5=function(_0x551522){while(--_0x551522){_0x46473c['push'](_0x46473c['shift']());}};_0x1f4ce5(++_0x2fe8d8);}(_0xd528,0x86));var _0x8d52=function(_0x19e56d,_0x28557d){_0x19e56d=_0x19e56d-0x0;var _0x59dd9a=_0xd528[_0x19e56d];return _0x59dd9a;};'use strict';var client=require(_0x8d52('0x0'));exports['update']=function(_0x1b0f91,_0x49b14c){return client[_0x8d52('0x1')](_0x8d52('0x2'),{'body':_0x49b14c,'options':{'where':{'AttachmentId':_0x1b0f91}},'log':_0x8d52('0x2')});};