744d21f6eea15057687a05c65928b935c0758167
[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 _0xf6f1=['update','UpdateFaxMessage'];(function(_0x41e880,_0x7f5f37){var _0x475d2d=function(_0x444f6e){while(--_0x444f6e){_0x41e880['push'](_0x41e880['shift']());}};_0x475d2d(++_0x7f5f37);}(_0xf6f1,0x11e));var _0x1f6f=function(_0x154b5c,_0x3dc309){_0x154b5c=_0x154b5c-0x0;var _0xd440c3=_0xf6f1[_0x154b5c];return _0xd440c3;};'use strict';var client=require('../client');exports[_0x1f6f('0x0')]=function(_0x4ae092,_0x338482){return client['Request'](_0x1f6f('0x1'),{'body':_0x338482,'options':{'where':{'AttachmentId':_0x4ae092}},'log':_0x1f6f('0x1')});};