X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fdesk.js;h=c0feff6f53daab1502a5facd9e6ba5ee0451deca;hb=5584754b2aa104a57907f7aa392d8c07dfdc6150;hp=21f0e810674a6e49b0b85876ef4dbd80dc827e0c;hpb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;p=motion2.git diff --git a/server/services/ami/rpc/integrations/desk.js b/server/services/ami/rpc/integrations/desk.js index 21f0e81..c0feff6 100644 --- a/server/services/ami/rpc/integrations/desk.js +++ b/server/services/ami/rpc/integrations/desk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbc49=['DeskField','Subjects','variableName','Variable','Descriptions','content','key','keyType','keyContent','name','Fields','idField','nameField','customField','Tag','Tags','getDeskAccounts','Request','authType','type','serverUrl'];(function(_0x58696a,_0x2aed89){var _0x32393a=function(_0x1e38c9){while(--_0x1e38c9){_0x58696a['push'](_0x58696a['shift']());}};_0x32393a(++_0x2aed89);}(_0xbc49,0xa3));var _0x9bc4=function(_0x1e081a,_0x482d6b){_0x1e081a=_0x1e081a-0x0;var _0x428209=_0xbc49[_0x1e081a];return _0x428209;};'use strict';var client=require('../../client');exports[_0x9bc4('0x0')]=function(){return function(_0x5260ef){return client[_0x9bc4('0x1')]('GetDeskAccount',{'options':{'raw':![],'attributes':['id','name','description','username','password','remoteUri',_0x9bc4('0x2'),_0x9bc4('0x3'),_0x9bc4('0x4')],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x9bc4('0x5'),'as':_0x9bc4('0x6'),'attributes':['id',_0x9bc4('0x3'),'content',_0x9bc4('0x7')],'include':[{'model':'Variable','as':_0x9bc4('0x8'),'attributes':['id','name']}]},{'model':_0x9bc4('0x5'),'as':_0x9bc4('0x9'),'attributes':['id','type',_0x9bc4('0xa'),_0x9bc4('0xb'),_0x9bc4('0xc'),_0x9bc4('0xd'),_0x9bc4('0x7')],'include':[{'model':_0x9bc4('0x8'),'as':'Variable','attributes':['id',_0x9bc4('0xe')]}]},{'model':_0x9bc4('0x5'),'as':_0x9bc4('0xf'),'attributes':['id',_0x9bc4('0x3'),_0x9bc4('0xa'),_0x9bc4('0x10'),_0x9bc4('0x11'),_0x9bc4('0x12'),'variableName'],'include':[{'model':_0x9bc4('0x8'),'as':_0x9bc4('0x8'),'attributes':['id','name']}]},{'model':_0x9bc4('0x13'),'as':_0x9bc4('0x14'),'attributes':['id',_0x9bc4('0xe')]}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file +var _0xbf45=['idField','customField','Tag','Tags','getDeskAccounts','Request','GetDeskAccount','description','username','password','remoteUri','type','serverUrl','DeskConfiguration','Configurations','name','Subjects','content','Variable','Descriptions','key','variableName','DeskField','Fields'];(function(_0x23f5d3,_0x156e72){var _0x40f2a9=function(_0x318190){while(--_0x318190){_0x23f5d3['push'](_0x23f5d3['shift']());}};_0x40f2a9(++_0x156e72);}(_0xbf45,0xc4));var _0x5bf4=function(_0x1ae217,_0x6f152f){_0x1ae217=_0x1ae217-0x0;var _0x4f7dde=_0xbf45[_0x1ae217];return _0x4f7dde;};'use strict';var client=require('../../client');exports[_0x5bf4('0x0')]=function(){return function(_0x5bf030){return client[_0x5bf4('0x1')](_0x5bf4('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x5bf4('0x3'),_0x5bf4('0x4'),_0x5bf4('0x5'),_0x5bf4('0x6'),'authType',_0x5bf4('0x7'),_0x5bf4('0x8')],'include':[{'model':_0x5bf4('0x9'),'as':_0x5bf4('0xa'),'attributes':['id',_0x5bf4('0xb')],'include':[{'model':'DeskField','as':_0x5bf4('0xc'),'attributes':['id','type',_0x5bf4('0xd'),'variableName'],'include':[{'model':'Variable','as':_0x5bf4('0xe'),'attributes':['id',_0x5bf4('0xb')]}]},{'model':'DeskField','as':_0x5bf4('0xf'),'attributes':['id',_0x5bf4('0x7'),_0x5bf4('0xd'),_0x5bf4('0x10'),'keyType','keyContent',_0x5bf4('0x11')],'include':[{'model':_0x5bf4('0xe'),'as':_0x5bf4('0xe'),'attributes':['id',_0x5bf4('0xb')]}]},{'model':_0x5bf4('0x12'),'as':_0x5bf4('0x13'),'attributes':['id','type',_0x5bf4('0xd'),_0x5bf4('0x14'),'nameField',_0x5bf4('0x15'),_0x5bf4('0x11')],'include':[{'model':'Variable','as':_0x5bf4('0xe'),'attributes':['id',_0x5bf4('0xb')]}]},{'model':_0x5bf4('0x16'),'as':_0x5bf4('0x17'),'attributes':['id','name']}]}]},'log':_0x5bf4('0x2')});};}; \ No newline at end of file