Built motion from commit 0900f080.|2.5.45
[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 _0x2f2c=['update','Request','UpdateFaxMessage'];(function(_0x8c43de,_0x90ff31){var _0xa6591b=function(_0x469716){while(--_0x469716){_0x8c43de['push'](_0x8c43de['shift']());}};_0xa6591b(++_0x90ff31);}(_0x2f2c,0x90));var _0xc2f2=function(_0x307e69,_0x3da971){_0x307e69=_0x307e69-0x0;var _0x37961d=_0x2f2c[_0x307e69];return _0x37961d;};'use strict';var client=require('../client');exports[_0xc2f2('0x0')]=function(_0xceef67,_0x4964b5){return client[_0xc2f2('0x1')](_0xc2f2('0x2'),{'body':_0x4964b5,'options':{'where':{'AttachmentId':_0xceef67}},'log':_0xc2f2('0x2')});};