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 _0x5c19=['idField','nameField','customField','getVtigerAccounts','GetVtigerAccount','name','username','accessKey','remoteUri','serverUrl','VtigerConfiguration','Subjects','type','content','variableName','Variable','VtigerField','Descriptions','key','keyType','keyContent','Fields'];(function(_0x582f72,_0x886d8){var _0x4cd5fe=function(_0x4ac1c7){while(--_0x4ac1c7){_0x582f72['push'](_0x582f72['shift']());}};_0x4cd5fe(++_0x886d8);}(_0x5c19,0x1e7));var _0x95c1=function(_0x38995a,_0x3565b2){_0x38995a=_0x38995a-0x0;var _0x5da3d2=_0x5c19[_0x38995a];return _0x5da3d2;};'use strict';var client=require('../../client');exports[_0x95c1('0x0')]=function(){return function(_0x549322){return client['Request'](_0x95c1('0x1'),{'options':{'raw':![],'attributes':['id',_0x95c1('0x2'),'description',_0x95c1('0x3'),_0x95c1('0x4'),_0x95c1('0x5'),_0x95c1('0x6')],'include':[{'model':_0x95c1('0x7'),'as':'Configurations','attributes':['id',_0x95c1('0x2')],'include':[{'model':'VtigerField','as':_0x95c1('0x8'),'attributes':['id',_0x95c1('0x9'),_0x95c1('0xa'),_0x95c1('0xb')],'include':[{'model':'Variable','as':_0x95c1('0xc'),'attributes':['id','name']}]},{'model':_0x95c1('0xd'),'as':_0x95c1('0xe'),'attributes':['id',_0x95c1('0x9'),_0x95c1('0xa'),_0x95c1('0xf'),_0x95c1('0x10'),_0x95c1('0x11'),_0x95c1('0xb')],'include':[{'model':_0x95c1('0xc'),'as':_0x95c1('0xc'),'attributes':['id',_0x95c1('0x2')]}]},{'model':_0x95c1('0xd'),'as':_0x95c1('0x12'),'attributes':['id','type',_0x95c1('0xa'),_0x95c1('0x13'),_0x95c1('0x14'),_0x95c1('0x15'),_0x95c1('0xb')],'include':[{'model':'Variable','as':_0x95c1('0xc'),'attributes':['id',_0x95c1('0x2')]}]}]}]},'log':_0x95c1('0x1')});};};