X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshsales.js;h=bf5f0958a52dba4a34762e63969386426f98fe64;hb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;hp=d944d012b409757dfefc329c475cdf8fde5e499e;hpb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshsales.js b/server/services/ami/rpc/integrations/freshsales.js index d944d01..bf5f095 100644 --- a/server/services/ami/rpc/integrations/freshsales.js +++ b/server/services/ami/rpc/integrations/freshsales.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaf4c=['getFreshsalesAccounts','GetFreshsalesAccount','name','username','remoteUri','serverUrl','FreshsalesConfiguration','Subjects','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','GetFreshsalesccount'];(function(_0xc2fc17,_0x2b78be){var _0x5b4fe0=function(_0x5f1e00){while(--_0x5f1e00){_0xc2fc17['push'](_0xc2fc17['shift']());}};_0x5b4fe0(++_0x2b78be);}(_0xaf4c,0x1ed));var _0xcaf4=function(_0x44c617,_0x3850ae){_0x44c617=_0x44c617-0x0;var _0xda288b=_0xaf4c[_0x44c617];return _0xda288b;};'use strict';var client=require('../../client');exports[_0xcaf4('0x0')]=function(){return function(_0x3af3b5){return client['Request'](_0xcaf4('0x1'),{'options':{'raw':![],'attributes':['id',_0xcaf4('0x2'),_0xcaf4('0x3'),'apiKey',_0xcaf4('0x4'),_0xcaf4('0x5')],'include':[{'model':_0xcaf4('0x6'),'as':'Configurations','attributes':['id',_0xcaf4('0x2')],'include':[{'model':'FreshsalesField','as':_0xcaf4('0x7'),'attributes':['id',_0xcaf4('0x8'),_0xcaf4('0x9'),_0xcaf4('0xa')],'include':[{'model':_0xcaf4('0xb'),'as':_0xcaf4('0xb'),'attributes':['id','name']}]},{'model':'FreshsalesField','as':_0xcaf4('0xc'),'attributes':['id',_0xcaf4('0x8'),_0xcaf4('0x9'),_0xcaf4('0xd'),_0xcaf4('0xe'),_0xcaf4('0xf'),_0xcaf4('0xa')],'include':[{'model':_0xcaf4('0xb'),'as':_0xcaf4('0xb'),'attributes':['id','name']}]}]}]},'log':_0xcaf4('0x10')});};}; \ No newline at end of file +var _0x8164=['FreshsalesField','Descriptions','key','keyContent','../../client','getFreshsalesAccounts','GetFreshsalesAccount','name','apiKey','serverUrl','type','content','variableName','Variable'];(function(_0x1ef928,_0x195a96){var _0x417224=function(_0x4abe8){while(--_0x4abe8){_0x1ef928['push'](_0x1ef928['shift']());}};_0x417224(++_0x195a96);}(_0x8164,0x170));var _0x4816=function(_0x366647,_0xd7065c){_0x366647=_0x366647-0x0;var _0x54aed1=_0x8164[_0x366647];return _0x54aed1;};'use strict';var client=require(_0x4816('0x0'));exports[_0x4816('0x1')]=function(){return function(_0x10afb7){return client['Request'](_0x4816('0x2'),{'options':{'raw':![],'attributes':['id',_0x4816('0x3'),'username',_0x4816('0x4'),'remoteUri',_0x4816('0x5')],'include':[{'model':'FreshsalesConfiguration','as':'Configurations','attributes':['id',_0x4816('0x3')],'include':[{'model':'FreshsalesField','as':'Subjects','attributes':['id',_0x4816('0x6'),_0x4816('0x7'),_0x4816('0x8')],'include':[{'model':_0x4816('0x9'),'as':_0x4816('0x9'),'attributes':['id',_0x4816('0x3')]}]},{'model':_0x4816('0xa'),'as':_0x4816('0xb'),'attributes':['id',_0x4816('0x6'),'content',_0x4816('0xc'),'keyType',_0x4816('0xd'),_0x4816('0x8')],'include':[{'model':'Variable','as':_0x4816('0x9'),'attributes':['id','name']}]}]}]},'log':'GetFreshsalesccount'});};}; \ No newline at end of file