35f64e55e91221a35deb29777cefdb15e750354b
[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 _0x25a3=['exports','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','moment','request-promise','path','rimraf','./intFreshsalesConfiguration.attributes'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x25a3,0x121));var _0x325a=function(_0x57d3de,_0x35c816){_0x57d3de=_0x57d3de-0x0;var _0x5f2fb7=_0x25a3[_0x57d3de];return _0x5f2fb7;};'use strict';var _=require(_0x325a('0x0'));var util=require(_0x325a('0x1'));var logger=require(_0x325a('0x2'))('api');var moment=require(_0x325a('0x3'));var BPromise=require('bluebird');var rp=require(_0x325a('0x4'));var fs=require('fs');var path=require(_0x325a('0x5'));var rimraf=require(_0x325a('0x6'));var config=require('../../config/environment');var attributes=require(_0x325a('0x7'));module[_0x325a('0x8')]=function(_0x272122,_0x56e8fb){return _0x272122['define'](_0x325a('0x9'),attributes,{'tableName':_0x325a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};