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 _0xeb08=['VtigerConfiguration','Configurations','VtigerField','type','content','variableName','Variable','keyContent','idField','nameField','../../client','getVtigerAccounts','Request','GetVtigerAccount','name','description','username','accessKey','remoteUri','serverUrl'];(function(_0x5a0b94,_0x4d841e){var _0x3f6c70=function(_0x2d5411){while(--_0x2d5411){_0x5a0b94['push'](_0x5a0b94['shift']());}};_0x3f6c70(++_0x4d841e);}(_0xeb08,0x96));var _0x8eb0=function(_0x4a45b4,_0x59804f){_0x4a45b4=_0x4a45b4-0x0;var _0x1a99c9=_0xeb08[_0x4a45b4];return _0x1a99c9;};'use strict';var client=require(_0x8eb0('0x0'));exports[_0x8eb0('0x1')]=function(){return function(_0x4c6601){return client[_0x8eb0('0x2')](_0x8eb0('0x3'),{'options':{'raw':![],'attributes':['id',_0x8eb0('0x4'),_0x8eb0('0x5'),_0x8eb0('0x6'),_0x8eb0('0x7'),_0x8eb0('0x8'),_0x8eb0('0x9')],'include':[{'model':_0x8eb0('0xa'),'as':_0x8eb0('0xb'),'attributes':['id',_0x8eb0('0x4')],'include':[{'model':_0x8eb0('0xc'),'as':'Subjects','attributes':['id',_0x8eb0('0xd'),_0x8eb0('0xe'),_0x8eb0('0xf')],'include':[{'model':_0x8eb0('0x10'),'as':_0x8eb0('0x10'),'attributes':['id',_0x8eb0('0x4')]}]},{'model':_0x8eb0('0xc'),'as':'Descriptions','attributes':['id','type',_0x8eb0('0xe'),'key','keyType',_0x8eb0('0x11'),'variableName'],'include':[{'model':_0x8eb0('0x10'),'as':_0x8eb0('0x10'),'attributes':['id',_0x8eb0('0x4')]}]},{'model':_0x8eb0('0xc'),'as':'Fields','attributes':['id',_0x8eb0('0xd'),_0x8eb0('0xe'),_0x8eb0('0x12'),_0x8eb0('0x13'),'customField','variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x8eb0('0x4')]}]}]}]},'log':_0x8eb0('0x3')});};};