Built motion from commit 25580385.|2.6.2
[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 _0x6b47=['gateway','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','Request','NotifyFaxAccount','getFaxAccounts','GetFaxAccount','name','description','ecm','localstationid','minrate','maxrate','modem'];(function(_0x33d7c2,_0x957161){var _0x51d316=function(_0x2843c7){while(--_0x2843c7){_0x33d7c2['push'](_0x33d7c2['shift']());}};_0x51d316(++_0x957161);}(_0x6b47,0xe9));var _0x76b4=function(_0xd70515,_0x50cfb3){_0xd70515=_0xd70515-0x0;var _0x1e9a3a=_0x6b47[_0xd70515];return _0x1e9a3a;};'use strict';var client=require('../client');exports[_0x76b4('0x0')]=function(){return function(){return client['Request'](_0x76b4('0x1'),{'options':{'raw':![],'attributes':['id',_0x76b4('0x2'),_0x76b4('0x3'),_0x76b4('0x4'),'headerinfo',_0x76b4('0x5'),_0x76b4('0x6'),_0x76b4('0x7'),_0x76b4('0x8'),_0x76b4('0x9'),'faxdetect',_0x76b4('0xa'),_0x76b4('0xb'),_0x76b4('0xc'),_0x76b4('0xd'),_0x76b4('0xe')],'include':[{'model':_0x76b4('0xf'),'as':_0x76b4('0xf'),'attributes':['id',_0x76b4('0x2'),_0x76b4('0x10'),_0x76b4('0x11')]}]},'log':_0x76b4('0x12')});};};exports[_0x76b4('0x13')]=function(_0xc95c50,_0x4d8823){return client[_0x76b4('0x14')](_0x76b4('0x15'),{'account':{'id':_0xc95c50},'body':_0x4d8823,'log':'NotifyFaxAccount'});};