Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / intSugarcrmConfiguration / intSugarcrmConfiguration.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 _0x4af2=['int_sugarcrm_configurations','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmConfiguration.attributes','exports','SugarcrmConfiguration'];(function(_0x3070dc,_0x40cf11){var _0x431489=function(_0x49bc2a){while(--_0x49bc2a){_0x3070dc['push'](_0x3070dc['shift']());}};_0x431489(++_0x40cf11);}(_0x4af2,0xe5));var _0x24af=function(_0x4e04dc,_0x3002ac){_0x4e04dc=_0x4e04dc-0x0;var _0x50da0c=_0x4af2[_0x4e04dc];return _0x50da0c;};'use strict';var _=require(_0x24af('0x0'));var util=require(_0x24af('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x24af('0x2'));var BPromise=require(_0x24af('0x3'));var rp=require(_0x24af('0x4'));var fs=require('fs');var path=require(_0x24af('0x5'));var rimraf=require(_0x24af('0x6'));var config=require(_0x24af('0x7'));var attributes=require(_0x24af('0x8'));module[_0x24af('0x9')]=function(_0x536dfc,_0x2f22a6){return _0x536dfc['define'](_0x24af('0xa'),attributes,{'tableName':_0x24af('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};