e21c037d99687269da01bdace24ddccf7a34e2d9
[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 _0x4c3d=['Request','UpdateFaxMessage','../client'];(function(_0x13f3f7,_0x51e381){var _0xed7c69=function(_0x3ee93e){while(--_0x3ee93e){_0x13f3f7['push'](_0x13f3f7['shift']());}};_0xed7c69(++_0x51e381);}(_0x4c3d,0x1f4));var _0xd4c3=function(_0x1c2f4d,_0x40e117){_0x1c2f4d=_0x1c2f4d-0x0;var _0x5273b7=_0x4c3d[_0x1c2f4d];return _0x5273b7;};'use strict';var client=require(_0xd4c3('0x0'));exports['update']=function(_0x24010e,_0x44fc21){return client[_0xd4c3('0x1')](_0xd4c3('0x2'),{'body':_0x44fc21,'options':{'where':{'AttachmentId':_0x24010e}},'log':'UpdateFaxMessage'});};