Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index 49368f0..3a1100e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb0ba=['Variable','Descriptions','key','keyType','keyContent','nameField','customField','../../client','Request','GetFreshdeskAccount','name','apiKey','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','Subjects','type','content','variableName'];(function(_0xdbb6cb,_0x3b8fda){var _0x476b50=function(_0x470ebb){while(--_0x470ebb){_0xdbb6cb['push'](_0xdbb6cb['shift']());}};_0x476b50(++_0x3b8fda);}(_0xb0ba,0x1c0));var _0xab0b=function(_0x184b02,_0x1e1f38){_0x184b02=_0x184b02-0x0;var _0x12dfc0=_0xb0ba[_0x184b02];return _0x12dfc0;};'use strict';var client=require(_0xab0b('0x0'));exports['getFreshdeskAccounts']=function(){return function(_0x81e99c){return client[_0xab0b('0x1')](_0xab0b('0x2'),{'options':{'raw':![],'attributes':['id',_0xab0b('0x3'),'username',_0xab0b('0x4'),'remoteUri',_0xab0b('0x5')],'include':[{'model':_0xab0b('0x6'),'as':_0xab0b('0x7'),'attributes':['id','name'],'include':[{'model':_0xab0b('0x8'),'attributes':['id',_0xab0b('0x3')]},{'model':_0xab0b('0x9'),'as':_0xab0b('0xa'),'attributes':['id',_0xab0b('0xb'),_0xab0b('0xc'),_0xab0b('0xd')],'include':[{'model':_0xab0b('0xe'),'as':_0xab0b('0xe'),'attributes':['id','name']}]},{'model':'FreshdeskField','as':_0xab0b('0xf'),'attributes':['id',_0xab0b('0xb'),'content',_0xab0b('0x10'),_0xab0b('0x11'),_0xab0b('0x12'),_0xab0b('0xd')],'include':[{'model':_0xab0b('0xe'),'as':_0xab0b('0xe'),'attributes':['id',_0xab0b('0x3')]}]},{'model':'FreshdeskField','as':'Fields','attributes':['id',_0xab0b('0xb'),_0xab0b('0xc'),'idField',_0xab0b('0x13'),_0xab0b('0x14'),_0xab0b('0xd')],'include':[{'model':_0xab0b('0xe'),'as':_0xab0b('0xe'),'attributes':['id',_0xab0b('0x3')]}]}]}]},'log':_0xab0b('0x2')});};};
\ No newline at end of file
+var _0x1752=['name','username','remoteUri','serverUrl','FreshdeskConfiguration','Configurations','Tag','FreshdeskField','Subjects','type','variableName','Variable','key','Fields','content','idField','nameField','customField','getFreshdeskAccounts','Request','GetFreshdeskAccount'];(function(_0x674df0,_0x107d38){var _0x208fb4=function(_0x3d7d6b){while(--_0x3d7d6b){_0x674df0['push'](_0x674df0['shift']());}};_0x208fb4(++_0x107d38);}(_0x1752,0xa5));var _0x2175=function(_0x54b390,_0x5726c0){_0x54b390=_0x54b390-0x0;var _0x59b90d=_0x1752[_0x54b390];return _0x59b90d;};'use strict';var client=require('../../client');exports[_0x2175('0x0')]=function(){return function(_0x1fc292){return client[_0x2175('0x1')](_0x2175('0x2'),{'options':{'raw':![],'attributes':['id',_0x2175('0x3'),_0x2175('0x4'),'apiKey',_0x2175('0x5'),_0x2175('0x6')],'include':[{'model':_0x2175('0x7'),'as':_0x2175('0x8'),'attributes':['id',_0x2175('0x3')],'include':[{'model':_0x2175('0x9'),'attributes':['id',_0x2175('0x3')]},{'model':_0x2175('0xa'),'as':_0x2175('0xb'),'attributes':['id',_0x2175('0xc'),'content',_0x2175('0xd')],'include':[{'model':_0x2175('0xe'),'as':_0x2175('0xe'),'attributes':['id',_0x2175('0x3')]}]},{'model':_0x2175('0xa'),'as':'Descriptions','attributes':['id','type','content',_0x2175('0xf'),'keyType','keyContent','variableName'],'include':[{'model':'Variable','as':_0x2175('0xe'),'attributes':['id','name']}]},{'model':_0x2175('0xa'),'as':_0x2175('0x10'),'attributes':['id','type',_0x2175('0x11'),_0x2175('0x12'),_0x2175('0x13'),_0x2175('0x14'),_0x2175('0xd')],'include':[{'model':_0x2175('0xe'),'as':_0x2175('0xe'),'attributes':['id',_0x2175('0x3')]}]}]}]},'log':'GetFreshdeskAccount'});};};
\ No newline at end of file