Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index de87791..d11076d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7ed1=['serverUrl','type','ZendeskConfiguration','name','Tag','ZendeskField','content','variableName','Variable','Fields','idField','../../client','getZendeskAccounts','GetZendeskAccount','username','password','token'];(function(_0x450684,_0x145668){var _0x4d0170=function(_0x47c1df){while(--_0x47c1df){_0x450684['push'](_0x450684['shift']());}};_0x4d0170(++_0x145668);}(_0x7ed1,0x170));var _0x17ed=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0x7ed1[_0x4b055c];return _0x4b62bb;};'use strict';var client=require(_0x17ed('0x0'));exports[_0x17ed('0x1')]=function(){return function(_0x5c0b55){return client['Request'](_0x17ed('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x17ed('0x3'),_0x17ed('0x4'),_0x17ed('0x5'),'remoteUri','authType',_0x17ed('0x6'),_0x17ed('0x7')],'include':[{'model':_0x17ed('0x8'),'as':'Configurations','attributes':['id',_0x17ed('0x9')],'include':[{'model':_0x17ed('0xa'),'attributes':['id',_0x17ed('0x9')]},{'model':_0x17ed('0xb'),'as':'Subjects','attributes':['id',_0x17ed('0x7'),_0x17ed('0xc'),_0x17ed('0xd')],'include':[{'model':_0x17ed('0xe'),'as':_0x17ed('0xe'),'attributes':['id','name']}]},{'model':_0x17ed('0xb'),'as':'Descriptions','attributes':['id',_0x17ed('0x7'),_0x17ed('0xc'),'key','keyType','keyContent',_0x17ed('0xd')],'include':[{'model':_0x17ed('0xe'),'as':_0x17ed('0xe'),'attributes':['id',_0x17ed('0x9')]}]},{'model':'ZendeskField','as':_0x17ed('0xf'),'attributes':['id','type','content',_0x17ed('0x10'),'nameField','customField','variableName'],'include':[{'model':_0x17ed('0xe'),'as':_0x17ed('0xe'),'attributes':['id',_0x17ed('0x9')]}]}]}]},'log':_0x17ed('0x2')});};};
\ No newline at end of file
+var _0xc204=['username','password','remoteUri','authType','serverUrl','type','ZendeskConfiguration','Configurations','Tag','ZendeskField','Subjects','content','variableName','Variable','key','keyType','keyContent','Fields','idField','nameField','../../client','Request','GetZendeskAccount','name'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0xc204,0xbc));var _0x4c20=function(_0x206c3d,_0x3ff35c){_0x206c3d=_0x206c3d-0x0;var _0x2b19b7=_0xc204[_0x206c3d];return _0x2b19b7;};'use strict';var client=require(_0x4c20('0x0'));exports['getZendeskAccounts']=function(){return function(_0x38f39b){return client[_0x4c20('0x1')](_0x4c20('0x2'),{'options':{'raw':![],'attributes':['id',_0x4c20('0x3'),_0x4c20('0x4'),_0x4c20('0x5'),'token',_0x4c20('0x6'),_0x4c20('0x7'),_0x4c20('0x8'),_0x4c20('0x9')],'include':[{'model':_0x4c20('0xa'),'as':_0x4c20('0xb'),'attributes':['id',_0x4c20('0x3')],'include':[{'model':_0x4c20('0xc'),'attributes':['id','name']},{'model':_0x4c20('0xd'),'as':_0x4c20('0xe'),'attributes':['id','type',_0x4c20('0xf'),_0x4c20('0x10')],'include':[{'model':_0x4c20('0x11'),'as':_0x4c20('0x11'),'attributes':['id',_0x4c20('0x3')]}]},{'model':_0x4c20('0xd'),'as':'Descriptions','attributes':['id',_0x4c20('0x9'),_0x4c20('0xf'),_0x4c20('0x12'),_0x4c20('0x13'),_0x4c20('0x14'),_0x4c20('0x10')],'include':[{'model':_0x4c20('0x11'),'as':'Variable','attributes':['id','name']}]},{'model':_0x4c20('0xd'),'as':_0x4c20('0x15'),'attributes':['id',_0x4c20('0x9'),'content',_0x4c20('0x16'),_0x4c20('0x17'),'customField','variableName'],'include':[{'model':_0x4c20('0x11'),'as':_0x4c20('0x11'),'attributes':['id','name']}]}]}]},'log':_0x4c20('0x2')});};};
\ No newline at end of file