854010f1f15d2628f0f44b44b8ff4361922ab7df
[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 _0xd294=['Request','UpdateFaxMessage','../client','update'];(function(_0x336d06,_0x39bd81){var _0x55984b=function(_0x36063){while(--_0x36063){_0x336d06['push'](_0x336d06['shift']());}};_0x55984b(++_0x39bd81);}(_0xd294,0x1c2));var _0x4d29=function(_0x4170dc,_0x4a2797){_0x4170dc=_0x4170dc-0x0;var _0x13517b=_0xd294[_0x4170dc];return _0x13517b;};'use strict';var client=require(_0x4d29('0x0'));exports[_0x4d29('0x1')]=function(_0x20200f,_0x4bfa1f){return client[_0x4d29('0x2')]('UpdateFaxMessage',{'body':_0x4bfa1f,'options':{'where':{'AttachmentId':_0x20200f}},'log':_0x4d29('0x3')});};