Built motion from commit (unavailable).|2.5.11
[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 _0x3052=['name','description','ecm','headerinfo','localstationid','maxrate','gateway','faxdetect','t38timeout','tech','TrunkId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0xe06926,_0x1b6755){var _0x14b28e=function(_0x250f3d){while(--_0x250f3d){_0xe06926['push'](_0xe06926['shift']());}};_0x14b28e(++_0x1b6755);}(_0x3052,0x164));var _0x2305=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x3052[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0x2305('0x0'));exports[_0x2305('0x1')]=function(){return function(){return client[_0x2305('0x2')](_0x2305('0x3'),{'options':{'raw':![],'attributes':['id',_0x2305('0x4'),_0x2305('0x5'),_0x2305('0x6'),_0x2305('0x7'),_0x2305('0x8'),'minrate',_0x2305('0x9'),'modem',_0x2305('0xa'),_0x2305('0xb'),_0x2305('0xc'),_0x2305('0xd'),_0x2305('0xe'),'ListId','key'],'include':[{'model':_0x2305('0xf'),'as':_0x2305('0xf'),'attributes':['id','name',_0x2305('0x10'),_0x2305('0x11')]}]},'log':_0x2305('0x12')});};};exports['notify']=function(_0x5ca2fb,_0x16855c){return client[_0x2305('0x2')](_0x2305('0x13'),{'account':{'id':_0x5ca2fb},'body':_0x16855c,'log':'NotifyFaxAccount'});};