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 _0xb945=['keyType','Fields','nameField','../../client','getVtigerAccounts','GetVtigerAccount','name','description','accessKey','serverUrl','VtigerConfiguration','Configurations','VtigerField','type','content','variableName','Variable'];(function(_0x3522a5,_0x532cbe){var _0x10ca3b=function(_0x534702){while(--_0x534702){_0x3522a5['push'](_0x3522a5['shift']());}};_0x10ca3b(++_0x532cbe);}(_0xb945,0x168));var _0x5b94=function(_0x5073aa,_0x3681dd){_0x5073aa=_0x5073aa-0x0;var _0xf59ac5=_0xb945[_0x5073aa];return _0xf59ac5;};'use strict';var client=require(_0x5b94('0x0'));exports[_0x5b94('0x1')]=function(){return function(_0x2fdd5b){return client['Request'](_0x5b94('0x2'),{'options':{'raw':![],'attributes':['id',_0x5b94('0x3'),_0x5b94('0x4'),'username',_0x5b94('0x5'),'remoteUri',_0x5b94('0x6')],'include':[{'model':_0x5b94('0x7'),'as':_0x5b94('0x8'),'attributes':['id',_0x5b94('0x3')],'include':[{'model':_0x5b94('0x9'),'as':'Subjects','attributes':['id',_0x5b94('0xa'),_0x5b94('0xb'),_0x5b94('0xc')],'include':[{'model':'Variable','as':_0x5b94('0xd'),'attributes':['id',_0x5b94('0x3')]}]},{'model':_0x5b94('0x9'),'as':'Descriptions','attributes':['id',_0x5b94('0xa'),'content','key',_0x5b94('0xe'),'keyContent','variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':_0x5b94('0x9'),'as':_0x5b94('0xf'),'attributes':['id',_0x5b94('0xa'),'content','idField',_0x5b94('0x10'),'customField',_0x5b94('0xc')],'include':[{'model':_0x5b94('0xd'),'as':_0x5b94('0xd'),'attributes':['id',_0x5b94('0x3')]}]}]}]},'log':'GetVtigerAccount'});};};