Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / services / ami / rpc / integrations / zoho.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 _0xbf0f=['Subjects','type','variableName','Variable','Descriptions','content','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','name','description','host','zone','clientId','clientSecret','serverUrl','code','Configurations','moduleCreate','moduleSearch','ZohoField'];(function(_0x19710c,_0x1dc3d4){var _0x311a97=function(_0x553783){while(--_0x553783){_0x19710c['push'](_0x19710c['shift']());}};_0x311a97(++_0x1dc3d4);}(_0xbf0f,0x1dd));var _0xfbf0=function(_0x3cfb0d,_0x4df584){_0x3cfb0d=_0x3cfb0d-0x0;var _0x3486b4=_0xbf0f[_0x3cfb0d];return _0x3486b4;};'use strict';var client=require(_0xfbf0('0x0'));exports[_0xfbf0('0x1')]=function(){return function(_0xb2bb80){return client[_0xfbf0('0x2')](_0xfbf0('0x3'),{'options':{'raw':![],'attributes':['id',_0xfbf0('0x4'),_0xfbf0('0x5'),_0xfbf0('0x6'),_0xfbf0('0x7'),_0xfbf0('0x8'),_0xfbf0('0x9'),_0xfbf0('0xa'),_0xfbf0('0xb'),'refreshToken'],'include':[{'model':'ZohoConfiguration','as':_0xfbf0('0xc'),'attributes':['id','name',_0xfbf0('0xd'),_0xfbf0('0xe'),'description'],'include':[{'model':_0xfbf0('0xf'),'as':_0xfbf0('0x10'),'attributes':['id',_0xfbf0('0x11'),'content',_0xfbf0('0x12')],'include':[{'model':_0xfbf0('0x13'),'as':'Variable','attributes':['id',_0xfbf0('0x4')]}]},{'model':_0xfbf0('0xf'),'as':_0xfbf0('0x14'),'attributes':['id',_0xfbf0('0x11'),_0xfbf0('0x15'),_0xfbf0('0x16'),_0xfbf0('0x17'),_0xfbf0('0x18'),'variableName'],'include':[{'model':_0xfbf0('0x13'),'as':_0xfbf0('0x13'),'attributes':['id',_0xfbf0('0x4')]}]},{'model':_0xfbf0('0xf'),'as':_0xfbf0('0x19'),'attributes':['id','type',_0xfbf0('0x15'),_0xfbf0('0x1a'),_0xfbf0('0x1b'),_0xfbf0('0x1c'),_0xfbf0('0x12')],'include':[{'model':'Variable','as':_0xfbf0('0x13'),'attributes':['id','name']}]}]}]},'log':_0xfbf0('0x3')});};};