Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / integrations / sugarcrm.js
index f21fa27..a391524 100644 (file)
@@ -1 +1 @@
-const a1279_0x25c5=['type','Request','variableName','Subjects','keyType','password','serverUrl','idField','username','key','content','../../client','remoteUri','name','Descriptions','SugarcrmConfiguration','Configurations','Fields','SugarcrmField','GetSugarcrmAccount','Variable'];(function(_0x304859,_0x5e8f14){const _0x25c5f6=function(_0x39e8de){while(--_0x39e8de){_0x304859['push'](_0x304859['shift']());}};_0x25c5f6(++_0x5e8f14);}(a1279_0x25c5,0x1c1));const a1279_0x39e8=function(_0x304859,_0x5e8f14){_0x304859=_0x304859-0x149;let _0x25c5f6=a1279_0x25c5[_0x304859];return _0x25c5f6;};const a1279_0x4a6b7b=a1279_0x39e8;'use strict';const client=require(a1279_0x4a6b7b(0x14c));exports['getSugarcrmAccounts']=function(){return function(){const _0x2f9f9c=a1279_0x39e8;return client[_0x2f9f9c(0x157)](_0x2f9f9c(0x154),{'options':{'raw':![],'attributes':['id',_0x2f9f9c(0x14e),_0x2f9f9c(0x149),_0x2f9f9c(0x15b),_0x2f9f9c(0x14d),_0x2f9f9c(0x15c)],'include':[{'model':_0x2f9f9c(0x150),'as':_0x2f9f9c(0x151),'attributes':['id',_0x2f9f9c(0x14e)],'include':[{'model':_0x2f9f9c(0x153),'as':_0x2f9f9c(0x159),'attributes':['id','type',_0x2f9f9c(0x14b),'variableName'],'include':[{'model':_0x2f9f9c(0x155),'as':_0x2f9f9c(0x155),'attributes':['id',_0x2f9f9c(0x14e)]}]},{'model':_0x2f9f9c(0x153),'as':_0x2f9f9c(0x14f),'attributes':['id',_0x2f9f9c(0x156),_0x2f9f9c(0x14b),_0x2f9f9c(0x14a),_0x2f9f9c(0x15a),'keyContent',_0x2f9f9c(0x158)],'include':[{'model':_0x2f9f9c(0x155),'as':_0x2f9f9c(0x155),'attributes':['id',_0x2f9f9c(0x14e)]}]},{'model':_0x2f9f9c(0x153),'as':_0x2f9f9c(0x152),'attributes':['id',_0x2f9f9c(0x156),_0x2f9f9c(0x14b),_0x2f9f9c(0x15d),'nameField','customField','variableName'],'include':[{'model':_0x2f9f9c(0x155),'as':_0x2f9f9c(0x155),'attributes':['id',_0x2f9f9c(0x14e)]}]}]}]},'log':_0x2f9f9c(0x154)});};};
\ No newline at end of file
+const a1283_0x34ae=['Fields','SugarcrmField','Variable','GetSugarcrmAccount','serverUrl','keyType','type','username','content','Request','idField','variableName','customField','password','key','name','getSugarcrmAccounts','remoteUri'];(function(_0x54c22e,_0x19b42d){const _0x34aed0=function(_0x2e3fda){while(--_0x2e3fda){_0x54c22e['push'](_0x54c22e['shift']());}};_0x34aed0(++_0x19b42d);}(a1283_0x34ae,0xf9));const a1283_0x2e3f=function(_0x54c22e,_0x19b42d){_0x54c22e=_0x54c22e-0xad;let _0x34aed0=a1283_0x34ae[_0x54c22e];return _0x34aed0;};const a1283_0x34dc48=a1283_0x2e3f;'use strict';const client=require('../../client');exports[a1283_0x34dc48(0xae)]=function(){return function(){const _0x29662e=a1283_0x2e3f;return client[_0x29662e(0xb9)]('GetSugarcrmAccount',{'options':{'raw':![],'attributes':['id','name',_0x29662e(0xb7),_0x29662e(0xbd),_0x29662e(0xaf),_0x29662e(0xb4)],'include':[{'model':'SugarcrmConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x29662e(0xb1),'as':'Subjects','attributes':['id',_0x29662e(0xb6),_0x29662e(0xb8),_0x29662e(0xbb)],'include':[{'model':_0x29662e(0xb2),'as':_0x29662e(0xb2),'attributes':['id',_0x29662e(0xad)]}]},{'model':'SugarcrmField','as':'Descriptions','attributes':['id',_0x29662e(0xb6),_0x29662e(0xb8),_0x29662e(0xbe),_0x29662e(0xb5),'keyContent',_0x29662e(0xbb)],'include':[{'model':_0x29662e(0xb2),'as':_0x29662e(0xb2),'attributes':['id','name']}]},{'model':_0x29662e(0xb1),'as':_0x29662e(0xb0),'attributes':['id',_0x29662e(0xb6),_0x29662e(0xb8),_0x29662e(0xba),'nameField',_0x29662e(0xbc),_0x29662e(0xbb)],'include':[{'model':_0x29662e(0xb2),'as':_0x29662e(0xb2),'attributes':['id','name']}]}]}]},'log':_0x29662e(0xb3)});};};
\ No newline at end of file