Built motion from commit (unavailable).|2.5.16
[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 _0x27d1=['key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway','t38timeout','tech','TrunkId','ListId'];(function(_0x298dd7,_0x579273){var _0x995c4a=function(_0xccbb73){while(--_0xccbb73){_0x298dd7['push'](_0x298dd7['shift']());}};_0x995c4a(++_0x579273);}(_0x27d1,0x132));var _0x127d=function(_0x19697d,_0x57ec7b){_0x19697d=_0x19697d-0x0;var _0x1b9c31=_0x27d1[_0x19697d];return _0x1b9c31;};'use strict';var client=require(_0x127d('0x0'));exports[_0x127d('0x1')]=function(){return function(){return client[_0x127d('0x2')](_0x127d('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x127d('0x4'),_0x127d('0x5'),_0x127d('0x6'),_0x127d('0x7'),_0x127d('0x8'),_0x127d('0x9'),_0x127d('0xa'),_0x127d('0xb'),'faxdetect',_0x127d('0xc'),_0x127d('0xd'),_0x127d('0xe'),_0x127d('0xf'),_0x127d('0x10')],'include':[{'model':'Trunk','as':_0x127d('0x11'),'attributes':['id','name',_0x127d('0x12'),_0x127d('0x13')]}]},'log':_0x127d('0x14')});};};exports[_0x127d('0x15')]=function(_0x2efcdc,_0xa56b1b){return client[_0x127d('0x2')](_0x127d('0x16'),{'account':{'id':_0x2efcdc},'body':_0xa56b1b,'log':'NotifyFaxAccount'});};