Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index 7f3a79c..89e7161 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7a54=['type','content','Variable','Descriptions','key','variableName','GetFreshsalesccount','../../client','getFreshsalesAccounts','GetFreshsalesAccount','name','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','Configurations','FreshsalesField'];(function(_0x4c4c9f,_0x3f5603){var _0x578758=function(_0xa075b){while(--_0xa075b){_0x4c4c9f['push'](_0x4c4c9f['shift']());}};_0x578758(++_0x3f5603);}(_0x7a54,0x106));var _0x47a5=function(_0x1fef9f,_0x5e4f56){_0x1fef9f=_0x1fef9f-0x0;var _0x18447f=_0x7a54[_0x1fef9f];return _0x18447f;};'use strict';var client=require(_0x47a5('0x0'));exports[_0x47a5('0x1')]=function(){return function(_0x44b31e){return client['Request'](_0x47a5('0x2'),{'options':{'raw':![],'attributes':['id',_0x47a5('0x3'),'username',_0x47a5('0x4'),_0x47a5('0x5'),_0x47a5('0x6')],'include':[{'model':_0x47a5('0x7'),'as':_0x47a5('0x8'),'attributes':['id','name'],'include':[{'model':_0x47a5('0x9'),'as':'Subjects','attributes':['id',_0x47a5('0xa'),_0x47a5('0xb'),'variableName'],'include':[{'model':_0x47a5('0xc'),'as':'Variable','attributes':['id','name']}]},{'model':'FreshsalesField','as':_0x47a5('0xd'),'attributes':['id',_0x47a5('0xa'),'content',_0x47a5('0xe'),'keyType','keyContent',_0x47a5('0xf')],'include':[{'model':_0x47a5('0xc'),'as':_0x47a5('0xc'),'attributes':['id',_0x47a5('0x3')]}]}]}]},'log':_0x47a5('0x10')});};};
\ No newline at end of file
+var _0x0f4d=['remoteUri','serverUrl','FreshsalesConfiguration','Configurations','Subjects','type','variableName','Variable','FreshsalesField','content','key','GetFreshsalesccount','Request','name','username','apiKey'];(function(_0x2070da,_0x45e586){var _0x4f9fe1=function(_0x5b6f2a){while(--_0x5b6f2a){_0x2070da['push'](_0x2070da['shift']());}};_0x4f9fe1(++_0x45e586);}(_0x0f4d,0x12c));var _0xd0f4=function(_0x586959,_0x30eef0){_0x586959=_0x586959-0x0;var _0x21093e=_0x0f4d[_0x586959];return _0x21093e;};'use strict';var client=require('../../client');exports['getFreshsalesAccounts']=function(){return function(_0x54da22){return client[_0xd0f4('0x0')]('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id',_0xd0f4('0x1'),_0xd0f4('0x2'),_0xd0f4('0x3'),_0xd0f4('0x4'),_0xd0f4('0x5')],'include':[{'model':_0xd0f4('0x6'),'as':_0xd0f4('0x7'),'attributes':['id',_0xd0f4('0x1')],'include':[{'model':'FreshsalesField','as':_0xd0f4('0x8'),'attributes':['id',_0xd0f4('0x9'),'content',_0xd0f4('0xa')],'include':[{'model':_0xd0f4('0xb'),'as':'Variable','attributes':['id',_0xd0f4('0x1')]}]},{'model':_0xd0f4('0xc'),'as':'Descriptions','attributes':['id',_0xd0f4('0x9'),_0xd0f4('0xd'),_0xd0f4('0xe'),'keyType','keyContent',_0xd0f4('0xa')],'include':[{'model':_0xd0f4('0xb'),'as':_0xd0f4('0xb'),'attributes':['id',_0xd0f4('0x1')]}]}]}]},'log':_0xd0f4('0xf')});};};
\ No newline at end of file