3693d1a841864eccd2cc3d888732ce4bf350bfa4
[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 _0xcdfa=['Request','UpdateFaxMessage','update'];(function(_0x5931ae,_0x544d5d){var _0x38501d=function(_0x361b39){while(--_0x361b39){_0x5931ae['push'](_0x5931ae['shift']());}};_0x38501d(++_0x544d5d);}(_0xcdfa,0xf2));var _0xacdf=function(_0x80adfb,_0x3273cb){_0x80adfb=_0x80adfb-0x0;var _0x14a47b=_0xcdfa[_0x80adfb];return _0x14a47b;};'use strict';var client=require('../client');exports[_0xacdf('0x0')]=function(_0x21398e,_0x1a9933){return client[_0xacdf('0x1')]('UpdateFaxMessage',{'body':_0x1a9933,'options':{'where':{'AttachmentId':_0x21398e}},'log':_0xacdf('0x2')});};