Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / services / ami / rpc / faxAccount.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 _0x8922=['Request','GetFaxAccount','name','description','ecm','minrate','maxrate','gateway','faxdetect','t38timeout','tech','ListId','key','Trunk','active','notify','NotifyFaxAccount','../client','getFaxAccounts'];(function(_0x331438,_0x5321ab){var _0x528a3a=function(_0x9a33ab){while(--_0x9a33ab){_0x331438['push'](_0x331438['shift']());}};_0x528a3a(++_0x5321ab);}(_0x8922,0xe2));var _0x2892=function(_0x51e722,_0xa73423){_0x51e722=_0x51e722-0x0;var _0x14f136=_0x8922[_0x51e722];return _0x14f136;};'use strict';var client=require(_0x2892('0x0'));exports[_0x2892('0x1')]=function(){return function(){return client[_0x2892('0x2')](_0x2892('0x3'),{'options':{'raw':![],'attributes':['id',_0x2892('0x4'),_0x2892('0x5'),_0x2892('0x6'),'headerinfo','localstationid',_0x2892('0x7'),_0x2892('0x8'),'modem',_0x2892('0x9'),_0x2892('0xa'),_0x2892('0xb'),_0x2892('0xc'),'TrunkId',_0x2892('0xd'),_0x2892('0xe')],'include':[{'model':_0x2892('0xf'),'as':_0x2892('0xf'),'attributes':['id',_0x2892('0x4'),'callerid',_0x2892('0x10')]}]},'log':'getFaxAccount'});};};exports[_0x2892('0x11')]=function(_0x38b687,_0x3d6ffc){return client[_0x2892('0x2')](_0x2892('0x12'),{'account':{'id':_0x38b687},'body':_0x3d6ffc,'log':_0x2892('0x12')});};