Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / intFreshsalesConfiguration / intFreshsalesConfiguration.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 _0xef0a=['../../config/environment','exports','int_freshsales_configurations','util','../../config/logger','api','bluebird','path'];(function(_0x113c70,_0x4f216a){var _0x3b5efa=function(_0x2268eb){while(--_0x2268eb){_0x113c70['push'](_0x113c70['shift']());}};_0x3b5efa(++_0x4f216a);}(_0xef0a,0x18b));var _0xaef0=function(_0x37de9e,_0x5a083d){_0x37de9e=_0x37de9e-0x0;var _0x1f066c=_0xef0a[_0x37de9e];return _0x1f066c;};'use strict';var _=require('lodash');var util=require(_0xaef0('0x0'));var logger=require(_0xaef0('0x1'))(_0xaef0('0x2'));var moment=require('moment');var BPromise=require(_0xaef0('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaef0('0x4'));var rimraf=require('rimraf');var config=require(_0xaef0('0x5'));var attributes=require('./intFreshsalesConfiguration.attributes');module[_0xaef0('0x6')]=function(_0x218587,_0x41c6b4){return _0x218587['define']('FreshsalesConfiguration',attributes,{'tableName':_0xaef0('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};