Built motion from commit (unavailable).|2.5.14
[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 _0xac52=['Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','headerinfo','localstationid','maxrate','modem','gateway','tech','TrunkId','ListId','key'];(function(_0x47b16b,_0x237bc5){var _0x2ecc7b=function(_0x10a8f2){while(--_0x10a8f2){_0x47b16b['push'](_0x47b16b['shift']());}};_0x2ecc7b(++_0x237bc5);}(_0xac52,0x122));var _0x2ac5=function(_0x3e7e96,_0x5683ca){_0x3e7e96=_0x3e7e96-0x0;var _0x13f6f0=_0xac52[_0x3e7e96];return _0x13f6f0;};'use strict';var client=require('../client');exports[_0x2ac5('0x0')]=function(){return function(){return client[_0x2ac5('0x1')](_0x2ac5('0x2'),{'options':{'raw':![],'attributes':['id',_0x2ac5('0x3'),_0x2ac5('0x4'),'ecm',_0x2ac5('0x5'),_0x2ac5('0x6'),'minrate',_0x2ac5('0x7'),_0x2ac5('0x8'),_0x2ac5('0x9'),'faxdetect','t38timeout',_0x2ac5('0xa'),_0x2ac5('0xb'),_0x2ac5('0xc'),_0x2ac5('0xd')],'include':[{'model':_0x2ac5('0xe'),'as':_0x2ac5('0xe'),'attributes':['id',_0x2ac5('0x3'),_0x2ac5('0xf'),_0x2ac5('0x10')]}]},'log':_0x2ac5('0x11')});};};exports['notify']=function(_0x1e4f2d,_0x409040){return client[_0x2ac5('0x1')](_0x2ac5('0x12'),{'account':{'id':_0x1e4f2d},'body':_0x409040,'log':'NotifyFaxAccount'});};