Built motion from commit 47436d59.|2.6.7
[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 _0x349f=['faxdetect','tech','TrunkId','ListId','key','Trunk','getFaxAccount','notify','../client','getFaxAccounts','Request','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway'];(function(_0x33a8c5,_0x2f4b8a){var _0x5585b4=function(_0x2f26f4){while(--_0x2f26f4){_0x33a8c5['push'](_0x33a8c5['shift']());}};_0x5585b4(++_0x2f4b8a);}(_0x349f,0xa8));var _0xf349=function(_0x4dea12,_0x2544d8){_0x4dea12=_0x4dea12-0x0;var _0x3b01f7=_0x349f[_0x4dea12];return _0x3b01f7;};'use strict';var client=require(_0xf349('0x0'));exports[_0xf349('0x1')]=function(){return function(){return client[_0xf349('0x2')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xf349('0x3'),_0xf349('0x4'),_0xf349('0x5'),_0xf349('0x6'),_0xf349('0x7'),_0xf349('0x8'),_0xf349('0x9'),_0xf349('0xa'),_0xf349('0xb'),_0xf349('0xc'),'t38timeout',_0xf349('0xd'),_0xf349('0xe'),_0xf349('0xf'),_0xf349('0x10')],'include':[{'model':_0xf349('0x11'),'as':_0xf349('0x11'),'attributes':['id',_0xf349('0x3'),'callerid','active']}]},'log':_0xf349('0x12')});};};exports[_0xf349('0x13')]=function(_0x459747,_0x209408){return client[_0xf349('0x2')]('NotifyFaxAccount',{'account':{'id':_0x459747},'body':_0x209408,'log':'NotifyFaxAccount'});};