X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fvtiger.js;h=7c2139cfb54d69978301ee793047cad08d7e6746;hb=5f45565bbb2b5703cd70578e7b3fd5f6753b6a10;hp=a28ba55d80aeab72dfb623d0f4c035593451900b;hpb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;p=motion2.git diff --git a/server/services/ami/rpc/integrations/vtiger.js b/server/services/ami/rpc/integrations/vtiger.js index a28ba55..7c2139c 100644 --- a/server/services/ami/rpc/integrations/vtiger.js +++ b/server/services/ami/rpc/integrations/vtiger.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xda9c=['content','key','keyType','idField','nameField','customField','../../client','getVtigerAccounts','Request','GetVtigerAccount','name','description','username','accessKey','remoteUri','serverUrl','VtigerConfiguration','Configurations','Subjects','type','variableName','Variable','VtigerField','Descriptions'];(function(_0x107f10,_0x5529f2){var _0x811cab=function(_0xc160ea){while(--_0xc160ea){_0x107f10['push'](_0x107f10['shift']());}};_0x811cab(++_0x5529f2);}(_0xda9c,0x126));var _0xcda9=function(_0x3bb1d9,_0x45e447){_0x3bb1d9=_0x3bb1d9-0x0;var _0x53448d=_0xda9c[_0x3bb1d9];return _0x53448d;};'use strict';var client=require(_0xcda9('0x0'));exports[_0xcda9('0x1')]=function(){return function(_0x1a4189){return client[_0xcda9('0x2')](_0xcda9('0x3'),{'options':{'raw':![],'attributes':['id',_0xcda9('0x4'),_0xcda9('0x5'),_0xcda9('0x6'),_0xcda9('0x7'),_0xcda9('0x8'),_0xcda9('0x9')],'include':[{'model':_0xcda9('0xa'),'as':_0xcda9('0xb'),'attributes':['id','name'],'include':[{'model':'VtigerField','as':_0xcda9('0xc'),'attributes':['id',_0xcda9('0xd'),'content',_0xcda9('0xe')],'include':[{'model':_0xcda9('0xf'),'as':_0xcda9('0xf'),'attributes':['id',_0xcda9('0x4')]}]},{'model':_0xcda9('0x10'),'as':_0xcda9('0x11'),'attributes':['id',_0xcda9('0xd'),_0xcda9('0x12'),_0xcda9('0x13'),_0xcda9('0x14'),'keyContent','variableName'],'include':[{'model':_0xcda9('0xf'),'as':'Variable','attributes':['id',_0xcda9('0x4')]}]},{'model':_0xcda9('0x10'),'as':'Fields','attributes':['id','type',_0xcda9('0x12'),_0xcda9('0x15'),_0xcda9('0x16'),_0xcda9('0x17'),_0xcda9('0xe')],'include':[{'model':_0xcda9('0xf'),'as':'Variable','attributes':['id',_0xcda9('0x4')]}]}]}]},'log':_0xcda9('0x3')});};}; \ No newline at end of file +var _0xc601=['type','content','keyContent','variableName','Fields','idField','customField','../../client','Request','GetVtigerAccount','name','description','username','remoteUri','serverUrl','VtigerConfiguration','Configurations','VtigerField','Variable','Descriptions'];(function(_0x55bcee,_0x4c64dd){var _0x4756f5=function(_0x33614f){while(--_0x33614f){_0x55bcee['push'](_0x55bcee['shift']());}};_0x4756f5(++_0x4c64dd);}(_0xc601,0x10b));var _0x1c60=function(_0x339e13,_0x48d058){_0x339e13=_0x339e13-0x0;var _0x1d8c18=_0xc601[_0x339e13];return _0x1d8c18;};'use strict';var client=require(_0x1c60('0x0'));exports['getVtigerAccounts']=function(){return function(_0x32c0d5){return client[_0x1c60('0x1')](_0x1c60('0x2'),{'options':{'raw':![],'attributes':['id',_0x1c60('0x3'),_0x1c60('0x4'),_0x1c60('0x5'),'accessKey',_0x1c60('0x6'),_0x1c60('0x7')],'include':[{'model':_0x1c60('0x8'),'as':_0x1c60('0x9'),'attributes':['id',_0x1c60('0x3')],'include':[{'model':_0x1c60('0xa'),'as':'Subjects','attributes':['id','type','content','variableName'],'include':[{'model':_0x1c60('0xb'),'as':_0x1c60('0xb'),'attributes':['id','name']}]},{'model':_0x1c60('0xa'),'as':_0x1c60('0xc'),'attributes':['id',_0x1c60('0xd'),_0x1c60('0xe'),'key','keyType',_0x1c60('0xf'),_0x1c60('0x10')],'include':[{'model':_0x1c60('0xb'),'as':'Variable','attributes':['id',_0x1c60('0x3')]}]},{'model':_0x1c60('0xa'),'as':_0x1c60('0x11'),'attributes':['id',_0x1c60('0xd'),_0x1c60('0xe'),_0x1c60('0x12'),'nameField',_0x1c60('0x13'),_0x1c60('0x10')],'include':[{'model':'Variable','as':_0x1c60('0xb'),'attributes':['id','name']}]}]}]},'log':_0x1c60('0x2')});};}; \ No newline at end of file