Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index fde8a6d..5865219 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xade1=['Tag','ZendeskField','content','variableName','Descriptions','key','keyType','keyContent','Variable','idField','nameField','../../client','Request','GetZendeskAccount','name','username','password','token','remoteUri','authType','serverUrl','type'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xade1,0x1c3));var _0x1ade=function(_0x112e80,_0x34a741){_0x112e80=_0x112e80-0x0;var _0x33a307=_0xade1[_0x112e80];return _0x33a307;};'use strict';var client=require(_0x1ade('0x0'));exports['getZendeskAccounts']=function(){return function(_0x5fdded){return client[_0x1ade('0x1')](_0x1ade('0x2'),{'options':{'raw':![],'attributes':['id',_0x1ade('0x3'),_0x1ade('0x4'),_0x1ade('0x5'),_0x1ade('0x6'),_0x1ade('0x7'),_0x1ade('0x8'),_0x1ade('0x9'),_0x1ade('0xa')],'include':[{'model':'ZendeskConfiguration','as':'Configurations','attributes':['id',_0x1ade('0x3')],'include':[{'model':_0x1ade('0xb'),'attributes':['id',_0x1ade('0x3')]},{'model':_0x1ade('0xc'),'as':'Subjects','attributes':['id','type',_0x1ade('0xd'),_0x1ade('0xe')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x1ade('0x3')]}]},{'model':_0x1ade('0xc'),'as':_0x1ade('0xf'),'attributes':['id',_0x1ade('0xa'),_0x1ade('0xd'),_0x1ade('0x10'),_0x1ade('0x11'),_0x1ade('0x12'),_0x1ade('0xe')],'include':[{'model':_0x1ade('0x13'),'as':'Variable','attributes':['id',_0x1ade('0x3')]}]},{'model':_0x1ade('0xc'),'as':'Fields','attributes':['id','type','content',_0x1ade('0x14'),_0x1ade('0x15'),'customField',_0x1ade('0xe')],'include':[{'model':_0x1ade('0x13'),'as':_0x1ade('0x13'),'attributes':['id',_0x1ade('0x3')]}]}]}]},'log':_0x1ade('0x2')});};};
\ No newline at end of file
+var _0xd0e7=['Request','GetZendeskAccount','name','username','token','remoteUri','type','ZendeskConfiguration','Configurations','Tag','ZendeskField','variableName','Variable','Descriptions','content','key','keyType','keyContent','idField','customField','../../client'];(function(_0xf26d40,_0x2f4f46){var _0x50b68c=function(_0x10aa58){while(--_0x10aa58){_0xf26d40['push'](_0xf26d40['shift']());}};_0x50b68c(++_0x2f4f46);}(_0xd0e7,0x1cd));var _0x7d0e=function(_0x346737,_0x3e6081){_0x346737=_0x346737-0x0;var _0x1ade2e=_0xd0e7[_0x346737];return _0x1ade2e;};'use strict';var client=require(_0x7d0e('0x0'));exports['getZendeskAccounts']=function(){return function(_0x544826){return client[_0x7d0e('0x1')](_0x7d0e('0x2'),{'options':{'raw':![],'attributes':['id',_0x7d0e('0x3'),_0x7d0e('0x4'),'password',_0x7d0e('0x5'),_0x7d0e('0x6'),'authType','serverUrl',_0x7d0e('0x7')],'include':[{'model':_0x7d0e('0x8'),'as':_0x7d0e('0x9'),'attributes':['id',_0x7d0e('0x3')],'include':[{'model':_0x7d0e('0xa'),'attributes':['id',_0x7d0e('0x3')]},{'model':_0x7d0e('0xb'),'as':'Subjects','attributes':['id',_0x7d0e('0x7'),'content',_0x7d0e('0xc')],'include':[{'model':_0x7d0e('0xd'),'as':'Variable','attributes':['id',_0x7d0e('0x3')]}]},{'model':'ZendeskField','as':_0x7d0e('0xe'),'attributes':['id',_0x7d0e('0x7'),_0x7d0e('0xf'),_0x7d0e('0x10'),_0x7d0e('0x11'),_0x7d0e('0x12'),'variableName'],'include':[{'model':_0x7d0e('0xd'),'as':_0x7d0e('0xd'),'attributes':['id',_0x7d0e('0x3')]}]},{'model':_0x7d0e('0xb'),'as':'Fields','attributes':['id',_0x7d0e('0x7'),'content',_0x7d0e('0x13'),'nameField',_0x7d0e('0x14'),_0x7d0e('0xc')],'include':[{'model':_0x7d0e('0xd'),'as':'Variable','attributes':['id',_0x7d0e('0x3')]}]}]}]},'log':_0x7d0e('0x2')});};};
\ No newline at end of file