Built motion from commit (unavailable).|2.5.3
[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 _0xe2de=['Variable','keyType','keyContent','Fields','idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','name','description','host','zone','clientId','clientSecret','serverUrl','code','ZohoConfiguration','moduleSearch','ZohoField','Subjects','type','content','variableName'];(function(_0x284329,_0x1a05b8){var _0x41aa1e=function(_0x442fd6){while(--_0x442fd6){_0x284329['push'](_0x284329['shift']());}};_0x41aa1e(++_0x1a05b8);}(_0xe2de,0x10b));var _0xee2d=function(_0x1ab8b3,_0x3b4091){_0x1ab8b3=_0x1ab8b3-0x0;var _0x3770bf=_0xe2de[_0x1ab8b3];return _0x3770bf;};'use strict';var client=require(_0xee2d('0x0'));exports[_0xee2d('0x1')]=function(){return function(_0x29fad1){return client[_0xee2d('0x2')](_0xee2d('0x3'),{'options':{'raw':![],'attributes':['id',_0xee2d('0x4'),_0xee2d('0x5'),_0xee2d('0x6'),_0xee2d('0x7'),_0xee2d('0x8'),_0xee2d('0x9'),_0xee2d('0xa'),_0xee2d('0xb'),'refreshToken'],'include':[{'model':_0xee2d('0xc'),'as':'Configurations','attributes':['id',_0xee2d('0x4'),'moduleCreate',_0xee2d('0xd'),_0xee2d('0x5')],'include':[{'model':_0xee2d('0xe'),'as':_0xee2d('0xf'),'attributes':['id',_0xee2d('0x10'),_0xee2d('0x11'),_0xee2d('0x12')],'include':[{'model':_0xee2d('0x13'),'as':'Variable','attributes':['id',_0xee2d('0x4')]}]},{'model':_0xee2d('0xe'),'as':'Descriptions','attributes':['id',_0xee2d('0x10'),'content','key',_0xee2d('0x14'),_0xee2d('0x15'),_0xee2d('0x12')],'include':[{'model':_0xee2d('0x13'),'as':'Variable','attributes':['id',_0xee2d('0x4')]}]},{'model':_0xee2d('0xe'),'as':_0xee2d('0x16'),'attributes':['id',_0xee2d('0x10'),_0xee2d('0x11'),_0xee2d('0x17'),_0xee2d('0x18'),_0xee2d('0x19'),_0xee2d('0x12')],'include':[{'model':_0xee2d('0x13'),'as':'Variable','attributes':['id','name']}]}]}]},'log':'GetZohoAccount'});};};