X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fdesk.js;h=e9520685ce53f094e6a1ec4786a7c98668aaf6e8;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=cb8347b0b3537ebe8563c70fc5ef985ac68adfc0;hpb=625a274d7c6c9ea6be043136164c37fd3fc082d8;p=motion2.git diff --git a/server/services/ami/rpc/integrations/desk.js b/server/services/ami/rpc/integrations/desk.js index cb8347b..e952068 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 _0xb7f4=['name','username','password','remoteUri','authType','type','DeskConfiguration','Configurations','DeskField','Subjects','content','variableName','Variable','key','Fields','customField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount'];(function(_0x3f0750,_0x414fb2){var _0xbfdfea=function(_0x15dfdb){while(--_0x15dfdb){_0x3f0750['push'](_0x3f0750['shift']());}};_0xbfdfea(++_0x414fb2);}(_0xb7f4,0x19e));var _0x4b7f=function(_0x2a6f6f,_0x6152bf){_0x2a6f6f=_0x2a6f6f-0x0;var _0x28a63c=_0xb7f4[_0x2a6f6f];return _0x28a63c;};'use strict';var client=require(_0x4b7f('0x0'));exports[_0x4b7f('0x1')]=function(){return function(_0x398878){return client[_0x4b7f('0x2')](_0x4b7f('0x3'),{'options':{'raw':![],'attributes':['id',_0x4b7f('0x4'),'description',_0x4b7f('0x5'),_0x4b7f('0x6'),_0x4b7f('0x7'),_0x4b7f('0x8'),_0x4b7f('0x9'),'serverUrl'],'include':[{'model':_0x4b7f('0xa'),'as':_0x4b7f('0xb'),'attributes':['id',_0x4b7f('0x4')],'include':[{'model':_0x4b7f('0xc'),'as':_0x4b7f('0xd'),'attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),_0x4b7f('0xf')],'include':[{'model':_0x4b7f('0x10'),'as':_0x4b7f('0x10'),'attributes':['id',_0x4b7f('0x4')]}]},{'model':_0x4b7f('0xc'),'as':'Descriptions','attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),_0x4b7f('0x11'),'keyType','keyContent',_0x4b7f('0xf')],'include':[{'model':_0x4b7f('0x10'),'as':'Variable','attributes':['id',_0x4b7f('0x4')]}]},{'model':_0x4b7f('0xc'),'as':_0x4b7f('0x12'),'attributes':['id',_0x4b7f('0x9'),_0x4b7f('0xe'),'idField','nameField',_0x4b7f('0x13'),'variableName'],'include':[{'model':_0x4b7f('0x10'),'as':_0x4b7f('0x10'),'attributes':['id','name']}]},{'model':_0x4b7f('0x14'),'as':_0x4b7f('0x15'),'attributes':['id',_0x4b7f('0x4')]}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file +var _0x7b5e=['Variable','key','keyType','keyContent','Fields','idField','nameField','Tag','GetDeskAccount','../../client','getDeskAccounts','Request','name','username','password','remoteUri','authType','serverUrl','DeskConfiguration','DeskField','Subjects','type','content','variableName'];(function(_0x2aec52,_0x59d962){var _0x3b8835=function(_0x3e2604){while(--_0x3e2604){_0x2aec52['push'](_0x2aec52['shift']());}};_0x3b8835(++_0x59d962);}(_0x7b5e,0x171));var _0xe7b5=function(_0x3d42d8,_0x4cffaa){_0x3d42d8=_0x3d42d8-0x0;var _0x27fc41=_0x7b5e[_0x3d42d8];return _0x27fc41;};'use strict';var client=require(_0xe7b5('0x0'));exports[_0xe7b5('0x1')]=function(){return function(_0x437223){return client[_0xe7b5('0x2')]('GetDeskAccount',{'options':{'raw':![],'attributes':['id',_0xe7b5('0x3'),'description',_0xe7b5('0x4'),_0xe7b5('0x5'),_0xe7b5('0x6'),_0xe7b5('0x7'),'type',_0xe7b5('0x8')],'include':[{'model':_0xe7b5('0x9'),'as':'Configurations','attributes':['id',_0xe7b5('0x3')],'include':[{'model':_0xe7b5('0xa'),'as':_0xe7b5('0xb'),'attributes':['id',_0xe7b5('0xc'),_0xe7b5('0xd'),_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':'Variable','attributes':['id',_0xe7b5('0x3')]}]},{'model':_0xe7b5('0xa'),'as':'Descriptions','attributes':['id',_0xe7b5('0xc'),'content',_0xe7b5('0x10'),_0xe7b5('0x11'),_0xe7b5('0x12'),_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':_0xe7b5('0xf'),'attributes':['id','name']}]},{'model':_0xe7b5('0xa'),'as':_0xe7b5('0x13'),'attributes':['id','type',_0xe7b5('0xd'),_0xe7b5('0x14'),_0xe7b5('0x15'),'customField',_0xe7b5('0xe')],'include':[{'model':_0xe7b5('0xf'),'as':'Variable','attributes':['id',_0xe7b5('0x3')]}]},{'model':_0xe7b5('0x16'),'as':'Tags','attributes':['id',_0xe7b5('0x3')]}]}]},'log':_0xe7b5('0x17')});};}; \ No newline at end of file