9df15d00bd3c45fb38524866f32ab40e36b6ee6e
[motion2.git] / server / api / intVtigerConfiguration / intVtigerConfiguration.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 _0xdd2e=['VtigerConfiguration','int_vtiger_configurations','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intVtigerConfiguration.attributes','exports','define'];(function(_0x4f288e,_0x31286a){var _0x5087db=function(_0x1cbb9f){while(--_0x1cbb9f){_0x4f288e['push'](_0x4f288e['shift']());}};_0x5087db(++_0x31286a);}(_0xdd2e,0x9e));var _0xedd2=function(_0x5a9a13,_0x3f6cb5){_0x5a9a13=_0x5a9a13-0x0;var _0x26cc45=_0xdd2e[_0x5a9a13];return _0x26cc45;};'use strict';var _=require(_0xedd2('0x0'));var util=require('util');var logger=require(_0xedd2('0x1'))(_0xedd2('0x2'));var moment=require(_0xedd2('0x3'));var BPromise=require('bluebird');var rp=require(_0xedd2('0x4'));var fs=require('fs');var path=require(_0xedd2('0x5'));var rimraf=require(_0xedd2('0x6'));var config=require(_0xedd2('0x7'));var attributes=require(_0xedd2('0x8'));module[_0xedd2('0x9')]=function(_0xa1ea4d,_0x1b39be){return _0xa1ea4d[_0xedd2('0xa')](_0xedd2('0xb'),attributes,{'tableName':_0xedd2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};