Built motion from commit 43538d75.|2.5.35
[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 _0x1e24=['TrunkId','ListId','key','Trunk','name','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid','maxrate','modem','gateway','faxdetect','t38timeout','tech'];(function(_0x5d7227,_0x12aebe){var _0x15ac55=function(_0x58d13e){while(--_0x58d13e){_0x5d7227['push'](_0x5d7227['shift']());}};_0x15ac55(++_0x12aebe);}(_0x1e24,0x82));var _0x41e2=function(_0x394862,_0x17c8cf){_0x394862=_0x394862-0x0;var _0x46ec78=_0x1e24[_0x394862];return _0x46ec78;};'use strict';var client=require(_0x41e2('0x0'));exports[_0x41e2('0x1')]=function(){return function(){return client[_0x41e2('0x2')](_0x41e2('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x41e2('0x4'),_0x41e2('0x5'),_0x41e2('0x6'),_0x41e2('0x7'),'minrate',_0x41e2('0x8'),_0x41e2('0x9'),_0x41e2('0xa'),_0x41e2('0xb'),_0x41e2('0xc'),_0x41e2('0xd'),_0x41e2('0xe'),_0x41e2('0xf'),_0x41e2('0x10')],'include':[{'model':'Trunk','as':_0x41e2('0x11'),'attributes':['id',_0x41e2('0x12'),_0x41e2('0x13'),_0x41e2('0x14')]}]},'log':_0x41e2('0x15')});};};exports[_0x41e2('0x16')]=function(_0x19a116,_0x45f65c){return client[_0x41e2('0x2')]('NotifyFaxAccount',{'account':{'id':_0x19a116},'body':_0x45f65c,'log':_0x41e2('0x17')});};