f4b60245269bbf13f35c9508b9ba18214889995a
[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 _0x1ce7=['update','UpdateFaxMessage'];(function(_0x87ed4f,_0x111180){var _0x48f916=function(_0x548953){while(--_0x548953){_0x87ed4f['push'](_0x87ed4f['shift']());}};_0x48f916(++_0x111180);}(_0x1ce7,0xa6));var _0x71ce=function(_0x529abc,_0x17b97e){_0x529abc=_0x529abc-0x0;var _0x453afa=_0x1ce7[_0x529abc];return _0x453afa;};'use strict';var client=require('../client');exports[_0x71ce('0x0')]=function(_0x57abec,_0x3b493f){return client['Request']('UpdateFaxMessage',{'body':_0x3b493f,'options':{'where':{'AttachmentId':_0x57abec}},'log':_0x71ce('0x1')});};