Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index e5f4e5c..728fcbf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x06c8=['type','content','variableName','Variable','keyType','keyContent','customField','Request','GetZendeskAccount','name','username','remoteUri','ZendeskConfiguration','ZendeskField'];(function(_0x4839eb,_0x40fb9c){var _0x2f5908=function(_0x486ec8){while(--_0x486ec8){_0x4839eb['push'](_0x4839eb['shift']());}};_0x2f5908(++_0x40fb9c);}(_0x06c8,0x1d5));var _0x806c=function(_0x5168b9,_0x306617){_0x5168b9=_0x5168b9-0x0;var _0x42873b=_0x06c8[_0x5168b9];return _0x42873b;};'use strict';var client=require('../../client');exports['getZendeskAccounts']=function(){return function(_0x43546c){return client[_0x806c('0x0')](_0x806c('0x1'),{'options':{'raw':![],'attributes':['id',_0x806c('0x2'),_0x806c('0x3'),'password','token',_0x806c('0x4'),'authType','serverUrl','type'],'include':[{'model':_0x806c('0x5'),'as':'Configurations','attributes':['id','name'],'include':[{'model':'Tag','attributes':['id',_0x806c('0x2')]},{'model':_0x806c('0x6'),'as':'Subjects','attributes':['id',_0x806c('0x7'),_0x806c('0x8'),_0x806c('0x9')],'include':[{'model':_0x806c('0xa'),'as':_0x806c('0xa'),'attributes':['id','name']}]},{'model':'ZendeskField','as':'Descriptions','attributes':['id',_0x806c('0x7'),_0x806c('0x8'),'key',_0x806c('0xb'),_0x806c('0xc'),_0x806c('0x9')],'include':[{'model':_0x806c('0xa'),'as':_0x806c('0xa'),'attributes':['id',_0x806c('0x2')]}]},{'model':_0x806c('0x6'),'as':'Fields','attributes':['id','type',_0x806c('0x8'),'idField','nameField',_0x806c('0xd'),_0x806c('0x9')],'include':[{'model':'Variable','as':_0x806c('0xa'),'attributes':['id',_0x806c('0x2')]}]}]}]},'log':_0x806c('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