Built motion from commit (unavailable).|2.4.19
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x24ca=['nameField','customField','../../client','Request','GetServicenowAccount','description','username','password','email','remoteUri','serverUrl','ServicenowConfiguration','Configurations','name','ServicenowField','Subjects','content','variableName','Variable','Descriptions','type','key','keyType','keyContent','Fields','idField'];(function(_0x2d5c1a,_0x1ce949){var _0x503b5a=function(_0x3bcb71){while(--_0x3bcb71){_0x2d5c1a['push'](_0x2d5c1a['shift']());}};_0x503b5a(++_0x1ce949);}(_0x24ca,0x1bc));var _0xa24c=function(_0x4a29a9,_0x58cd04){_0x4a29a9=_0x4a29a9-0x0;var _0x386570=_0x24ca[_0x4a29a9];return _0x386570;};'use strict';var client=require(_0xa24c('0x0'));exports['getServicenowAccounts']=function(){return function(_0x2cf7df){return client[_0xa24c('0x1')](_0xa24c('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xa24c('0x3'),_0xa24c('0x4'),_0xa24c('0x5'),_0xa24c('0x6'),_0xa24c('0x7'),_0xa24c('0x8')],'include':[{'model':_0xa24c('0x9'),'as':_0xa24c('0xa'),'attributes':['id',_0xa24c('0xb')],'include':[{'model':_0xa24c('0xc'),'as':_0xa24c('0xd'),'attributes':['id','type',_0xa24c('0xe'),_0xa24c('0xf')],'include':[{'model':_0xa24c('0x10'),'as':'Variable','attributes':['id',_0xa24c('0xb')]}]},{'model':_0xa24c('0xc'),'as':_0xa24c('0x11'),'attributes':['id',_0xa24c('0x12'),_0xa24c('0xe'),_0xa24c('0x13'),_0xa24c('0x14'),_0xa24c('0x15'),_0xa24c('0xf')],'include':[{'model':'Variable','as':_0xa24c('0x10'),'attributes':['id',_0xa24c('0xb')]}]},{'model':_0xa24c('0xc'),'as':_0xa24c('0x16'),'attributes':['id','type',_0xa24c('0xe'),_0xa24c('0x17'),_0xa24c('0x18'),_0xa24c('0x19'),_0xa24c('0xf')],'include':[{'model':_0xa24c('0x10'),'as':_0xa24c('0x10'),'attributes':['id','name']}]}]}]},'log':'GetServicenowkAccount'});};};