Built motion from commit 25580385.|2.6.2
[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 _0xf7c2=['Request','UpdateFaxMessage','update'];(function(_0x543a45,_0x46ae0b){var _0x54094a=function(_0x580bb4){while(--_0x580bb4){_0x543a45['push'](_0x543a45['shift']());}};_0x54094a(++_0x46ae0b);}(_0xf7c2,0x83));var _0x2f7c=function(_0xeb00db,_0x93329a){_0xeb00db=_0xeb00db-0x0;var _0x14a163=_0xf7c2[_0xeb00db];return _0x14a163;};'use strict';var client=require('../client');exports[_0x2f7c('0x0')]=function(_0x424956,_0xf092a9){return client[_0x2f7c('0x1')](_0x2f7c('0x2'),{'body':_0xf092a9,'options':{'where':{'AttachmentId':_0x424956}},'log':_0x2f7c('0x2')});};