d2f147627a6286122a74ea2dfa791ebe1af103e8
[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 _0xe935=['path','../../config/environment','./intZohoConfiguration.attributes','exports','ZohoConfiguration','int_zoho_configurations','util','../../config/logger','api','moment','bluebird'];(function(_0x5e77dd,_0x4c8ea4){var _0x3ca3c1=function(_0x310b5e){while(--_0x310b5e){_0x5e77dd['push'](_0x5e77dd['shift']());}};_0x3ca3c1(++_0x4c8ea4);}(_0xe935,0x95));var _0x5e93=function(_0x2ecb13,_0x382e84){_0x2ecb13=_0x2ecb13-0x0;var _0xc90644=_0xe935[_0x2ecb13];return _0xc90644;};'use strict';var _=require('lodash');var util=require(_0x5e93('0x0'));var logger=require(_0x5e93('0x1'))(_0x5e93('0x2'));var moment=require(_0x5e93('0x3'));var BPromise=require(_0x5e93('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e93('0x5'));var rimraf=require('rimraf');var config=require(_0x5e93('0x6'));var attributes=require(_0x5e93('0x7'));module[_0x5e93('0x8')]=function(_0x21e2b4,_0x5172e2){return _0x21e2b4['define'](_0x5e93('0x9'),attributes,{'tableName':_0x5e93('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};