Built motion from commit (unavailable).|2.5.0
[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 _0x934a=['headerinfo','localstationid','minrate','maxrate','gateway','faxdetect','t38timeout','TrunkId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','description'];(function(_0x1c89fa,_0x3c5c8d){var _0x5e5652=function(_0x10a54c){while(--_0x10a54c){_0x1c89fa['push'](_0x1c89fa['shift']());}};_0x5e5652(++_0x3c5c8d);}(_0x934a,0x127));var _0xa934=function(_0x23c3f4,_0x24f0b3){_0x23c3f4=_0x23c3f4-0x0;var _0x82f0f1=_0x934a[_0x23c3f4];return _0x82f0f1;};'use strict';var client=require(_0xa934('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xa934('0x1')](_0xa934('0x2'),{'options':{'raw':![],'attributes':['id',_0xa934('0x3'),_0xa934('0x4'),'ecm',_0xa934('0x5'),_0xa934('0x6'),_0xa934('0x7'),_0xa934('0x8'),'modem',_0xa934('0x9'),_0xa934('0xa'),_0xa934('0xb'),'tech',_0xa934('0xc'),'ListId',_0xa934('0xd')],'include':[{'model':_0xa934('0xe'),'as':_0xa934('0xe'),'attributes':['id',_0xa934('0x3'),_0xa934('0xf'),_0xa934('0x10')]}]},'log':_0xa934('0x11')});};};exports[_0xa934('0x12')]=function(_0x116e97,_0x2a5fd0){return client[_0xa934('0x1')](_0xa934('0x13'),{'account':{'id':_0x116e97},'body':_0x2a5fd0,'log':_0xa934('0x13')});};