4dd2ea0db6bb8a1b8732e3b87fd79ce4cf2931f1
[motion2.git] / server / api / intZohoConfiguration / intZohoConfiguration.model.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 _0xdf02=['bluebird','request-promise','path','rimraf','./intZohoConfiguration.attributes','exports','define','ZohoConfiguration','int_zoho_configurations','lodash','../../config/logger','api','moment'];(function(_0x575527,_0xdd5ebb){var _0x63f7d2=function(_0x5bf03a){while(--_0x5bf03a){_0x575527['push'](_0x575527['shift']());}};_0x63f7d2(++_0xdd5ebb);}(_0xdf02,0x168));var _0x2df0=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xdf02[_0x21a9d9];return _0x46adce;};'use strict';var _=require(_0x2df0('0x0'));var util=require('util');var logger=require(_0x2df0('0x1'))(_0x2df0('0x2'));var moment=require(_0x2df0('0x3'));var BPromise=require(_0x2df0('0x4'));var rp=require(_0x2df0('0x5'));var fs=require('fs');var path=require(_0x2df0('0x6'));var rimraf=require(_0x2df0('0x7'));var config=require('../../config/environment');var attributes=require(_0x2df0('0x8'));module[_0x2df0('0x9')]=function(_0x1ef7d9,_0x55bf55){return _0x1ef7d9[_0x2df0('0xa')](_0x2df0('0xb'),attributes,{'tableName':_0x2df0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};