5f23dc8587e006c1102547538162066803be3824
[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 _0x6ae0=['FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','api','request-promise','rimraf','./intFreshsalesConfiguration.attributes','exports'];(function(_0x3544a0,_0x211edf){var _0x5dcbf8=function(_0x53f121){while(--_0x53f121){_0x3544a0['push'](_0x3544a0['shift']());}};_0x5dcbf8(++_0x211edf);}(_0x6ae0,0x192));var _0x06ae=function(_0x2ad21c,_0x353b25){_0x2ad21c=_0x2ad21c-0x0;var _0xe42d0=_0x6ae0[_0x2ad21c];return _0xe42d0;};'use strict';var _=require(_0x06ae('0x0'));var util=require(_0x06ae('0x1'));var logger=require(_0x06ae('0x2'))(_0x06ae('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x06ae('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x06ae('0x5'));var config=require('../../config/environment');var attributes=require(_0x06ae('0x6'));module[_0x06ae('0x7')]=function(_0x517dea,_0x17b806){return _0x517dea['define'](_0x06ae('0x8'),attributes,{'tableName':_0x06ae('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};