5b64f989c422d6b8b9120d26a52370d5f0900436
[motion-next.git] / server / services / ami / rpc / integrations / desk.js
1 const a1277_0x3832=['password','type','GetDeskAccount','DeskField','nameField','Variable','variableName','Fields','../../client','serverUrl','Tag','name','keyContent','content','DeskConfiguration','Subjects','Request','authType','Tags','description','getDeskAccounts','username','key'];(function(_0x168468,_0x293ce0){const _0x3832d1=function(_0x21512a){while(--_0x21512a){_0x168468['push'](_0x168468['shift']());}};_0x3832d1(++_0x293ce0);}(a1277_0x3832,0xdd));const a1277_0x2151=function(_0x168468,_0x293ce0){_0x168468=_0x168468-0x68;let _0x3832d1=a1277_0x3832[_0x168468];return _0x3832d1;};const a1277_0x18bde2=a1277_0x2151;'use strict';const client=require(a1277_0x18bde2(0x79));exports[a1277_0x18bde2(0x6e)]=function(){return function(){const _0x4e7b61=a1277_0x2151;return client[_0x4e7b61(0x6a)](_0x4e7b61(0x73),{'options':{'raw':![],'attributes':['id',_0x4e7b61(0x7c),_0x4e7b61(0x6d),_0x4e7b61(0x6f),_0x4e7b61(0x71),'remoteUri',_0x4e7b61(0x6b),_0x4e7b61(0x72),_0x4e7b61(0x7a)],'include':[{'model':_0x4e7b61(0x68),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x4e7b61(0x74),'as':_0x4e7b61(0x69),'attributes':['id',_0x4e7b61(0x72),_0x4e7b61(0x7e),_0x4e7b61(0x77)],'include':[{'model':_0x4e7b61(0x76),'as':_0x4e7b61(0x76),'attributes':['id','name']}]},{'model':_0x4e7b61(0x74),'as':'Descriptions','attributes':['id','type',_0x4e7b61(0x7e),_0x4e7b61(0x70),'keyType',_0x4e7b61(0x7d),_0x4e7b61(0x77)],'include':[{'model':_0x4e7b61(0x76),'as':_0x4e7b61(0x76),'attributes':['id',_0x4e7b61(0x7c)]}]},{'model':_0x4e7b61(0x74),'as':_0x4e7b61(0x78),'attributes':['id',_0x4e7b61(0x72),_0x4e7b61(0x7e),'idField',_0x4e7b61(0x75),'customField','variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x4e7b61(0x7c)]}]},{'model':_0x4e7b61(0x7b),'as':_0x4e7b61(0x6c),'attributes':['id',_0x4e7b61(0x7c)]}]}]},'log':_0x4e7b61(0x73)});};};