Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index bc634fe..728fcbf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd4b2=['authType','serverUrl','type','ZendeskConfiguration','Configurations','Tag','ZendeskField','variableName','Variable','Descriptions','key','keyType','keyContent','nameField','Request','GetZendeskAccount','name','username','password','token','remoteUri'];(function(_0x3ef2d5,_0x423d46){var _0x2fefb2=function(_0x54f82f){while(--_0x54f82f){_0x3ef2d5['push'](_0x3ef2d5['shift']());}};_0x2fefb2(++_0x423d46);}(_0xd4b2,0x77));var _0x2d4b=function(_0x58f65e,_0x467d61){_0x58f65e=_0x58f65e-0x0;var _0x35684b=_0xd4b2[_0x58f65e];return _0x35684b;};'use strict';var client=require('../../client');exports['getZendeskAccounts']=function(){return function(_0x4113a3){return client[_0x2d4b('0x0')](_0x2d4b('0x1'),{'options':{'raw':![],'attributes':['id',_0x2d4b('0x2'),_0x2d4b('0x3'),_0x2d4b('0x4'),_0x2d4b('0x5'),_0x2d4b('0x6'),_0x2d4b('0x7'),_0x2d4b('0x8'),_0x2d4b('0x9')],'include':[{'model':_0x2d4b('0xa'),'as':_0x2d4b('0xb'),'attributes':['id',_0x2d4b('0x2')],'include':[{'model':_0x2d4b('0xc'),'attributes':['id',_0x2d4b('0x2')]},{'model':_0x2d4b('0xd'),'as':'Subjects','attributes':['id',_0x2d4b('0x9'),'content',_0x2d4b('0xe')],'include':[{'model':_0x2d4b('0xf'),'as':_0x2d4b('0xf'),'attributes':['id',_0x2d4b('0x2')]}]},{'model':'ZendeskField','as':_0x2d4b('0x10'),'attributes':['id','type','content',_0x2d4b('0x11'),_0x2d4b('0x12'),_0x2d4b('0x13'),_0x2d4b('0xe')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':_0x2d4b('0xd'),'as':'Fields','attributes':['id','type','content','idField',_0x2d4b('0x14'),'customField',_0x2d4b('0xe')],'include':[{'model':_0x2d4b('0xf'),'as':_0x2d4b('0xf'),'attributes':['id',_0x2d4b('0x2')]}]}]}]},'log':_0x2d4b('0x1')});};};
\ No newline at end of file
+var _0x5bf5=['keyContent','Fields','nameField','customField','GetZendeskAccount','../../client','Request','name','password','token','remoteUri','serverUrl','type','ZendeskConfiguration','Configurations','Tag','ZendeskField','Subjects','variableName','Variable','Descriptions','content','key','keyType'];(function(_0x28b56e,_0xca202c){var _0x3dce9f=function(_0x254dc2){while(--_0x254dc2){_0x28b56e['push'](_0x28b56e['shift']());}};_0x3dce9f(++_0xca202c);}(_0x5bf5,0x13d));var _0x55bf=function(_0x5b26c3,_0xd4e9b2){_0x5b26c3=_0x5b26c3-0x0;var _0x51a88c=_0x5bf5[_0x5b26c3];return _0x51a88c;};'use strict';var client=require(_0x55bf('0x0'));exports['getZendeskAccounts']=function(){return function(_0x4872ad){return client[_0x55bf('0x1')]('GetZendeskAccount',{'options':{'raw':![],'attributes':['id',_0x55bf('0x2'),'username',_0x55bf('0x3'),_0x55bf('0x4'),_0x55bf('0x5'),'authType',_0x55bf('0x6'),_0x55bf('0x7')],'include':[{'model':_0x55bf('0x8'),'as':_0x55bf('0x9'),'attributes':['id','name'],'include':[{'model':_0x55bf('0xa'),'attributes':['id','name']},{'model':_0x55bf('0xb'),'as':_0x55bf('0xc'),'attributes':['id',_0x55bf('0x7'),'content',_0x55bf('0xd')],'include':[{'model':'Variable','as':_0x55bf('0xe'),'attributes':['id',_0x55bf('0x2')]}]},{'model':_0x55bf('0xb'),'as':_0x55bf('0xf'),'attributes':['id',_0x55bf('0x7'),_0x55bf('0x10'),_0x55bf('0x11'),_0x55bf('0x12'),_0x55bf('0x13'),_0x55bf('0xd')],'include':[{'model':_0x55bf('0xe'),'as':_0x55bf('0xe'),'attributes':['id','name']}]},{'model':_0x55bf('0xb'),'as':_0x55bf('0x14'),'attributes':['id',_0x55bf('0x7'),_0x55bf('0x10'),'idField',_0x55bf('0x15'),_0x55bf('0x16'),_0x55bf('0xd')],'include':[{'model':_0x55bf('0xe'),'as':'Variable','attributes':['id',_0x55bf('0x2')]}]}]}]},'log':_0x55bf('0x17')});};};
\ No newline at end of file