1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x0b0c=['VtigerConfiguration','VtigerField','Subjects','content','variableName','Variable','Descriptions','key','keyType','Fields','type','idField','customField','../../client','getVtigerAccounts','GetVtigerAccount','name','description','username','accessKey','remoteUri','serverUrl'];(function(_0xb01796,_0x54477e){var _0x24938e=function(_0x24beaa){while(--_0x24beaa){_0xb01796['push'](_0xb01796['shift']());}};_0x24938e(++_0x54477e);}(_0x0b0c,0x141));var _0xc0b0=function(_0xb3e53,_0x2583db){_0xb3e53=_0xb3e53-0x0;var _0x385233=_0x0b0c[_0xb3e53];return _0x385233;};'use strict';var client=require(_0xc0b0('0x0'));exports[_0xc0b0('0x1')]=function(){return function(_0x50986c){return client['Request'](_0xc0b0('0x2'),{'options':{'raw':![],'attributes':['id',_0xc0b0('0x3'),_0xc0b0('0x4'),_0xc0b0('0x5'),_0xc0b0('0x6'),_0xc0b0('0x7'),_0xc0b0('0x8')],'include':[{'model':_0xc0b0('0x9'),'as':'Configurations','attributes':['id',_0xc0b0('0x3')],'include':[{'model':_0xc0b0('0xa'),'as':_0xc0b0('0xb'),'attributes':['id','type',_0xc0b0('0xc'),_0xc0b0('0xd')],'include':[{'model':_0xc0b0('0xe'),'as':_0xc0b0('0xe'),'attributes':['id',_0xc0b0('0x3')]}]},{'model':_0xc0b0('0xa'),'as':_0xc0b0('0xf'),'attributes':['id','type',_0xc0b0('0xc'),_0xc0b0('0x10'),_0xc0b0('0x11'),'keyContent','variableName'],'include':[{'model':_0xc0b0('0xe'),'as':_0xc0b0('0xe'),'attributes':['id',_0xc0b0('0x3')]}]},{'model':'VtigerField','as':_0xc0b0('0x12'),'attributes':['id',_0xc0b0('0x13'),_0xc0b0('0xc'),_0xc0b0('0x14'),'nameField',_0xc0b0('0x15'),_0xc0b0('0xd')],'include':[{'model':'Variable','as':_0xc0b0('0xe'),'attributes':['id',_0xc0b0('0x3')]}]}]}]},'log':'GetVtigerAccount'});};};