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 _0x6706=['VtigerConfiguration','VtigerField','type','content','variableName','Variable','name','Descriptions','key','keyContent','idField','nameField','customField','getVtigerAccounts','Request','GetVtigerAccount','description','username','serverUrl'];(function(_0x41c4e3,_0x1e33a1){var _0x415257=function(_0x2f6430){while(--_0x2f6430){_0x41c4e3['push'](_0x41c4e3['shift']());}};_0x415257(++_0x1e33a1);}(_0x6706,0x1d5));var _0x6670=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6706[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../../client');exports[_0x6670('0x0')]=function(){return function(_0x204398){return client[_0x6670('0x1')](_0x6670('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x6670('0x3'),_0x6670('0x4'),'accessKey','remoteUri',_0x6670('0x5')],'include':[{'model':_0x6670('0x6'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x6670('0x7'),'as':'Subjects','attributes':['id',_0x6670('0x8'),_0x6670('0x9'),_0x6670('0xa')],'include':[{'model':_0x6670('0xb'),'as':_0x6670('0xb'),'attributes':['id',_0x6670('0xc')]}]},{'model':_0x6670('0x7'),'as':_0x6670('0xd'),'attributes':['id','type',_0x6670('0x9'),_0x6670('0xe'),'keyType',_0x6670('0xf'),_0x6670('0xa')],'include':[{'model':_0x6670('0xb'),'as':'Variable','attributes':['id',_0x6670('0xc')]}]},{'model':_0x6670('0x7'),'as':'Fields','attributes':['id','type',_0x6670('0x9'),_0x6670('0x10'),_0x6670('0x11'),_0x6670('0x12'),_0x6670('0xa')],'include':[{'model':_0x6670('0xb'),'as':_0x6670('0xb'),'attributes':['id','name']}]}]}]},'log':_0x6670('0x2')});};};