4328b587d64dcd401f71720842e38527ef1807e4
[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 _0xcf58=['update','Request','UpdateFaxMessage'];(function(_0x470ca2,_0x1d1ce3){var _0x7f78c0=function(_0x3c4eed){while(--_0x3c4eed){_0x470ca2['push'](_0x470ca2['shift']());}};_0x7f78c0(++_0x1d1ce3);}(_0xcf58,0x120));var _0x8cf5=function(_0x4b558f,_0xd5787){_0x4b558f=_0x4b558f-0x0;var _0x1bfce6=_0xcf58[_0x4b558f];return _0x1bfce6;};'use strict';var client=require('../client');exports[_0x8cf5('0x0')]=function(_0x3ef40b,_0x5da250){return client[_0x8cf5('0x1')]('UpdateFaxMessage',{'body':_0x5da250,'options':{'where':{'AttachmentId':_0x3ef40b}},'log':_0x8cf5('0x2')});};