Built motion from commit b9b02fed.|2.6.5
[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 _0x262f=['update','Request','UpdateFaxMessage','../client'];(function(_0x4a53d,_0x58a95e){var _0x27410e=function(_0x38fc90){while(--_0x38fc90){_0x4a53d['push'](_0x4a53d['shift']());}};_0x27410e(++_0x58a95e);}(_0x262f,0x10f));var _0xf262=function(_0x5d2b67,_0xdea376){_0x5d2b67=_0x5d2b67-0x0;var _0x7000d6=_0x262f[_0x5d2b67];return _0x7000d6;};'use strict';var client=require(_0xf262('0x0'));exports[_0xf262('0x1')]=function(_0x4ad82b,_0x282568){return client[_0xf262('0x2')](_0xf262('0x3'),{'body':_0x282568,'options':{'where':{'AttachmentId':_0x4ad82b}},'log':_0xf262('0x3')});};