Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index d553691..bc634fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4fce=['username','password','token','remoteUri','serverUrl','type','ZendeskConfiguration','Tag','ZendeskField','Subjects','content','variableName','key','keyType','keyContent','Variable','Fields','idField','nameField','customField','../../client','getZendeskAccounts','GetZendeskAccount','name'];(function(_0x46a671,_0x758e9a){var _0x526d75=function(_0xde3640){while(--_0xde3640){_0x46a671['push'](_0x46a671['shift']());}};_0x526d75(++_0x758e9a);}(_0x4fce,0x74));var _0xe4fc=function(_0x1785cb,_0x39a964){_0x1785cb=_0x1785cb-0x0;var _0x3bba22=_0x4fce[_0x1785cb];return _0x3bba22;};'use strict';var client=require(_0xe4fc('0x0'));exports[_0xe4fc('0x1')]=function(){return function(_0x31ae5c){return client['Request'](_0xe4fc('0x2'),{'options':{'raw':![],'attributes':['id',_0xe4fc('0x3'),_0xe4fc('0x4'),_0xe4fc('0x5'),_0xe4fc('0x6'),_0xe4fc('0x7'),'authType',_0xe4fc('0x8'),_0xe4fc('0x9')],'include':[{'model':_0xe4fc('0xa'),'as':'Configurations','attributes':['id',_0xe4fc('0x3')],'include':[{'model':_0xe4fc('0xb'),'attributes':['id','name']},{'model':_0xe4fc('0xc'),'as':_0xe4fc('0xd'),'attributes':['id',_0xe4fc('0x9'),_0xe4fc('0xe'),_0xe4fc('0xf')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xe4fc('0x3')]}]},{'model':_0xe4fc('0xc'),'as':'Descriptions','attributes':['id','type',_0xe4fc('0xe'),_0xe4fc('0x10'),_0xe4fc('0x11'),_0xe4fc('0x12'),_0xe4fc('0xf')],'include':[{'model':_0xe4fc('0x13'),'as':'Variable','attributes':['id',_0xe4fc('0x3')]}]},{'model':'ZendeskField','as':_0xe4fc('0x14'),'attributes':['id',_0xe4fc('0x9'),_0xe4fc('0xe'),_0xe4fc('0x15'),_0xe4fc('0x16'),_0xe4fc('0x17'),_0xe4fc('0xf')],'include':[{'model':_0xe4fc('0x13'),'as':_0xe4fc('0x13'),'attributes':['id',_0xe4fc('0x3')]}]}]}]},'log':_0xe4fc('0x2')});};};
\ No newline at end of file
+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