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