Built motion from commit (unavailable).|2.5.10
[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 _0x5fbe=['Request','GetFaxAccount','name','description','headerinfo','localstationid','maxrate','modem','faxdetect','tech','ListId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts'];(function(_0x1be1f6,_0x5e7089){var _0x2bd577=function(_0x210461){while(--_0x210461){_0x1be1f6['push'](_0x1be1f6['shift']());}};_0x2bd577(++_0x5e7089);}(_0x5fbe,0xe3));var _0xe5fb=function(_0x2aa498,_0x16724a){_0x2aa498=_0x2aa498-0x0;var _0x5bafb7=_0x5fbe[_0x2aa498];return _0x5bafb7;};'use strict';var client=require('../client');exports[_0xe5fb('0x0')]=function(){return function(){return client[_0xe5fb('0x1')](_0xe5fb('0x2'),{'options':{'raw':![],'attributes':['id',_0xe5fb('0x3'),_0xe5fb('0x4'),'ecm',_0xe5fb('0x5'),_0xe5fb('0x6'),'minrate',_0xe5fb('0x7'),_0xe5fb('0x8'),'gateway',_0xe5fb('0x9'),'t38timeout',_0xe5fb('0xa'),'TrunkId',_0xe5fb('0xb'),_0xe5fb('0xc')],'include':[{'model':_0xe5fb('0xd'),'as':_0xe5fb('0xd'),'attributes':['id',_0xe5fb('0x3'),_0xe5fb('0xe'),_0xe5fb('0xf')]}]},'log':_0xe5fb('0x10')});};};exports[_0xe5fb('0x11')]=function(_0x28af3b,_0x2681c5){return client[_0xe5fb('0x1')](_0xe5fb('0x12'),{'account':{'id':_0x28af3b},'body':_0x2681c5,'log':_0xe5fb('0x12')});};